How To Paginate the Records Returned by Oracle Identity Cloud Service (IDCS) For a REST Query?
(Doc ID 2555604.1)
Last updated on JANUARY 07, 2022
Applies to:
Identity Cloud Service (IDCS) - Version N/A and laterInformation in this document applies to any platform.
Goal
In this document, we'll show how to use pagination to throw all of the results returned by a query to the IDCS REST API.
Background:
By default any call to the REST API will return only the first 50 entries. For example, using GET <TENANT_BASE_URL>/admin/v1/AuditEvents will show all of the Audit Events from an IDCS instance but only retrieve the first 50.
We can see there are 276 items, but we only retrieved the first 50 (1 to 50).
*Note: In the image above, the audit events are not shown because the image has been truncated for brevity.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |