There might be times when you might want to use BWC APIs. We do not have a detailed
REST API documentation yet. You can still get info about the REST endpoints by using the BWC CLI.
The CLI spits out the curl command as well for convenience.

You can see the actual REST endpoint for a resource in BWC
by adding a --debug option to the CLI command for the appropriate resource.

For example, to see the endpoint for getting actions, invoke

st2 --debug action list

You’ll see the list of endpoints we hit as well as a curl command for you to try them manually.

If you are trying to access the API from outside the server, note that the URL will look like:
https://${EXTERNAL_IP}/api/v1/${REST_ENDPOINT}.