chore: add status 500 errors to every endpoint
This commit is contained in:
parent
0f993c39ec
commit
218f91dce2
6 changed files with 14 additions and 8 deletions
|
@ -11,13 +11,14 @@ No request parameters or request body.
|
|||
## Responses
|
||||
|
||||
| Status | Description |
|
||||
| ------ | -------------------------------- |
|
||||
|--------|----------------------------------|
|
||||
| 200 | The current stats of the server. |
|
||||
| 500 | An unhandled error occured. |
|
||||
|
||||
### 200 response
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------ | ------ | ------------------------------------------------------------------------------------------- |
|
||||
|--------------|--------|---------------------------------------------------------------------------------------------|
|
||||
| accounts | int | The number of signed up accounts. |
|
||||
| uptime | int | How many seconds the server has been running. |
|
||||
| version | string | The current server version. |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue