How do I call the bootstrap endpoints over HTTP?
Table of Contents
This file documents the bootstrap resource over HTTP, one section per endpoint. Every section exports its own Hurl file into projects/ores.http/scripts/library/. Running a file sends that one request, so a failure names the endpoint it came from.
1. Endpoints
1.1. POST /api/v1/iam/ops/bootstrap_status
Bootstrap status. It needs no session.
It forwards to iam.v1.ops.bootstrap_status.
The request is:
POST /api/v1/iam/ops/bootstrap_status
POST {{base_url}}/api/v1/iam/ops/bootstrap_status
Accept: application/json
HTTP 200
1.2. POST /api/v1/iam/ops/create_initial_admin
Create initial admin. It needs no session.
It forwards to iam.v1.ops.create_initial_admin.
The request is:
POST /api/v1/iam/ops/create_initial_admin
POST {{base_url}}/api/v1/iam/ops/create_initial_admin
Accept: application/json
HTTP 200