You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
Hi,
For the moment, I usually use something like this:
for endpoint in res["response"]:
endpoints.append(endpoint)
# Check if there is a nextPage
pagesleft = res.get("nextPage")
while pagesleft:
print(f"Endpoints: {num}")
nextpage = res["nextPage"]
res = ise.get_endpoints(groupID=group_id, size=100, page=nextpage)
pagesleft = res.get("nextPage")
num = num + 100
for endpoint in res["response"]:
endpoints.append(endpoint)
print(f"Endpoints: {len(endpoints)}")
return endpoints
Attempting to get a list of all network devices (to then enumerate the location for each of them).
But i can't find any information on expanding or even paging the results.
TIA
The text was updated successfully, but these errors were encountered: