Task_destinations

Lists all task destinations.

get

API Key Scope: task_destinations / index

Authorizations
AuthorizationstringRequired

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

Path parameters
task_idstringRequired

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

Query parameters
limitintegerOptional

The number of items to display for pagination.

offsetintegerOptional

The number of items to skip for pagination.

Responses
get
/tasks/{task_id}/task_destinations
200

List of task destinations.

Creates a new task destination.

post

API Key Scope: task_destinations / create

Authorizations
AuthorizationstringRequired

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

Path parameters
task_idstringRequired

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

Body
idstringRead-onlyOptional
typestring · enumOptionalPossible values:
node_pathstringOptional
pool_idintegerOptional
parent_storage_idinteger · int64Optional
storage_idinteger · int64Optional
storage_namestringOptional
Responses
201

A specific task destination.

application/json
post
/tasks/{task_id}/task_destinations

Displays a specific task destination.

get

API Key Scope: task_destinations / show

Authorizations
AuthorizationstringRequired

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

Path parameters
task_idstringRequired

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

task_destination_idstringRequired

ID of task destination.

Responses
get
/tasks/{task_id}/task_destinations/{task_destination_id}

Updates a specific task destination.

put

API Key Scope: task_destinations / update

Authorizations
AuthorizationstringRequired

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

Path parameters
task_idstringRequired

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

task_destination_idstringRequired

ID of task destination.

Body
idstringRead-onlyOptional
typestring · enumOptionalPossible values:
node_pathstringOptional
pool_idintegerOptional
parent_storage_idinteger · int64Optional
storage_idinteger · int64Optional
storage_namestringOptional
Responses
put
/tasks/{task_id}/task_destinations/{task_destination_id}

Destroys a specific task destination.

delete

API Key Scope: task_destinations / destroy

Authorizations
AuthorizationstringRequired

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

Path parameters
task_idstringRequired

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

task_destination_idstringRequired

ID of task destination.

Responses
delete
/tasks/{task_id}/task_destinations/{task_destination_id}
204

Task destination destroyed.

No content

Last updated

Was this helpful?