Pagination

Pagination

ManageEngine's MDM provides API to retrieve lists of devices, profiles and other resources - paginated to 50 items by default. The pagination information is included in the list API response under the name of paging and metadata.

Response

metadata
object
Meta data of pagination
Show Sub-Attributes arrow
total_record_count
integer
Total number of records fetched
paging
object
Takes care of paging of records
Show Sub-Attributes arrow
next
string
API to fetch next set of records
previous
string
API to fetch previous set of records

Query Parameters

offset
Offset of the records to be fetched

Response Example

HTTP/1.1 200 OK
{ "metadata": { "total_record_count": 50 }, [ {...}, {...}, ... ], "paging": { "next": "https://{BASE_URL}/api/v1/mdm/devices?limit=200&offset=200", "previous": "https://{BASE_URL}/api/v1/mdm/devices?limit=200&offset=0" } }