Read every declared bay with its state now
**Required permission:** `supervision.live-view:read`
/supervision/v1/bay-mapRequired permission: supervision.live-view:read
Authorization
oauth2 In: header
Response Body
*/*
curl -X GET "https://example.com/supervision/v1/bay-map"{ "bays": [ { "bay_id": "string", "clash_ids": [ "string" ], "coach": { "plate_number": "string", "since": "2019-08-24T14:15:22Z", "vehicle_id": "string" }, "code": "string", "degraded": { "devices": [ { "code": "string", "kind": "string", "name": "string", "reason": "string", "state": "string" } ], "missing": [ { "code": "string", "details": { "property1": "string", "property2": "string" } } ], "place": { "code": "string", "id": "string", "kind": "string", "name": "string" } }, "departures": [ { "departure_at": "2019-08-24T14:15:22Z", "departure_id": "string", "line_name": "string", "plate_number": "string", "provisional": true, "vehicle_id": "string" } ], "hold": { "from": "2019-08-24T14:15:22Z", "id": "string", "reason": "string", "until": "2019-08-24T14:15:22Z" }, "state": "string", "station_area_id": "string" } ], "clashes": [ { "bay_code": "string", "bay_id": "string", "departure_ids": [ "string" ], "ends_at": "2019-08-24T14:15:22Z", "id": "string", "starts_at": "2019-08-24T14:15:22Z", "type": "string" } ], "departures_without_bay": [ { "departure_at": "2019-08-24T14:15:22Z", "departure_id": "string", "line_name": "string" } ], "freshness": { "age_seconds": 0, "budget_seconds": 0, "late_by_seconds": 0, "newest_information_at": "2019-08-24T14:15:22Z", "state": "string" }, "read_at": "2019-08-24T14:15:22Z"}Act on a bay from the bay map
Has bay allocation move a departure's bay, free a bay, mark it occupied, settle an autocar that is not the one committed, release a departure's bay for a controlled reason, or correct an arrival, a departure, a coach or a bay decision recorded in error — the wrong entry kept beside the correction, a correction sent only under bay allocation's correction right — and records the command with the operator, the reason and bay allocation's answer: DONE with the record it made, or REFUSED with its code unchanged. The same command id sent again answers what the first send got and acts once; a command still SENT is unresolved. **Required permission:** `supervision.bay-command:issue`
Read every coach inside the station at its stage, with the time there
**Required permission:** `supervision.live-view:read`