Event Schemas
Update an event schema
Update an event schema and add new attributes and dimensions
Once an event schema is activated, you cannot update or delete existing attributes and dimensions however you can add new attributes and dimensions and update event schema description. operationId: updateEventSchema
patch/event_schema/{event_schema_name}
Path parameters
event_schema_namestring required
Example:rides
Request body
Example request
{
"attributes": [
{
"name": "distance",
"defaultUnit": "kms"
}
],
"dimensions": [
{
"name": "city"
}
]
}Response
Response for Create and Get event schema requests
Example response
{
"version": 1,
"status": "DRAFT",
"attributes": [
{
"name": "distance",
"defaultUnit": "kms"
}
],
"dimensions": [
{
"name": "city"
}
]
}