Hosts
Register an organization host
Changed onIdempotent by hostname: registering a hostname the organization already has returns that host with 200 and leaves its stored secret and sizes unchanged. Use PUT to rotate the secret or replace the sizes.
post/api/v0beta1/hosts
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
- Auth
- HTTP bearer
- or API key in cookie wos-session
Request body
Response
Host already registered. The secret value is never returned.
Changes
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- breaking
added the pattern
^[\x21-\x7e]{32,}$to the request property - info
the
request property's minLength was decreased from1to0
- breaking