REST API Version
For each command, the response header specifies the REST API version number.
Example:
Date: Mon, 03 Aug 2015 07:27:22 GMT
Server: TwistedWeb/13.2.0
Content-Length: 1416
Rest-Version: 1.0.0
Content-Type: application/json
Set-Cookie: session=.eJyrVopPK0otzlCyKikqTdVRis9MUbKqVlJIUrJS8g3xyvUPD8vyrco29TXyrPKrisqKrPLL8HNJyY5yCcuINPLL9TWKNPYLCbVVqgXqLUgtyk3MS80rgZlWWpxaBDZRKTElNzNPqRYA-Vwk8w.CKCpWg.YLoiHXR3njwngClAe6TazaST2mU; expires=Thu, 03-Sep-2015 07:27:22 GMT; Path=/; HttpOnly
Connection: close
Users can validate the REST API version they are using in two ways:
Configure the request header to include "Rest-Version"
Example:Request headers CSP: active User-Agent: Mozilla/
5.0(Windows NT6.1; WOW64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/43.0.2357.134Safari/537.36Rest-Version:1.0.0Authorization: Basic YWRtaW46MTIzNDU2 Accept: */* Accept-Encoding: gzip, deflate, sdch Accept-Language: en-US,en;q=0.8Cookie: session=.eJyrVopPK0otzlCyKikqTdVRis9MUbKqVlJIUrJS8g3xyvUPD8vyrco29TXyrPKrisqKrPLL8HNJyY5yCcuINPLL9TWKNPYLCbVVqgXqLUgtyk3MS80rgZlWWpxaBDZRKTElNzNPqRYA-Vwk8w.CKCpPw.Mb8EcEEC53Nn-cd_1N4J1BvClfAAdd "Rest-Version" to the URL:
Example:Get: /neo/app/version?Rest-Version=
1.6.0