Topic
  • No replies
Kisjaj
Kisjaj
3 Posts

Pinned topic REST API - result page limit

‏2019-08-08T08:35:55Z | apiscript rest

Hello,

 

  I would like to query configured federation partners via REST APi. I could connect and made this REST call however the result contains only few data not all partners. I surmise there is a paging "issue". But I could not figure out how to solve it.  So an example URL and header code below

 

  appliance_url = "https://" + AacIP + "/iam/access/v8/federations/" + FedID + "/partners"
  headers = {'accept': 'application/json', 'Range': 'items= 0-99'}

I have about 20 partners but the result shows only 12 partners.  Can you provide me some  idea how to use REST call to get all data?

 

Thanks

Janos