Skip to main content

Export task to Python

GET
/tasks/{id}/export/python

Exports a ZIP archive containing the task configuration and a Python client that can recreate, start, stop, and wait for the task through the REST API.

Contract

Parameter
Value
Sectiontasks
AuthenticationCookieAuth
Consumesnot required
Producesapplication/zip

Parameters

1 parameter

Name
Location
Required
Type
Description
idpathyesintegerTask ID

Responses

4 responses

Status
Description
Type
200
Python export ZIP archivefile
400
Invalid IDobject
401
Unauthorizedobject
500
Task not found or the archive could not be generatedobject
  • {}
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }