Skip to main content

Cases are never created over REST (always 405)

POST 

/exceptions

There is deliberately no POST /exceptions: every case opens from a consumed fact (ADR 0001), and a repeated fact touches the open case (occurrence count, lastSeenAt) instead of opening another. Like every POST of the fleet it sits behind the idempotency middleware: the Idempotency-Key is demanded first (400 idempotency-key-required when absent), then the router answers 405 method-not-allowed naming GET as the allowed method. The 405 is a deterministic answer and is stored: the same key and request replays it with Idempotency-Replayed: true, the same key with a different request is 409 idempotency-key-reused.

Request​

Responses​

Malformed JSON body, an unknown field, an invalid path, query or header parameter, or a NUL byte in a body.