The license information Service¶
The RESTful API provides access to the feature flags tied to a JasperReports Server license. It enables the user to query the availability of licensed features such as Multi-Tenancy, Ad Hoc Designer, Dashboard Designer, Visualize.js, and more.
| Property | Details |
|---|---|
| Base URL | http://<host>:<port>/jasperserver[-pro]/rest_v2/licenseFeatures |
| Authentication | HTTP Basic Auth (Only accessible to superuser and jasperadmin) |
| Content-Type | JSON |
| API Version | v2 |
-
All endpoint requires the basic authentication.
Username: superuser or jasperadminPassword: superuser or jasperadmin
Endpoints¶
-
Get all license features
Method URL GET http://<host>:<port>/jasperserver[-pro]/rest_v2/licenseFeatures Return Value on the Success Typical Return Values on Failure 200 OK: Body described below The server returns a structure containing the information:
-
Get Individual License Feature Status
GET
/licenseFeatures/{featureCode}Feature Endpoint Feature code Multi-Tenancy /licenseFeatures/mtmt Clustering /licenseFeatures/clcl Altering /licenseFeatures/alal Data Snapshot /licenseFeatures/dsds Fusion /licenseFeatures/fusionfusion Report Bursting /licenseFeatures/rbrb Audit /licenseFeatures/audaud Data Virtualizer /licenseFeatures/dvdv Visualize.js /licenseFeatures/vjvj OLAP / Analysis /licenseFeatures/anaana White Labeling /licenseFeatures/wlwl Ad hoc Designer /licenseFeatures/ahdahd Dashboard Designer /licenseFeatures/dbdb Return Value on Success Typical Return Values on Failure 200 OK: Body described below -
Invalid Feature Check
Method URL GET /licenseFeatures/Exploreor/licenseFeatures/expReturn Value on Success Typical Return Values on Failure 404 Not Found: Body described below
Note
-
All feature flags return a boolean.
-
All feature flags are case insensitive.
-
The licenseFeatures API is only accessible to
superuserandjasperadminusers and for the rest of the user the API throws 401 unauthorized error.