Pagination Implementation in D3 API
While the D3 API does not universally implement pagination across all endpoints, we recognize the necessity of efficient data handling, especially when dealing with large datasets. To address this, we have incorporated pagination in specific commands that typically involve the retrieval of substantial amounts of data.
Commands with Pagination
Get Incidents
Get Events
For these commands, pagination has been integrated to enhance performance and manageability. This ensures that clients can retrieve data in manageable chunks rather than overwhelming their systems with extensive datasets.
How Pagination Works
When using the get incidents
and get events
commands, clients can specify pagination parameters to control the volume of data returned in a single request. The key parameters include:
Page Index: The page number to receive results from. The default page index is 0.
Page Size: The maximum number of incidents to fetch, ranges from 1 to 1000. If no value or 0 is given, a default page size of 100 will be applied.
By leveraging these parameters, clients can efficiently navigate through large datasets, ensuring optimal performance and resource utilization.