Task_options
API Key Scope: task_options / index
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
The number of items to display for pagination.
The number of items to skip for pagination.
Sort results by attribute.
Can sort on multiple attributes, separated by |.
Order direction can be suffixing the attribute by either :asc (default) or :desc.
Filter on id
Filter on type
Filter on value
List of task options.
GET /api/v2/tasks/{task_id}/task_options HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of task options.
{
"count": 1,
"task_options": [
{
"id": 1,
"type": "file_checksum",
"value": "text"
}
]
}API Key Scope: task_options / create
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
A specific task option.
The received resource was not correctly formatted.
POST /api/v2/tasks/{task_id}/task_options HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"type": "file_checksum",
"value": "text"
}{
"id": 1,
"type": "file_checksum",
"value": "text"
}API Key Scope: task_options / show
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID of task option.
A specific task option.
GET /api/v2/tasks/{task_id}/task_options/{task_option_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific task option.
{
"id": 1,
"type": "file_checksum",
"value": "text"
}API Key Scope: task_options / update
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID of task option.
A specific task option.
The received resource was not correctly formatted.
PUT /api/v2/tasks/{task_id}/task_options/{task_option_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"type": "file_checksum",
"value": "text"
}{
"id": 1,
"type": "file_checksum",
"value": "text"
}API Key Scope: task_options / destroy
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID of task option.
Task option destroyed.
No content
DELETE /api/v2/tasks/{task_id}/task_options/{task_option_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Task option destroyed.
No content
Last updated
Was this helpful?