Workflows

Assign items to user

Changed on

Assigns user to multiple items matched by filters.

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

Request

  • Base URL
    https://darwin.v7labs.com
  • URL
    https://darwin.v7labs.com/api/v2/teams/{team_slug}/items/assign
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Path parameters

team_slugstring required

Team's sluggified name

Request body

assignee_emailstring email
assignee_idinteger

Item's assignee ID

workflow_idstring uuid required

Example request

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

Response

WorkflowsV2.Item.BatchActionResponse

created_commandsinteger required

Changes

    • warning

      added the new DUPLICATE_REJECT_REASON enum value to the / response property for the response status

    • warning

      added the new DUPLICATE_REJECT_REASON enum value to the / response property for the response status

    • warning

      added the new DUPLICATE_REJECT_REASON enum value to the // response property for the response status

    • warning

      added the new EXTERNAL_STORAGE_ACCESS_FAILED enum value to the / response property for the response status

    • warning

      added the new EXTERNAL_STORAGE_ACCESS_FAILED enum value to the / response property for the response status

    • warning

      added the new EXTERNAL_STORAGE_ACCESS_FAILED enum value to the // response property for the response status

    • warning

      added the new INVALID_REJECT_REASON enum value to the / response property for the response status

    • warning

      added the new INVALID_REJECT_REASON enum value to the / response property for the response status

    • warning

      added the new INVALID_REJECT_REASON enum value to the // response property for the response status

    • warning

      added the new INVALID_REJECT_REASONS enum value to the / response property for the response status

    • warning

      added the new INVALID_REJECT_REASONS enum value to the / response property for the response status

    • warning

      added the new INVALID_REJECT_REASONS enum value to the // response property for the response status

    • warning

      added the new REJECT_REASON_REQUIRED enum value to the / response property for the response status

    • warning

      added the new REJECT_REASON_REQUIRED enum value to the / response property for the response status

    • warning

      added the new REJECT_REASON_REQUIRED enum value to the // response property for the response status

    • warning

      added the new REPORT_TOO_LARGE enum value to the / response property for the response status

    • warning

      added the new REPORT_TOO_LARGE enum value to the / response property for the response status

    • warning

      added the new REPORT_TOO_LARGE enum value to the // response property for the response status

    • warning

      added the new TOO_MANY_ACTIVE_REPORT_JOBS enum value to the / response property for the response status

    • warning

      added the new TOO_MANY_ACTIVE_REPORT_JOBS enum value to the / response property for the response status

    • warning

      added the new TOO_MANY_ACTIVE_REPORT_JOBS enum value to the // response property for the response status

    • warning

      added the new TOO_MANY_PENDING_AI_REVIEW_BLUEPRINTS enum value to the / response property for the response status

    • warning

      added the new TOO_MANY_PENDING_AI_REVIEW_BLUEPRINTS enum value to the / response property for the response status

    • warning

      added the new TOO_MANY_PENDING_AI_REVIEW_BLUEPRINTS enum value to the // response property for the response status

    • warning

      added the new TOO_MANY_PENDING_EXPORTS enum value to the / response property for the response status

    • warning

      added the new TOO_MANY_PENDING_EXPORTS enum value to the / response property for the response status

    • warning

      added the new TOO_MANY_PENDING_EXPORTS enum value to the // response property for the response status

    • warning

      added the new TOO_MANY_REJECT_REASONS enum value to the / response property for the response status

    • warning

      added the new TOO_MANY_REJECT_REASONS enum value to the / response property for the response status

    • warning

      added the new TOO_MANY_REJECT_REASONS enum value to the // response property for the response status