Task_callbacks

Lists all task callbacks.

get

API Key Scope: task_callbacks / index

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
task_idstringRequired

Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.

Query parameters
limitintegerOptional

The number of items to display for pagination.

offsetintegerOptional

The number of items to skip for pagination.

sort_bystring[]Optional

Sort results by attribute.

Can sort on multiple attributes, separated by |. Order direction can be suffixing the attribute by either :asc (default) or :desc.

idstringOptional

Filter on id

typestringOptional

Filter on type

scriptstringOptional

Filter on task callback script

Responses
get
/tasks/{task_id}/task_callbacks
200

List of task callbacks.

Creates a new task callback.

post

API Key Scope: task_callbacks / create

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
task_idstringRequired

Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.

Body
idinteger · int64Read-onlyOptional
typestring · enumOptionalPossible values:
scriptstringOptional
Responses
post
/tasks/{task_id}/task_callbacks

Displays a specific task callback.

get

API Key Scope: task_callbacks / show

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
task_idstringRequired

Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.

task_callback_idintegerRequired

Numeric ID of task callback.

Responses
get
/tasks/{task_id}/task_callbacks/{task_callback_id}
200

A specific task callback.

Updates a specific task callback.

put

API Key Scope: task_callbacks / update

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
task_idstringRequired

Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.

task_callback_idintegerRequired

Numeric ID of task callback.

Body
idinteger · int64Read-onlyOptional
typestring · enumOptionalPossible values:
scriptstringOptional
Responses
put
/tasks/{task_id}/task_callbacks/{task_callback_id}

Destroys a specific task callback.

delete

API Key Scope: task_callbacks / destroy

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
task_idstringRequired

Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.

task_callback_idintegerRequired

Numeric ID of task callback.

Responses
204

Task callback destroyed.

No content

delete
/tasks/{task_id}/task_callbacks/{task_callback_id}
204

Task callback destroyed.

No content

Last updated

Was this helpful?