Retrieving version information

You can use the REST API to determine the version of WSRR that you are using.

To retrieve the WSRR version information, use a URL of the following form:
http[s]://hostname:port/WSRR
If you have multiple instances of WSRR deployed, you must identify the instance by specifying its prefix:
http://hostname:port/prefixWSRR
Where prefix is the WSRR Instance Prefix that you specified when you created the instance.
By default, the version information is returned in XML format, for example:
<system>
  <property name="buildate" value="19700101_0000"/>
  <property name="iteration" value="iteration1"/>
  <property name="version" value="8.0.0.0"/>
</system> 
If you want the version information to be returned in JSON format, set the "accept" header in the HTTP request to "application/json". The following is an example of the version information returned in JSON format:
[{"value":"19700101_0000","name":"builddate"},{"value":"iteration1","name":"iteration"},{"value":"8.0.0.0","name":"version"}]