gns3-server/docs/api/v1/version/version.rst
Julien Duponchelle 67be24a412 Fix doc generation
2015-02-24 11:39:17 +01:00

2.0 KiB

/v1/version

GET /v1/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 /v1/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