CiscoISE/ciscoisesdk

How to use ERS API with API Gateway

Closed this issue · 0 comments

Hi,

I'm new to ISE 3.0 so the API gateway is a new concept.
When creating the ISE object i'm specifying uses_api_gateway=True. However when I try and do something like this api.endpoint.get_all_endpoints() I'm just getting back HTML in the response. However something like this, api.misc.get_mnt_version() from the MNT API is working as expected.

On my API Gateway Settings page, there is only the option to enable the MNT API. In the config guide I also see...

In Cisco ISE Release 3.0, only the MnT (Monitoring) API is routed through the API Gateway.

Based on my understanding then, I need to set uses_api_gateway to False and specify the following parameters:

IDENTITY_SERVICES_ENGINE_ERS_BASE_URL
IDENTITY_SERVICES_ENGINE_MNT_BASE_URL
IDENTITY_SERVICES_ENGINE_UI_BASE_URL (maybe?)

I'm assuming that the ERS API will be supported in a later ISE version?