SmartGare
API referenceEndpoints

List a coordination's bay history

Returns each change of the coordination's bay, oldest first: the bay it held and since when, the bay it holds after, who changed it, when and why. One bounded page at a time. **Required permission:** `referential.coordination:read`

GET/referential/v1/coordinations/{id}/bay-changes

Returns each change of the coordination's bay, oldest first: the bay it held and since when, the bay it holds after, who changed it, when and why. One bounded page at a time.

Required permission: referential.coordination: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/coordinations/string/bay-changes"
{  "data": [    {      "changed_at": "2019-08-24T14:15:22Z",      "changed_by": "string",      "new_bay_id": "string",      "previous_bay_id": "string",      "previous_bay_since": "2019-08-24T14:15:22Z",      "reason": "string"    }  ],  "page": 0,  "size": 0,  "total": 0}