Skip to main content

List servers

GET/api/servers

Lists the servers in your configuration. Use a name from this list as the server query parameter on the read routes, and as the path parameter of Get server status.

Authorizations

Authorizationstringheader

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.

Response

200 · application/json

The configured servers, in configuration order.

namestringrequired

The server's name in your config.

hoststringrequired

The server's address.

localbooleanrequired

true for the machine homebutler runs on.