|
|
@@ -14,10 +14,10 @@ The collection mirrors the spec at `/api/v1/openapi.yaml` and the routes registe
|
|
|
3. Mint an admin token from the host (no Postman variable needed yet):
|
|
|
|
|
|
```bash
|
|
|
- docker compose exec api php bin/console tokens:create admin --role=admin
|
|
|
+ docker compose exec api php bin/console auth:create-token --kind=admin --role=admin
|
|
|
```
|
|
|
|
|
|
- Paste the printed `irdb_adm_…` value into the environment's `adminToken` variable.
|
|
|
+ The raw `irdb_adm_…` token is printed to stdout and shown only once. Paste it into the environment's `adminToken` variable. Available roles are `viewer`, `operator`, `admin`. Run `docker compose exec api php bin/console --help` to see the full set of console commands (`db:migrate`, `auth:bootstrap-service-token`, `jobs:run`, `jobs:status`, `scores:rebuild`).
|
|
|
4. Run **Health & Docs → GET /healthz**. You should see `{ "status": "ok", … }`.
|
|
|
5. Run **Admin — Identity → GET /api/v1/admin/me**. You should get back your token's role.
|
|
|
|