Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
schedule_rotation found
Retrieves a specific schedule rotation by id
curl --request GET \
--url https://api.rootly.com/v1/schedule_rotations/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "60fe424e-b392-4903-b0e4-cac9cd63c53d",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "21d04f59-044e-4247-92d7-d7a9f0bbc18f",
"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": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
schedule_rotation found
Show child attributes
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/schedule_rotations/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "60fe424e-b392-4903-b0e4-cac9cd63c53d",
"type": "schedule_rotations",
"attributes": {
"schedule_id": "21d04f59-044e-4247-92d7-d7a9f0bbc18f",
"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": []
}
}
}