Event Schemas
List all event schema versions
Changed onGet a list of all the versions of an event schema
get/event_schema/{event_schema_name}/versions
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
event_schema_namestring required
Example:rides
Response
Response for list event schema versions request
Example response
{
"data": [
{
"version": 1,
"status": "DRAFT",
"attributes": [
{
"name": "distance",
"defaultUnit": "kms"
}
],
"dimensions": [
{
"name": "city"
}
]
}
]
}Changes
- info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status
- info