Driftwatch

PagerDuty / PagerDuty REST API /

Breaking

Response field offset removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects GET /v3/schedules/{id}/custom_shifts.

Who is affected

Code that reads GET /v3/schedules/{id}/custom_shifts (offset).

Before and after

WhereBeforeAfter
GET /v3/schedules/{id}/custom_shifts · offsetpresentabsent
GET /v3/schedules/{id}/overrides · offsetpresentabsent

Code that breaks

// response.offset is now undefined
const offset = response.offset;

Based on PagerDuty’s published API specification. How severity is decided.