Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

RESTful API Pagination Example

Some organizations have inventories with thousands of APs. This can be challenging when you want to view them all with an API GET request because by default, the response will be returned without pagination on a single page. You can enable pagination to the returned data by adding HTTP header parameters for X-Page-Limit and X-Page-Page to the API GET request.

The X-Page-Limit defines the maximum number of results per page while the X-Page-Page defines the maximum number of page results. The example below shows the format of a GET request that includes pagination:

The response you receive from Mist when making the request in the Django web interface, will look like this:

Refer to our API document for more information on usage: https://api.mist.com/api/v1/docs/Overview#query (Juniper Mist login required)