Schedules
Schedules arrange the eligible members of the team into fair and balanced on-call shifts. Currently the API does not allow creating or managing schedules.
Last updated
Schedules arrange the eligible members of the team into fair and balanced on-call shifts. Currently the API does not allow creating or managing schedules.
Last updated
© 2024 Oilcan, Inc. All rights reserved.
GET
/schedules
List all schedules in the organization.
Headers
Name | Value |
---|---|
Parameters
Name | Type | Description |
---|---|---|
Response
GET
/schedules/$id/oncalls
This method returns the list of all on-calls within the time range, and their contact information.
Headers
Body
Response
The response will include a stage
attribute, which determines which stage the person is in the schedule. If the person has a Slack account, the response will include the slack_user_id
. with a contact_methods
type of slack
.
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Content-Type
application/json
Authorization
Bearer <token>
name_eq
string
Filter by the name of the schedule
Content-Type
application/json
Authorization
Bearer <token>
time_range[start]
iso8601 datetime
Starting time range to inspect
time_range[end]
iso8601 datetime
Ending time range to inspect