Documentation (Beta)
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

RTP Pagination API

RTP Pagination API (Device Log)

sortField:

  • fromMillis - fromMillis should be < than toMillis
  • toMillis - time to toMillis should be > than fromMillis
  • limit - Parameter limit should be in range [1; 1000]
  • sortOrder - ASC/DESC
    sorting direction by default - DESC

having both fromMillis and toMillis parameters allows for flexible fetching

GET /api/v2/device/{DEVICE_ID}/log?fromMillis=1673533155881&toMillis=1673533195881&limit=20&sortOrder=DESC
  • fromMillis= time from in milliseconds
  • toMillis = time to in milliseconds
  • limit = number of entries
  • sortOrder = sort order (ASC/DESC)