List containers
Lists every Docker container on the machine, running or stopped. When Docker does not answer, the route still returns 200 with available set to false and an empty list.
Authorizations
The token you start the server with: homebutler serve --token <token>, or web.token in the config file. Send it as Authorization: Bearer <token>. When the server has a token, every /api/ route except the CORS preflight requires it, reads included.
Query parameters
The name of a remote server from List servers. homebutler runs the command on it over SSH and returns its answer. Leave it out, name the local server, or name a server that is not in the config, to read this machine.
Response
200 · application/jsonThe containers, or available: false when Docker is not reachable. The example is shortened.
false when Docker did not answer.
Why Docker is unavailable. Present only when available is false.
The containers. Empty when Docker is unavailable.