Skip to content

Pagination

The current version uses page-based pagination.

Request Example

http
GET /wlte/v1/devices?page=1&pageSize=20

Response Example

json
{
  "code": "SUCCESS",
  "message": "OK.",
  "requestId": "req_001",
  "data": {
    "devices": [],
    "pagination": {
      "page": 1,
      "pageSize": 20,
      "total": 0,
      "totalPages": 1,
      "hasNext": false,
      "hasPrev": false
    }
  }
}

pagination Fields

FieldTypeDescription
pageintegerCurrent page number, starting from 1
pageSizeintegerCurrent page size
totalintegerTotal number of items matching the current filter (not pages)
totalPagesintegerTotal number of pages, ceil(total / pageSize), minimum 1
hasNextbooleanWhether a next page exists
hasPrevbooleanWhether a previous page exists

Rules

  • page starts from 1
  • Default page=1
  • Default pageSize=20
  • pageSize range is 1 to 100
  • Out-of-range values return 400 INVALID_REQUEST
  • Custom sorting is not supported in the current version
  • Device lists are ordered by deviceId ascending by default
  • Empty pages return an empty array (e.g. devices: [])
Docs buildVersion v1.2.19-20260602-174859-60
Copyright © 2026 WLTE