gns3-server/docs/api/version.rst
2015-01-20 15:27:28 +01:00

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