REST Server Information

Use the following service to verify the server information, the same as the About JasperReports Server link in the user interface.

Method

URL

GET

http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo

Options

accept: application/xml

accept: application/json

Return Value on Success

Typical Return Values on Failure

200 OK – Body described below.

This request should always succeed when the server is running.

The server returns a structure containing the information in the requested format, XML or JSON:

<serverInfo>
  <build>20121029_1532</build>
  <edition>PRO</edition>
  <editionName>Enterprise</editionName>
  <expiration/>
  <features>Fusion AHD EXP DB AUD ANA
            MT</features>
  <licenseType>Commercial</licenseType>
  <version>5.0.0</version>
</serverInfo>
{
  "version" : "5.0.0",
  "edition" : "PRO",
  "editionName" : "Enterprise",
  "licenseType" : "Commercial",
  "build" : "20121029_1532",
  "expiration" : "",
  "features" : "Fusion AHD EXP DB AUD ANA
                MT "
}

You can access each value separately with the following URLs:

Method

URL

GET

http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo/version

http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo/edition

http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo/editionName

http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo/build

http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo/licenseType

http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo/features

http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo/expiration

Return Value on Success

Typical Return Values on Failure

200 OK – The requested value.

These requests should always succeed when the server is running.

Version: 
Feedback
randomness