Skip to main content
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": "1821a2a5-28c1-41a6-ac4a-3d05568b156c",
    "type": "schedule_rotations",
    "attributes": {
      "schedule_id": "78bbebc5-e690-4d05-a3af-5ce1a103f212",
      "name": "Schedule Rotation 19",
      "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

data
object
required