I am calling this API to get app in my org.
https://api.enterprise.apigee.com/v1/organizations/xxx/apps?expand=true
But we have around 20k apps for an org and this shows 10k records. Is there a way to specify upper and lower bounds to get all apps with minimal number of API calls. Or is there a better way ?
Please suggest
Thank you
You can specify the start record using the startKey parameter, documented here: https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apps
So you could do something like:
*) Fetch 10k records
*) Store last record's App ID
*) Fetch 10k more records with startKey = last record's App ID
*) Discard first result which matches record from first fetch
*) Repeat step 2-4 as required until you have all records
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |