Activate an event schema
Event Schemas
Activate an event schema
Activate an event schema
POST
Activate an event schema
Documentation Index
Fetch the complete documentation index at: https://docs.togai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Maximum string length:
50Example:
"rides"
Response
Response for Create and Get event schema requests
Structure of an event schema
Name of the event. Must be unique for an organization.
Maximum string length:
50Pattern:
^[\sa-zA-Z0-9_-]*$Version of event schema
Required range:
x >= 1Example:
1
Description of the event
Maximum string length:
255Status of event schema
- DRAFT - Schema is in draft state
- ACTIVE - Schema is currently active
- INACTIVE - Schema is currently inactive
- ARCHIVED - Older version of event schema
Available options:
DRAFT, ACTIVE, INACTIVE, ARCHIVED Example:
"DRAFT"
Maximum array length:
50Maximum array length:
50details of feature associated with event schema with attribute name
Template used to generate event id based on event payload
