mirror of
https://github.com/0x1d/rcond.git
synced 2025-12-14 18:25:21 +01:00
docs: add info about auth
This commit is contained in:
@@ -16,6 +16,10 @@ make run
|
|||||||
|
|
||||||
The full API specification can be found in [api/rcond.yaml](api/rcond.yaml).
|
The full API specification can be found in [api/rcond.yaml](api/rcond.yaml).
|
||||||
|
|
||||||
|
### Authentication
|
||||||
|
|
||||||
|
All endpoints except `/health` require authentication via an API token passed in the `X-API-Token` header. The token is configured via the `RCOND_API_TOKEN` environment variable when starting the daemon.
|
||||||
|
|
||||||
### Endpoints
|
### Endpoints
|
||||||
|
|
||||||
| Method | Path | Description |
|
| Method | Path | Description |
|
||||||
|
|||||||
Reference in New Issue
Block a user