You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .generator/schemas/v2/openapi.yaml
+327-1Lines changed: 327 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -85666,6 +85666,11 @@ components:
85666
85666
description: A short name for the schedule.
85667
85667
example: Primary On-Call
85668
85668
type: string
85669
+
tags:
85670
+
description: A list of tags associated with the schedule.
85671
+
items:
85672
+
type: string
85673
+
type: array
85669
85674
time_zone:
85670
85675
description: The time zone in which this schedule operates.
85671
85676
example: America/New_York
@@ -85789,6 +85794,231 @@ components:
85789
85794
type: string
85790
85795
x-enum-varnames:
85791
85796
- MEMBERS
85797
+
ScheduleOnCallResponderData:
85798
+
description: Represents one position's (previous, current, or next) group of on-call responder shifts. Positions with no matching shift are omitted entirely from the response.
description: Defines the list of shifts satisfying this responder group's position. Multiple shifts occur when a schedule has multiple concurrent on-call responders at that position.
85826
+
properties:
85827
+
data:
85828
+
description: Array of references to the shifts included in the response.
Defines a single member within a schedule layer, including the reference to the underlying user.
@@ -160912,7 +161142,8 @@ paths:
160912
161142
- on_call_write
160913
161143
/api/v2/on-call/schedules/{schedule_id}/on-call:
160914
161144
get:
160915
-
description: "Retrieves the user who is on-call for the specified schedule at a given time."
161145
+
deprecated: true
161146
+
description: "Retrieves the user who is on-call for the specified schedule at a given time. This endpoint does not support schedules with multiple concurrent on-call responders at a position. Deprecated. Use `Get on-call responders for a schedule` instead."
160916
161147
operationId: GetScheduleOnCallUser
160917
161148
parameters:
160918
161149
- description: "Specifies related resources to include in the response as a comma-separated list. Allowed value: `user`."
description: "Retrieves the on-call responders for the specified schedule, grouped by position (previous, current, next), at a given time. Supports schedules with multiple concurrent on-call responders at a position, by returning a list of shifts per position."
161213
+
operationId: GetScheduleOnCallResponders
161214
+
parameters:
161215
+
- description: "Comma-separated list of included relationships to be returned. Allowed values: `schedule`, `responders`, `responders.shifts`, `responders.shifts.user`."
161216
+
in: query
161217
+
name: include
161218
+
schema:
161219
+
type: string
161220
+
- description: The ID of the schedule.
161221
+
in: path
161222
+
name: schedule_id
161223
+
required: true
161224
+
schema:
161225
+
example: 3653d3c6-0c75-11ea-ad28-fb5701eabc7d
161226
+
type: string
161227
+
- description: "Comma-separated list of positions to retrieve. Allowed values: `previous`, `current`, `next`. Defaults to `current` if omitted."
161228
+
in: query
161229
+
name: filter[position]
161230
+
schema:
161231
+
example: previous,current,next
161232
+
type: string
161233
+
- description: "Retrieves the on-call responders at the given timestamp in RFC3339 format (for example, `2025-05-07T02:53:01Z` or `2025-05-07T02:53:01+00:00`). When using timezone offsets with `+` or `-`, ensure proper URL encoding (`+` should be encoded as `%2B`). Defaults to the current time if omitted."
0 commit comments