nix: set up project-wide formatter
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4806c58aa0a17f504c9312723ad770166a6a6964
This commit is contained in:
parent
aa9c55277c
commit
9e5eb41d39
78 changed files with 7406 additions and 2504 deletions
35
docs/api/health.md
vendored
35
docs/api/health.md
vendored
|
|
@ -12,9 +12,9 @@ Comprehensive health check - includes database, filesystem, and cache status
|
|||
|
||||
#### Responses
|
||||
|
||||
| Status | Description |
|
||||
|--------|-------------|
|
||||
| 200 | Health status |
|
||||
| Status | Description |
|
||||
| ------ | ------------- |
|
||||
| 200 | Health status |
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -24,40 +24,39 @@ Comprehensive health check - includes database, filesystem, and cache status
|
|||
|
||||
#### Responses
|
||||
|
||||
| Status | Description |
|
||||
|--------|-------------|
|
||||
| 200 | Detailed health status |
|
||||
| Status | Description |
|
||||
| ------ | ---------------------- |
|
||||
| 200 | Detailed health status |
|
||||
|
||||
---
|
||||
|
||||
### GET /api/v1/health/live
|
||||
|
||||
Liveness probe - just checks if the server is running
|
||||
Returns 200 OK if the server process is alive
|
||||
Liveness probe - just checks if the server is running Returns 200 OK if the
|
||||
server process is alive
|
||||
|
||||
**Authentication:** Required (Bearer JWT)
|
||||
|
||||
#### Responses
|
||||
|
||||
| Status | Description |
|
||||
|--------|-------------|
|
||||
| 200 | Server is alive |
|
||||
| Status | Description |
|
||||
| ------ | --------------- |
|
||||
| 200 | Server is alive |
|
||||
|
||||
---
|
||||
|
||||
### GET /api/v1/health/ready
|
||||
|
||||
Readiness probe - checks if the server can serve requests
|
||||
Returns 200 OK if database is accessible
|
||||
Readiness probe - checks if the server can serve requests Returns 200 OK if
|
||||
database is accessible
|
||||
|
||||
**Authentication:** Required (Bearer JWT)
|
||||
|
||||
#### Responses
|
||||
|
||||
| Status | Description |
|
||||
|--------|-------------|
|
||||
| 200 | Server is ready |
|
||||
| 503 | Server not ready |
|
||||
| Status | Description |
|
||||
| ------ | ---------------- |
|
||||
| 200 | Server is ready |
|
||||
| 503 | Server not ready |
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue