Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieves schedule shifts
cURL
curl --request GET \ --url https://api.rootly.com/v1/schedules/{id}/shifts \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "attributes": { "schedule_id": "<string>", "rotation_id": "<string>", "starts_at": "<string>", "ends_at": "<string>", "is_override": true, "is_shadow": true, "user_id": 123 }, "relationships": { "shift_override": { "data": { "id": "<string>" } }, "user": { "data": { "id": "<string>" } }, "assignee": { "data": { "id": "<string>", "type": "<string>" } } } } ], "meta": { "current_page": 123, "next_page": 123, "prev_page": 123, "total_count": 123, "total_pages": 123, "next_cursor": "<string>" }, "included": [ { "id": "<string>", "type": "<string>", "attributes": {}, "relationships": {} } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
schedule shifts found
Show child attributes
Was this page helpful?
Contact support