asset.created
Python model
AssetCreatedEvent — from kili_events import AssetCreatedEvent
Description
This event is raised once Kili backend successfully creates an asset. If a user upload 10k assets, it creates 10k events, one per asset.
Properties
event
- Required
- The name of the event.
- Constant value: "asset.created"
project_id
- Required
- Type:
string - Id of the project in which the asset was created.
user_id
- Required
- Type:
string - Id of the user who created the asset.
organization_id
- Required
- Type:
string - Id of the organization in which the asset was created. For project related event, it references the project author organization.
payload
- Required
- Type:
object - Properties
asset_id- Required
- Type:
string - Id of the newly created asset.
external_id- Required
- Types:
string,null - External id of the targeted asset.
event
- Required
- The name of the event.
- Constant value: "asset.created"
projectId
- Required
- Type:
string - Id of the project in which the asset was created.
userId
- Required
- Type:
string - Id of the user who created the asset.
organizationId
- Required
- Type:
string - Id of the organization in which the asset was created. For project related event, it references the project author organization.
payload
- Required
- Type:
object - Properties
assetId- Required
- Type:
string - Id of the newly created asset.
externalId- Required
- Types:
string,null - External id of the targeted asset.