username:password
Authorization: Basic *****************
{
"deviceName": "string",
"productID": "string",
"timeStart": "string",
"timeEnd": "string",
"page": {
"page": 0,
"size": 0
},
"actions": [
"string"
],
"topics": [
"string"
],
"content": "string",
"requestID": "string"
}
curl --location --request POST 'http://42.193.250.251:7777/api/v1/things/device/msg/hub-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 '{
"deviceName": "string",
"productID": "string",
"timeStart": "string",
"timeEnd": "string",
"page": {
"page": 0,
"size": 0
},
"actions": [
"string"
],
"topics": [
"string"
],
"content": "string",
"requestID": "string"
}'
{
"code": 200,
"msg": "success",
"data": {
"list": [
{
"timestamp": "1655480123158",
"action": "disconnected",
"requestID": "",
"tranceID": "0b5a4be8386301b07808e84d07c21f5c",
"topic": "",
"content": "",
"resultType": "0"
},
{
"timestamp": "1655473794036",
"action": "publish",
"requestID": "afwegafeegfa",
"tranceID": "f81f8b6868052902f4fd95e956892cdc",
"topic": "$thing/up/property/246EUXwpfVu/test5",
"content": "{ \n \"method\": \"report\", \n \"clientToken\": \"afwegafeegfa\", \n \"params\": { \n \"GPS_Info\":\n\t\t\t{\n\t\t\t\t\"longtitude\":33,\n\t\t\t\t\"latitude\":33\n\t\t\t}\n }\n}",
"resultType": "0"
}
],
"total": 0
}
}