feat: start writing barebones documentation

This commit is contained in:
JustTemmie 2025-04-28 21:49:59 +02:00
parent 08fc33cc06
commit 167772bfcd
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,34 @@
GET /v1/versions
---
## Request
No request parameters or request body.
---
## Responses
|Status|Description|
|-|-|
|200|The versions supported by the server|
### 200 response
|Name|Type|Description|
|-|-|-|
|unstable_features|string:bool|**Required**: Unstable features that are supported by the server. Features not listed here indicate that a feature isn't supported.|
|versions|[string]|**Required**: The supported protocol versions
```json
{
"unstable_features": {
"example.feature": true
},
"versions": [
"0.0.2",
"1",
]
}
```