Paged queries with operation-based requests
To use a paged query with operation-based query requests:
- Optionally, specify a
count
entry in each request body. If you omit this entry, HCP returns ten thousand operation records per request. - For each request after the first, specify a
lastResult
entry containing the values of theurlName
,changeTimeMilliseconds
, andversion
properties in the last record returned in response to the previous request. - After each request, check the value of the code property of the
status
entry to determine whether the result set contains the last object that meets the criteria:- If the value is INCOMPLETE, more results remain. Request another page.
- If the value is COMPLETE, the result set includes the last object that meets the query criteria.