gns3-server/docs/api/version.rst
Julien Duponchelle 8d3ea60404 VPCS reload
2015-01-22 10:55:11 +01:00

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