Query Device Trait Value Change History
POST/history/device-point-values/query
This API is used to query the change history of multiple traits for multiple devices within a given time range. It supports continuous retrieval of historical records through the pagination cursor cursor.
To query the latest changes, omit cursor to start a new query. Do not reuse a pagination cursor for polling.
You may adjust pageSize when querying the next page with the most recently returned nextCursor. Only an identical retry of the latest continuation request is supported; cursor, pageSize, and all other query parameters must remain unchanged. After advancing, reading from an earlier cursor is not supported.
Invalid parameters or an invalid cursor result in a 400 response. If the cursor expires or becomes invalid, omit cursor and start a new query; the query does not automatically resume from the beginning. A 503 response indicates that the query service is temporarily busy and may be retried.
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
- 502
- 503
- 504
Success
Request parameter error
Unauthorized or authentication expired
No permission to access
Request frequency too high
Internal server error
Edge or Cloud command call failed
Query service unavailable or query temporarily busy; retryable when temporarily busy.
Cloud-to-Edge tunnel request timed out