Skip to content

project.created

Python model

ProjectCreatedEvent — from kili_events import ProjectCreatedEvent

Description

This event is raised once Kili backend successfully creates a project. If a user created N projects, it creates N events, one per project created.

Properties

event

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

project_id

  • Required
  • Type: string
  • Id of the project created.

user_id

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

organization_id

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

payload

  • Type: object
  • The payload of the event, containing details about the project created.
  • Properties
    • from_project_id
      • Type: string
      • If the new project is a copy of an existing project, this is the id of the project copied.

event

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

projectId

  • Required
  • Type: string
  • Id of the project created.

userId

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

organizationId

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

payload

  • Type: object
  • The payload of the event, containing details about the project created.
  • Properties
    • fromProjectId
      • Type: string
      • If the new project is a copy of an existing project, this is the id of the project copied.