All functionalities of Anjana are available not only through the tool's front end, but it also has a documented public API that allows user interaction and interconnection with other software components external to Anjana.
To access the documentation for this API, the user must connect to Swagger, where they can view the list of available services.
-
Access URL: <http|https>://<domain>/swagger/swagger-ui.html
And any request from this documentation that you want to use will be as follows:
-
<http|https>://<domain>/gateway/<url mentioned in documentation>
With the selector in the upper right corner you can switch between the available microservices:
And when selecting one of the modules, you will see all the available calls in it:
For each service, you can see an example of the input parameters and the possible outputs it returns.
Since the calls are secured, you need to configure Swagger to add the authorization token in the header. To do this, use the Authorize button.
This way, the padlock on each call will change to closed and you will be able to start making requests.