Skip to content

asset.question.created

Python model

AssetQuestionCreatedEvent — from kili_events import AssetQuestionCreatedEvent

Description

This event is raised once Kili backend successfully creates an question.

Properties

event

  • Required
  • The name of the event.
  • Constant value: "asset.question.created"

project_id

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

user_id

  • Required
  • Type: string
  • Id of the user who created the question.

organization_id

  • Required
  • Type: string
  • Id of the organization in which the question 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 asset related to the newly created question.
    • assignee_id
      • Type: string
      • Id of the user to whom the newly created question is assigned.
    • external_id
      • Required
      • Types: string, null
      • External id of the asset related to the newly created question.
    • object_mid
      • Type: string
      • Mid of the created question is assigned.
    • question_id
      • Required
      • Type: string
      • Id of the newly created question.

event

  • Required
  • The name of the event.
  • Constant value: "asset.question.created"

projectId

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

userId

  • Required
  • Type: string
  • Id of the user who created the question.

organizationId

  • Required
  • Type: string
  • Id of the organization in which the question was created. For project related event, it references the project author organization.

payload

  • Required
  • Type: object
  • Properties
    • assetId
      • Required
      • Type: string
      • Id of the asset related to the newly created question.
    • assigneeId
      • Type: string
      • Id of the user to whom the newly created question is assigned.
    • externalId
      • Required
      • Types: string, null
      • External id of the asset related to the newly created question.
    • objectMid
      • Type: string
      • Mid of the created question is assigned.
    • questionId
      • Required
      • Type: string
      • Id of the newly created question.