The following method retrieves a list of report options summaries. The summaries give the name of the report options, but not the input control values that are associated with it.
Method |
URL |
||
GET |
http://<host>:<port>/jasperserver[-pro]/rest_v2/reports/path/to/report/options/ |
||
Options |
|||
accept: application/json |
|||
Return Value on Success |
Typical Return Values on Failure |
||
200 OK – The content is a JSON object that lists the names of the report options for the given report. |
404 Not Found – When the specified report URI is not found in the repository. |
The body of the response contains the labels of the report options, for example:
{ "reportOptionsSummary": [{ "uri": "/reports/samples/Options", "id": "Options", "label": "Options" }, { "uri": "/reports/samples/Options_2", "id": "Options_2", "label": "Options 2" }] } |