{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Export All
Exports the list of all task definitions for every user. Exporting tasks of other users than the own user requires the Task Planner administration permission.
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/all
Exports a list of tasks of all users.
Example Request
# Request # Use user:password for authorization GET /api/taskplanner/export/all 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/all" # Shell access using curl using username and password curl -Lsu username:password "http://127.0.0.1:9000/api/taskplanner/export/all"