Return a time-series device count by collectorId
GET {{base_url}}/v1/devices/timeseries/count_device?aggregation=<integer>&collectorId=<string>&collectorId=<string>&endTime=<dateTime>&startTime=<dateTime>&type=ZIGBEE
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aggregation | string | Aggregation time | |
collectorId | string | The unique Id of the collector | |
collectorId | string | The unique Id of the collector | |
endTime | string | (Required) End time | |
startTime | string | (Required) Start time | |
type | string | Device Type |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"collectorId":"\u003cstring\u003e","customerId":"\u003cstring\u003e","datapoints":[{"timestamp":"\u003clong\u003e","value":{}},{"timestamp":"\u003clong\u003e","value":{}}],"deviceId":"\u003cstring\u003e","metricName":"\u003cstring\u003e","reporter":["\u003cstring\u003e","\u003cstring\u003e"]},{"collectorId":"\u003cstring\u003e","customerId":"\u003cstring\u003e","datapoints":[{"timestamp":"\u003clong\u003e","value":{}},{"timestamp":"\u003clong\u003e","value":{}}],"deviceId":"\u003cstring\u003e","metricName":"\u003cstring\u003e","reporter":["\u003cstring\u003e","\u003cstring\u003e"]}]