Skip to content

Add response body assertions and other missing uptime settings - #9

Merged
mattiasgeniar merged 1 commit into
mainfrom
add-response-body-assertions
Sep 4, 2026
Merged

mattiasgeniar merged 1 commit into
mainfrom
add-response-body-assertions

Conversation

@mattiasgeniar

Copy link
Copy Markdown
Collaborator

The spec's UptimeCheckSettings was missing four fields the API has accepted and returned for a while: response_body_assertions (with a new ResponseBodyAssertion schema), raw_payload, frequency_value and frequency_unit.

While verifying those against the live request/resource classes, the monitor create and update examples turned out to be stale too: the create example used flat uptime_check_* keys that are silently dropped, and the update example sent type (rejected on update), label (not an accepted field, friendly_name is) and a null health-check secret that 422s. Both examples now replay cleanly against the API, 201 and 200.

@mattiasgeniar
mattiasgeniar merged commit d017e14 into main Sep 4, 2026
2 checks passed
@mattiasgeniar
mattiasgeniar deleted the add-response-body-assertions branch September 4, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant