Access information about an API endpoint
The Swagger UI provides self-documenting information about each published REST API.
Procedure
- Ensure that the PolicyCenter application server is running.
-
Navigate to some variation of the following URL, using the correct
host:portas necessary:http://localhost:8180/pc/resources/swagger-ui/
- Click GET / Returns a list of available APIs.
- In the pane that opens, click Try it out, then click Execute.
-
The
GEToperation returns a list of published APIs in the Response body area. - Copy the docs URL for the API of interest to the clipboard.
-
Paste the URL string into the box at the top of the Swagger UI screen and click
Explore.
The Swagger UI updates to contain information about that specific API.
