v1

latestOpenAPI 3.0.02026-07-2480355389.7 KB
Items

Archive items

Archives all items selected by provided filters.

post/api/v2/teams/{team_slug}/items/archive

Path parameters

team_slugstring required

Team's sluggified name

Request body

reason'Motion Blur' | 'Out of Focus' | 'Occluded/Out of Frame' | 'No Object' | 'Not Qualified' | 'Other'

Example request

{
  "filters": {
    "annotation_class_ids": [
      123
    ],
    "assignees": [
      123
    ],
    "current_assignees": [
      123
    ],
    "dataset_ids": [
      123
    ],
    "item_ids": [
      "e23ff3f3-8f77-4e78-9e81-fdb25abfb781"
    ],
    "item_name_contains": "item",
    "item_name_prefix": "prefix_",
    "item_names": [
      "my item"
    ],
    "item_path_prefix": "/some/prefix",
    "item_paths": [
      "/some/path"
    ],
    "not_annotation_class_ids": [
      123
    ],
    "not_assignees": [
      123
    ],
    "not_current_assignees": [
      123
    ],
    "not_item_ids": [
      "e23ff3f3-8f77-4e78-9e81-fdb25abfb781"
    ],
    "not_item_name_contains": "item",
    "not_item_name_prefix": "prefix_",
    "not_item_names": [
      "my item"
    ],
    "not_item_path_prefix": "/some/prefix",
    "not_item_paths": [
      "/some/path"
    ],
    "not_statuses": ",",
    "not_types": [
      "image"
    ],
    "not_workflow_stage_ids": [
      "e23ff3f3-8f77-4e78-9e81-fdb25abfb781"
    ],
    "select_all": true,
    "statuses": ",",
    "types": [
      "image"
    ],
    "workflow_stage_ids": [
      "e23ff3f3-8f77-4e78-9e81-fdb25abfb781"
    ]
  }
}

Response

DatasetsV2.ItemManagement.BatchOperationResponse

affected_item_countinteger required