tccli 3.0.1297.1__py2.py3-none-any.whl → 3.0.1299.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/batch/batch_client.py +4 -110
- tccli/services/batch/v20170312/api.json +0 -527
- tccli/services/batch/v20170312/examples.json +0 -16
- tccli/services/bi/v20220105/api.json +87 -1
- tccli/services/bi/v20220105/examples.json +7 -7
- tccli/services/cam/v20190116/api.json +84 -84
- tccli/services/cbs/v20170312/api.json +24 -24
- tccli/services/cdn/v20180606/api.json +240 -179
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +5 -3
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/chdfs/v20201112/api.json +7 -1
- tccli/services/cls/cls_client.py +235 -23
- tccli/services/cls/v20201016/api.json +457 -3
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/controlcenter/v20230110/api.json +63 -58
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/dbbrain/dbbrain_client.py +106 -0
- tccli/services/dbbrain/v20191016/api.json +365 -6
- tccli/services/dbbrain/v20191016/examples.json +8 -0
- tccli/services/dbbrain/v20210527/api.json +550 -21
- tccli/services/dbbrain/v20210527/examples.json +16 -0
- tccli/services/dcdb/v20180411/api.json +102 -6
- tccli/services/dcdb/v20180411/examples.json +4 -4
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +162 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dnspod/v20210323/api.json +128 -127
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +5 -5
- tccli/services/facefusion/v20220927/api.json +2 -2
- tccli/services/facefusion/v20220927/examples.json +1 -1
- tccli/services/gs/v20191118/api.json +22 -3
- tccli/services/gs/v20191118/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +16 -16
- tccli/services/iotcloud/v20210408/api.json +2 -2
- tccli/services/iotcloud/v20210408/examples.json +3 -3
- tccli/services/iotexplorer/v20190423/api.json +947 -857
- tccli/services/iotexplorer/v20190423/examples.json +83 -83
- tccli/services/live/v20180801/api.json +2 -2
- tccli/services/lkeap/v20240522/api.json +3 -3
- tccli/services/mariadb/v20170312/api.json +84 -8
- tccli/services/mariadb/v20170312/examples.json +3 -3
- tccli/services/mps/v20190612/api.json +63 -61
- tccli/services/mps/v20190612/examples.json +48 -48
- tccli/services/mqtt/v20240516/api.json +62 -12
- tccli/services/mqtt/v20240516/examples.json +6 -6
- tccli/services/ocr/ocr_client.py +307 -360
- tccli/services/ocr/v20181119/api.json +73 -289
- tccli/services/ocr/v20181119/examples.json +0 -8
- tccli/services/organization/v20210331/api.json +9 -0
- tccli/services/partners/v20180321/api.json +10 -0
- tccli/services/sqlserver/v20180328/api.json +9 -0
- tccli/services/sqlserver/v20180328/examples.json +1 -1
- tccli/services/tcb/v20180608/api.json +11 -1
- tccli/services/tdmq/v20200217/api.json +30 -0
- tccli/services/teo/v20220106/api.json +4 -4
- tccli/services/teo/v20220901/api.json +48 -7
- tccli/services/teo/v20220901/examples.json +51 -15
- tccli/services/tione/v20211111/api.json +25 -5
- tccli/services/tke/v20180525/api.json +2 -2
- tccli/services/trro/trro_client.py +269 -4
- tccli/services/trro/v20220325/api.json +504 -0
- tccli/services/trro/v20220325/examples.json +40 -0
- tccli/services/tse/v20201207/api.json +34 -34
- tccli/services/vdb/v20230616/api.json +738 -15
- tccli/services/vdb/v20230616/examples.json +64 -0
- tccli/services/vdb/vdb_client.py +428 -4
- tccli/services/vod/v20180717/api.json +9 -0
- tccli/services/vod/v20240718/api.json +985 -0
- tccli/services/vod/v20240718/examples.json +66 -0
- tccli/services/vod/vod_client.py +330 -12
- tccli/services/vpc/v20170312/api.json +175 -0
- tccli/services/vpc/v20170312/examples.json +8 -0
- tccli/services/vpc/vpc_client.py +53 -0
- tccli/services/wedata/v20210820/api.json +464 -1
- tccli/services/wedata/v20210820/examples.json +22 -0
- tccli/services/wedata/wedata_client.py +114 -8
- tccli/services/weilingwith/v20230427/api.json +10 -10
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/RECORD +85 -85
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1299.1.dist-info}/license_files/LICENSE +0 -0
@@ -19,7 +19,7 @@
|
|
19
19
|
"BindDevices": [
|
20
20
|
{
|
21
21
|
"document": "",
|
22
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=BindDevices\n&GatewayProductId=
|
22
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=BindDevices\n&GatewayProductId=J2CRPPZ8J4\n&GatewayDeviceName=d1\n&ProductId=RF5t6H2T\n&DeviceNames.0=dec\n&<公共请求参数>",
|
23
23
|
"output": "{\n \"Response\": {\n \"RequestId\": \"fee15c53-91ac-488d-855d-c02d9f5f3d91\"\n }\n}",
|
24
24
|
"title": "批量绑定子设备"
|
25
25
|
}
|
@@ -36,7 +36,7 @@
|
|
36
36
|
{
|
37
37
|
"document": "异步调用设备行为,返回调用 Id 信息。",
|
38
38
|
"input": "https://iotexplorer.tencentcloudapi.com/?Action=CallDeviceActionAsync\n&ProductId=TOIDHQ3AOQ\n&DeviceName=TOIDHQ2AOQ\n&ActionId=actid\n&InputParams={\"vol\":3}\n&<公共请求参数>",
|
39
|
-
"output": "{\n \"Response\": {\n \"ClientToken\": \"45016a4535374abcb05e25790b916dc3\",\n \"RequestId\": \"235fe48b-0c31-4a7c-aaf6-83ba3e9b4bcf\",\n \"Status\": \"
|
39
|
+
"output": "{\n \"Response\": {\n \"ClientToken\": \"45016a4535374abcb05e25790b916dc3\",\n \"RequestId\": \"235fe48b-0c31-4a7c-aaf6-83ba3e9b4bcf\",\n \"Status\": \"suc\"\n }\n}",
|
40
40
|
"title": "异步调用设备行为"
|
41
41
|
}
|
42
42
|
],
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"document": "云端调用后,设备端上报`$thing/up/action/TOIDHQ3AOQ/light1`\n```\n{\n\t\"method\": \"action_reply\",\n\t\"clientToken\": \"0fe1260b7a724b67ba873ca7df703e0d\",\n\t\"code\": 0,\n\t\"response\": { \"brightness\": 1, \"color\": 1, \"light_switch\": 1 },\n\t\"status\": \"succ\"\n}\n```",
|
46
46
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CallDeviceActionSync\n<公共请求参数>\n\n{\n \"DeviceName\": \"light1\",\n \"InputParams\": \"{\\\"vol\\\":3}\",\n \"ActionId\": \"actid\",\n \"ProductId\": \"TOIDHQ3AOQ\"\n}",
|
47
47
|
"output": "{\n \"Response\": {\n \"ClientToken\": \"0fe1260b7a724b67ba873ca7df703e0d\",\n \"OutputParams\": \"{\\\"brightness\\\":1,\\\"color\\\":1,\\\"light_switch\\\":1}\",\n \"RequestId\": \"235fe48b-0c31-4a7c-aaf6-83ba3e9s4bcf\",\n \"Status\": \"succ\"\n }\n}",
|
48
|
-
"title": "
|
48
|
+
"title": "同步调用设备行为示例"
|
49
49
|
},
|
50
50
|
{
|
51
51
|
"document": "当设备响应时间过长时,设备返回情况如样例所示。",
|
@@ -174,7 +174,7 @@
|
|
174
174
|
{
|
175
175
|
"document": "创建设备",
|
176
176
|
"input": "https://iotexplorer.tencentcloudapi.com/?Action=CreateDevice\n&ProductId=LJ0INDNU7Us\n&DeviceName=device2\n&<公共请求参数>",
|
177
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"DeviceCert\": \"\",\n \"DeviceName\": \"device2\",\n \"DevicePrivateKey\": \"\",\n \"DevicePsk\": \"dvFeQr1zhBS2CDyYlN31XA==\"\n },\n \"RequestId\": \"fee15c53-91sac-488d-855d-
|
177
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DeviceCert\": \"\",\n \"DeviceName\": \"device2\",\n \"DevicePrivateKey\": \"\",\n \"DevicePsk\": \"dvFeQr1zhBS2CDyYlN31XA==\"\n },\n \"RequestId\": \"fee15c53-91sac-488d-855d-c02d9f5fd91\"\n }\n}",
|
178
178
|
"title": "创建设备"
|
179
179
|
},
|
180
180
|
{
|
@@ -186,7 +186,7 @@
|
|
186
186
|
{
|
187
187
|
"document": "",
|
188
188
|
"input": "https://iotexplorer.tencentcloudapi.com/?Action=CreateDevice\n&ProductId=LJ0INDNU7Us\n&DeviceName=device2\n&DefinedPsk=1231\n&<公共请求参数>",
|
189
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"DeviceCert\": \"\",\n \"DeviceName\": \"device2\",\n \"DevicePrivateKey\": \"\",\n \"DevicePsk\": \"1231\"\n },\n \"RequestId\": \"fee15c53-91sac-488d-855d-
|
189
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DeviceCert\": \"\",\n \"DeviceName\": \"device2\",\n \"DevicePrivateKey\": \"\",\n \"DevicePsk\": \"1231\"\n },\n \"RequestId\": \"fee15c53-91sac-488d-855d-c02d9f53d91\"\n }\n}",
|
190
190
|
"title": "创建手动指定psk的设备"
|
191
191
|
}
|
192
192
|
],
|
@@ -256,10 +256,10 @@
|
|
256
256
|
],
|
257
257
|
"CreatePositionSpace": [
|
258
258
|
{
|
259
|
-
"document": "
|
259
|
+
"document": "创建位置空间。",
|
260
260
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePositionSpace\n<公共请求参数>\n\n{\n \"ProjectId\": \"ProjectId\",\n \"ProductIdList\": [\n \"ProductId\"\n ],\n \"SpaceName\": \"space\",\n \"Description\": \"service\",\n \"Icon\": \"http://www.example.com\",\n \"AuthorizeType\": 0\n}",
|
261
261
|
"output": "{\n \"Response\": {\n \"SpaceId\": \"SpaceId\",\n \"RequestId\": \"f92406b3-5a9a-4fe8-bc43-45e3d794bb68\"\n }\n}",
|
262
|
-
"title": "
|
262
|
+
"title": "创建位置空间示例"
|
263
263
|
}
|
264
264
|
],
|
265
265
|
"CreateProject": [
|
@@ -289,7 +289,7 @@
|
|
289
289
|
"CreateTopicPolicy": [
|
290
290
|
{
|
291
291
|
"document": "",
|
292
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=CreateTopicPolicy\
|
292
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=CreateTopicPolicy\n&ProductId=J2CRPPZ8J4\n&TopicName=$thing/up/J2CRPPZ8J4/d1\n&Privilege=2\n&<公共请求参数>",
|
293
293
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
294
294
|
"title": "创建Topic示例"
|
295
295
|
}
|
@@ -305,8 +305,8 @@
|
|
305
305
|
"DeleteCloudStorageEvent": [
|
306
306
|
{
|
307
307
|
"document": "",
|
308
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCloudStorageEvent\n<公共请求参数>\n\n{\n \"ProductId\": \"
|
309
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
308
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCloudStorageEvent\n<公共请求参数>\n\n{\n \"ProductId\": \"fjdsklfj\",\n \"DeviceName\": \"defjujiek\",\n \"EventId\": \"eventddd\",\n \"StartTime\": 1743475078,\n \"EndTime\": 1743475099,\n \"UserId\": \"dsfe\",\n \"ChannelId\": 1\n}",
|
309
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"dsjflaiejfkjaewlifkejil\"\n }\n}",
|
310
310
|
"title": "删除云存某一事件"
|
311
311
|
}
|
312
312
|
],
|
@@ -314,15 +314,15 @@
|
|
314
314
|
{
|
315
315
|
"document": "删除设备",
|
316
316
|
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DeleteDevice\n&ProductId=KO9JAFB9W5\n&DeviceName=dev\n&<公共请求参数>",
|
317
|
-
"output": "{\n \"Response\": {\n \"ResultCode\": \"
|
317
|
+
"output": "{\n \"Response\": {\n \"ResultCode\": \"fail\",\n \"ResultMessage\": \"device has binded family\",\n \"RequestId\": \"3edc-7ujm-89jfa\"\n }\n}",
|
318
318
|
"title": "删除设备"
|
319
319
|
}
|
320
320
|
],
|
321
321
|
"DeleteDevices": [
|
322
322
|
{
|
323
323
|
"document": "批量删除设备",
|
324
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDevices\n<公共请求参数>\n\n{\n \"DevicesItems\": [\n {\n \"DeviceName\": \"
|
325
|
-
"output": "{\n \"Response\": {\n \"ResultCode\": \"
|
324
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDevices\n<公共请求参数>\n\n{\n \"DevicesItems\": [\n {\n \"DeviceName\": \"d1\",\n \"ProductId\": \"Uj9JF5R4\"\n }\n ]\n}",
|
325
|
+
"output": "{\n \"Response\": {\n \"ResultCode\": \"fail\",\n \"ResultMessage\": \"device has binded family\",\n \"RequestId\": \"3edc-6yh0-8tghs\"\n }\n}",
|
326
326
|
"title": "批量删除设备"
|
327
327
|
}
|
328
328
|
],
|
@@ -385,8 +385,8 @@
|
|
385
385
|
"DeleteTopicPolicy": [
|
386
386
|
{
|
387
387
|
"document": "",
|
388
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DeleteTopicPolicy\
|
389
|
-
"output": "{\n \"Response\": {}\n}",
|
388
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DeleteTopicPolicy\n&ProductId=J2CRPPZ8J4\n&TopicName=$thing/up/J2CRPPZ8J4/d1\n&<公共请求参数>",
|
389
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3ed-5tgrfb7-76jer\"\n }\n}",
|
390
390
|
"title": "删除Topic示例"
|
391
391
|
}
|
392
392
|
],
|
@@ -403,7 +403,7 @@
|
|
403
403
|
"document": "",
|
404
404
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeActivateDevice\n<公共请求参数>\n\n{\n \"InstanceId\": \"ins-BoSq3gRJ27\"\n}",
|
405
405
|
"output": "{\n \"Response\": {\n \"Data\": {\n \"InstanceId\": \"ins-DGAFvpuVF7\",\n \"InstanceType\": 0,\n \"DeviceActivationDetails\": {\n \"TotalDeviceNum\": 650,\n \"UsedDeviceNum\": 18,\n \"TotalNormalLicense\": 600,\n \"UsedNormalLicense\": 19,\n \"TotalBluetoothLicense\": 0,\n \"UsedBluetoothLicense\": 0\n },\n \"RegisteredDeviceType\": {\n \"NormalDeviceNum\": 0,\n \"GatewayDeviceNum\": 0,\n \"SubDeviceNum\": 0\n },\n \"RegisteredDeviceNetType\": {\n \"NormalDeviceNum\": 0,\n \"BluetoothDeviceNum\": 0\n }\n },\n \"RequestId\": \"ef9ec631-7337-5059arty-tl3o5wefr5\"\n }\n}",
|
406
|
-
"title": "
|
406
|
+
"title": "获取实例设备激活详情示例"
|
407
407
|
}
|
408
408
|
],
|
409
409
|
"DescribeActivateLicenseService": [
|
@@ -425,8 +425,8 @@
|
|
425
425
|
"DescribeBindedProducts": [
|
426
426
|
{
|
427
427
|
"document": "",
|
428
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBindedProducts\n<公共请求参数>\n\n{\n \"GatewayProductId\": \"
|
429
|
-
"output": "{\n \"Response\": {\n \"Products\": [\n {\n \"ProductId\": \"5SJN3W8XG6\",\n \"ProductName\": \"nhi7qhcp_StudioProduct101\",\n \"ProjectId\": \"5SJYTRW8XYT\",\n \"DataProtocol\": 1,\n \"DevStatus\": \"
|
428
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBindedProducts\n<公共请求参数>\n\n{\n \"GatewayProductId\": \"J2CRPPZ8J4\",\n \"ProductSource\": \"0\",\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
|
429
|
+
"output": "{\n \"Response\": {\n \"Products\": [\n {\n \"ProductId\": \"5SJN3W8XG6\",\n \"ProductName\": \"nhi7qhcp_StudioProduct101\",\n \"ProjectId\": \"5SJYTRW8XYT\",\n \"DataProtocol\": 1,\n \"DevStatus\": \"1\",\n \"NetType\": \"1\",\n \"ProductType\": 0,\n \"CategoryId\": 0,\n \"ProductOwnerName\": \"leo\"\n }\n ],\n \"RequestId\": \"66245d34-a39b-41b5-85fa-8f8222c3e58e\",\n \"Total\": 1\n }\n}",
|
430
430
|
"title": "获取网关产品已经绑定的子产品"
|
431
431
|
}
|
432
432
|
],
|
@@ -503,16 +503,16 @@
|
|
503
503
|
"DescribeCloudStorageMultiThumbnail": [
|
504
504
|
{
|
505
505
|
"document": "",
|
506
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageMultiThumbnail\n<公共请求参数>\n\n{\n \"ProductId\": \"
|
507
|
-
"output": "{\n \"Response\": {\n \"ThumbnailURLInfoList\": [\n {\n \"ThumbnailURL\": \"
|
506
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageMultiThumbnail\n<公共请求参数>\n\n{\n \"ProductId\": \"dfseffde\",\n \"DeviceName\": \"devdsfsefds\",\n \"MultiThumbnail\": \"/100008401725/AQTV2839QJ/sp01_32820237_7/events/1615200613.jpg|/100008401725/AQTV2839QJ/sp01_32820237_7/events/1615200613.jpg\"\n}",
|
507
|
+
"output": "{\n \"Response\": {\n \"ThumbnailURLInfoList\": [\n {\n \"ThumbnailURL\": \"https://***\",\n \"ExpireTime\": 0\n }\n ],\n \"RequestId\": \"sakfekwa'ofkjsdaffile\"\n }\n}",
|
508
508
|
"title": "拉取多个云存事件缩略图"
|
509
509
|
}
|
510
510
|
],
|
511
511
|
"DescribeCloudStorageOrder": [
|
512
512
|
{
|
513
513
|
"document": "",
|
514
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageOrder\n<公共请求参数>\n\n{\n \"OrderId\": \"
|
515
|
-
"output": "{\n \"Response\": {\n \"StartTime\": 1,\n \"ExpireTime\": 1,\n \"PackageId\": \"
|
514
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageOrder\n<公共请求参数>\n\n{\n \"OrderId\": \"jdkslajffiejflasiejfklj\"\n}",
|
515
|
+
"output": "{\n \"Response\": {\n \"StartTime\": 1,\n \"ExpireTime\": 1,\n \"PackageId\": \"ye1m3d\",\n \"Status\": 1,\n \"RequestId\": \"asiejalfiejowifkjeliwajff\",\n \"ChannelId\": 1\n }\n}",
|
516
516
|
"title": "查询云服务详情示例"
|
517
517
|
}
|
518
518
|
],
|
@@ -575,8 +575,8 @@
|
|
575
575
|
"DescribeDevice": [
|
576
576
|
{
|
577
577
|
"document": "用于查看设备信息",
|
578
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeDevice\n&ProductId=
|
579
|
-
"output": "{\n \"Response\": {\n \"Device\": {\n \"DeviceName\": \"
|
578
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeDevice\n&ProductId=J2CRPPZ8J4\n&DeviceName=dev01\n&<公共请求参数>",
|
579
|
+
"output": "{\n \"Response\": {\n \"Device\": {\n \"DeviceName\": \"dev\",\n \"Status\": 0,\n \"DevicePsk\": \"EbhU****==\",\n \"CreateTime\": 1663741732,\n \"FirstOnlineTime\": 1664354011,\n \"LoginTime\": 1664356768,\n \"LogLevel\": 0,\n \"Version\": \"v1.0\",\n \"DeviceCert\": \"\",\n \"DevEUI\": \"\",\n \"AppKey\": \"\",\n \"DevAddr\": \"\",\n \"AppSKey\": \"\",\n \"NwkSKey\": \"\",\n \"CreatorNickName\": \"d1\",\n \"CreateUserId\": 1,\n \"EnableState\": 0,\n \"ProductId\": \"J2CRPPZ8J4\",\n \"DeviceType\": \"设备\",\n \"ProductName\": \"leo\",\n \"IsLora\": false\n },\n \"RequestId\": \"beee318d-ae0a-44f0-a743-a1744f30c651\"\n }\n}",
|
580
580
|
"title": "查看设备详情"
|
581
581
|
}
|
582
582
|
],
|
@@ -584,7 +584,7 @@
|
|
584
584
|
{
|
585
585
|
"document": "",
|
586
586
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceBindGateway\n<公共请求参数>\n\n{\n \"ProductId\": \"LAEG4YJE\",\n \"DeviceName\": \"subdev\"\n}",
|
587
|
-
"output": "{\n \"Response\": {\n \"GatewayDeviceName\": \"gwdev\",\n \"GatewayProductId\": \"NJ27OVLZ\",\n \"GatewayName\": \"
|
587
|
+
"output": "{\n \"Response\": {\n \"GatewayDeviceName\": \"gwdev\",\n \"GatewayProductId\": \"NJ27OVLZ\",\n \"GatewayName\": \"网关名\",\n \"GatewayProductOwnerName\": \"NJ27OVLZ\",\n \"GatewayProductOwnerUin\": \"1852369542\",\n \"RequestId\": \"ef9ec631-7337-481b-a6c3-59a34b500198\"\n }\n}",
|
588
588
|
"title": "查询设备绑定的网关设备"
|
589
589
|
}
|
590
590
|
],
|
@@ -600,7 +600,7 @@
|
|
600
600
|
{
|
601
601
|
"document": "获取设备历史数据",
|
602
602
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceDataHistory\n<公共请求参数>\n\n{\n \"MinTime\": 1548677099000,\n \"MaxTime\": 1548763499000,\n \"ProductId\": \"LJ0INDNU7U\",\n \"DeviceName\": \"light1\",\n \"FieldName\": \"color\",\n \"Limit\": 5\n}",
|
603
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"5c982342-fb08-4fac-8e70-
|
603
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5c982342-fb08-4fac-8e70-f638b52\",\n \"FieldName\": \"color\",\n \"Listover\": true,\n \"Context\": \"\",\n \"Results\": [\n {\n \"Time\": \"1550055697000\",\n \"Value\": \"1\"\n },\n {\n \"Time\": \"1550055698000\",\n \"Value\": \"3\"\n }\n ]\n }\n}",
|
604
604
|
"title": "获取设备历史数据"
|
605
605
|
}
|
606
606
|
],
|
@@ -615,7 +615,7 @@
|
|
615
615
|
"DescribeDeviceFirmwares": [
|
616
616
|
{
|
617
617
|
"document": "",
|
618
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceFirmwares\n<公共请求参数>\n\n{\n \"ProductId\": \"
|
618
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceFirmwares\n<公共请求参数>\n\n{\n \"ProductId\": \"DMGFE2GWCG\",\n \"DeviceName\": \"dev\"\n}",
|
619
619
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ef9ec631-7337-481b-a6c3-59a34b5f8502\",\n \"Firmwares\": [\n {\n \"UpdateTime\": 1653893719,\n \"FwType\": \"mcu\",\n \"Version\": \"mm_3.0\"\n },\n {\n \"UpdateTime\": 1653893651,\n \"FwType\": \"module\",\n \"Version\": \"module_v1.0.3\"\n }\n ]\n }\n}",
|
620
620
|
"title": "获取设备固件信息"
|
621
621
|
}
|
@@ -623,16 +623,16 @@
|
|
623
623
|
"DescribeDeviceLocationSolve": [
|
624
624
|
{
|
625
625
|
"document": "获取实时位置解析",
|
626
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceLocationSolve\n<公共请求参数>\n\n{\n \"LocationType\": \"GNSSNavigation\",\n \"DeviceName\": \"\",\n \"ProductId\": \"\",\n \"GNSSNavigation\": \"{\\\"captures\\\":[{\\\"payload\\\":\\\"82d3ef004114d419ecf7ef4ed40bbf4ab588f1a419b56a275264a6b8cd01\\\"},{\\\"payload\\\":\\\"82d3ef004114331ad480d459ab49d4787e67fdd2760bdb65e70c\\\"}]}\"\n}",
|
626
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceLocationSolve\n<公共请求参数>\n\n{\n \"LocationType\": \"GNSSNavigation\",\n \"DeviceName\": \"dev\",\n \"ProductId\": \"ZUBPP0Y2G9\",\n \"GNSSNavigation\": \"{\\\"captures\\\":[{\\\"payload\\\":\\\"82d3ef004114d419ecf7ef4ed40bbf4ab588f1a419b56a275264a6b8cd01\\\"},{\\\"payload\\\":\\\"82d3ef004114331ad480d459ab49d4787e67fdd2760bdb65e70c\\\"}]}\"\n}",
|
627
627
|
"output": "{\n \"Response\": {\n \"Longitude\": 113.93931,\n \"Latitude\": 22.54099,\n \"LocationType\": \"GNSSNavigation\",\n \"Accuracy\": 54.5,\n \"RequestId\": \"1e99faaf-a0f0-4c49-9d85-7f09f2b7f74e\"\n }\n}",
|
628
|
-
"title": "
|
628
|
+
"title": "获取实时位置解析示例"
|
629
629
|
}
|
630
630
|
],
|
631
631
|
"DescribeDevicePackages": [
|
632
632
|
{
|
633
633
|
"document": "",
|
634
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDevicePackages\n<公共请求参数>\n\n{\n \"ProductId\": \"
|
635
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Packages\": [\n {\n \"Status\": 0,\n \"CSType\": 1,\n \"CSShiftDuration\": 1,\n \"CSExpiredTime\": 0,\n \"ChannelId\": 1,\n \"CSUserId\": \"sdfsdf\",\n \"CreatedAt\": 0,\n \"UpdatedAt\": 0\n }\n ],\n \"RequestId\": \"
|
634
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDevicePackages\n<公共请求参数>\n\n{\n \"ProductId\": \"fdsfsdfe\",\n \"DeviceName\": \"rrfdsef\",\n \"CSUserId\": \"sfesd\",\n \"Limit\": 1,\n \"Offset\": 1\n}",
|
635
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Packages\": [\n {\n \"Status\": 0,\n \"CSType\": 1,\n \"CSShiftDuration\": 1,\n \"CSExpiredTime\": 0,\n \"ChannelId\": 1,\n \"CSUserId\": \"sdfsdf\",\n \"CreatedAt\": 0,\n \"UpdatedAt\": 0\n }\n ],\n \"RequestId\": \"dsffwesrffsdf\"\n }\n}",
|
636
636
|
"title": "拉取有效套餐列表"
|
637
637
|
}
|
638
638
|
],
|
@@ -671,8 +671,8 @@
|
|
671
671
|
"DescribeFirmwareTask": [
|
672
672
|
{
|
673
673
|
"document": "查询固件升级任务详情",
|
674
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFirmwareTask\n<公共请求参数>\n\n{\n \"TaskId\": \"1\",\n \"FirmwareVersion\": \"1.0.0\",\n \"ProductID\": \"
|
675
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"3c11474f-9501-482f-8b59-97213b8779d4\",\n \"UpgradeMode\": \"filename\",\n \"ProductName\": \"name\",\n \"CreateUserId\":
|
674
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFirmwareTask\n<公共请求参数>\n\n{\n \"TaskId\": \"1\",\n \"FirmwareVersion\": \"1.0.0\",\n \"ProductID\": \"J2CRPPZ8J4\"\n}",
|
675
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3c11474f-9501-482f-8b59-97213b8779d4\",\n \"UpgradeMode\": \"filename\",\n \"ProductName\": \"name\",\n \"CreateUserId\": 2362445,\n \"ProductId\": \"J2CRPPZ8J4\",\n \"Type\": 1,\n \"TaskId\": 1,\n \"CreateTime\": 1686291740,\n \"OriginalVersion\": \"v1\",\n \"CreatorNickName\": \"leo\",\n \"Status\": 5\n }\n}",
|
676
676
|
"title": "查询固件升级任务详情"
|
677
677
|
}
|
678
678
|
],
|
@@ -695,8 +695,8 @@
|
|
695
695
|
"DescribeGatewayBindDevices": [
|
696
696
|
{
|
697
697
|
"document": "",
|
698
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeGatewayBindDevices\n&GatewayProductId=
|
699
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Devices\": [\n {\n \"ProductId\": \"
|
698
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeGatewayBindDevices\n&GatewayProductId= J2CRPPZ8J4\n&GatewayDeviceName=d1\n&Offset=0\n&Limit=10\n&ProductId= RFVRPPZ5G\n&<公共请求参数>",
|
699
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Devices\": [\n {\n \"ProductId\": \"J2CRPPZ8J4\",\n \"DeviceName\": \"d1\"\n }\n ],\n \"ProductName\": \"产品名称\",\n \"RequestId\": \"69f65618-600b-4ac4-b8e3-454r819078\"\n }\n}",
|
700
700
|
"title": "获取网关绑定的子设备列表"
|
701
701
|
}
|
702
702
|
],
|
@@ -705,7 +705,7 @@
|
|
705
705
|
"document": "",
|
706
706
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGatewaySubDeviceList\n<公共请求参数>\n\n{\n \"GatewayProductId\": \"productId\",\n \"GatewayDeviceName\": \"deviceName\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
707
707
|
"output": "{\n \"Response\": {\n \"DeviceList\": [\n {\n \"ProductId\": \"ZOPEBSS\",\n \"DeviceName\": \"sub001\",\n \"DeviceId\": \"ZOPEBSS/sub001\",\n \"AliasName\": \"aaaaa\",\n \"FamilyId\": \"f_9b309d\",\n \"RoomId\": \"0\",\n \"IconUrl\": \"\",\n \"IconUrlGrid\": \"\",\n \"CreateTime\": 1627472149,\n \"UpdateTime\": 1627472149\n }\n ],\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\",\n \"Total\": 1\n }\n}",
|
708
|
-
"title": "
|
708
|
+
"title": "查询绑定到家庭的网关设备的子设备列表示例"
|
709
709
|
}
|
710
710
|
],
|
711
711
|
"DescribeGatewaySubProducts": [
|
@@ -735,8 +735,8 @@
|
|
735
735
|
"DescribeModelDefinition": [
|
736
736
|
{
|
737
737
|
"document": "查询产品配置的数据模板信息",
|
738
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeModelDefinition\n&ProductId=
|
739
|
-
"output": "{\n \"Response\": {\n \"Model\": {\n \"ProductId\": \"PKRXJVL39S\",\n \"ModelDefine\": \"{\\\"version\\\":\\\"1.0\\\",\\\"profile\\\":{\\\"productID\\\":\\\"PKRXJVL39S\\\"},\\\"properties\\\":[{\\\"id\\\":\\\"light_switch\\\",\\\"name\\\":\\\"电灯开关\\\",\\\"desc\\\":\\\"控制电灯开灭\\\",\\\"required\\\":true,\\\"mode\\\":\\\"rw\\\",\\\"define\\\":{\\\"type\\\":\\\"bool\\\",\\\"mapping\\\":{\\\"0\\\":\\\"关\\\",\\\"1\\\":\\\"开\\\"}}},{\\\"id\\\":\\\"color\\\",\\\"name\\\":\\\"颜色1\\\",\\\"required\\\":false,\\\"desc\\\":\\\"灯光颜色\\\",\\\"mode\\\":\\\"rw\\\",\\\"define\\\":{\\\"type\\\":\\\"enum\\\",\\\"mapping\\\":{\\\"0\\\":\\\"Red\\\",\\\"1\\\":\\\"Green\\\",\\\"2\\\":\\\"Blue\\\"}}},{\\\"id\\\":\\\"brightness\\\",\\\"name\\\":\\\"颜色\\\",\\\"desc\\\":\\\"灯光颜色\\\",\\\"mode\\\":\\\"rw\\\",\\\"define\\\":{\\\"type\\\":\\\"int\\\",\\\"unit\\\":\\\"%\\\",\\\"step\\\":\\\"1\\\",\\\"min\\\":\\\"0\\\",\\\"max\\\":\\\"100\\\"}},{\\\"id\\\":\\\"name\\\",\\\"name\\\":\\\"灯位置名称\\\",\\\"desc\\\":\\\"灯位置名称:书房、客厅等\\\",\\\"mode\\\":\\\"rw\\\",\\\"required\\\":true,\\\"define\\\":{\\\"type\\\":\\\"string\\\",\\\"min\\\":\\\"1\\\",\\\"max\\\":\\\"64\\\"}}],\\\"events\\\":[{\\\"id\\\":\\\"status_report\\\",\\\"name\\\":\\\"DeviceStatus\\\",\\\"desc\\\":\\\"Report the device status我是中文\\\",\\\"type\\\":\\\"info\\\",\\\"required\\\":true,\\\"params\\\":[{\\\"id\\\":\\\"status\\\",\\\"name\\\":\\\"running_state\\\",\\\"desc\\\":\\\"Report current device running state\\\",\\\"define\\\":{\\\"type\\\":\\\"bool\\\",\\\"mapping\\\":{\\\"0\\\":\\\"normal\\\",\\\"1\\\":\\\"fault\\\"}}},{\\\"id\\\":\\\"message\\\",\\\"name\\\":\\\"Message\\\",\\\"desc\\\":\\\"Some extra message\\\",\\\"define\\\":{\\\"type\\\":\\\"string\\\",\\\"min\\\":\\\"1\\\",\\\"max\\\":\\\"64\\\"}}]},{\\\"id\\\":\\\"low_voltage\\\",\\\"name\\\":\\\"LowVoltage\\\",\\\"desc\\\":\\\"Alert for device voltage is low\\\",\\\"type\\\":\\\"alert\\\",\\\"required\\\":false,\\\"params\\\":[{\\\"id\\\":\\\"voltage\\\",\\\"name\\\":\\\"Voltage\\\",\\\"desc\\\":\\\"Current voltage\\\",\\\"define\\\":{\\\"type\\\":\\\"float\\\",\\\"unit\\\":\\\"V\\\",\\\"step\\\":\\\"1\\\",\\\"min\\\":\\\"0.0\\\",\\\"max\\\":\\\"24.0\\\"}}]},{\\\"id\\\":\\\"hardware_fault\\\",\\\"name\\\":\\\"Hardware_fault\\\",\\\"desc\\\":\\\"Report hardware fault\\\",\\\"type\\\":\\\"fault\\\",\\\"required\\\":false,\\\"params\\\":[{\\\"id\\\":\\\"name\\\",\\\"name\\\":\\\"Name\\\",\\\"desc\\\":\\\"Name like: memory,tf card, censors ...\\\",\\\"define\\\":{\\\"type\\\":\\\"string\\\",\\\"min\\\":\\\"1\\\",\\\"max\\\":\\\"64\\\"}},{\\\"id\\\":\\\"error_code\\\",\\\"name\\\":\\\"Error_Code\\\",\\\"desc\\\":\\\"Error code for fault\\\",\\\"define\\\":{\\\"type\\\":\\\"int\\\",\\\"unit\\\":\\\"\\\",\\\"step\\\":\\\"1\\\",\\\"min\\\":\\\"0\\\",\\\"max\\\":\\\"2000\\\"}}]}]}\",\n \"CategoryModel\": \"
|
738
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeModelDefinition\n&ProductId=KRXJVL39S\n&<公共请求参数>",
|
739
|
+
"output": "{\n \"Response\": {\n \"Model\": {\n \"ProductId\": \"PKRXJVL39S\",\n \"ModelDefine\": \"{\\\"version\\\":\\\"1.0\\\",\\\"profile\\\":{\\\"productID\\\":\\\"PKRXJVL39S\\\"},\\\"properties\\\":[{\\\"id\\\":\\\"light_switch\\\",\\\"name\\\":\\\"电灯开关\\\",\\\"desc\\\":\\\"控制电灯开灭\\\",\\\"required\\\":true,\\\"mode\\\":\\\"rw\\\",\\\"define\\\":{\\\"type\\\":\\\"bool\\\",\\\"mapping\\\":{\\\"0\\\":\\\"关\\\",\\\"1\\\":\\\"开\\\"}}},{\\\"id\\\":\\\"color\\\",\\\"name\\\":\\\"颜色1\\\",\\\"required\\\":false,\\\"desc\\\":\\\"灯光颜色\\\",\\\"mode\\\":\\\"rw\\\",\\\"define\\\":{\\\"type\\\":\\\"enum\\\",\\\"mapping\\\":{\\\"0\\\":\\\"Red\\\",\\\"1\\\":\\\"Green\\\",\\\"2\\\":\\\"Blue\\\"}}},{\\\"id\\\":\\\"brightness\\\",\\\"name\\\":\\\"颜色\\\",\\\"desc\\\":\\\"灯光颜色\\\",\\\"mode\\\":\\\"rw\\\",\\\"define\\\":{\\\"type\\\":\\\"int\\\",\\\"unit\\\":\\\"%\\\",\\\"step\\\":\\\"1\\\",\\\"min\\\":\\\"0\\\",\\\"max\\\":\\\"100\\\"}},{\\\"id\\\":\\\"name\\\",\\\"name\\\":\\\"灯位置名称\\\",\\\"desc\\\":\\\"灯位置名称:书房、客厅等\\\",\\\"mode\\\":\\\"rw\\\",\\\"required\\\":true,\\\"define\\\":{\\\"type\\\":\\\"string\\\",\\\"min\\\":\\\"1\\\",\\\"max\\\":\\\"64\\\"}}],\\\"events\\\":[{\\\"id\\\":\\\"status_report\\\",\\\"name\\\":\\\"DeviceStatus\\\",\\\"desc\\\":\\\"Report the device status我是中文\\\",\\\"type\\\":\\\"info\\\",\\\"required\\\":true,\\\"params\\\":[{\\\"id\\\":\\\"status\\\",\\\"name\\\":\\\"running_state\\\",\\\"desc\\\":\\\"Report current device running state\\\",\\\"define\\\":{\\\"type\\\":\\\"bool\\\",\\\"mapping\\\":{\\\"0\\\":\\\"normal\\\",\\\"1\\\":\\\"fault\\\"}}},{\\\"id\\\":\\\"message\\\",\\\"name\\\":\\\"Message\\\",\\\"desc\\\":\\\"Some extra message\\\",\\\"define\\\":{\\\"type\\\":\\\"string\\\",\\\"min\\\":\\\"1\\\",\\\"max\\\":\\\"64\\\"}}]},{\\\"id\\\":\\\"low_voltage\\\",\\\"name\\\":\\\"LowVoltage\\\",\\\"desc\\\":\\\"Alert for device voltage is low\\\",\\\"type\\\":\\\"alert\\\",\\\"required\\\":false,\\\"params\\\":[{\\\"id\\\":\\\"voltage\\\",\\\"name\\\":\\\"Voltage\\\",\\\"desc\\\":\\\"Current voltage\\\",\\\"define\\\":{\\\"type\\\":\\\"float\\\",\\\"unit\\\":\\\"V\\\",\\\"step\\\":\\\"1\\\",\\\"min\\\":\\\"0.0\\\",\\\"max\\\":\\\"24.0\\\"}}]},{\\\"id\\\":\\\"hardware_fault\\\",\\\"name\\\":\\\"Hardware_fault\\\",\\\"desc\\\":\\\"Report hardware fault\\\",\\\"type\\\":\\\"fault\\\",\\\"required\\\":false,\\\"params\\\":[{\\\"id\\\":\\\"name\\\",\\\"name\\\":\\\"Name\\\",\\\"desc\\\":\\\"Name like: memory,tf card, censors ...\\\",\\\"define\\\":{\\\"type\\\":\\\"string\\\",\\\"min\\\":\\\"1\\\",\\\"max\\\":\\\"64\\\"}},{\\\"id\\\":\\\"error_code\\\",\\\"name\\\":\\\"Error_Code\\\",\\\"desc\\\":\\\"Error code for fault\\\",\\\"define\\\":{\\\"type\\\":\\\"int\\\",\\\"unit\\\":\\\"\\\",\\\"step\\\":\\\"1\\\",\\\"min\\\":\\\"0\\\",\\\"max\\\":\\\"2000\\\"}}]}]}\",\n \"CategoryModel\": \"12\",\n \"NetTypeModel\": \"model\",\n \"CreateTime\": 1559646050,\n \"UpdateTime\": 1559874799\n },\n \"RequestId\": \"b76dd3ea-2a5f-4dc3-8a1a-a77e37344b99\"\n }\n}",
|
740
740
|
"title": "查询产品数据模板"
|
741
741
|
}
|
742
742
|
],
|
@@ -807,8 +807,8 @@
|
|
807
807
|
"DescribeTopicPolicy": [
|
808
808
|
{
|
809
809
|
"document": "",
|
810
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeTopicPolicy\
|
811
|
-
"output": "{\n \"Response\": {\n \"TopicName\": \"
|
810
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeTopicPolicy\n&ProductId= 4ON538D9AX\n&TopicName=$thing/up/raw/4ON538D9AX/dev\n&<公共请求参数>",
|
811
|
+
"output": "{\n \"Response\": {\n \"ProductId\": \"4ON538D9AX\",\n \"TopicName\": \"$thing/up/raw/4ON538D9AX/dev\",\n \"Privilege\": 2,\n \"RequestId\": \"4rt6-7yhn\"\n }\n}",
|
812
812
|
"title": "查看Topic详情示例"
|
813
813
|
}
|
814
814
|
],
|
@@ -816,22 +816,22 @@
|
|
816
816
|
{
|
817
817
|
"document": "",
|
818
818
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicRule\n<公共请求参数>\n\n{\n \"RuleName\": \"test_create\"\n}",
|
819
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"f92406b3-5a9a-4fe8-bc43-45e3d794bb68\",\n \"Rule\": {\n \"RuleName\": \"test_create\",\n \"Sql\": \"SELECT * FROM '$thing/up/+/ProductId/#'\",\n \"Description\": \"
|
819
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f92406b3-5a9a-4fe8-bc43-45e3d794bb68\",\n \"Rule\": {\n \"RuleName\": \"test_create\",\n \"Sql\": \"SELECT * FROM '$thing/up/+/ProductId/#'\",\n \"Description\": \"规则信息\",\n \"Actions\": \"[{\\\"forward\\\":{\\\"api\\\":\\\"http://127.0.0.1:1088/sub.php\\\"}}]\",\n \"RuleDisabled\": true\n }\n }\n}",
|
820
820
|
"title": "获取规则信息"
|
821
821
|
}
|
822
822
|
],
|
823
823
|
"DescribeUnbindedDevices": [
|
824
824
|
{
|
825
825
|
"document": "",
|
826
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeUnbindedDevices\n&ProductId=
|
827
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"bec3b0f5-f994-43bf-8e99-21de4e683bfc\",\n \"Total\": 1,\n \"UnbindedDevices\": [\n {\n \"ProductId\": \"
|
828
|
-
"title": "
|
826
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeUnbindedDevices\n&ProductId=T58G9HFE\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
827
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"bec3b0f5-f994-43bf-8e99-21de4e683bfc\",\n \"Total\": 1,\n \"UnbindedDevices\": [\n {\n \"ProductId\": \"T58G9HFE\",\n \"DeviceName\": \"subdev4\"\n }\n ]\n }\n}",
|
828
|
+
"title": "获取未绑定的设备列表示例"
|
829
829
|
}
|
830
830
|
],
|
831
831
|
"DescribeVideoLicense": [
|
832
832
|
{
|
833
833
|
"document": "查询激活码统计信息",
|
834
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoLicense\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
834
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoLicense\n<公共请求参数>\n\n{\n \"InstanceId\": \"ins-R4rvgd\"\n}",
|
835
835
|
"output": "{\n \"Response\": {\n \"License\": [\n {\n \"ExpiresSoonCount\": 0,\n \"TotalCount\": 0,\n \"Type\": \"0_5_mbps\",\n \"UsedCount\": 0\n },\n {\n \"ExpiresSoonCount\": 0,\n \"TotalCount\": 0,\n \"Type\": \"1_mbps\",\n \"UsedCount\": 0\n },\n {\n \"ExpiresSoonCount\": 0,\n \"TotalCount\": 0,\n \"Type\": \"1_5_mbps\",\n \"UsedCount\": 0\n },\n {\n \"ExpiresSoonCount\": 0,\n \"TotalCount\": 0,\n \"Type\": \"2_mbps\",\n \"UsedCount\": 0\n }\n ],\n \"RequestId\": \"65ca8e0a-422a-4a7a-94bc-041ecd7abaf0\"\n }\n}",
|
836
836
|
"title": "示例1"
|
837
837
|
}
|
@@ -839,7 +839,7 @@
|
|
839
839
|
"DirectBindDeviceInFamily": [
|
840
840
|
{
|
841
841
|
"document": "",
|
842
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DirectBindDeviceInFamily\n&IotAppID=
|
842
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=DirectBindDeviceInFamily\n&IotAppID=iot5tgb\n&UserID=dev_49\n&FamilyId= f_cc67fefbcefd43d88a5c0157ee18c975\n&ProductId=NS74VEP2HY\n&DeviceName=dev\n&RoomId=2\n&<公共请求参数>",
|
843
843
|
"output": "{\n \"Response\": {\n \"AppDeviceInfo\": {\n \"DeviceId\": \"FPEU28BCGP/dev1\",\n \"ProductId\": \"FPEU28BCGP\",\n \"DeviceName\": \"dev1\",\n \"AliasName\": \"t1\",\n \"IconUrl\": \"\",\n \"FamilyId\": \"f_cc67fefbcefd43d88a5c0157ee18c975\",\n \"RoomId\": \"0\",\n \"DeviceType\": 0,\n \"CreateTime\": 1630310068,\n \"UpdateTime\": 1630310068\n },\n \"RequestId\": \"f92406b3-5a9a-4fe8-bc43-45e3d794bb68\"\n }\n}",
|
844
844
|
"title": "直接绑定设备"
|
845
845
|
}
|
@@ -855,7 +855,7 @@
|
|
855
855
|
"DismissRoomByStrRoomIdFromTRTC": [
|
856
856
|
{
|
857
857
|
"document": "",
|
858
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DismissRoomByStrRoomIdFromTRTC\n<公共请求参数>\n\n{\n \"RoomId\": \"
|
858
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DismissRoomByStrRoomIdFromTRTC\n<公共请求参数>\n\n{\n \"RoomId\": \"roomId1\"\n}",
|
859
859
|
"output": "{\n \"Response\": {\n \"RequestId\": \"38bc26eb-89c5-4e7c-bdb3-9a4fe25e719f\"\n }\n}",
|
860
860
|
"title": "成功示例"
|
861
861
|
}
|
@@ -896,7 +896,7 @@
|
|
896
896
|
{
|
897
897
|
"document": "",
|
898
898
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAuthMiniProgramAppList\n<公共请求参数>\n\n{\n \"MiniProgramAppId\": \"123wdc\"\n}",
|
899
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
899
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4rf-67f-768faf\",\n \"Total\": 1,\n \"MiniProgramList\": [\n {\n \"MiniProgramAppId\": \"1qaz\",\n \"MiniProgramName\": \"appBane\",\n \"LicenseNum\": 100,\n \"CreateTime\": 45674345567\n }\n ]\n }\n}",
|
900
900
|
"title": "成功查询小程序列表"
|
901
901
|
}
|
902
902
|
],
|
@@ -911,16 +911,16 @@
|
|
911
911
|
"GetCOSURL": [
|
912
912
|
{
|
913
913
|
"document": "",
|
914
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=GetCOSURL\n&ProductID=
|
915
|
-
"output": "{\n \"Response\": {\n \"Url\": \"http://abc.com\",\n \"RequestId\": \"
|
914
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=GetCOSURL\n&ProductID= J2CRPPZ8J4\n&FirmwareVersion=2.0.0\n&<公共请求参数>",
|
915
|
+
"output": "{\n \"Response\": {\n \"Url\": \"http://abc.com\",\n \"RequestId\": \"4rfg-6hh-gedy76\"\n }\n}",
|
916
916
|
"title": "示例"
|
917
917
|
}
|
918
918
|
],
|
919
919
|
"GetDeviceList": [
|
920
920
|
{
|
921
921
|
"document": "根据某个产品ID获取对应的设备列表",
|
922
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=GetDeviceList\n&ProductId=
|
923
|
-
"output": "{\n \"Response\": {\n \"Devices\": [\n {\n \"DeviceName\": \"
|
922
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=GetDeviceList\n&ProductId=NS74VEP2HY\n&ProjectId=12\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
923
|
+
"output": "{\n \"Response\": {\n \"Devices\": [\n {\n \"DeviceName\": \"d1\",\n \"Status\": 0,\n \"DevicePsk\": \"tgrgsg=\",\n \"CreateTime\": 0,\n \"FirstOnlineTime\": 0,\n \"LoginTime\": 0,\n \"LogLevel\": 0,\n \"Version\": \"v1\",\n \"DeviceCert\": \"\",\n \"DevEUI\": \"\",\n \"AppKey\": \"\",\n \"DevAddr\": \"\",\n \"AppSKey\": \"\",\n \"NwkSKey\": \"\",\n \"CreatorNickName\": \"leo\",\n \"CreateUserId\": 635261,\n \"EnableState\": 0,\n \"ProductId\": \"NS74VEP2HY\",\n \"DeviceType\": \"设备\",\n \"ProductName\": \"产品名称\",\n \"IsLora\": false\n }\n ],\n \"RequestId\": \"219a59ba-fdd0-4214-8db-71da9fe28\",\n \"Total\": 1\n }\n}",
|
924
924
|
"title": "获取设备列表"
|
925
925
|
}
|
926
926
|
],
|
@@ -935,7 +935,7 @@
|
|
935
935
|
"GetDeviceSumStatistics": [
|
936
936
|
{
|
937
937
|
"document": "",
|
938
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetDeviceSumStatistics\n<公共请求参数>\n\n{\n \"ProjectId\": \"
|
938
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetDeviceSumStatistics\n<公共请求参数>\n\n{\n \"ProjectId\": \"proj-4rf09hhy\",\n \"ProductIds\": [\n \"J2CRPPZ8J4\"\n ]\n}",
|
939
939
|
"output": "{\n \"Response\": {\n \"ActivationCount\": 1,\n \"OnlineCount\": 1,\n \"ActiveBeforeDay\": 20,\n \"ActivationBeforeDay\": 10,\n \"ActivationWeekDayCount\": 80,\n \"ActiveWeekDayCount\": 40,\n \"ActivationBeforeWeekDayCount\": 100,\n \"ActiveBeforeWeekDayCount\": 60,\n \"RequestId\": \"6b6e765c-1625-49e6-9743-452e6ce15caa\"\n }\n}",
|
940
940
|
"title": "拉取设备统计汇总数据示例"
|
941
941
|
}
|
@@ -944,7 +944,7 @@
|
|
944
944
|
{
|
945
945
|
"document": "获取设备绑定的用户列表成功示例",
|
946
946
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFamilyDeviceUserList\n<公共请求参数>\n\n{\n \"ProductId\": \"CR2Q0GQ\",\n \"DeviceName\": \"device\"\n}",
|
947
|
-
"output": "{\n \"Response\": {\n \"UserList\": [\n {\n \"UserId\": \"294078350912131072\",\n \"Role\": 1,\n \"FamilyId\": \"f_123456\",\n \"FamilyName\": \"我家\"\n }
|
947
|
+
"output": "{\n \"Response\": {\n \"UserList\": [\n {\n \"UserId\": \"294078350912131072\",\n \"Role\": 1,\n \"FamilyId\": \"f_123456\",\n \"FamilyName\": \"我家\"\n }\n ],\n \"RequestId\": \"92406b3-5a9a-4fe8-bc43-45e3d794bb68\"\n }\n}",
|
948
948
|
"title": "GetFamilyDeviceUserList"
|
949
949
|
}
|
950
950
|
],
|
@@ -952,7 +952,7 @@
|
|
952
952
|
{
|
953
953
|
"document": "",
|
954
954
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetGatewaySubDeviceList\n<公共请求参数>\n\n{\n \"GatewayProductId\": \"productId\",\n \"GatewayDeviceName\": \"deviceName\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
955
|
-
"output": "{\n \"Response\": {\n \"DeviceList\":
|
955
|
+
"output": "{\n \"Response\": {\n \"DeviceList\": {\n \"ProductId\": \"ZOPEBSS\",\n \"DeviceName\": \"sub001\",\n \"DeviceId\": \"ZOPEBSS/sub001\",\n \"AliasName\": \"aaaaa\",\n \"FamilyId\": \"f_9b309d\",\n \"RoomId\": \"0\",\n \"IconUrl\": \"\",\n \"IconUrlGrid\": \"\",\n \"CreateTime\": 1627472149,\n \"UpdateTime\": 1627472149\n },\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\",\n \"Total\": 1\n }\n}",
|
956
956
|
"title": "获取指定网关设备的子设备列表"
|
957
957
|
}
|
958
958
|
],
|
@@ -960,13 +960,13 @@
|
|
960
960
|
{
|
961
961
|
"document": "",
|
962
962
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLoRaGatewayList\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"IsCommunity\": true,\n \"Offset\": 1\n}",
|
963
|
-
"output": "{\n \"Response\": {\n \"Gateways\": [\n {\n \"GatewayId\": \"ff00000000000003\",\n \"IsPublic\": true,\n \"
|
963
|
+
"output": "{\n \"Response\": {\n \"Gateways\": [\n {\n \"GatewayId\": \"ff00000000000003\",\n \"IsPublic\": true,\n \"FrequencyId\": \"freqId\",\n \"Description\": \"fortest\",\n \"Name\": \"ddgw3\",\n \"Position\": \"tfine\",\n \"PositionDetails\": \"fyd\",\n \"Location\": {\n \"Latitude\": 0,\n \"Longitude\": 0,\n \"Altitude\": 0,\n \"Accuracy\": 0\n },\n \"UpdatedAt\": \"2019-12-05 03:53:32 PM\",\n \"CreatedAt\": \"2019-12-05 03:53:32 PM\",\n \"LastSeenAt\": \"\"\n }\n ],\n \"RequestId\": \"1e99faaf-a0f0-4c49-9d85-7f09f2b7f74e\",\n \"Total\": 1\n }\n}",
|
964
964
|
"title": "获取非社区网关列表"
|
965
965
|
},
|
966
966
|
{
|
967
967
|
"document": "",
|
968
968
|
"input": "https://iotexplorer.tencentcloudapi.com/?Action=GetLoRaGatewayList\n&IsCommunity=true\n&<公共请求参数>",
|
969
|
-
"output": "{\n \"Response\": {\n \"Gateways\": [\n {\n \"GatewayId\": \"ff00000000000003\",\n \"IsPublic\": true,\n \"Description\": \"fortest\",\n \"Name\": \"ddgw3\",\n \"Position\": \"tfine\",\n \"PositionDetails\": \"fyd\",\n \"Location\": {\n \"Latitude\": 0,\n \"Longitude\": 0,\n \"Altitude\": 0,\n \"Accuracy\": 0\n },\n \"UpdatedAt\": \"2019-12-05 03:53:32 PM\",\n \"CreatedAt\": \"2019-12-05 03:53:32 PM\",\n \"LastSeenAt\": \"\"\n }
|
969
|
+
"output": "{\n \"Response\": {\n \"Gateways\": [\n {\n \"FrequencyId\": \"freqId\",\n \"GatewayId\": \"ff00000000000003\",\n \"IsPublic\": true,\n \"Description\": \"fortest\",\n \"Name\": \"ddgw3\",\n \"Position\": \"tfine\",\n \"PositionDetails\": \"fyd\",\n \"Location\": {\n \"Latitude\": 0,\n \"Longitude\": 0,\n \"Altitude\": 0,\n \"Accuracy\": 0\n },\n \"UpdatedAt\": \"2019-12-05 03:53:32 PM\",\n \"CreatedAt\": \"2019-12-05 03:53:32 PM\",\n \"LastSeenAt\": \"\"\n }\n ],\n \"RequestId\": \"1e99faaf-a0f0-4c49-9d85-7f09f2b7f74e\",\n \"Total\": 2\n }\n}",
|
970
970
|
"title": "获取 LoRa 社区网关列表"
|
971
971
|
}
|
972
972
|
],
|
@@ -983,22 +983,22 @@
|
|
983
983
|
"document": "当用户在自己的业务系统中想进行产品管理时,可以通过查询项目列表接口查询用户在物联网开发平台创建的项目。",
|
984
984
|
"input": "https://iotexplorer.tencentcloudapi.com/?Action=GetProjectList\n&Offset=0\n&Limit=0\n&<公共请求参数>",
|
985
985
|
"output": "{\n \"Response\": {\n \"Projects\": [\n {\n \"ProjectId\": \"prj-***2v\",\n \"ProjectName\": \"name\",\n \"ProjectDesc\": \"\",\n \"CreateTime\": 1657334314,\n \"UpdateTime\": 1685669118,\n \"ProductCount\": 1,\n \"ApplicationCount\": 1,\n \"DeviceCount\": 2,\n \"NativeAppCount\": 0,\n \"WebAppCount\": 0,\n \"InstanceId\": \"ins-V**A\",\n \"EnableOpenState\": 1\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"8525aa8d-6820-4977-b64c-1f3370919a9e\"\n }\n}",
|
986
|
-
"title": "
|
986
|
+
"title": "查询项目列表示例"
|
987
987
|
}
|
988
988
|
],
|
989
989
|
"GetStudioProductList": [
|
990
990
|
{
|
991
991
|
"document": "获取产品列表",
|
992
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetStudioProductList\n<公共请求参数>\n\n{\n \"ProjectId\": \"prj-zunfat46\",\n \"DevStatus\": \"dev\",\n \"Limit\": \"0\",\n \"Offset\": \"
|
993
|
-
"output": "{\n \"Response\": {\n \"Products\": [\n {\n \"ProductId\": \"4GDIU5HTEN\",\n \"ProductName\": \"testproduct\",\n \"CategoryId\": 3,\n \"ProductType\": 0,\n \"EncryptionType\": \"2\",\n \"NetType\": \"else\",\n \"DataProtocol\": 1,\n \"ProductDesc\": \"
|
992
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetStudioProductList\n<公共请求参数>\n\n{\n \"ProjectId\": \"prj-zunfat46\",\n \"DevStatus\": \"dev\",\n \"Limit\": \"0\",\n \"Offset\": \"10\"\n}",
|
993
|
+
"output": "{\n \"Response\": {\n \"Products\": [\n {\n \"ProductId\": \"4GDIU5HTEN\",\n \"ProductName\": \"testproduct\",\n \"CategoryId\": 3,\n \"ProductType\": 0,\n \"EncryptionType\": \"2\",\n \"NetType\": \"else\",\n \"DataProtocol\": 1,\n \"ProductDesc\": \"这是一个测试产品\",\n \"ProjectId\": \"prj-zunfat46\",\n \"DevStatus\": \"dev\",\n \"CreateTime\": 1560341825,\n \"UpdateTime\": 1560341825,\n \"Region\": \"gz\",\n \"ModuleId\": 0,\n \"EnableProductScript\": \"e\",\n \"BindStrategy\": 0,\n \"CreateUserId\": 100034,\n \"CreatorNickName\": \"leo\"\n }\n ],\n \"RequestId\": \"55e612b3-ed75-44fe-b141-1c1a35d9a0da\",\n \"Total\": 2\n }\n}",
|
994
994
|
"title": "获取产品列表"
|
995
995
|
}
|
996
996
|
],
|
997
997
|
"GetTWeCallActiveStatus": [
|
998
998
|
{
|
999
999
|
"document": "",
|
1000
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTWeCallActiveStatus\n<公共请求参数>\n\n{\n \"
|
1001
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1000
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTWeCallActiveStatus\n<公共请求参数>\n\n{\n \"DeviceList\": [\n {\n \"Sn\": \"productId_deviceName\"\n }\n ]\n}",
|
1001
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4rfv-6yhj-56hjsg\",\n \"TWeCallActiveInfos\": [\n {\n \"ModelId\": \"1qaz\",\n \"Sn\": \"productid_deviceName\",\n \"ExpireTime\": 45674345567\n }\n ]\n }\n}",
|
1002
1002
|
"title": "成功获取激活状态"
|
1003
1003
|
}
|
1004
1004
|
],
|
@@ -1006,7 +1006,7 @@
|
|
1006
1006
|
{
|
1007
1007
|
"document": "",
|
1008
1008
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTopicRuleList\n<公共请求参数>\n\n{\n \"PageNum\": 1,\n \"PageSize\": 10\n}",
|
1009
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"f92406b3-5a9a-4fe8-bc43-45e3d794bb68\",\n \"Rules\": [\n {\n \"RuleName\": \"test_create\",\n \"Description\": \"
|
1009
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f92406b3-5a9a-4fe8-bc43-45e3d794bb68\",\n \"Rules\": [\n {\n \"RuleName\": \"test_create\",\n \"Description\": \"规则描述\",\n \"CreatedAt\": 1599017883,\n \"RuleDisabled\": true\n }\n ],\n \"TotalCnt\": 1\n }\n}",
|
1010
1010
|
"title": "获取规则列表"
|
1011
1011
|
}
|
1012
1012
|
],
|
@@ -1059,13 +1059,13 @@
|
|
1059
1059
|
"document": "用于查询设备上报的所有类型历史事件信息",
|
1060
1060
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListEventHistory\n<公共请求参数>\n\n{\n \"ProductId\": \"QDA1PZLBNB\",\n \"DeviceName\": \"dev01\",\n \"Type\": \"\",\n \"EventId\": \"low_voltage\",\n \"StartTime\": 1560355200,\n \"EndTime\": 1601196327,\n \"Size\": 50\n}",
|
1061
1061
|
"output": "{\n \"Response\": {\n \"Listover\": true,\n \"RequestId\": \"3b64cf0b-c10e-4b4a-97a1-40ab7116b362\",\n \"EventHistory\": [\n {\n \"TimeStamp\": 1561619346000,\n \"ProductId\": \"QDA1PZLBNB\",\n \"DeviceName\": \"dev01\",\n \"EventId\": \"low_voltage\",\n \"Type\": \"alert\",\n \"Data\": \"{\\\"voltage\\\": 3.487172}\"\n }\n ],\n \"Total\": 1,\n \"Context\": \"DnF1ZXJ5VGhlbkZldGNoCgAAAAAAABO3FkI2SzRCVTJYUjZxUVRnbUJRaUJzc0EAAAAAAAATuBZCNks0QlUyWFI2cVFUZ21CUWlCc3NBAAAAAAAAE7kWQjZLNEJVMlhSNnFRVGdtQlFpQnNzQQAAAAAAABO6FkI2SzRCVTJYUjZxUVRnbUJRaUJzc0EAAAAAAAATuxZCNks0QlUyWFI2cVFUZ21CUWlCc3NBAAAAAAAAE7wWQjZLNEJVMlhSNnFRVGdtQlFpQnNzQQAAAAAAABO9FkI2SzRCVTJYUjZxUVRnbUJRaUJzc0EAAAAAAAATvhZCNks0QlUyWFI2cVFUZ21CUWlCc3NBAAAAAAAAE78WQjZLNEJVMlhSNnFRVGdtQlFpQnNzQQAAAAAAABPAFkI2SzRCVTJYUjZxUVRnbUJRaUJzc0E=\"\n }\n}",
|
1062
|
-
"title": "ListEventHistory"
|
1062
|
+
"title": "ListEventHistory示例"
|
1063
1063
|
}
|
1064
1064
|
],
|
1065
1065
|
"ListFirmwares": [
|
1066
1066
|
{
|
1067
1067
|
"document": "获取固件列表",
|
1068
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=ListFirmwares\n&ProductID=
|
1068
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=ListFirmwares\n&ProductID=NS74VEP2HY\n&PageNum=1\n&PageSize=10\n&<公共请求参数>",
|
1069
1069
|
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Firmwares\": [\n {\n \"Name\": \"name\",\n \"Description\": \"\",\n \"FwType\": \"mcu\",\n \"CreateUserId\": 100028519429,\n \"Md5sum\": \"1***26\",\n \"ProductName\": \"name\",\n \"Version\": \"v1.0.1.0\",\n \"ProductId\": \"Q10***NE\",\n \"CreateTime\": 1678096213,\n \"CreatorNickName\": \"name\"\n }\n ],\n \"RequestId\": \"5dcc485f-0c1c-429d-91b0-1534e10dce98\"\n }\n}",
|
1070
1070
|
"title": "示例"
|
1071
1071
|
}
|
@@ -1073,8 +1073,8 @@
|
|
1073
1073
|
"ListTopicPolicy": [
|
1074
1074
|
{
|
1075
1075
|
"document": "",
|
1076
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=ListTopicPolicy\
|
1077
|
-
"output": "{\n \"Response\": {\n \"Topics\": [\n {\n \"TopicName\": \"
|
1076
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=ListTopicPolicy\n&ProductId=NS74VEP2HY\n&<公共请求参数>",
|
1077
|
+
"output": "{\n \"Response\": {\n \"Topics\": [\n {\n \"TopicName\": \"$thing/up/NS74VEP2HY/dev\",\n \"Privilege\": 1\n }\n ],\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
1078
1078
|
"title": "获取Topic列表示例"
|
1079
1079
|
}
|
1080
1080
|
],
|
@@ -1191,8 +1191,8 @@
|
|
1191
1191
|
"ModifyTopicPolicy": [
|
1192
1192
|
{
|
1193
1193
|
"document": "",
|
1194
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=ModifyTopicPolicy\
|
1195
|
-
"output": "{\n \"Response\": {}\n}",
|
1194
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=ModifyTopicPolicy\n&ProductId=J2CRPPZ8J4\n&TopicName=$thing/up/J2CRPPZ8J4/d1\n&NewTopicName=$thing/up/J2CRPPZ8J4/d2\n&Privilege=2\n&<公共请求参数>",
|
1195
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
1196
1196
|
"title": "更新Topic示例"
|
1197
1197
|
}
|
1198
1198
|
],
|
@@ -1297,8 +1297,8 @@
|
|
1297
1297
|
"ResetCloudStorageEvent": [
|
1298
1298
|
{
|
1299
1299
|
"document": "",
|
1300
|
-
"input": "POST / HTTP/1.1\nHost:iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetCloudStorageEvent\n<公共请求参数>\n\n{\n \"ProductId\": \"
|
1301
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1300
|
+
"input": "POST / HTTP/1.1\nHost:iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetCloudStorageEvent\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\"\n}",
|
1301
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
1302
1302
|
"title": "重置云存事件"
|
1303
1303
|
}
|
1304
1304
|
],
|
@@ -1322,8 +1322,8 @@
|
|
1322
1322
|
{
|
1323
1323
|
"document": "",
|
1324
1324
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchPositionSpace\n<公共请求参数>\n\n{\n \"ProjectId\": \"prj-projectid\",\n \"SpaceName\": \"name\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
1325
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"List\": [\n {\n \"UpdateTime\": 1598863974,\n \"Description\": \"desc\",\n \"ProjectId\": \"prj\",\n \"AuthorizeType\": 0,\n \"SpaceId\": \"id\",\n \"ProductIdList\": [\n \"ProductId\"\n ],\n \"CreateTime\": 1598863974,\n \"SpaceName\": \"name\",\n \"Icon\": \"icon\",\n \"Zoom\": 0\n }\n ],\n \"RequestId\": \"
|
1326
|
-
"title": "SearchPositionSpace"
|
1325
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"List\": [\n {\n \"UpdateTime\": 1598863974,\n \"Description\": \"desc\",\n \"ProjectId\": \"prj\",\n \"AuthorizeType\": 0,\n \"SpaceId\": \"id\",\n \"ProductIdList\": [\n \"ProductId\"\n ],\n \"CreateTime\": 1598863974,\n \"SpaceName\": \"name\",\n \"Icon\": \"icon\",\n \"Zoom\": 0\n }\n ],\n \"RequestId\": \"4rf6-5tgsg-56uyhndgr\"\n }\n}",
|
1326
|
+
"title": "SearchPositionSpace示例"
|
1327
1327
|
}
|
1328
1328
|
],
|
1329
1329
|
"SearchStudioProduct": [
|
@@ -1338,7 +1338,7 @@
|
|
1338
1338
|
{
|
1339
1339
|
"document": "",
|
1340
1340
|
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchTopicRule\n<公共请求参数>\n\n{\n \"RuleName\": \"test_create\"\n}",
|
1341
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"f92406b3-5a9a-4fe8-bc43-45e3d794bb68\",\n \"Rules\": [\n {\n \"RuleName\": \"test_create\",\n \"Description\": \"
|
1341
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f92406b3-5a9a-4fe8-bc43-45e3d794bb68\",\n \"Rules\": [\n {\n \"RuleName\": \"test_create\",\n \"Description\": \"规则信息\",\n \"CreatedAt\": 1599017883,\n \"RuleDisabled\": true\n }\n ],\n \"TotalCnt\": 1\n }\n}",
|
1342
1342
|
"title": "搜索规则"
|
1343
1343
|
}
|
1344
1344
|
],
|
@@ -1361,7 +1361,7 @@
|
|
1361
1361
|
"UnbindDevices": [
|
1362
1362
|
{
|
1363
1363
|
"document": "",
|
1364
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=UnbindDevices\n&GatewayProductId=
|
1364
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=UnbindDevices\n&GatewayProductId= J2CRPPZ8J4\n&GatewayDeviceName=d1\n&ProductId= RFVZ8J4\n&DeviceNames.0=dev0\n&<公共请求参数>",
|
1365
1365
|
"output": "{\n \"Response\": {\n \"RequestId\": \"fee15c53-91ac-488d-855d-c02d9f5f3d91\"\n }\n}",
|
1366
1366
|
"title": "批量解绑子设备"
|
1367
1367
|
}
|
@@ -1377,32 +1377,32 @@
|
|
1377
1377
|
"UpdateDeviceTWeCallAuthorizeStatus": [
|
1378
1378
|
{
|
1379
1379
|
"document": "",
|
1380
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDeviceTWeCallAuthorizeStatus\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"ProductId\": \"
|
1381
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1380
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDeviceTWeCallAuthorizeStatus\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"ProductId\": \"J2CRPPZ8J4\",\n \"DeviceName\": \"d1\",\n \"WechatOpenId\": \"111111\"\n}",
|
1381
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4rfv-6yhn-7uj\"\n }\n}",
|
1382
1382
|
"title": "授权示例"
|
1383
1383
|
}
|
1384
1384
|
],
|
1385
1385
|
"UpdateDevicesEnableState": [
|
1386
1386
|
{
|
1387
1387
|
"document": "批量禁用启用设备",
|
1388
|
-
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDevicesEnableState\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"DevicesItems\": [\n {\n \"DeviceName\": \"
|
1389
|
-
"output": "{\n \"Response\": {\n \"ResultCode\": \"
|
1388
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDevicesEnableState\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"DevicesItems\": [\n {\n \"DeviceName\": \"d1\",\n \"ProductId\": \"Rf56GH9\"\n }\n ]\n}",
|
1389
|
+
"output": "{\n \"Response\": {\n \"ResultCode\": \"delete error\",\n \"ResultMessage\": \"delete error\",\n \"RequestId\": \"34edc-7ugf4rb-657uj\"\n }\n}",
|
1390
1390
|
"title": "批量禁用启用设备"
|
1391
1391
|
}
|
1392
1392
|
],
|
1393
1393
|
"UpdateFirmware": [
|
1394
1394
|
{
|
1395
1395
|
"document": "",
|
1396
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=UpdateFirmware\n&ProductID=
|
1397
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1396
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=UpdateFirmware\n&ProductID=J2CRPPZ8J4\n&DeviceName=d1\n&FirmwareVersion=2.0.0\n&FirmwareOriVersion=1.0.0\n&<公共请求参数>",
|
1397
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3edc-6yhc-567u9ye\"\n }\n}",
|
1398
1398
|
"title": "更新固件示例"
|
1399
1399
|
}
|
1400
1400
|
],
|
1401
1401
|
"UploadFirmware": [
|
1402
1402
|
{
|
1403
1403
|
"document": "",
|
1404
|
-
"input": "https://iotexplorer.tencentcloudapi.com/?Action=UploadFirmware\n&ProductID=
|
1405
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1404
|
+
"input": "https://iotexplorer.tencentcloudapi.com/?Action=UploadFirmware\n&ProductID=4ON538D9AX\n&FirmwareVersion=1.0.0\n&Md5sum=hfshfspodkoiwuidoiwjcuie\n&FileSize=1024\n&<公共请求参数>",
|
1405
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4rfv-6yhn-8i5tgk\"\n }\n}",
|
1406
1406
|
"title": "示例"
|
1407
1407
|
}
|
1408
1408
|
]
|