Create Sequence
POST/targets/:target_id/sequences/
Request
Path Parameters
Identifier of the target.
Query Parameters
- target - Add target to response under
targetkey
Possible values: [target]
Extra fields to include in response:
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
required
login- Loginnavigation- NavigationArray [
]
Possible values: <= 255 characters
Possible values: [login, navigation]
custom_field_mappings
object[]
Controls sensitivity and obfuscation of value field.
If true the field is masked on Interfaces and Audit logs.
When account's Secrets Obfuscation setting is also enabled, the API's field output will be OBFUSCATED_<HASH>.
Contents of a sequence of browser navigation steps recorded by Snyk API and Web Sequence Recorder
Body
required
login- Loginnavigation- NavigationArray [
]
Possible values: <= 255 characters
Possible values: [login, navigation]
custom_field_mappings
object[]
Controls sensitivity and obfuscation of value field.
If true the field is masked on Interfaces and Audit logs.
When account's Secrets Obfuscation setting is also enabled, the API's field output will be OBFUSCATED_<HASH>.
Contents of a sequence of browser navigation steps recorded by Snyk API and Web Sequence Recorder
Body
required
login- Loginnavigation- NavigationArray [
]
Possible values: <= 255 characters
Possible values: [login, navigation]
custom_field_mappings
object[]
Controls sensitivity and obfuscation of value field.
If true the field is masked on Interfaces and Audit logs.
When account's Secrets Obfuscation setting is also enabled, the API's field output will be OBFUSCATED_<HASH>.
Contents of a sequence of browser navigation steps recorded by Snyk API and Web Sequence Recorder
Responses
- 201
- 400
- 401
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
login- Loginnavigation- NavigationArray [
]
A unique Base58 value identifying this object.
Possible values: <= 255 characters
Possible values: [login, navigation]
custom_field_mappings
object[]
Controls sensitivity and obfuscation of value field.
If true the field is masked on Interfaces and Audit logs.
When account's Secrets Obfuscation setting is also enabled, the API's field output will be OBFUSCATED_<HASH>.
Contents of a sequence of browser navigation steps recorded by Snyk API and Web Sequence Recorder
{
"id": "string",
"name": "string",
"requires_authentication": true,
"type": "login",
"enabled": true,
"index": 0,
"custom_field_mappings": [
{
"name": "string",
"value": "string",
"value_is_sensitive": true
}
],
"content": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}