pub fn status(api: &str, auth: Option<&Path>) -> Result<(Health, Value), String>Expand description
choir node status [<api>].
Two requests: /healthz, which performs the node’s own durability
check, and /api/view, which carries everything else. They are
separate because they answer different questions and one can be
withheld without the other — a credential that may not read the view
can still be told the node is alive.
§Errors
Returns a description when the node cannot be reached or its view does not parse.