username:password
Authorization: Basic *****************
{
"deviceNames": [
"string"
],
"types": [
"string"
],
"productID": "string",
"dataID": "string",
"timeStart": "string",
"timeEnd": "string",
"page": {
"page": 0,
"size": 0
}
}
curl --location --request POST 'http://42.193.250.251:7777/api/v1/things/device/msg/event-log/index' \
--header 'iThings-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVaWQiOiIxNzY2MjUyMTY2OTI5NjEyODAwIiwiUm9sZSI6NSwiSXNBbGxEYXRhIjoyLCJleHAiOjE2ODcwMTUyMDYsImlhdCI6MTY4NzAwOTMxMn0.xxFiBpYlTIDLYhN-_stlrmYGOLqF-wHJKBSqs-zVb8k' \
--header 'iThings-project-id: 123123123' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"deviceNames": [
"string"
],
"types": [
"string"
],
"productID": "string",
"dataID": "string",
"timeStart": "string",
"timeEnd": "string",
"page": {
"page": 0,
"size": 0
}
}'
{
"code": 200,
"msg": "success",
"data": {
"list": [
{
"timestamp": "1664294916501",
"type": "alert",
"dataID": "pow_low",
"params": "{\"pow\":2.8}"
},
{
"timestamp": "1664294916254",
"type": "alert",
"dataID": "pow_low",
"params": "{\"pow\":2.8}"
},
{
"timestamp": "1664294724415",
"type": "alert",
"dataID": "pow_low",
"params": "{\"pow\":2.8}"
},
{
"timestamp": "1664294724153",
"type": "alert",
"dataID": "pow_low",
"params": "{\"pow\":2.8}"
}
],
"total": 4
}
}