Pagination

 

Introduction / Pagination

 

Pagination is an optional feature while retrieving information (using Get calls). Multiple items that return from requests will be paginated to 50 items per page by default. The maximum of rpp is 500, any values larger are treated as 500.



Request
Sample URL: "http://{your-server-url}/api/v1/appspace/library/groups/{groupId}/?rpp=100&page=3"
Parameter Type Description
rpp int records per page. Default = 50, maximum = 500
page int page number



Response

Response Xml body

<Response>
	<Part of the response.../>
	<CurrentPage>3</CurrentPage>
	<Rpp>100</Rpp>    
	<TotalPages>5</TotalPages>  
</Response>

Response Json body

{
	…,
	"CurrentPage":3,
	"Rpp":100,
	"TotalPages":5

}

Parameter Type Description
Rpp int records listed per page, as set from request
CurrentPage int current page number
TotalPages int total pages