Data Manager

Perform a Data Manager action with the selected tasks and filters. Note: More complex actions require additional parameters in the request body. Call GET api/actions?project=<id> to explore them. <br>Example: GET api/actions?id=delete_tasks&project=1

post/api/dm/actions/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/dm/actions/
  • Auth
    API key in header Authorization

Query parameters

id'delete_annotators' | 'delete_ground_truths' | 'delete_reviewers' | 'delete_tasks' | 'delete_tasks_annotations' | 'delete_tasks_predictions' | 'delete_tasks_reviews' | 'predictions_to_annotations' | 'remove_duplicates' | 'retrieve_tasks_predictions' required

Action name ID, see the full list of actions in the GET api/actions request

projectinteger required

Project ID

viewinteger

View ID (optional, it has higher priority than filters, selectedItems and ordering from the request body payload)

Request body

orderingstring[]

List of fields to order by. Fields are similar to filters but without the filter: prefix. To reverse the order, add a minus sign before the field name, e.g. -tasks:created_at.

Example request

{
  "filters": {
    "items": [
      {
        "filter": "filter:tasks:id",
        "operator": "greater",
        "type": "Number",
        "value": 123
      }
    ]
  }
}

Response

Action performed successfully

Changes

    • breaking

      added to the request property allOf list

    • breaking

      added to the request property allOf list

    • breaking

      the request property type changed from object to no type

    • breaking

      the request property type changed from array to no type

    • warning

      removed the request property /

    • warning

      removed the request property /

    • info

      added the media type application/x-www-form-urlencoded to the request body

    • info

      added the media type multipart/form-data to the request body

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      added the new optional request property ///