Optional
configuration: ConfigurationOptional
basePath: stringOptional
axios: AxiosInstanceThe new task will not have any attached images or videos. To attach them, use the /api/tasks/
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
The request POST /api/tasks/id/annotations initiates a background process to import annotations into a task. Please, use the GET /api/requests/<rq_id> endpoint for checking status of the process. The rq_id
parameter can be found in the response on initiating request.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
The backup import process is as follows: The first request POST /api/tasks/backup will initiate file upload and will create the rq job on the server in which the process of a task creating from an uploaded backup will be carried out. After initiating the backup upload, you will receive an rq_id parameter. Make sure to include this parameter as a query parameter in your subsequent requests to track the status of the task creation. Once the task has been successfully created, the server will return the id of the newly created task.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
The request POST /api/<projects|tasks>/id/backup/export
will initialize a background process to backup a resource. To check status of the process please, use GET /api/requests/<rq_id>
where rq_id is request ID returned in the response for this endpoint.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Allows to upload data (images, video, etc.) to a task. Supports the TUS open file uploading protocol (https://tus.io/). Supports the following protocols: 1. A single Data request and 2.1. An Upload-Start request 2.2.a. Regular TUS protocol requests (Upload-Length + Chunks) 2.2.b. Upload-Multiple requests 2.3. An Upload-Finish request Requests: - Data - POST, no extra headers or 'Upload-Start' + 'Upload-Finish' headers. Contains data in the body. - Upload-Start - POST, has an 'Upload-Start' header. No body is expected. - Upload-Length - POST, has an 'Upload-Length' header (see the TUS specification) - Chunk - HEAD/PATCH (see the TUS specification). Sent to /data/GET /api/requests/<rq_id>
, where rq_id is request ID returned for this request. Once data is attached to a task, it cannot be detached or replaced.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
The request POST /api/<projects|tasks|jobs>/id/dataset/export
will initialize a background process to export a dataset. To check status of the process please, use GET /api/requests/<rq_id>
where rq_id is request ID returned in the response for this endpoint.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
All attached jobs, annotations and data will be deleted as well.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
WARNING: this operation is not protected from race conditions. It's up to the user to ensure no parallel calls to this operation happen. It affects image access, including exports with images, backups, chunk downloading etc.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Deprecation warning: Utilizing this endpoint ot export annotations as a dataset in a specific format will be deprecated in one of the next releases. Consider using new API: - POST /api/tasks/<task_id>/dataset/export?save_images=False to initiate export process - GET /api/requests/<rq_id> to check process status, where rq_id is request id returned on initializing request
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Deprecation warning: This endpoint will be deprecated in one of the next releases. Consider using new API: - POST /api/tasks/<task_id>/backup/export to initiate backup process - GET /api/requests/<rq_id> to check process status, where rq_id is request id returned on initializing request'
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Deprecation warning: Utilizing this endpoint to export task dataset in a specific format will be deprecated in one of the next releases. Consider using new API: - POST /api/tasks/<task_id>/dataset/export?save_images=True to initiate export process - GET /api/requests/<rq_id> to check process status, where rq_id is request id returned on initializing request
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
This method is deprecated and will be removed in one of the next releases. To check status of task creation, use new common API for managing background operations: GET /api/requests/?action=create&task_id=<task_id>
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
Utilizing this endpoint to check status of the import process is deprecated in favor of the new requests API: GET /api/requests/<rq_id>, where rq_id
parameter is returned in the response on initializing request.
Request parameters.
Optional
options: RawAxiosRequestConfigOverride http request option.
TasksApi - factory interface
Export