期望消息列表查询
开发中社区版环境
GET
/api/v1/expected/data/list请求参数
Query 参数
device_id
string
必需
send_type
string
可选
发送类型 telemetry, attribute, command
label
string
标签
status
string
可选
状态 待发送-pending, 已发送-sent, 失效-expired
page
string
必需
page_size
string
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
list
array [object {11}]
必需
total
integer
必需
示例
{
"code": 200,
"message": "get expected data list successfully",
"data": {
"list": [
{
"created_at": "2024-08-12T22:38:50.310503+08:00",
"device_id": "d06e6186-7c7a-6b88-2209-85350850c924",
"expiry_time": "2024-04-12T08:00:00+08:00",
"id": "51d14415-2acd-82f4-820c-4d86bea46b3d",
"label": "in dolor",
"message": null,
"payload": "{}",
"send_time": null,
"send_type": "telemetry",
"status": "pending",
"tenant_id": "63a4b529"
}
],
"total": 1
}
}
最后修改时间: 4 个月前