Until LL24, the documentation of the Report Server’s REST API was only available in the user manual. Now there is a documentation and specification in OpenAPI format and a detailed, visual representation of the specification directly in the web interface.
After enabling the REST API simply activate the generation of specification files:
First go to Management > Advanced Settings and ensure both checkboxes are checked:
The documentation is then available via http://<ServerName>/rs24/doc/v1 (e.g. http://localhost/rs24/doc/v1). Alternatively simply click the link which appears after clicking Save.
You can even generate clients or test cases in almost any programming language from OpenAPI specfication files (whether in .json or .yaml) by using one of the tools linked below. Furthermore you can instantly see what you need to call an operation and what it may return.
The combit Report Server provides two different files: Swagger 2.0 and the latest standard OpenAPI Specification 3.0.
- http://<ServerName>/rs24/doc/v1/swagger2
- http://<ServerName>/rs24/doc/v1/openapi3
Here’s a non-exhaustive list of tools that support OpenAPI:
- PostMan – https://www.getpostman.com/
- Microsoft Flow – https://flow.microsoft.com/en-us/
- IFTTT – https://ifttt.com/discover
- Swagger Codegen – https://github.com/swagger-api/swagger-codegen
This is a great new way to enhance interoperability between the Report Server and whatever you’re building and makes using the REST API a lot smoother and easier.