Expand description
The output: json (the server’s response, indented), table (columns) and raw, and the shape of the
API errors (doc 19b, section 18.11.3).
Enums§
Functions§
- cluster_
table - The
ClusterStatusas tables: the simple fields, one row per node and one per condition. - render
- The text of a response in the requested format.
rawreturns the text as it came. - table
- A table with the items of a list (
items,messagesor a list at the root) or, for a single object, one row per field.Noneif the text is not JSON of one of those shapes. - write_
api_ error - Writes an API error to the error output:
code: message (requestId ...), thedetailsand theRetry-After. Withjsonand a serverErrorResponse, writes the body as it came (indented).