fix: move versions out of v1

This commit is contained in:
JustTemmie 2025-04-28 22:41:18 +02:00
parent c8ba206e92
commit 7cd18b9198

View file

@ -0,0 +1,35 @@
GET /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|Unstable features that are supported by the server. Features not listed here indicate that a feature isn't supported.|
|versions|list[string]|**Required**: The supported protocol versions
```json
{
"unstable_features": {
"example.feature": true
},
"versions": [
"2",
"3",
"4",
]
}
```