Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4806c58aa0a17f504c9312723ad770166a6a6964
992 B
Vendored
992 B
Vendored
Database
Database administration
Endpoints
POST /api/v1/admin/database/clear
Authentication: Required (Bearer JWT)
Responses
| Status | Description |
|---|---|
| 200 | Database cleared |
| 401 | Unauthorized |
| 403 | Forbidden |
| 500 | Internal server error |
GET /api/v1/admin/database/stats
Authentication: Required (Bearer JWT)
Responses
| Status | Description |
|---|---|
| 200 | Database statistics |
| 401 | Unauthorized |
| 403 | Forbidden |
| 500 | Internal server error |
POST /api/v1/admin/database/vacuum
Authentication: Required (Bearer JWT)
Responses
| Status | Description |
|---|---|
| 200 | Database vacuumed |
| 401 | Unauthorized |
| 403 | Forbidden |
| 500 | Internal server error |