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

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

folder_idstringOptional

Filter on folder id

tape_idstringOptional

Filter on tape id

pool_idstringOptional

Filter on a pool id

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

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

Body
folder_idinteger · int64Optional
folder_pathstringOptional
tape_idinteger · int64Optional
tape_barcodestringOptional
pool_idintegerOptional
pool_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

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

task_destination_idintegerRequired

Numeric ID of task destination.

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

A specific task destination.

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

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

task_destination_idintegerRequired

Numeric ID of task destination.

Body
folder_idinteger · int64Optional
folder_pathstringOptional
tape_idinteger · int64Optional
tape_barcodestringOptional
pool_idintegerOptional
pool_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

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

task_destination_idintegerRequired

Numeric 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?