Hosts

Check whether a host's daemon is answering

Changed on

Calls the host's amika-hostd and reports what came back. A host that is registered but switched off answers 200 with status unreachable: not being reachable is the result, not an error. Only an unknown host is a 404.

get/api/v0beta1/hosts/{id}/health

Request

  • Base URL
    https://app.amika.dev (the document declares no server; this is the origin it was published from)
  • URL
    https://app.amika.dev/api/v0beta1/hosts/{id}/health
  • Auth
    • HTTP bearer
    • or API key in cookie wos-session

Path parameters

idstring required

Response

What the host's daemon said, or why it said nothing.

idstring required
status'reachable' | 'no_url' | 'unreachable' required
messagestring nullable required

Changes