v1

latestOpenAPI 3.0.02026-07-2480355389.7 KB
Workflows

Set stage

Sets stage to multiple items matched by filters.

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

Path parameters

team_slugstring required

Team's sluggified name

Request body

stage_idstring uuid required
workflow_idstring uuid required

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"
    ]
  },
  "stage_id": "e23ff3f3-8f77-4e78-9e81-fdb25abfb781",
  "workflow_id": "e23ff3f3-8f77-4e78-9e81-fdb25abfb781"
}

Response

WorkflowsV2.Item.BatchActionResponse

created_commandsinteger required