v1

latestOpenAPI 3.0.02026-07-2480355389.7 KB
Items

Set layout

Sets layout of items selected by provided filter.

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

Path parameters

team_slugstring required

Team's sluggified name

Request body

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"
    ]
  },
  "layout": {
    "slots_grid": [
      [
        [
          "1",
          "2"
        ],
        "3"
      ],
      [
        "4"
      ]
    ],
    "version": 3
  }
}

Response

DatasetsV2.ItemManagement.BatchOperationResponse

affected_item_countinteger required