The logical outcome of a request. GENESIS returns HTTP 200 even for logical
errors; the real result lives here. Code is the machine-readable status
(0 = ok, 22 = ok-with-auto-correction, 90 = not found, 98 = too large,
104 = empty result, ...); Type is "Information"/"Warnung"/"Fehler"
(or their English equivalents), so it is kept as a plain string.
NOTE: authentication failures arrive as this same { Code, Content, Type }
object at the top level of the body, with no envelope around it, paired
with a non-2xx HTTP status — Code 15 on HTTP 401 ("Sie sind nicht
berechtigt ...") when no credentials were sent, Code 2 on HTTP 404 for
wrong credentials. The engine maps both shapes (see engine.ts).
The logical outcome of a request. GENESIS returns HTTP 200 even for logical errors; the real result lives here.
Codeis the machine-readable status (0 = ok, 22 = ok-with-auto-correction, 90 = not found, 98 = too large, 104 = empty result, ...);Typeis "Information"/"Warnung"/"Fehler" (or their English equivalents), so it is kept as a plain string.NOTE: authentication failures arrive as this same
{ Code, Content, Type }object at the top level of the body, with no envelope around it, paired with a non-2xx HTTP status —Code 15on HTTP 401 ("Sie sind nicht berechtigt ...") when no credentials were sent,Code 2on HTTP 404 for wrong credentials. The engine maps both shapes (see engine.ts).