Peak problem types
Every Peak HTTP API answers an error as an RFC 9457 problem: a JSON object sent as application/problem+json whose type is a URI on this site. Each URI leads to the page of its type: what it means, who can act on it, and what an answer with it looks like.
type,code- The identity of the problem, twice:
typeas a URI,codeas a short snake_case name. A client branches oncode. status,title- The HTTP status, and a fixed English summary of the type that nothing parses.
audienceuser: the person using the client can act on it, and a client may show themdetail.client: only the calling software can, and a client shows its own failure with thetraceId.traceId- The trace id of the request, which support finds it by.
Retry-After- When to ask again is said by this HTTP header, never by the body.
errors- A request that breaks its rules is answered
validation-failed, with one entry per broken rule: a JSON Pointer to the body member (pointer) or the name of the query or route parameter (parameter), a rule code, andminimumormaximumwhen the rule has bounds.
Services
- homematch616 types
Shared
- Shared problem types: the types every service answers with.
- Rule codes: the codes of
errorsentries, shared and each service's. - catalogue.json: everything on this site as one JSON document.