API referenceEndpoints
Get an entry of the fixed-bay plan
Returns one entry by id, open or ended. **Required permission:** `traffic.fixed-bay:read`
GET
/traffic/v1/fixed-bays/{id}Returns one entry by id, open or ended.
Required permission: traffic.fixed-bay:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/fixed-bays/string"{ "authorization_id": "string", "bay_id": "string", "coordination_clash": "string", "ended_at": "2019-08-24T14:15:22Z", "ended_by": "string", "ended_reason": "string", "ends_on": "2019-08-24", "id": "string", "line_id": "string", "planned_at": "2019-08-24T14:15:22Z", "planned_by": "string", "reason": "string", "starts_on": "2019-08-24"}Fix the bay an authorized line leaves from
Records that a line, under the authorization covering it, leaves from a bay from a day. The bay must not be taken out of the plan for good, must be in a current departure zone and not its spare, and must follow the coordination bay rules. **Required permission:** `traffic.fixed-bay:write`
Move an authorized line to another bay
Ends the entry that day and starts a new one on the new bay, keeping both. The same bay again changes nothing. **Required permission:** `traffic.fixed-bay:write`