Operations
Whether the first-run setup is open (only when OHS_SETUP_TOKEN is set)
GET
Public, no credential. needed is true while OHS_SETUP_TOKEN is set and the
instance has no tenant. With no OHS_SETUP_TOKEN the route is not mounted (404).
See docs/setup.md.
The setup state. Sent with Cache-Control: no-store.
application/json- response
needed*booleanTrue while the instance has no tenant and POST /v1/setup can create one.
curl -X GET 'http://localhost:8080/v1/setup'{ "needed": true}