specifications/API/client-server/v1/versions.md

35 lines
No EOL
579 B
Markdown

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|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",
]
}
```