What changed
Partial payloads are rejected.
Affects StatusPagePostPostRequest reachable from 1 operation.
Who is affected
Code that sends PagerDuty's StatusPagePostPostRequest objects, used by 2 PagerDuty operations.
Before and after
| Where | Before | After |
|---|---|---|
| StatusPagePostPostRequest.status_page.type | optional | required |
| StatusPagePostPutRequest.status_page.type | optional | required |
| StatusPagePostUpdateRequest.post.type | optional | required |
| StatusPagePostUpdateRequest.severity.type | optional | required |
| StatusPagePostUpdateRequest.status.type | optional | required |
| StatusPagePostmortemRequest.post.type | optional | required |
| POST /status_pages/{id}/subscriptions · subscription.status_page.type | optional | required |
Code that breaks
await client.post("/…", {
// …
type: /* now required */,
});Based on PagerDuty’s published API specification. How severity is decided.