1.1 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:
|
|
You can access each value separately with the following URLs. The response is the raw value, XML or JSON are not accepted formats.
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/dateFormatPattern http://<host>:<port>/jasperserver[-pro]/rest_v2/serverInfo/datetimeFormatPattern |
||
Return Value on Success |
Typical Return Values on Failure |
||
200 OK – The requested value. |
These requests should always succeed when the server is running. |
||