mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-30 09:38:53 +00:00
1.7 KiB
1.7 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