WAS THIS PAGE HELPFUL? {html}<a href="mailto:training@gwos.com?subject=Version API">Leave Feedback</a>{html}
h4. 24.0 Version API
The Version API returns the current version of the REST API.
API Since: 7.0.2
Supports both XML and JSON
h5. 24.1 HTTP Headers
|| Header || Valid Values | Required ||
| Content-Type | application/xml or application/json | True |
| GWOS-API-TOKEN | a valid token returned from login | True |
| GWOS-APP-NAME | your application name | True |
h5. 24.2 Method: GET Version
{color:#4a86e8}GET /api/version{color}
h5. 24.3 Example Results
{code}<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<version>7.0.2</version>
{
"version" : "7.0.2"
}{code}
h4. 24.0 Version API
The Version API returns the current version of the REST API.
API Since: 7.0.2
Supports both XML and JSON
h5. 24.1 HTTP Headers
|| Header || Valid Values | Required ||
| Content-Type | application/xml or application/json | True |
| GWOS-API-TOKEN | a valid token returned from login | True |
| GWOS-APP-NAME | your application name | True |
h5. 24.2 Method: GET Version
{color:#4a86e8}GET /api/version{color}
h5. 24.3 Example Results
{code}<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<version>7.0.2</version>
{
"version" : "7.0.2"
}{code}