Skip to content

Status messages

Responses follow the following format:

{
  "apiVersion": "v1",
  "kind": "Status",
  "metadata": {},
  "status": "Success", // if code // 100 == 2 else "Failure",
  "message": "...",
  "reason": "...",
  "code": 200
  // ...
}

Where code is a standard HTTP return code, reason an element of the following table which results from the return code, message a descriptive text, and details an optional part whose nature depends on the exchange.

Reason Code
OK 200
Created 201
NoContent 204
BadRequest 400
Unauthorized 401
PaymentRequired 402
Forbidden 403
NotFound 404
AlreadyExists 409
Conflict 409
Invalid 422
Internalerror 500