Getting Page 2 of a Catalog Item List With a Limited Number of Records Returned

App Broker 2017

This section describes the App Broker REST API endpoint to get page 2 of a catalog item list and to limit the number of records returned to 5.

Getting Page 2 of Catalog Items With Limited Number of Records Returned

Endpoint Example

X-Pagination Header Example

[GET] http://localhost/esd/api/catalogs?
   pageSize=5&page=2

X-Pagination -->

{

   "currentPage":2,

   "pageSize":5,

   "totalCount":87,

   "totalPages":18,

   "prevPage":"/esd/api/catalogs?pageSize=5&page=1",

   "nextPage":"/esd/api/catalogs?pageSize=5&page=3"

}