SmartGare
API referenceEndpoints

Read the station journal's lines of a window, the earliest first

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

GET/supervision/v1/journal

Required permission: supervision.live-view:read

AuthorizationBearer <token>

In: header

Query Parameters

from*string

The first moment read, inclusive.

Formatdate-time
until*string

The moment the window ends, exclusive; at most 31 days after.

Formatdate-time
limit?integer

At most this many lines, between 1 and 1000.

Formatint32
Default200

Response Body

*/*

curl -X GET "https://example.com/supervision/v1/journal?from=2019-08-24T14%3A15%3A22Z&until=2019-08-24T14%3A15%3A22Z"
{  "lines": [    {      "access_point_id": "string",      "bay_code": "string",      "bay_id": "string",      "departure_id": "string",      "happened_at": "2019-08-24T14:15:22Z",      "id": "string",      "kind": "string",      "late_by_seconds": 0,      "recorded_by": "string",      "reported_by": "string",      "scheduled_at": "2019-08-24T14:15:22Z",      "vehicle_cycle_id": "string",      "vehicle_id": "string"    }  ]}