project.ontology.update.started
Python model
ProjectOntologyUpdateStartedEvent — from kili_events import ProjectOntologyUpdateStartedEvent
Description
This event is raised when a project administrator starts updating existing assets to the project's current ontology version. Each asset gets a new label on that version, built from its latest label without what the version no longer has; no label is modified. The update runs in the background: this event records the request, not its result, which project.ontology.update.completed carries.
Properties
event
- Required
- The name of the event.
- Constant value: "project.ontology.update.started"
project_id
- Required
- Type:
string - Id of the project the assets belong to.
user_id
- Required
- Type:
string - Id of the user who started the update.
organization_id
- Required
- Type:
string - Id of the organization in which the project was created.
payload
- Required
- Type:
object -
update_id- Required
- Type:
string - Id of the update, shared by the events it raises.
to_version- Required
- Type:
integer - The ontology version the assets are updated to.
- Range: ≥ 1
Properties
scope- Required
- Type:
string - ALL_BEHIND: every asset on an older version when the update runs. SELECTION: the assets of assetIds.
- The value is restricted to the following:
- "ALL_BEHIND"
- "SELECTION"
asset_ids- Type:
array - Ids of the selected assets, for a SELECTION.
-
Item Count: ≤ 10000
- Items
- Type:
string
- Type:
event
- Required
- The name of the event.
- Constant value: "project.ontology.update.started"
projectId
- Required
- Type:
string - Id of the project the assets belong to.
userId
- Required
- Type:
string - Id of the user who started the update.
organizationId
- Required
- Type:
string - Id of the organization in which the project was created.
payload
- Required
- Type:
object -
updateId- Required
- Type:
string - Id of the update, shared by the events it raises.
toVersion- Required
- Type:
integer - The ontology version the assets are updated to.
- Range: ≥ 1
Properties
scope- Required
- Type:
string - ALL_BEHIND: every asset on an older version when the update runs. SELECTION: the assets of assetIds.
- The value is restricted to the following:
- "ALL_BEHIND"
- "SELECTION"
assetIds- Type:
array - Ids of the selected assets, for a SELECTION.
-
Item Count: ≤ 10000
- Items
- Type:
string
- Type: