Hosts
Enrol a tunnel host with its gateway
Changed onReturns everything amika-hostd needs to dial out: the credential, the generation the gateway fences on, and the gateway address with its path. Only for a host in tunnel mode; a listen host binds a port and is reached at its registered URL, so it is refused with 400. Only a signed-in user can enrol a host; an API key or other service identity is refused with 403. A POST rather than a GET so the credential is never cached or prefetched.
post/api/v0beta1/hosts/{id}/enrolment
Request
- Base URLhttps://app.amika.dev (the document declares no server; this is the origin it was published from)
- URLhttps://app.amika.dev/api/v0beta1/hosts/{id}/enrolment
- Auth
- HTTP bearer
- or API key in cookie wos-session
Path parameters
idstring required
Response
What the host needs to dial out.
Changes
- info
endpoint added
- info