Skip to main content

Result Set Paging

Result set paging is supported for some API calls. The number of results returned and the relative starting offset of the result set is controlled by several parameters.

HTTP Query Parameters

ParameterDescription
pageSizeThe number of records to return in this request. If omitted, the default value is 20. Raven deprecated setting a pageSize of 0 to return a complete and un-paged result set. Raven recommends a maximum page size of no more than 1000 to improve performance
pageThe index of the result page to return. If omitted, the default value is 0.

Result Fields

Field NameDescription
TotalCountThe total number of records in the list being returned.
PageSizeThe number of records returned in this request. This is controlled by the optional query string parameter "pageSize".
IsPreviousPageA boolean value indicating if there are any pages prior to the current page in this list.
IsNextPageA boolean value indicating if there are any pages after the current page in this list.
PageIndexThe index of the current page. The page index is zero based and has a maximum value of ([TotalPages] - 1). This is controlled by the optional query string parameter "page".
TotalPagesThe total number of pages in this list given the [TotalCount] and [PageSize].