API referenceEndpoints
Read the coaches that left, the latest first, with their past stages
**Required permission:** `supervision.live-view:read`
GET
/supervision/v1/coach-flow/departedRequired permission: supervision.live-view:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Query Parameters
limit?integer
At most this many coaches, between 1 and 200.
Format
int32Default
50Response Body
*/*
curl -X GET "https://example.com/supervision/v1/coach-flow/departed"{ "coaches": [ { "left_at": "2019-08-24T14:15:22Z", "plate_number": "string", "stages": [ { "arrived_at": "2019-08-24T14:15:22Z", "left_at": "2019-08-24T14:15:22Z", "overrun": { "limit_exceeded_at": "2019-08-24T14:15:22Z", "maximum_minutes": 0, "minutes_over": 0 }, "seconds_at_stage": 0, "stage": "string" } ], "vehicle_cycle_id": "string", "vehicle_id": "string" } ], "read_at": "2019-08-24T14:15:22Z"}Read every coach inside the station at its stage, with the time there
**Required permission:** `supervision.live-view:read`
Revoke a temporary access code
Has the coach cycle revoke it. The command is recorded with the operator, the reason and the owning module's answer: DONE with the record it made, or REFUSED with its code unchanged. The same command id sent again acts once; a command naming an alert closes it once done. **Required permission:** `supervision.access-code:issue`