GET
/
v1
/
schedule_rotations
/
{id}
Retrieves a schedule rotation
curl --request GET \
  --url https://api.rootly.com/v1/schedule_rotations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "82c24e22-ab18-4576-af58-b8258bced037",
    "type": "schedule_rotations",
    "attributes": {
      "schedule_id": "f884deca-0afc-4feb-a98b-294395bcd1ea",
      "name": "Schedule Rotation 13",
      "position": 1,
      "schedule_rotationable_type": "ScheduleDailyRotation",
      "active_all_week": true,
      "active_days": [],
      "active_time_type": "all_day",
      "time_zone": "UTC",
      "start_time": null,
      "end_time": null,
      "schedule_rotationable_attributes": {
        "handoff_time": "17:00"
      },
      "active_time_attributes": []
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

schedule_rotation found

The response is of type object.