SmartGare
API referenceEndpoints

List a coordination's rotation history

Returns each change of its rotation settings, oldest first: the settings it had after, who changed them, when and why. The first entry is its declaration. **Required permission:** `referential.coordination:read`

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

Returns each change of its rotation settings, oldest first: the settings it had after, who changed them, when and why. The first entry is its declaration.

Required permission: referential.coordination:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

curl -X GET "https://example.com/referential/v1/coordinations/string/rotation-changes"
[  {    "bay_ids": [      "string"    ],    "changed_at": "2019-08-24T14:15:22Z",    "changed_by": "string",    "coordination_id": "string",    "id": "string",    "reason": "string",    "reference_day": "2019-08-24",    "rotation_day_starts_at": "string"  }]