GET
/
event_schema
/
{event_schema_name}
/
versions
curl --request GET \
  --url https://api.togai.com/event_schema/{event_schema_name}/versions \
  --header 'Authorization: <authorization>'
{
  "data": [
    {
      "name": "ride_completed",
      "description": "Cab ride completed",
      "version": 1,
      "status": "DRAFT",
      "attributes": [
        {
          "name": "distance"
        },
        {
          "name": "time"
        }
      ],
      "dimensions": [
        {
          "name": "city"
        },
        {
          "name": "ride_type"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

event_schema_name
string
required

Response

200 - application/json
data
object[]
required