SmartGare
API referenceEndpoints

Read every coach inside the station at its stage, with the time there

**Required permission:** `supervision.live-view:read`

GET/supervision/v1/coach-flow

Required permission: supervision.live-view:read

AuthorizationBearer <token>

In: header

Response Body

*/*

curl -X GET "https://example.com/supervision/v1/coach-flow"
{  "coaches": [    {      "arrived_at": "2019-08-24T14:15:22Z",      "limit": {        "limit_at": "2019-08-24T14:15:22Z",        "maximum_minutes": 0      },      "overrun": {        "limit_exceeded_at": "2019-08-24T14:15:22Z",        "maximum_minutes": 0,        "minutes_over": 0      },      "plate_number": "string",      "seconds_at_stage": 0,      "stage": "string",      "vehicle_cycle_id": "string",      "vehicle_id": "string",      "waiting": {        "may_go_to_bays_at": "2019-08-24T14:15:22Z",        "missing": [          {            "source": "string",            "time": "string"          }        ],        "scheduled_at": "2019-08-24T14:15:22Z"      }    }  ],  "degraded_places": [    {      "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"      }    }  ],  "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"}