{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Export

Exports a list of task definitions for every task the user owns. The export command can be used for a user specific backup. Users with Task Planner administration permissions can also export all tasks for every user.

A single task definition can be obtained using the view command for a task.

The JSON response has the following form:

[
    <TASK DEFINITION 1>,
    <TASK DEFINITION 2>,
    <TASK DEFINITION 3>,
    ...
]

The JSON representation of <TASK DEFINITION> is defined here.

GET /api/taskplanner/export

Exports a list of the users jobs.

Example Request

# Request
# Use user:password for authorization
GET /api/taskplanner/export HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response - List of Tasks
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: <LENGTH>
 
<JSON RESPONSE>

Application Example

# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/taskplanner/export"
 
# Shell access using curl using username and password
curl -Lsu username:password "http://127.0.0.1:9000/api/taskplanner/export"
i-net CoWork
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /export