Driftwatch

PagerDuty / PagerDuty REST API /

Breaking

type is now required

What changed

Partial payloads are rejected.

Affects UpdateCustomShiftRequest reachable from 1 operation.

Who is affected

Code that sends PagerDuty's UpdateCustomShiftRequest objects, used by 1 PagerDuty operation.

Before and after

WhereBeforeAfter
UpdateCustomShiftRequest.custom_shift.typeoptionalrequired

Code that breaks

await client.post("/…", {
  // …
  type: /* now required */,
});

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