API referenceEndpoints
Get a bay
Returns a bay by id. **Required permission:** `referential.bay:read`
GET
/referential/v1/bays/{id}Returns a bay by id.
Required permission: referential.bay:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
*/*
curl -X GET "https://example.com/referential/v1/bays/string"{ "code": "string", "created_at": "2019-08-24T14:15:22Z", "family": "string", "height_m": 0, "id": "string", "length_m": 0, "max_coach_length_m": 0, "position": 0, "sector": "string", "spare": true, "station_area_id": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z", "use": "string", "zone_id": "string"}