SmartGare
API referenceEndpoints

List a transport authorization's history

Returns what changed on the instrument, oldest first: the previous and new value, who changed it, when and why. One bounded page at a time. **Required permission:** `referential.authorization:read`

GET/referential/v1/authorizations/{id}/changes

Returns what changed on the instrument, oldest first: the previous and new value, who changed it, when and why. One bounded page at a time.

Required permission: referential.authorization:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

page?integer

Zero-based page index.

Formatint32
Range0 <= value <= 9999999
size?integer

Page size, at most 200.

Formatint32
Range0 <= value <= 200

Response Body

*/*

curl -X GET "https://example.com/referential/v1/authorizations/string/changes"
{  "data": [    {      "aspect": "string",      "changed_at": "2019-08-24T14:15:22Z",      "changed_by": "string",      "new_value": "string",      "previous_value": "string",      "reason": "string"    }  ],  "page": 0,  "size": 0,  "total": 0}