label.workflow.rejected
Python model
LabelWorkflowRejectedEvent — from kili_events import LabelWorkflowRejectedEvent
Description
This event is raised once a label is rejected and sent back.
Properties
event
- Required
- The name of the event.
- Constant value: "label.workflow.rejected"
project_id
- Required
- Type:
string - Id of the project in which the action was done.
user_id
- Required
- Type:
string - Id of the user who did the action.
organization_id
- Required
- Type:
string - Id of the organization in which the action was done. For project related event, it references the project author organization.
payload
- Required
- Type:
object - Properties
asset_id- Required
- Type:
string - Id of the targeted asset.
external_id- Required
- Types:
string,null - External id of the targeted asset.
previous_step_id- Required
- Type:
string - Id of the previous step.
new_step_id- Required
- Type:
string - Id of the new step.
label_id- Required
- Type:
string - Id of the label that was rejected and sent back.
event
- Required
- The name of the event.
- Constant value: "label.workflow.rejected"
projectId
- Required
- Type:
string - Id of the project in which the action was done.
userId
- Required
- Type:
string - Id of the user who did the action.
organizationId
- Required
- Type:
string - Id of the organization in which the action was done. For project related event, it references the project author organization.
payload
- Required
- Type:
object - Properties
assetId- Required
- Type:
string - Id of the targeted asset.
externalId- Required
- Types:
string,null - External id of the targeted asset.
previousStepId- Required
- Type:
string - Id of the previous step.
newStepId- Required
- Type:
string - Id of the new step.
labelId- Required
- Type:
string - Id of the label that was rejected and sent back.