Skip to content

project.workflow.bulkAction.assign.started

Python model

ProjectWorkflowBulkActionAssignStartedEvent — from kili_events import ProjectWorkflowBulkActionAssignStartedEvent

Description

This event is raised when a project administrator assigns every asset matching a filter to a set of labelers. The action covers the whole filter, not just one page of assets, so it runs in the background: this event records the request, not its result.

Properties

event

  • Required
  • The name of the event.
  • Constant value: "project.workflow.bulkAction.assign.started"

project_id

  • Required
  • Type: string
  • Id of the project the assets belong to.

user_id

  • Required
  • Type: string
  • Id of the user who requested the action.

organization_id

  • Required
  • Type: string
  • Id of the organization in which the project was created.

payload

  • Required
  • Type: object
  • Properties
    • where
      • Required
      • Type: object
      • The asset filter the action applies to. Assets created after the request are never included.
      • This schema accepts additional properties.
      • Properties
    • user_ids
      • Required
      • Type: array
      • Ids of the users the matching assets are assigned to. Empty to remove their current assignees.
        • Items
        • Type: string
    • queue_query_string
      • Type: string
      • Filters of the queue view the action was requested from, as a URL query string.

event

  • Required
  • The name of the event.
  • Constant value: "project.workflow.bulkAction.assign.started"

projectId

  • Required
  • Type: string
  • Id of the project the assets belong to.

userId

  • Required
  • Type: string
  • Id of the user who requested the action.

organizationId

  • Required
  • Type: string
  • Id of the organization in which the project was created.

payload

  • Required
  • Type: object
  • Properties
    • where
      • Required
      • Type: object
      • The asset filter the action applies to. Assets created after the request are never included.
      • This schema accepts additional properties.
      • Properties
    • userIds
      • Required
      • Type: array
      • Ids of the users the matching assets are assigned to. Empty to remove their current assignees.
        • Items
        • Type: string
    • queueQueryString
      • Type: string
      • Filters of the queue view the action was requested from, as a URL query string.