SmartGare
API referenceEndpoints

List a route's pauses

Every pause of the route by first day, ended and withdrawn ones included. **Required permission:** `referential.itinerary:read`

GET/referential/v1/lines/{lineId}/routes/{routeCode}/pauses

Every pause of the route by first day, ended and withdrawn ones included.

Required permission: referential.itinerary:read

AuthorizationBearer <token>

In: header

Response Body

*/*

curl -X GET "https://example.com/referential/v1/lines/{lineId}/routes/{routeCode}/pauses"
[  {    "changed_at": "2019-08-24T14:15:22Z",    "changed_by": "string",    "ends_on": "2019-08-24",    "id": "string",    "line_id": "string",    "paused_at": "2019-08-24T14:15:22Z",    "paused_by": "string",    "reason": "string",    "route_code": "string",    "starts_on": "2019-08-24",    "withdrawn": true  }]