SmartGare
API referenceEndpoints

Read how fast a day's cancellations were announced

For a station day, today unless one is named: the cancellations recorded, those whose announcement the broker acknowledged, those acknowledged within the station's target (30 seconds unless it says otherwise), those still waiting, and the slowest. **Required permission:** `traffic.cancellation-announcement:read`

GET/traffic/v1/departures/cancellation-announcements

For a station day, today unless one is named: the cancellations recorded, those whose announcement the broker acknowledged, those acknowledged within the station's target (30 seconds unless it says otherwise), those still waiting, and the slowest.

Required permission: traffic.cancellation-announcement:read

AuthorizationBearer <token>

In: header

Query Parameters

day?string

Station day, ISO date; today in the station's zone when absent

Formatdate

Response Body

*/*

curl -X GET "https://example.com/traffic/v1/departures/cancellation-announcements"
{  "announced": 0,  "awaiting_acknowledgement": 0,  "cancelled": 0,  "computed_at": "2019-08-24T14:15:22Z",  "slowest_millis": 0,  "station_day": "2019-08-24",  "target_millis": 0,  "within_target": 0}