mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 21:27:39 +02:00
6.0
in this commit: - enhanced css (hover border, less annoying donate highlight, checkbox width fix for mobile, more consistent color scheme) - addition of an urgent notice (in this case it mentions all issues related to old infra being fixed) - updated twitter picker test - changelog for 6.0 - removed partial translations
This commit is contained in:
23
docs/API.md
23
docs/API.md
@ -65,7 +65,22 @@ On-demand website element loading. Currently used only for older changelogs.<br>
|
||||
| blockId | ``0`` | Block ID to be rendered on the server. |
|
||||
|
||||
### Response Body Variables
|
||||
| key | type | variables |
|
||||
|:-----------|:-------|:-----------------------------|
|
||||
| status | string | ``error / success`` |
|
||||
| text | string | Error text or rendered block |
|
||||
| key | type | variables |
|
||||
|:-------|:-------|:-----------------------------|
|
||||
| status | string | ``error / success`` |
|
||||
| text | string | Error text or rendered block |
|
||||
|
||||
## GET: ``/api/serverInfo``
|
||||
Returns current basic server info.<br>
|
||||
Response Body Type: ``application/json``
|
||||
|
||||
### Response Body Variables
|
||||
| key | type | variables |
|
||||
|:----------|:-------|:------------------|
|
||||
| version | string | cobalt version |
|
||||
| commit | string | Git commit |
|
||||
| branch | string | Git branch |
|
||||
| name | string | Server name |
|
||||
| url | string | Server url |
|
||||
| cors | string | CORS status |
|
||||
| startTime | string | Server start time |
|
||||
|
Reference in New Issue
Block a user