Last Updated on : 2023-06-15 05:10:18
Get an overview of device data on the app based on the app schema, including the number of activated devices and the number of active devices.
GET: /v1.0/apps/{schema}/devices-survey
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
schema | String | uri | true | App schema |
Parameter name | Type | Description |
---|---|---|
result | JSONObject | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
today_add | String | The number of devices activated today. |
yesterday_add | String | The number of devices activated yesterday. |
all_add | String | Total activated devices. |
today_live | String | The number of active devices today. |
yesterday_live | String | The number of active devices yesterday. |
compared_with_yesterday_add | String | The difference between the number of devices activated today and that of yesterday. |
compared_with_yesterday_live | String | The difference between the number of active devices today and that of yesterday. |
GET: /v1.0/apps/smart/devices-survey
{
"result": {
"all_add": "7914",
"today_live": "7",
"yesterday_live": "14",
"today_add": "0",
"compared_with_yesterday_live": "-30.00%",
"yesterday_add": "0",
"compared_with_yesterday_add": "0.00%"
},
"t": 1545286492204,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback