A content event a trigger can fire on.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
event_type |
models.PlatformTriggerEventType | ✔️ | The kind of event. | DOCUMENT_CHANGE |
datasource |
str | ✔️ | Datasource the event originated from. | GITHUB |
reason |
models.PlatformTriggerEventReason | ✔️ | Why the event fired. | REVIEW_REQUESTED |
doc_type |
str | ✔️ | Datasource-specific object type. | pull |
doc_id |
str | ✔️ | Identifier of the document the event is about. | |
view_url |
str | ✔️ | Link to the document in its source system. | |
title |
str | ✔️ | Title of the document, or the subject for email. | |
event_time |
date | ✔️ | When the event happened at the source: the document's own change timestamp for a document change, and the scheduled time for a content schedule. Omitted when the source did not supply one. |