mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-23 22:52:25 +00:00
1.8 KiB
1.8 KiB
/version
GET /version
Retrieve the server version number
Response status codes
- 200: OK
Output
Name | Mandatory | Type | Description |
---|---|---|---|
version | ✔ | string | Version number human readable |
Sample session
examples/get_version.txt
POST /version
Check if version is the same as the server
Response status codes
- 200: Same version
- 409: Invalid version
Input
Name | Mandatory | Type | Description |
---|---|---|---|
version | ✔ | string | Version number human readable |
Output
Name | Mandatory | Type | Description |
---|---|---|---|
version | ✔ | string | Version number human readable |
Sample session
examples/post_version.txt