GET
/
v1
/
schedules
/
{schedule_id}
/
schedule_rotations
curl --request GET \
  --url 'https://api.rootly.com/v1/schedules/%7Bschedule_id%7D/schedule_rotations?include=SOME_STRING_VALUE&page%5Bnumber%5D=SOME_INTEGER_VALUE&page%5Bsize%5D=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "data": [
    {
      "id": "<string>",
      "type": "schedule_rotations",
      "attributes": {
        "schedule_id": "<string>",
        "name": "<string>",
        "position": 123,
        "schedule_rotationable_type": "ScheduleDailyRotation",
        "active_all_week": true,
        "active_days": [
          "S"
        ],
        "active_time_type": "<string>",
        "active_time_attributes": [
          {
            "start_time": "<string>",
            "end_time": "<string>"
          }
        ],
        "time_zone": "Etc/UTC",
        "schedule_rotationable_attributes": {
          "handoff_time": "<string>"
        }
      }
    }
  ],
  "links": {
    "self": "<string>",
    "first": "<string>",
    "prev": "<string>",
    "next": "<string>",
    "last": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

schedule_id
string
required

Query Parameters

include
string
page[number]
integer
page[size]
integer
sort
string

Response

200 - application/vnd.api+json
success
data
object[]
required