tccli 3.0.1278.1__py2.py3-none-any.whl → 3.0.1280.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/aiart/v20221229/api.json +1 -1
- tccli/services/antiddos/v20200309/api.json +5 -1
- tccli/services/apm/v20210622/api.json +32 -32
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/billing/v20180709/api.json +550 -529
- tccli/services/billing/v20180709/examples.json +4 -4
- tccli/services/cat/v20180409/api.json +2 -2
- tccli/services/cdwdoris/v20211228/api.json +15 -1
- tccli/services/cdwpg/cdwpg_client.py +866 -18
- tccli/services/cdwpg/v20201230/api.json +2888 -551
- tccli/services/cdwpg/v20201230/examples.json +138 -10
- tccli/services/cfs/v20190719/examples.json +8 -2
- tccli/services/ciam/v20220331/api.json +111 -111
- tccli/services/ciam/v20220331/examples.json +8 -8
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/controlcenter/v20230110/api.json +7 -5
- tccli/services/csip/v20221121/api.json +66 -6
- tccli/services/cvm/v20170312/api.json +282 -267
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/dbbrain/v20191016/api.json +12 -8
- tccli/services/dbbrain/v20210527/api.json +20 -20
- tccli/services/dlc/v20210125/api.json +19 -0
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +11 -0
- tccli/services/es/v20180416/api.json +13 -0
- tccli/services/ess/v20201111/api.json +2 -2
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/goosefs/v20220519/api.json +16 -15
- tccli/services/goosefs/v20220519/examples.json +2 -2
- tccli/services/gwlb/v20240906/api.json +22 -3
- tccli/services/gwlb/v20240906/examples.json +1 -1
- tccli/services/iotcloud/v20210408/api.json +243 -245
- tccli/services/iotcloud/v20210408/examples.json +64 -64
- tccli/services/keewidb/v20220308/api.json +92 -92
- tccli/services/live/v20180801/api.json +287 -274
- tccli/services/lke/lke_client.py +114 -8
- tccli/services/lke/v20231130/api.json +220 -0
- tccli/services/lke/v20231130/examples.json +16 -0
- tccli/services/mongodb/v20190725/api.json +4 -3
- tccli/services/mongodb/v20190725/examples.json +2 -2
- tccli/services/monitor/v20180724/examples.json +2 -2
- tccli/services/mps/v20190612/api.json +20 -9
- tccli/services/mqtt/mqtt_client.py +57 -4
- tccli/services/mqtt/v20240516/api.json +88 -0
- tccli/services/mqtt/v20240516/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +4 -4
- tccli/services/pts/v20210728/api.json +44 -6
- tccli/services/redis/v20180412/api.json +66 -66
- tccli/services/rum/v20210622/api.json +90 -0
- tccli/services/tag/v20180813/api.json +3 -3
- tccli/services/tag/v20180813/examples.json +1 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +93 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/tke/v20180525/api.json +20 -20
- tccli/services/tms/v20201229/api.json +9 -0
- tccli/services/trp/v20210515/api.json +8 -8
- tccli/services/trp/v20210515/examples.json +1 -1
- tccli/services/tsf/v20180326/api.json +884 -884
- tccli/services/vod/v20180717/api.json +11 -11
- tccli/services/waf/v20180125/api.json +7 -7
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +107 -0
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/RECORD +70 -70
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/license_files/LICENSE +0 -0
@@ -4,14 +4,14 @@
|
|
4
4
|
{
|
5
5
|
"document": "",
|
6
6
|
"input": "https://iotcloud.tencentcloudapi.com/?Action=BatchUpdateFirmware\n&ProductId=ABCDE12345\n&FirmwareVersion=2.0.0\n&FirmwareOriVersion=1.0.0\n&Type=7\n&<公共请求参数>",
|
7
|
-
"output": "{\n \"Response\": {\n \"TaskId\":
|
7
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 11236,\n \"RequestId\": \"0b77fcf9-d157-4b60-9a3d-541916b48c24\"\n }\n}",
|
8
8
|
"title": "批量更新固件示例"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"BindDevices": [
|
12
12
|
{
|
13
13
|
"document": "",
|
14
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=BindDevices\n&GatewayProductId=
|
14
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=BindDevices\n&GatewayProductId=EQPOKD5111\n&GatewayDeviceName=devGat-001\n&ProductId=DGRESAG222\n&DeviceNames.0=dev01\n&DeviceNames.1=dev02\n&<公共请求参数>",
|
15
15
|
"output": "{\n \"Response\": {\n \"RequestId\": \"69f65618-600b-4ac4-b8e3-4528a6819078\"\n }\n}",
|
16
16
|
"title": "批量绑定子设备"
|
17
17
|
}
|
@@ -19,8 +19,8 @@
|
|
19
19
|
"CancelDeviceFirmwareTask": [
|
20
20
|
{
|
21
21
|
"document": "",
|
22
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=CancelDeviceFirmwareTask\n&ProductId=
|
23
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
22
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=CancelDeviceFirmwareTask\n&ProductId=EQPOKD5111\n&FirmwareVersion=1.0.0\n&TaskId=10000\n&DeviceName=dev01\n&<公共请求参数>",
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0b77fcf9-d157-4b60-9a3d-541916b48c24\"\n }\n}",
|
24
24
|
"title": "查询固件升级任务详情"
|
25
25
|
}
|
26
26
|
],
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"CreateMultiDevicesTask": [
|
42
42
|
{
|
43
43
|
"document": "",
|
44
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=CreateMultiDevicesTask\n&ProductId=
|
44
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=CreateMultiDevicesTask\n&ProductId=EQPOKD5111\n&ParametersType=random\n&BatchCount=1\n&<公共请求参数>",
|
45
45
|
"output": "{\n \"Response\": {\n \"Id\": 1000001,\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
46
46
|
"title": "创建批量创建设备任务示例"
|
47
47
|
}
|
@@ -57,23 +57,23 @@
|
|
57
57
|
"CreateProduct": [
|
58
58
|
{
|
59
59
|
"document": "",
|
60
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=CreateProduct\n&ProductName=
|
61
|
-
"output": "{\n \"Response\": {\n \"ProductId\": \"
|
60
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=CreateProduct\n&ProductName=dev-01\n&ProductProperties.ProductDescription=adfsdd13\n&ProductProperties.EncryptionType=1\n&ProductProperties.Region=gz\n&ProductProperties.ProductType=1\n&ProductProperties.Format=json\n&<公共请求参数>",
|
61
|
+
"output": "{\n \"Response\": {\n \"ProductId\": \"UTY5QRLMQY\",\n \"ProductName\": \"dev02\",\n \"ProductProperties\": {\n \"AppEUI\": \"\",\n \"DeviceLimit\": 0,\n \"EncryptionType\": \"1\",\n \"ForbiddenStatus\": 0,\n \"Format\": \"json\",\n \"ModelId\": \"-1\",\n \"ModelName\": \"\",\n \"OriginProductId\": \"\",\n \"OriginUserId\": 0,\n \"Platform\": \"EQPOKD5111\",\n \"PrivateCAName\": \"\",\n \"ProductDescription\": \"\",\n \"ProductKey\": \"\",\n \"ProductSecret\": \"\",\n \"ProductType\": 0,\n \"Region\": \"\",\n \"RegisterLimit\": 10000,\n \"RegisterType\": 0\n },\n \"RequestId\": \"5186e731-d43c-43ef-956c-12ff9b0ce8f2\"\n }\n}",
|
62
62
|
"title": "创建产品"
|
63
63
|
}
|
64
64
|
],
|
65
65
|
"CreateTaskFileUrl": [
|
66
66
|
{
|
67
67
|
"document": "",
|
68
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=CreateTaskFileUrl\n&ProductId=
|
69
|
-
"output": "{\n \"Response\": {\n \"Url\": \"https://iothub-tasktest
|
68
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=CreateTaskFileUrl\n&ProductId=EQPOKD5111\n&<公共请求参数>",
|
69
|
+
"output": "{\n \"Response\": {\n \"Url\": \"https://iothub-tasktest-1256872341.cos.ap-guangzhou.myqcloud.com/600000159989_EQPOKD5111_1740476304769587383_2VAUCV*\",\n \"FileName\": \"14121_EQPOKD5111_1586228400\",\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
70
70
|
"title": "获取任务文件上传链接示例"
|
71
71
|
}
|
72
72
|
],
|
73
73
|
"CreateTopicPolicy": [
|
74
74
|
{
|
75
75
|
"document": "",
|
76
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=CreateTopicPolicy\n&ProductId=
|
76
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=CreateTopicPolicy\n&ProductId=EQPOKD5111\n&TopicName=updata\n&Privilege=2\n&BrokerSubscribe.ProductId=11LAWZ3J2D\n&BrokerSubscribe.DeviceName=device1\n&<公共请求参数>",
|
77
77
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
78
78
|
"title": "创建Topic示例"
|
79
79
|
}
|
@@ -81,7 +81,7 @@
|
|
81
81
|
"CreateTopicRule": [
|
82
82
|
{
|
83
83
|
"document": "",
|
84
|
-
"input": "POST / HTTP/1.1\nHost: iotcloud.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopicRule\n<公共请求参数>\n\n{\n \"TopicRulePayload\": {\n \"Sql\": \"U0VMRUNUIGZpZWxkMSwgZmllbGQyIEZST00gJ3NyY1Byb2R1Y3RJZC9zcmNEZXZpY2VOYW1lL2V2ZW50Jw==\",\n \"Description\": \"
|
84
|
+
"input": "POST / HTTP/1.1\nHost: iotcloud.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopicRule\n<公共请求参数>\n\n{\n \"TopicRulePayload\": {\n \"Sql\": \"U0VMRUNUIGZpZWxkMSwgZmllbGQyIEZST00gJ3NyY1Byb2R1Y3RJZC9zcmNEZXZpY2VOYW1lL2V2ZW50Jw==\",\n \"Description\": \"my descrption\",\n \"Actions\": \"[json]\",\n \"RuleDisabled\": true\n },\n \"RuleName\": \"testrulename\"\n}",
|
85
85
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
86
86
|
"title": "创建规则示例"
|
87
87
|
}
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"DeleteDeviceResource": [
|
98
98
|
{
|
99
99
|
"document": "",
|
100
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteDeviceResource\n&ProductID=
|
100
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteDeviceResource\n&ProductID=EQPOKD5111\n&Name=myname\n&DeviceName=dev-001\n&<公共请求参数>",
|
101
101
|
"output": "{\n \"Response\": {\n \"RequestId\": \"69f65618-600b-4ac4-b8e3-4528a6819078\"\n }\n}",
|
102
102
|
"title": "删除设备资源"
|
103
103
|
}
|
@@ -105,8 +105,8 @@
|
|
105
105
|
"DeleteDeviceShadow": [
|
106
106
|
{
|
107
107
|
"document": "",
|
108
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteDeviceShadow\n&ProductId=
|
109
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
108
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteDeviceShadow\n&ProductId=EQPOKD5111\n&DeviceName=dev-001\n&<公共请求参数>",
|
109
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5186e731-d43c-43ef-955c-12ff9b0ce9f1\"\n }\n}",
|
110
110
|
"title": "删除设备影子接口"
|
111
111
|
}
|
112
112
|
],
|
@@ -121,23 +121,23 @@
|
|
121
121
|
"DeleteProduct": [
|
122
122
|
{
|
123
123
|
"document": "",
|
124
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteProduct\n&ProductId=
|
125
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
124
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteProduct\n&ProductId=EQPOKD5111\n&<公共请求参数>",
|
125
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5186e731-d43c-43ef-955c-12ff9b0ce9f2\"\n }\n}",
|
126
126
|
"title": "删除产品"
|
127
127
|
}
|
128
128
|
],
|
129
129
|
"DeleteProductPrivateCA": [
|
130
130
|
{
|
131
131
|
"document": "删除产品的私有CA证书",
|
132
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteProductPrivateCA\n&ProductId=
|
133
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
132
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteProductPrivateCA\n&ProductId=EQPOKD5111\n&<公共请求参数>",
|
133
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5186e731-d43c-43ef-955c-12ff9b0ce9f1\"\n }\n}",
|
134
134
|
"title": "删除产品的私有CA证书"
|
135
135
|
}
|
136
136
|
],
|
137
137
|
"DeleteTopicRule": [
|
138
138
|
{
|
139
139
|
"document": "",
|
140
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteTopicRule\n&RuleName=
|
140
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DeleteTopicRule\n&RuleName=myname\n&<公共请求参数>",
|
141
141
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
142
142
|
"title": "删除规则示例"
|
143
143
|
}
|
@@ -153,7 +153,7 @@
|
|
153
153
|
"DescribeDeviceClientKey": [
|
154
154
|
{
|
155
155
|
"document": "",
|
156
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeDeviceClientKey\n&ProductId=
|
156
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeDeviceClientKey\n&ProductId=EQPOKD5111\n&DeviceName=dev-001\n&<公共请求参数>",
|
157
157
|
"output": "{\n \"Response\": {\n \"ClientKey\": \"----------BEGIN PRIVATE KEY-----\\nIIDS...Fw==\\n-----END PRIVATE KEY-----\\n\",\n \"RequestId\": \"54f75f05-a87c-45fc-9520-6b59e251e91c\"\n }\n}",
|
158
158
|
"title": "获取设备密钥"
|
159
159
|
}
|
@@ -194,15 +194,15 @@
|
|
194
194
|
{
|
195
195
|
"document": "",
|
196
196
|
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeFirmware\n&ProductId=7ZISKXPJVU\n&FirmwareVersion=1.0.3\n&<公共请求参数>",
|
197
|
-
"output": "{\n \"Response\": {\n \"Description\": \"
|
197
|
+
"output": "{\n \"Response\": {\n \"Description\": \"mydescription\",\n \"Md5sum\": \"418806da363b5b57199e5a9f88fc69c3\",\n \"FwType\": \"mcu\",\n \"Createtime\": 1597047368,\n \"RequestId\": \"5186e731-d43c-43ef-955c-12ff9b0ce9f2\",\n \"Version\": \"1.0.3\",\n \"ProductId\": \"7ZISKXPJVU\",\n \"Name\": \"myname\",\n \"ProductName\": \"dev-001\"\n }\n}",
|
198
198
|
"title": "查询固件信息"
|
199
199
|
}
|
200
200
|
],
|
201
201
|
"DescribeFirmwareTask": [
|
202
202
|
{
|
203
203
|
"document": "",
|
204
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeFirmwareTask\n&ProductId=
|
205
|
-
"output": "{\n \"Response\": {\n \"TaskId\": 1000175,\n \"Status\": 3,\n \"CreateTime\": 1589466879,\n \"Type\": 1,\n \"ProductName\": \"门锁\",\n \"UpgradeMode\": \"originalVersion\",\n \"ProductId\": \"
|
204
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeFirmwareTask\n&ProductId=EQPOKD5111\n&FirmwareVersion=1.0.0\n&TaskId=10000\n&<公共请求参数>",
|
205
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 1000175,\n \"Status\": 3,\n \"CreateTime\": 1589466879,\n \"Type\": 1,\n \"ProductName\": \"门锁\",\n \"UpgradeMode\": \"originalVersion\",\n \"ProductId\": \"EQPOKD5111\",\n \"OriginalVersion\": \"1.0.0\",\n \"RequestId\": \"5186e731-d43c-43ef-955c-12ff9b0ce9f2\"\n }\n}",
|
206
206
|
"title": "查询固件升级任务详情"
|
207
207
|
}
|
208
208
|
],
|
@@ -210,7 +210,7 @@
|
|
210
210
|
{
|
211
211
|
"document": "",
|
212
212
|
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeFirmwareTaskDevices\n&ProductId=O4CCMMZE3A\n&FirmwareVersion=1.0\n&<公共请求参数>",
|
213
|
-
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"Devices\": [\n {\n \"DeviceName\": \"
|
213
|
+
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"Devices\": [\n {\n \"DeviceName\": \"dev-001\",\n \"LastProcessTime\": 1597141763,\n \"Status\": 5,\n \"ErrMsg\": \"fail\",\n \"DstVersion\": \"1.0\",\n \"Retcode\": -1,\n \"Percent\": 0,\n \"OriVersion\": \"0.1\"\n },\n {\n \"OriVersion\": \"0.1\",\n \"DeviceName\": \"dev-001\",\n \"LastProcessTime\": 1597140525,\n \"Status\": 0,\n \"ErrMsg\": \"fail\",\n \"DstVersion\": \"1.0\",\n \"Retcode\": 0,\n \"Percent\": 0\n },\n {\n \"LastProcessTime\": 1597141811,\n \"Status\": 6,\n \"ErrMsg\": \"fail\",\n \"DstVersion\": \"1.0\",\n \"Retcode\": 0,\n \"Percent\": 0,\n \"OriVersion\": \"0.1\",\n \"DeviceName\": \"dev-001\"\n }\n ],\n \"RequestId\": \"968ac21f-815f-4f32-852f-c0729c40e724\"\n }\n}",
|
214
214
|
"title": "查询固件升级任务的设备列表"
|
215
215
|
}
|
216
216
|
],
|
@@ -233,16 +233,16 @@
|
|
233
233
|
"DescribeFirmwareTasks": [
|
234
234
|
{
|
235
235
|
"document": "",
|
236
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeFirmwareTasks\n&ProductId=
|
237
|
-
"output": "{\n \"Response\": {\n \"Total\": 53,\n \"TaskInfos\": [\n {\n \"TaskId\": 1000175,\n \"Status\": 3,\n \"CreateTime\": 1589466879,\n \"Type\": 1\n },\n {\n \"TaskId\": 1000176,\n \"Status\": 3,\n \"CreateTime\": 1589467049,\n \"Type\": 1\n },\n {\n \"Status\": 3,\n \"CreateTime\": 1589467138,\n \"Type\": 1,\n \"TaskId\": 1000179\n },\n {\n \"TaskId\": 1000180,\n \"Status\": 3,\n \"CreateTime\": 1589467139,\n \"Type\": 1\n },\n {\n \"Type\": 1,\n \"TaskId\": 1000182,\n \"Status\": 3,\n \"CreateTime\": 1589467141\n }\n ],\n \"RequestId\": \"
|
236
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeFirmwareTasks\n&ProductId=EQPOKD5111\n&FirmwareVersion=1.0.0\n&Offset=1\n&Limit=5\n&<公共请求参数>",
|
237
|
+
"output": "{\n \"Response\": {\n \"Total\": 53,\n \"TaskInfos\": [\n {\n \"TaskId\": 1000175,\n \"Status\": 3,\n \"CreateTime\": 1589466879,\n \"Type\": 1\n },\n {\n \"TaskId\": 1000176,\n \"Status\": 3,\n \"CreateTime\": 1589467049,\n \"Type\": 1\n },\n {\n \"Status\": 3,\n \"CreateTime\": 1589467138,\n \"Type\": 1,\n \"TaskId\": 1000179\n },\n {\n \"TaskId\": 1000180,\n \"Status\": 3,\n \"CreateTime\": 1589467139,\n \"Type\": 1\n },\n {\n \"Type\": 1,\n \"TaskId\": 1000182,\n \"Status\": 3,\n \"CreateTime\": 1589467141\n }\n ],\n \"RequestId\": \"5186e731-d43c-43ef-955c-12ff9b0ce9f2\"\n }\n}",
|
238
238
|
"title": "查询固件升级任务列表"
|
239
239
|
}
|
240
240
|
],
|
241
241
|
"DescribeGatewayBindDevices": [
|
242
242
|
{
|
243
243
|
"document": "",
|
244
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeGatewayBindDevices\n&GatewayProductId=
|
245
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Devices\": [\n {\n \"ProductId\": \"
|
244
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeGatewayBindDevices\n&GatewayProductId=EQPOKD5111\n&GatewayDeviceName=devGat-001\n&Offset=0\n&Limit=10\n&ProductId=EQPOKD5111\n&<公共请求参数>",
|
245
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Devices\": [\n {\n \"ProductId\": \"EQPOKD5111\",\n \"DeviceName\": \"devGat-001\",\n \"BindTime\": 1,\n \"Tags\": []\n }\n ],\n \"ProductName\": \"dev-001\",\n \"RequestId\": \"69f65618-600b-4ac4-b8e3-4528a6819078\"\n }\n}",
|
246
246
|
"title": "获取网关绑定的子设备列表"
|
247
247
|
}
|
248
248
|
],
|
@@ -281,8 +281,8 @@
|
|
281
281
|
"DescribeProductCA": [
|
282
282
|
{
|
283
283
|
"document": "",
|
284
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeProductCA\n&ProductId=
|
285
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
284
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeProductCA\n&ProductId=EQPOKD5111\n&<公共请求参数>",
|
285
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6111\",\n \"CAs\": [\n {\n \"CreateTime\": 1622619674,\n \"EffectiveTime\": 1622448592,\n \"ExpireTime\": 1653984592,\n \"CertText\": \"-----BEGIN CERTIFICATE-----\\nMIIDgTCCAmmgAwIBAgIUX/aeTIr85dbejTlbNGcpRPW0dlowDQYJKoZIhvcNAQEL\\nBQAwUDELMAkGA1UEBhMCQ04xEjAQBgNVBAgMCWd1YW5nZG9uZzERMA8GA1UEBwwI\\nc2hlbnpoZW4xDDAKBgNVBAoMA0FBQTEMMAoGA1UEAwwDQUFBMB4XDTIxMDUzMTA4\\nMDk1MloXDTIyMDUzMTA4MDk1MlowUDELMAkGA1UEBhMCQ04xEjAQBgNVBAgMCWd1\\nYW5nZG9uZzERMA8GA1UEBwwIc2hlbnpoZW4xDDAKBgNVBAoMA0FBQTEMMAoGA1UE\\nAwwDQUFBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA65Rt1X/RBdG6\\n24JYIJrsYOC8NALr/i7jA13v3EHEOjA2505G3YM7RL/NeHIMD7m3XYH2lqHv9XVU\\nHzd+stK5MXXmVSIazt2BYaTdIzWOl0sPQGU9BaIloZyb1nSR/UAZ7sJpon5+nTvV\\nNUUnkVC36BgWUKfLOTlmKkzlHOLecD/WAzgIJ55NC6QsjKWiKXBm5mtlz4uoZ7Bh\\nhQGM/8Zax1YLYnMwkQrMB/o8ma/o5/wRpdqKT0ixm2yZMxW3c6XHGpEioowbJnHa\\nH4AZm8LAVIH+TtGZoeKRppTfEArlszocuxZHTfk5XJZh0NsofmwKm4BPmMzW+9tF\\nRvEwnnES1QIDAQABo1MwUTAdBgNVHQ4EFgQU0wRl/eNy5y9eF1xcJlosQoyTAHsw\\nHwYDVR0jBBgwFoAU0wRl/eNy5y9eF1xcJlosQoyTAHswDwYDVR0TAQH/BAUwAwEB\\n/zANBgkqhkiG9w0BAQsFAAOCAQEAO9P5UH8If1Qb/Za4M1gwCylIVtexON7qOk5Y\\nqWlPvhG+fpqeA/fJQq/3LnKbL2b8Dm/SUFEUAsZs/MptXC5d7E++MwDaiVVQ5rNy\\nemHpNrgHXoPZ9JdB4plFWF4K8CvIcLEmlyG6tj9mBbQ/toBqHpGdkaGTQMP/UjxQ\\nbZFrV9YiRodEQHfEXD5ZXwvt3VZsfIbz8gf+flAanx8Ce1EeaZDbQZuqbRHt4FKS\\nJoasx3KICfdGocM6PGA7smAYc7MFszAS4tGS9H75EZqNZdseKsct9vP3TCb4hE5x\\nupDam8V9w/SQ9vMGzeW1FM91BfWuRXgsv/Bz4FQdeV1+Xyf+Eg==\\n-----END CERTIFICATE-----\",\n \"CertName\": \"XKFAWDE6LX\",\n \"CertSN\": \"5ff69e4c8afce5d6de8d395b34672944f5b4765a\",\n \"IssuerName\": \"CN=AAA,O=AAA,L=shenzhen,ST=guangdong,C=CN\",\n \"Subject\": \"CN=AAA,O=AAA,L=shenzhen,ST=guangdong,C=CN\"\n }\n ]\n }\n}",
|
286
286
|
"title": "查询产品的CA证书"
|
287
287
|
}
|
288
288
|
],
|
@@ -297,15 +297,15 @@
|
|
297
297
|
"DescribeProductResources": [
|
298
298
|
{
|
299
299
|
"document": "",
|
300
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeProductResources\n&ProductID=
|
301
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Result\": [\n {\n \"Name\": \"
|
300
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeProductResources\n&ProductID=EQPOKD5111\n&Offset=0\n&Limit=10\n&Name=test\n&<公共请求参数>",
|
301
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Result\": [\n {\n \"Name\": \"myname\",\n \"ProductName\": \"dev-001\",\n \"Md5\": \"EQPOKD5111\",\n \"Description\": \"mydescription\",\n \"ProductID\": \"\",\n \"CreateTime\": \"2021-04-20 12:07:28\",\n \"Size\": 1\n }\n ],\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6cbd\"\n }\n}",
|
302
302
|
"title": "获取产品资源列表"
|
303
303
|
}
|
304
304
|
],
|
305
305
|
"DescribeProductTask": [
|
306
306
|
{
|
307
307
|
"document": "",
|
308
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeProductTask\n&ProductId=
|
308
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeProductTask\n&ProductId=EQPOKD5111\n&TaskId=1\n&<公共请求参数>",
|
309
309
|
"output": "{\n \"Response\": {\n \"TaskInfo\": {\n \"ResultType\": \"cosfile\",\n \"Type\": 0,\n \"Parameters\": \"{\\\"filename\\\":\\\"input.csv\\\",\\\"productType\\\":0,\\\"productEncryption\\\":1}\",\n \"Result\": \"https://iothub-tasktest-****\",\n \"BatchOffset\": 2,\n \"UpdateTime\": 1585826608,\n \"State\": 5,\n \"ParametersType\": \"cosfile\",\n \"CreateTime\": 1585626105,\n \"Id\": 1,\n \"CompleteTime\": 1585626105,\n \"BatchCount\": 2\n },\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
310
310
|
"title": "查看产品任务详情示例"
|
311
311
|
}
|
@@ -313,7 +313,7 @@
|
|
313
313
|
"DescribeProductTasks": [
|
314
314
|
{
|
315
315
|
"document": "",
|
316
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeProductTasks\n&ProductId=
|
316
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=DescribeProductTasks\n&ProductId=EQPOKD5111\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
317
317
|
"output": "{\n \"Response\": {\n \"TotalCount\": 3,\n \"TaskInfos\": [\n {\n \"BatchCount\": 2,\n \"ResultType\": \"cosfile\",\n \"Id\": 1,\n \"BatchOffset\": 2,\n \"CompleteTime\": 1585626105,\n \"Result\": \"https://iothub-tasktest-****\",\n \"CreateTime\": 1585626105,\n \"UpdateTime\": 1585826608,\n \"ParametersType\": \"cosfile\",\n \"Type\": 0,\n \"State\": 5,\n \"Parameters\": \"{\\\"filename\\\":\\\"input1.csv\\\",\\\"productType\\\":0,\\\"productEncryption\\\":1}\"\n },\n {\n \"CompleteTime\": 1586228643,\n \"ParametersType\": \"random\",\n \"BatchCount\": 1,\n \"Id\": 1000000,\n \"Parameters\": \"{\\\"batchNum\\\":1,\\\"productEncryption\\\":21,\\\"productType\\\":0}\",\n \"BatchOffset\": 1,\n \"CreateTime\": 1586228643,\n \"Type\": 0,\n \"ResultType\": \"cosfile\",\n \"UpdateTime\": 1586228649,\n \"Result\": \"https://iothub-tasktest-*****\",\n \"State\": 5\n },\n {\n \"Result\": \"https://iothub-tasktest-*****\",\n \"ParametersType\": \"random\",\n \"BatchCount\": 1,\n \"BatchOffset\": 1,\n \"State\": 5,\n \"UpdateTime\": 1586228669,\n \"Type\": 0,\n \"CompleteTime\": 1586228663,\n \"Parameters\": \"{\\\"batchNum\\\":1,\\\"productEncryption\\\":21,\\\"productType\\\":0}\",\n \"CreateTime\": 1586228663,\n \"ResultType\": \"cosfile\",\n \"Id\": 1000001\n }\n ],\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
318
318
|
"title": "获取产品级任务列表示例"
|
319
319
|
}
|
@@ -361,8 +361,8 @@
|
|
361
361
|
"EditFirmware": [
|
362
362
|
{
|
363
363
|
"document": "",
|
364
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=EditFirmware\n&ProductId=
|
365
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
364
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=EditFirmware\n&ProductId=EQPOKD5111\n&FirmwareVersion=1.0.0\n&FirmwareName=name1\n&FirmwareDescription=desc\n&FirmwareUserDefined={\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"支持中文\\\"}\n&<公共请求参数>",
|
365
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
366
366
|
"title": "编辑固件信息"
|
367
367
|
}
|
368
368
|
],
|
@@ -377,16 +377,16 @@
|
|
377
377
|
"GetAllVersion": [
|
378
378
|
{
|
379
379
|
"document": "",
|
380
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=GetAllVersion\n&ProductId=
|
381
|
-
"output": "{\n \"Response\": {\n \"Version\": [\n \"1.0.0\",\n \"2.0.0\"\n ],\n \"RequestId\": \"
|
380
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=GetAllVersion\n&ProductId=EQPOKD5111\n&<公共请求参数>",
|
381
|
+
"output": "{\n \"Response\": {\n \"Version\": [\n \"1.0.0\",\n \"2.0.0\"\n ],\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
382
382
|
"title": "获取所有版本列表示例"
|
383
383
|
}
|
384
384
|
],
|
385
385
|
"GetCOSURL": [
|
386
386
|
{
|
387
387
|
"document": "",
|
388
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=GetCOSURL\n&ProductId=
|
389
|
-
"output": "{\n \"Response\": {\n \"Url\": \"http://
|
388
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=GetCOSURL\n&ProductId=EQPOKD5111\n&FirmwareVersion=2.0.0\n&<公共请求参数>",
|
389
|
+
"output": "{\n \"Response\": {\n \"Url\": \"http://tencent.com\",\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
390
390
|
"title": "获取固件下载地址示例"
|
391
391
|
}
|
392
392
|
],
|
@@ -401,8 +401,8 @@
|
|
401
401
|
"ListFirmwares": [
|
402
402
|
{
|
403
403
|
"document": "",
|
404
|
-
"input": "POST / HTTP/1.1\nHost: iotcloud.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListFirmwares\n<公共请求参数>\n\n{\n \"ProductId\": \"
|
405
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Firmwares\": [\n {\n \"Version\": \"
|
404
|
+
"input": "POST / HTTP/1.1\nHost: iotcloud.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListFirmwares\n<公共请求参数>\n\n{\n \"ProductId\": \"EQPOKD5111\",\n \"PageNum\": 1,\n \"PageSize\": 1,\n \"Filters\": [\n {\n \"Key\": \"dfsg23gfds4\",\n \"Value\": \"dfeg\"\n }\n ]\n}",
|
405
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Firmwares\": [\n {\n \"Version\": \"1.0.1\",\n \"Md5sum\": \"2f8222b4f275c4f18e69c34f66d2631b\",\n \"CreateTime\": 1,\n \"ProductName\": \"dev-001\",\n \"Name\": \"myname\",\n \"Description\": \"mydescription\",\n \"ProductId\": \"EQPOKD5111\",\n \"FwType\": \"mcu\",\n \"CreateUserId\": 1\n }\n ],\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
406
406
|
"title": " 获取固件列表示例"
|
407
407
|
}
|
408
408
|
],
|
@@ -417,8 +417,8 @@
|
|
417
417
|
"ListLogPayload": [
|
418
418
|
{
|
419
419
|
"document": "查询设备内容日志",
|
420
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=ListLogPayload\n&Keywords=productid:
|
421
|
-
"output": "{\n \"Response\": {\n \"Context\": \"ic0cxTVFidWRTTUZmcERXMVZR\",\n \"Listover\": false,\n \"RequestId\": \"afdc8492-1437-4237-bf53-8f96e5b3a828\",\n \"Results\": [\n {\n \"DateTime\": \"1606207990000\",\n \"DeviceName\": \"
|
420
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=ListLogPayload\n&Keywords=productid:EQPOKD5111\n&MaxTime=1606208039999\n&MinTime=1606207080000\n&<公共请求参数>",
|
421
|
+
"output": "{\n \"Response\": {\n \"Context\": \"ic0cxTVFidWRTTUZmcERXMVZR\",\n \"Listover\": false,\n \"RequestId\": \"afdc8492-1437-4237-bf53-8f96e5b3a828\",\n \"Results\": [\n {\n \"DateTime\": \"1606207990000\",\n \"DeviceName\": \"dev-001\",\n \"Payload\": \"MTIz\",\n \"PayloadFormatType\": \"json\",\n \"ProductId\": \"EQPOKD5111\",\n \"RequestId\": \"5540094755381968945\",\n \"SrcName\": \"dev-001/001\",\n \"SrcType\": \"device:DEFAULT_DEVICE\",\n \"Topic\": \"EQPOKD5111/dev-001/event\",\n \"Uin\": \"10000123456\"\n },\n {\n \"DateTime\": \"1606207844000\",\n \"DeviceName\": \"test\",\n \"Payload\": \"MTIz\",\n \"PayloadFormatType\": \"json\",\n \"ProductId\": \"EQPOKD5111\",\n \"RequestId\": \"687643990923883336\",\n \"SrcName\": \"EQPOKD5111/dev-001\",\n \"SrcType\": \"api:DEFAULT_DEVICE\",\n \"Topic\": \"EQPOKD5111/test/control\",\n \"Uin\": \"10000123456\"\n }\n ]\n }\n}",
|
422
422
|
"title": "查询设备内容日志"
|
423
423
|
}
|
424
424
|
],
|
@@ -434,14 +434,14 @@
|
|
434
434
|
{
|
435
435
|
"document": "",
|
436
436
|
"input": "https://iotcloud.tencentcloudapi.com/?Action=ListTopicRules\n&PageNum=1\n&PageSize=10\n&<公共请求参数>",
|
437
|
-
"output": "{\n \"Response\": {\n \"TotalCnt\": 2,\n \"Rules\": [\n {\n \"RuleName\": \"
|
437
|
+
"output": "{\n \"Response\": {\n \"TotalCnt\": 2,\n \"Rules\": [\n {\n \"RuleName\": \"rule2\",\n \"CreatedAt\": 1524455688,\n \"RuleDisabled\": false,\n \"Description\": \"test2\",\n \"TopicPattern\": \"\"\n },\n {\n \"RuleName\": \"test\",\n \"CreatedAt\": 1524192248,\n \"RuleDisabled\": false,\n \"Description\": \"Describe\",\n \"TopicPattern\": \"gstasg\"\n }\n ],\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
438
438
|
"title": "获取规则列表示例"
|
439
439
|
}
|
440
440
|
],
|
441
441
|
"PublishBroadcastMessage": [
|
442
442
|
{
|
443
443
|
"document": "",
|
444
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=PublishBroadcastMessage\n&ProductId=ASBHKN121\n&Payload=
|
444
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=PublishBroadcastMessage\n&ProductId=ASBHKN121\n&Payload=5346563\n&Qos=1\n&<公共请求参数>",
|
445
445
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\",\n \"TaskId\": 1000523\n }\n}",
|
446
446
|
"title": "发布广播消息"
|
447
447
|
}
|
@@ -473,7 +473,7 @@
|
|
473
473
|
"ResetDeviceState": [
|
474
474
|
{
|
475
475
|
"document": "",
|
476
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=ResetDeviceState\n&ProductId=
|
476
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=ResetDeviceState\n&ProductId=EQPOKD5111\n&DeviceNames.0=test_device1\n&DeviceNames.1=test_device2\n&<公共请求参数>",
|
477
477
|
"output": "{\n \"Response\": {\n \"RequestId\": \"54f75f05-a87c-45fc-9520-6b59e251e91c\",\n \"SuccessCount\": 1,\n \"ResetDeviceResults\": [\n {\n \"DeviceName\": \"test_device1\",\n \"Success\": true,\n \"Reason\": \"\"\n },\n {\n \"DeviceName\": \"test_device2\",\n \"Success\": false,\n \"Reason\": \"device not exists\"\n }\n ]\n }\n}",
|
478
478
|
"title": "重置设备连接状态"
|
479
479
|
}
|
@@ -481,8 +481,8 @@
|
|
481
481
|
"RetryDeviceFirmwareTask": [
|
482
482
|
{
|
483
483
|
"document": "",
|
484
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=RetryDeviceFirmwareTask\n&ProductId=
|
485
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
484
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=RetryDeviceFirmwareTask\n&ProductId=EQPOKD5111\n&FirmwareVersion=1.0.0\n&TaskId=10000\n&DeviceName=dev\n&<公共请求参数>",
|
485
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
486
486
|
"title": "查询固件升级任务详情"
|
487
487
|
}
|
488
488
|
],
|
@@ -497,9 +497,9 @@
|
|
497
497
|
"UnbindDevices": [
|
498
498
|
{
|
499
499
|
"document": "",
|
500
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=UnbindDevices\n&GatewayProductId=
|
500
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=UnbindDevices\n&GatewayProductId=EQPOKD5111\n&GatewayDeviceName=gateway-001\n&ProductId=EQPOKD5222\n&DeviceNames.0=dev-001\n&DeviceNames.1=dev-002\n&<公共请求参数>",
|
501
501
|
"output": "{\n \"Response\": {\n \"RequestId\": \"69f65618-600b-4ac4-b8e3-4528a6819078\"\n }\n}",
|
502
|
-
"title": "
|
502
|
+
"title": "批量解绑子设备(旧)"
|
503
503
|
}
|
504
504
|
],
|
505
505
|
"UpdateDeviceAvailableState": [
|
@@ -513,7 +513,7 @@
|
|
513
513
|
"UpdateDeviceLogLevel": [
|
514
514
|
{
|
515
515
|
"document": "",
|
516
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateDeviceLogLevel\n&ProductId=
|
516
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateDeviceLogLevel\n&ProductId=EQPOKD5111\n&DeviceName=dev-001\n&LogLevel=1\n&<公共请求参数>",
|
517
517
|
"output": "{\n \"Response\": {\n \"RequestId\": \"9e574269-093f-4a7f-bf90-24ef80b6528a\"\n }\n}",
|
518
518
|
"title": "更新设备日志级别"
|
519
519
|
}
|
@@ -521,15 +521,15 @@
|
|
521
521
|
"UpdateDevicePSK": [
|
522
522
|
{
|
523
523
|
"document": "",
|
524
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateDevicePSK\n&ProductId=
|
525
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
524
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateDevicePSK\n&ProductId=EQPOKD5111\n&DeviceName=dev-001\n&Psk=adferdfwe\n&<公共请求参数>",
|
525
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"dbea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
526
526
|
"title": "更新设备PSK"
|
527
527
|
}
|
528
528
|
],
|
529
529
|
"UpdateDeviceShadow": [
|
530
530
|
{
|
531
531
|
"document": "",
|
532
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateDeviceShadow\n&ProductId=
|
532
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateDeviceShadow\n&ProductId=EQPOKD5111\n&DeviceName=dev-001\n&State={\"desired\":{\"color\":\"red\"}}\n&ShadowVersion=1\n&<公共请求参数>",
|
533
533
|
"output": "{\n \"Response\": {\n \"Data\": \"{\\\"payload\\\":{\\\"state\\\": {\\\"desired\\\": { \\\"color\\\": \\\"red\\\"}}, \\\"metadata\\\": {\\\"desired\\\": {\\\"color\\\": {\\\"timestamp\\\": 1509092895971}}}, \\\"timestamp\\\": 1509443636326, \\\"version\\\": 5},\\\"result\\\":0,\\\"timestamp\\\":1509440846582,\\\"type\\\":\\\"update\\\"}\",\n \"RequestId\": \"9e574269-093f-4a7f-bf90-24ef80b6528a\"\n }\n}",
|
534
534
|
"title": "更新设备影子"
|
535
535
|
}
|
@@ -545,8 +545,8 @@
|
|
545
545
|
"UpdateOtaTaskStatus": [
|
546
546
|
{
|
547
547
|
"document": "当固件任务在升级过程需要取消时可使用。或修改为其它允许的状态",
|
548
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=CancelDeviceFirmwareTask\n&ProductId=
|
549
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
548
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=CancelDeviceFirmwareTask\n&ProductId=EQPOKD5111\n&TaskId=10000\n&Status=6\n&<公共请求参数>",
|
549
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ebea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
550
550
|
"title": "修改固件升级任务状态为取消状态"
|
551
551
|
}
|
552
552
|
],
|
@@ -561,23 +561,23 @@
|
|
561
561
|
"UpdateProductDynamicRegister": [
|
562
562
|
{
|
563
563
|
"document": "更新产品动态注册",
|
564
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateProductDynamicRegister\n&ProductId=
|
565
|
-
"output": "{\n \"Response\": {\n \"RegisterType\": 0,\n \"ProductSecret\": \"
|
564
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateProductDynamicRegister\n&ProductId=EQPOKD5111\n&RegisterType=0\n&RegisterLimit=10\n&<公共请求参数>",
|
565
|
+
"output": "{\n \"Response\": {\n \"RegisterType\": 0,\n \"ProductSecret\": \"adferdfwe\",\n \"RegisterLimit\": 10000,\n \"RequestId\": \"d15b72a9-ab2b-4906-9632-52f7a31932a9\"\n }\n}",
|
566
566
|
"title": "更新产品动态注册"
|
567
567
|
}
|
568
568
|
],
|
569
569
|
"UpdateProductPrivateCA": [
|
570
570
|
{
|
571
571
|
"document": "更新产品的私有CA证书",
|
572
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateProductPrivateCA\n&ProductId=
|
573
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
572
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateProductPrivateCA\n&ProductId=EQPOKD5111\n&CertName=CertName\n&<公共请求参数>",
|
573
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
574
574
|
"title": "更新产品的私有CA证书"
|
575
575
|
}
|
576
576
|
],
|
577
577
|
"UpdateTopicPolicy": [
|
578
578
|
{
|
579
579
|
"document": "",
|
580
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateTopicPolicy\n&ProductId=
|
580
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=UpdateTopicPolicy\n&ProductId=EQPOKD5111\n&TopicName=topic1\n&NewTopicName=topic2\n&Privilege=2\n&BrokerSubscribe.ProductId=11LAWZ3J2D\n&BrokerSubscribe.DeviceName=device1\n&<公共请求参数>",
|
581
581
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
582
582
|
"title": "更新Topic示例"
|
583
583
|
}
|
@@ -585,8 +585,8 @@
|
|
585
585
|
"UploadFirmware": [
|
586
586
|
{
|
587
587
|
"document": "",
|
588
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=UploadFirmware\n&ProductId=
|
589
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
588
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=UploadFirmware\n&ProductId=EQPOKD5111\n&FirmwareVersion=1.0.0\n&Md5sum=hfshfspodkoiwuidoiwjcuie\n&FileSize=1024\n&<公共请求参数>",
|
589
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"bea2fd8-0b8f-44b3-99ab-1b04fcfb6cbc\"\n }\n}",
|
590
590
|
"title": "上传固件信息示例"
|
591
591
|
}
|
592
592
|
]
|