Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id0d1f9769b7ccdbf83d5fa78adef62e46a6a6964
823 B
823 B
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 |