tccli 3.0.1236.1__py2.py3-none-any.whl → 3.0.1238.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aca/__init__.py +4 -0
- tccli/services/aca/aca_client.py +578 -0
- tccli/services/aca/v20210323/api.json +3715 -0
- tccli/services/aca/v20210323/examples.json +69 -0
- tccli/services/aiart/v20221229/api.json +18 -9
- tccli/services/aiart/v20221229/examples.json +2 -2
- tccli/services/apm/v20210622/api.json +25 -22
- tccli/services/apm/v20210622/examples.json +16 -22
- tccli/services/ba/v20200720/api.json +3 -2
- tccli/services/batch/v20170312/api.json +641 -566
- tccli/services/batch/v20170312/examples.json +7 -7
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/billing/v20180709/api.json +2 -2
- tccli/services/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +116 -99
- tccli/services/cam/v20190116/examples.json +11 -11
- tccli/services/ccc/v20200210/api.json +40 -1
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +257 -207
- tccli/services/cdb/v20170320/examples.json +18 -10
- tccli/services/cdwch/v20200915/api.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +16 -5
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +29 -13
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +84 -84
- tccli/services/cfs/v20190719/examples.json +6 -6
- tccli/services/chdfs/v20201112/api.json +18 -17
- tccli/services/chdfs/v20201112/examples.json +2 -2
- tccli/services/clb/v20180317/api.json +184 -162
- tccli/services/cloudapp/v20220530/api.json +11 -1
- tccli/services/cloudapp/v20220530/examples.json +3 -3
- tccli/services/cloudaudit/v20190319/api.json +64 -53
- tccli/services/cloudaudit/v20190319/examples.json +5 -5
- tccli/services/cls/v20201016/api.json +21 -21
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/config/v20220802/api.json +2 -0
- tccli/services/config/v20220802/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +5 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +110 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +390 -387
- tccli/services/dcdb/v20180411/examples.json +14 -14
- tccli/services/dlc/v20210125/api.json +162 -7
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/v20180808/api.json +55 -54
- tccli/services/domain/v20180808/examples.json +38 -32
- tccli/services/dsgc/v20190723/api.json +1796 -1623
- tccli/services/dsgc/v20190723/examples.json +217 -211
- tccli/services/dts/v20180330/api.json +143 -106
- tccli/services/dts/v20211206/api.json +57 -46
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +6 -6
- tccli/services/emr/v20190103/api.json +80 -20
- tccli/services/ess/ess_client.py +118 -12
- tccli/services/ess/v20201111/api.json +320 -37
- tccli/services/ess/v20201111/examples.json +19 -3
- tccli/services/essbasic/essbasic_client.py +167 -8
- tccli/services/essbasic/v20210526/api.json +528 -55
- tccli/services/essbasic/v20210526/examples.json +46 -16
- tccli/services/facefusion/v20220927/api.json +12 -1
- tccli/services/fmu/v20191213/api.json +8 -8
- tccli/services/gaap/v20180529/api.json +200 -209
- tccli/services/gwlb/v20240906/api.json +16 -16
- tccli/services/gwlb/v20240906/examples.json +2 -2
- tccli/services/hai/v20230812/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +6 -6
- tccli/services/iss/v20230517/api.json +11 -11
- tccli/services/iss/v20230517/examples.json +31 -31
- tccli/services/keewidb/v20220308/api.json +92 -82
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +18 -18
- tccli/services/lighthouse/v20200324/examples.json +6 -6
- tccli/services/live/v20180801/api.json +32 -14
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +285 -263
- tccli/services/mariadb/v20170312/examples.json +12 -12
- tccli/services/mongodb/v20180408/api.json +52 -40
- tccli/services/mongodb/v20180408/examples.json +4 -4
- tccli/services/mongodb/v20190725/api.json +119 -109
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +222 -0
- tccli/services/monitor/v20180724/examples.json +17 -1
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +385 -23
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/msp/v20180319/api.json +2 -2
- tccli/services/ocr/v20181119/api.json +11 -1
- tccli/services/omics/v20221128/api.json +14 -2
- tccli/services/organization/v20210331/api.json +45 -18
- tccli/services/privatedns/v20201028/api.json +90 -81
- tccli/services/privatedns/v20201028/examples.json +18 -18
- tccli/services/pts/v20210728/api.json +8 -0
- tccli/services/redis/redis_client.py +106 -0
- tccli/services/redis/v20180412/api.json +178 -16
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/region/v20220627/api.json +5 -3
- tccli/services/region/v20220627/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +6 -4
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/sts/v20180813/examples.json +1 -1
- tccli/services/tag/v20180813/api.json +4 -5
- tccli/services/tcb/v20180608/api.json +36 -16
- tccli/services/tdid/v20210519/api.json +30 -38
- tccli/services/tdid/v20210519/examples.json +5 -5
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +64 -1
- tccli/services/tdmq/v20200217/examples.json +9 -1
- tccli/services/teo/teo_client.py +485 -8
- tccli/services/teo/v20220901/api.json +837 -39
- tccli/services/teo/v20220901/examples.json +108 -0
- tccli/services/thpc/v20211109/api.json +32 -34
- tccli/services/thpc/v20220401/api.json +31 -33
- tccli/services/thpc/v20230321/api.json +55 -57
- tccli/services/thpc/v20230321/examples.json +1 -1
- tccli/services/tiia/v20190529/api.json +307 -293
- tccli/services/tiia/v20190529/examples.json +41 -41
- tccli/services/tione/v20211111/api.json +4 -4
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +119 -3
- tccli/services/trocket/v20230308/examples.json +14 -0
- tccli/services/tse/v20201207/api.json +188 -120
- tccli/services/tse/v20201207/examples.json +30 -30
- tccli/services/tsf/v20180326/api.json +826 -745
- tccli/services/tsf/v20180326/examples.json +99 -111
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/vdb/v20230616/api.json +80 -80
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +64 -44
- tccli/services/vpc/v20170312/examples.json +6 -6
- tccli/services/vrs/v20200824/api.json +3 -2
- tccli/services/wedata/v20210820/api.json +550 -40
- tccli/services/wedata/v20210820/examples.json +10 -4
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/RECORD +149 -145
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"AssessQuality": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssessQuality\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
6
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssessQuality\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"LongImage\": false,\n \"BlackAndWhite\": false,\n \"SmallImage\": false,\n \"BigImage\": true,\n \"PureImage\": false,\n \"ClarityScore\": 93,\n \"AestheticScore\": 92,\n \"RequestId\": \"bfd478e1-5c94-4e37-ad22-4a5224a09492\"\n }\n}",
|
8
8
|
"title": "图像质量评估请求成功"
|
9
9
|
}
|
@@ -11,29 +11,29 @@
|
|
11
11
|
"CreateGroup": [
|
12
12
|
{
|
13
13
|
"document": "调用成功示例",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGroup\n<公共请求参数>\n\n{\n \"Brief\": \"brief_test\",\n \"GroupName\": \"name_test\",\n \"MaxQps\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGroup\n<公共请求参数>\n\n{\n \"Brief\": \"brief_test\",\n \"GroupName\": \"name_test\",\n \"MaxQps\": \"10\",\n \"MaxCapacity\": \"100\",\n \"GroupId\": \"test_group\"\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"RequestId\": \"7ba53193-90af-4440-b706-b3d3a0657982\"\n }\n}",
|
16
16
|
"title": "调用成功示例"
|
17
17
|
}
|
18
18
|
],
|
19
19
|
"CreateImage": [
|
20
20
|
{
|
21
|
-
"document": "",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateImage\n<公共请求参数>\n\n{\n \"
|
23
|
-
"output": "{\n \"Response\": {\n \"
|
24
|
-
"title": "
|
21
|
+
"document": "调用失败示例",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateImage\n<公共请求参数>\n\n{\n \"GroupId\": \"test_group\",\n \"EntityId\": \"test-entity\",\n \"PicName\": \"test_anme\",\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DownloadError\",\n \"Message\": \"文件下载失败。\"\n },\n \"RequestId\": \"258fb494-54db-4814-80e8-b4d2b75c5c83\"\n }\n}",
|
24
|
+
"title": "调用失败示例"
|
25
25
|
},
|
26
26
|
{
|
27
|
-
"document": "",
|
28
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateImage\n<公共请求参数>\n\n{\n \"GroupId\": \"
|
29
|
-
"output": "{\n \"Response\": {\n \"Object\":
|
27
|
+
"document": "调用成功示例",
|
28
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateImage\n<公共请求参数>\n\n{\n \"GroupId\": \"test_group\",\n \"EntityId\": \"test-entity\",\n \"PicName\": \"test_anme\",\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
29
|
+
"output": "{\n \"Response\": {\n \"Object\": null,\n \"RequestId\": \"49120671-d169-4714-a212-cf755e49fad8\"\n }\n}",
|
30
30
|
"title": "调用成功示例"
|
31
31
|
}
|
32
32
|
],
|
33
33
|
"CropImage": [
|
34
34
|
{
|
35
35
|
"document": "输入一张图片,输出裁剪坐标结果",
|
36
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CropImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
36
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CropImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"Width\": 1100,\n \"Height\": 880\n}",
|
37
37
|
"output": "{\n \"Response\": {\n \"X\": 0,\n \"Y\": 110,\n \"Width\": 1100,\n \"Height\": 880,\n \"OriginalWidth\": 1100,\n \"OriginalHeight\": 1390,\n \"CropResult\": 0,\n \"RequestId\": \"bfd478e1-5c94-4e37-ad22-4a5224a09492\"\n }\n}",
|
38
38
|
"title": "图像智能裁剪成功"
|
39
39
|
}
|
@@ -41,13 +41,13 @@
|
|
41
41
|
"DeleteImages": [
|
42
42
|
{
|
43
43
|
"document": "",
|
44
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteImages\n<公共请求参数>\n\n{\n \"GroupId\": \"\",\n \"EntityId\": \"
|
44
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteImages\n<公共请求参数>\n\n{\n \"GroupId\": \"test_group\",\n \"EntityId\": \"7263\",\n \"PicName\": \"test_pic\"\n}",
|
45
45
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.InvalidParameter\",\n \"Message\": \"参数不合法。\"\n },\n \"RequestId\": \"cac925c7-c939-4eb6-8db5-d642f7385c30\"\n }\n}",
|
46
46
|
"title": "调用失败示例"
|
47
47
|
},
|
48
48
|
{
|
49
49
|
"document": "",
|
50
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteImages\n<公共请求参数>\n\n{\n \"GroupId\": \"
|
50
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteImages\n<公共请求参数>\n\n{\n \"GroupId\": \"my_group\",\n \"EntityId\": \"7263\",\n \"PicName\": \"test_pic\"\n}",
|
51
51
|
"output": "{\n \"Response\": {\n \"RequestId\": \"cac925c7-c939-4eb6-8db5-d642f7385c30\"\n }\n}",
|
52
52
|
"title": "调用成功示例"
|
53
53
|
}
|
@@ -56,7 +56,7 @@
|
|
56
56
|
{
|
57
57
|
"document": "查询当前用户的图片库信息。",
|
58
58
|
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGroups\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 100\n}",
|
59
|
-
"output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"Brief\": \"
|
59
|
+
"output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"Brief\": \"简介\",\n \"CreateTime\": \"2023-02-02 18:04:08\",\n \"GroupId\": \"group_test_id\",\n \"GroupName\": \"group_test_id_name\",\n \"GroupType\": 4,\n \"MaxCapacity\": 10000,\n \"MaxQps\": 10,\n \"PicCount\": 1,\n \"UpdateTime\": \"2023-02-02 18:04:41\"\n }\n ],\n \"RequestId\": \"347a9402-b68c-42d0-8a75-d1b123fe83d5\"\n }\n}",
|
60
60
|
"title": "调用成功示例"
|
61
61
|
}
|
62
62
|
],
|
@@ -85,7 +85,7 @@
|
|
85
85
|
"DetectDisgust": [
|
86
86
|
{
|
87
87
|
"document": "",
|
88
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectDisgust\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
88
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectDisgust\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
89
89
|
"output": "{\n \"Response\": {\n \"Confidence\": 0.98,\n \"Type\": \"蛇\",\n \"RequestId\": \"40afdbfc-be4c-4530-bb1a-3f1683b05dba\"\n }\n}",
|
90
90
|
"title": "恶心检测接口调用成功"
|
91
91
|
}
|
@@ -93,13 +93,13 @@
|
|
93
93
|
"DetectEnvelope": [
|
94
94
|
{
|
95
95
|
"document": "",
|
96
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectEnvelope\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
96
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectEnvelope\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://cos.ap-singapore.myqcloud.com/input.png\"\n}",
|
97
97
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DownloadError \",\n \"Message\": \"文件下载错误。\"\n },\n \"RequestId\": \"ad418ac5-fbfd-4bd7-8f4a-35ab085e27dd\"\n }\n}",
|
98
98
|
"title": "调用失败示例"
|
99
99
|
},
|
100
100
|
{
|
101
101
|
"document": "",
|
102
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectEnvelope\n<公共请求参数>\n\n{\n \"ImageUrl\": \"
|
102
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectEnvelope\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://cos.ap-singapore.myqcloud.com/input.png\"\n}",
|
103
103
|
"output": "{\n \"Response\": {\n \"FirstTags\": [\n {\n \"Name\": \"非文件封\",\n \"Confidence\": 97.76\n },\n {\n \"Name\": \"文件封\",\n \"Confidence\": 2.24\n }\n ],\n \"SecondTags\": [\n {\n \"Name\": \"非文件封\",\n \"Confidence\": 97.5\n },\n {\n \"Name\": \"非顺丰文件封正面\",\n \"Confidence\": 2.28\n },\n {\n \"Name\": \"顺丰文件封正面\",\n \"Confidence\": 0.09\n },\n {\n \"Name\": \"非顺丰文件封反面\",\n \"Confidence\": 0.07\n },\n {\n \"Name\": \"顺丰文件封反面\",\n \"Confidence\": 0.05\n }\n ],\n \"RequestId\": \"c7552894-0e1c-468d-afc7-685483c3e3be\"\n }\n}",
|
104
104
|
"title": "调用成功示例"
|
105
105
|
}
|
@@ -107,13 +107,13 @@
|
|
107
107
|
"DetectLabel": [
|
108
108
|
{
|
109
109
|
"document": "",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabel\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
110
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabel\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://cos.ap-singapore.myqcloud.com/input.png\"\n}",
|
111
111
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DownLoadError\",\n \"Message\": \"下载失败\"\n },\n \"RequestId\": \"a169390a-6ff3-4c42-ad25-a7858c35e576\"\n }\n}",
|
112
112
|
"title": "图像标签检测请求失败"
|
113
113
|
},
|
114
114
|
{
|
115
115
|
"document": "",
|
116
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabel\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
116
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabel\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://cos.ap-singapore.myqcloud.com/input.png\",\n \"Scenes\": [\n \"WEB\",\n \"CAMERA\",\n \"ALBUM\"\n ]\n}",
|
117
117
|
"output": "{\n \"Response\": {\n \"NewsLabels\": [\n {\n \"Confidence\": 80,\n \"Name\": \"塔楼\",\n \"SecondCategory\": \"建筑\",\n \"FirstCategory\": \"场景\"\n }\n ],\n \"Labels\": [\n {\n \"Name\": \"塔楼\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 81\n },\n {\n \"Name\": \"夜晚\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 79\n },\n {\n \"Name\": \"天际线\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 77\n },\n {\n \"Name\": \"城市景观\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"其他\",\n \"Confidence\": 77\n },\n {\n \"Name\": \"城市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"生活/娱乐场所\",\n \"Confidence\": 72\n },\n {\n \"Name\": \"都市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"其他\",\n \"Confidence\": 69\n }\n ],\n \"CameraLabels\": [\n {\n \"Name\": \"夜景\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 92\n },\n {\n \"Name\": \"城市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 3\n },\n {\n \"Name\": \"游乐园\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"生活/娱乐场所\",\n \"Confidence\": 2\n },\n {\n \"Name\": \"大厦\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 1\n },\n {\n \"Name\": \"桥\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 0\n }\n ],\n \"AlbumLabels\": [\n {\n \"Name\": \"夜景\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 93\n },\n {\n \"Name\": \"塔\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 82\n },\n {\n \"Name\": \"城市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 5\n }\n ],\n \"RequestId\": \"e6d685b1-d898-4dc9-a545-cfeb3a988da8\"\n }\n}",
|
118
118
|
"title": "图像标签检测请求成功"
|
119
119
|
}
|
@@ -121,13 +121,13 @@
|
|
121
121
|
"DetectLabelBeta": [
|
122
122
|
{
|
123
123
|
"document": "",
|
124
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabelBeta\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
124
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabelBeta\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
125
125
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DownLoadError\",\n \"Message\": \"下载失败\"\n },\n \"RequestId\": \"a169390a-6ff3-4c42-ad25-a7858c35e576\"\n }\n}",
|
126
126
|
"title": "图像标签检测请求失败"
|
127
127
|
},
|
128
128
|
{
|
129
129
|
"document": "",
|
130
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabelBeta\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
130
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabelBeta\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"Scenes\": [\n \"WEB\",\n \"CAMERA\",\n \"ALBUM\"\n ]\n}",
|
131
131
|
"output": "{\n \"Response\": {\n \"Labels\": [\n {\n \"Name\": \"塔楼\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 81\n },\n {\n \"Name\": \"夜晚\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 79\n },\n {\n \"Name\": \"天际线\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 77\n },\n {\n \"Name\": \"城市景观\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"其他\",\n \"Confidence\": 77\n },\n {\n \"Name\": \"城市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"生活/娱乐场所\",\n \"Confidence\": 72\n },\n {\n \"Name\": \"都市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"其他\",\n \"Confidence\": 69\n }\n ],\n \"CameraLabels\": [\n {\n \"Name\": \"夜景\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 92\n },\n {\n \"Name\": \"城市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 3\n },\n {\n \"Name\": \"游乐园\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"生活/娱乐场所\",\n \"Confidence\": 2\n },\n {\n \"Name\": \"大厦\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 1\n },\n {\n \"Name\": \"桥\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 0\n }\n ],\n \"AlbumLabels\": [\n {\n \"Name\": \"夜景\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 93\n },\n {\n \"Name\": \"塔\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 82\n },\n {\n \"Name\": \"城市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 5\n }\n ],\n \"NoneCamLabels\": null,\n \"LocationLabels\": null,\n \"NewsLabels\": null,\n \"RequestId\": \"e6d685b1-d898-4dc9-a545-cfeb3a988da8\"\n }\n}",
|
132
132
|
"title": "图像标签检测请求成功"
|
133
133
|
}
|
@@ -135,13 +135,13 @@
|
|
135
135
|
"DetectLabelPro": [
|
136
136
|
{
|
137
137
|
"document": "",
|
138
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabelPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
138
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabelPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://cos.ap-singapore.myqcloud.com/input.png\"\n}",
|
139
139
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DownLoadError\",\n \"Message\": \"下载失败\"\n },\n \"RequestId\": \"a169390a-6ff3-4c42-ad25-a7858c35e576\"\n }\n}",
|
140
140
|
"title": "图像标签检测请求失败"
|
141
141
|
},
|
142
142
|
{
|
143
143
|
"document": "",
|
144
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabelPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
144
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLabelPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://cos.ap-singapore.myqcloud.com/input.png\"\n}",
|
145
145
|
"output": "{\n \"Response\": {\n \"Labels\": [\n {\n \"Name\": \"塔楼\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"建筑\",\n \"Confidence\": 81\n },\n {\n \"Name\": \"夜晚\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 79\n },\n {\n \"Name\": \"天际线\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"自然风光\",\n \"Confidence\": 77\n },\n {\n \"Name\": \"城市景观\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"其他\",\n \"Confidence\": 77\n },\n {\n \"Name\": \"城市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"生活/娱乐场所\",\n \"Confidence\": 72\n },\n {\n \"Name\": \"都市\",\n \"FirstCategory\": \"场景\",\n \"SecondCategory\": \"其他\",\n \"Confidence\": 69\n }\n ],\n \"RequestId\": \"e6d685b1-d898-4dc9-a545-cfeb3a988da8\"\n }\n}",
|
146
146
|
"title": "图像标签检测请求成功"
|
147
147
|
}
|
@@ -149,7 +149,7 @@
|
|
149
149
|
"DetectMisbehavior": [
|
150
150
|
{
|
151
151
|
"document": "输入图片URL,识别不良行为信息。",
|
152
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectMisbehavior\n<公共请求参数>\n\n{\n \"ImageUrl\": \"
|
152
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectMisbehavior\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
153
153
|
"output": "{\n \"Response\": {\n \"Confidence\": 0.5,\n \"Type\": \"赌博\",\n \"RequestId\": \"7a975d0d-1ebe-4ee3-bde7-f1541fe5b135\"\n }\n}",
|
154
154
|
"title": "不良行为识别调用成功"
|
155
155
|
}
|
@@ -157,19 +157,19 @@
|
|
157
157
|
"DetectPet": [
|
158
158
|
{
|
159
159
|
"document": "",
|
160
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectPet\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
160
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectPet\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
161
161
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DownLoadError\",\n \"Message\": \"下载失败\"\n },\n \"RequestId\": \"a169390a-6ff3-4c42-ad25-a7858c35e576\"\n }\n}",
|
162
162
|
"title": "识别失败"
|
163
163
|
},
|
164
164
|
{
|
165
165
|
"document": "",
|
166
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectPet\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
167
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a169390a-6ff3-4c42-ad25-a7858c35e576\",\n \"Pets\": [\n {\n \"Score\": 99,\n \"Name\": \"cat\",\n \"Location\": {\n \"Y\":
|
166
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectPet\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a169390a-6ff3-4c42-ad25-a7858c35e576\",\n \"Pets\": [\n {\n \"Score\": 99,\n \"Name\": \"cat\",\n \"Location\": {\n \"Y\": 121,\n \"X\": 36,\n \"Height\": 203,\n \"Width\": 334\n }\n }\n ]\n }\n}",
|
168
168
|
"title": "识别成功"
|
169
169
|
},
|
170
170
|
{
|
171
171
|
"document": "",
|
172
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectPet\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
172
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectPet\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
173
173
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.NoObjectDetected\",\n \"Message\": \"未检测到目标。\"\n },\n \"RequestId\": \"ad418ac5-fbfd-4bd7-8f4a-35ab085e27dd\"\n }\n}",
|
174
174
|
"title": "图片中未识别出宠物"
|
175
175
|
}
|
@@ -185,13 +185,13 @@
|
|
185
185
|
"DetectSecurity": [
|
186
186
|
{
|
187
187
|
"document": "安全属性识别请求失败",
|
188
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectSecurity\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
188
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectSecurity\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
189
189
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DownLoadError\",\n \"Message\": \"下载失败\"\n },\n \"RequestId\": \"a169390a-6ff3-4c42-ad25-a7858c35e516\"\n }\n}",
|
190
190
|
"title": "安全属性识别请求失败"
|
191
191
|
},
|
192
192
|
{
|
193
193
|
"document": "安全属性识别请求成功",
|
194
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectSecurity\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
194
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectSecurity\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
195
195
|
"output": "{\n \"Response\": {\n \"Bodies\": [\n {\n \"Attributes\": [\n {\n \"Confidence\": 0.9608861,\n \"Label\": \"无安全帽\",\n \"Name\": \"安全帽识别\"\n },\n {\n \"Confidence\": 0.9768763,\n \"Label\": \"没有电话\",\n \"Name\": \"玩手机识别\"\n },\n {\n \"Confidence\": 0.8206851,\n \"Label\": \"没有抽烟\",\n \"Name\": \"抽烟识别\"\n },\n {\n \"Confidence\": 0,\n \"Label\": \"被优选过滤\",\n \"Name\": \"口罩识别\"\n },\n {\n \"Confidence\": 0.9113377,\n \"Label\": \"无工地安全带\",\n \"Name\": \"工地安全带识别\"\n },\n {\n \"Confidence\": 0.7201198,\n \"Label\": \"无手套\",\n \"Name\": \"手套识别\"\n },\n {\n \"Confidence\": 0.6875998,\n \"Label\": \"无工服\",\n \"Name\": \"工服识别\"\n },\n {\n \"Confidence\": 0.611658,\n \"Label\": \"无护目镜\",\n \"Name\": \"护目镜识别\"\n },\n {\n \"Confidence\": 0.9828068,\n \"Label\": \"无反光衣\",\n \"Name\": \"反光衣识别\"\n }\n ],\n \"DetectConfidence\": 0.914,\n \"Rect\": {\n \"Height\": 1110,\n \"Width\": 440,\n \"X\": 217,\n \"Y\": 79\n }\n }\n ],\n \"RequestId\": \"8a3f48ea-f995-4ad2-9ff5-7f8faf8bdbaf\"\n }\n}",
|
196
196
|
"title": "安全属性识别请求成功"
|
197
197
|
}
|
@@ -199,41 +199,41 @@
|
|
199
199
|
"EnhanceImage": [
|
200
200
|
{
|
201
201
|
"document": "",
|
202
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnhanceImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
202
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnhanceImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
203
203
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"LimitExceeded.TooLargeFileError\",\n \"Message\": \"文件太大\"\n },\n \"RequestId\": \"a1c397c8-5caf-44ce-975e-bf5e7c8242ef\"\n }\n}",
|
204
204
|
"title": "文件过大"
|
205
205
|
},
|
206
206
|
{
|
207
207
|
"document": "",
|
208
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnhanceImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
208
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnhanceImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
209
209
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DownLoadError\",\n \"Message\": \"下载失败\"\n },\n \"RequestId\": \"97c5502b-ecfd-498a-84f2-28de25a3c71c\"\n }\n}",
|
210
210
|
"title": "图像清晰度增强下载失败"
|
211
211
|
},
|
212
212
|
{
|
213
213
|
"document": "",
|
214
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnhanceImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
215
|
-
"output": "{\n \"Response\": {\n \"EnhancedImage\": \"/9j/4AAQSkZJRgABAQAAAQABA
|
214
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnhanceImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
215
|
+
"output": "{\n \"Response\": {\n \"EnhancedImage\": \"/9j/4AAQSkZJRgABAQAAAQABA...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"RequestId\": \"75ad21c9-1db4-4032-9066-ab03e297349b\"\n }\n}",
|
216
216
|
"title": "图像清晰度增强请求成功"
|
217
217
|
}
|
218
218
|
],
|
219
219
|
"RecognizeCar": [
|
220
220
|
{
|
221
221
|
"document": "",
|
222
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeCar\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
223
|
-
"output": "{\n \"Response\": {\n \"CarCoords\": [\n {\n \"X\": 513,\n \"Y\": 651\n },\n {\n \"X\": 513,\n \"Y\": 441\n },\n {\n \"X\": 780,\n \"Y\": 441\n },\n {\n \"X\": 780,\n \"Y\": 651\n }\n ],\n \"CarTags\": [\n {\n \"Serial\": \"途安\",\n \"Brand\": \"大众\",\n \"Type\": \"MPV\",\n \"Color\": \"白\",\n \"Confidence\": 93,\n \"Year\": 2008,\n \"CarLocation\": [\n {\n \"X\": 513,\n \"Y\": 651\n },\n {\n \"X\": 513,\n \"Y\": 441\n },\n {\n \"X\": 780,\n \"Y\": 441\n },\n {\n \"X\": 780,\n \"Y\": 651\n }\n ],\n \"PlateContent\": null\n },\n {\n \"Serial\": \"君越\",\n \"Brand\": \"别克\",\n \"Type\": \"中型车\",\n \"Color\": \"银灰\",\n \"Confidence\": 47,\n \"Year\": 2009,\n \"CarLocation\": [\n {\n \"X\": 45,\n \"Y\": 658\n },\n {\n \"X\": 45,\n \"Y\": 459\n },\n {\n \"X\": 313,\n \"Y\": 459\n },\n {\n \"X\": 313,\n \"Y\": 658\n }\n ],\n \"PlateContent\": null
|
222
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeCar\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"CarCoords\": [\n {\n \"X\": 513,\n \"Y\": 651\n },\n {\n \"X\": 513,\n \"Y\": 441\n },\n {\n \"X\": 780,\n \"Y\": 441\n },\n {\n \"X\": 780,\n \"Y\": 651\n }\n ],\n \"CarTags\": [\n {\n \"Serial\": \"途安\",\n \"Brand\": \"大众\",\n \"Type\": \"MPV\",\n \"Color\": \"白\",\n \"Confidence\": 93,\n \"Year\": 2008,\n \"CarLocation\": [\n {\n \"X\": 513,\n \"Y\": 651\n },\n {\n \"X\": 513,\n \"Y\": 441\n },\n {\n \"X\": 780,\n \"Y\": 441\n },\n {\n \"X\": 780,\n \"Y\": 651\n }\n ],\n \"PlateContent\": null,\n \"PlateConfidence\": null,\n \"TypeConfidence\": null,\n \"ColorConfidence\": null,\n \"Orientation\": null,\n \"OrientationConfidence\": null\n },\n {\n \"Serial\": \"君越\",\n \"Brand\": \"别克\",\n \"Type\": \"中型车\",\n \"Color\": \"银灰\",\n \"Confidence\": 47,\n \"Year\": 2009,\n \"CarLocation\": [\n {\n \"X\": 45,\n \"Y\": 658\n },\n {\n \"X\": 45,\n \"Y\": 459\n },\n {\n \"X\": 313,\n \"Y\": 459\n },\n {\n \"X\": 313,\n \"Y\": 658\n }\n ],\n \"PlateContent\": null,\n \"PlateConfidence\": null,\n \"TypeConfidence\": null,\n \"ColorConfidence\": null,\n \"Orientation\": null,\n \"OrientationConfidence\": null\n }\n ],\n \"RequestId\": \"81235fb9-d91e-4a40-91ac-9ef5675954a2\"\n }\n}",
|
224
224
|
"title": "车辆识别示例代码"
|
225
225
|
}
|
226
226
|
],
|
227
227
|
"RecognizeCarPro": [
|
228
228
|
{
|
229
229
|
"document": "输入图片URL,未检测到车辆信息。",
|
230
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeCarPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"
|
230
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeCarPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
231
231
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.NoObjectDetected\",\n \"Message\": \"未检测到目标。\"\n },\n \"RequestId\": \"ad418ac5-fbfd-4bd7-8f4a-35ab085e27dd\"\n }\n}",
|
232
232
|
"title": "调用失败示例"
|
233
233
|
},
|
234
234
|
{
|
235
235
|
"document": "输入图片URL,成功检测到车辆信息。",
|
236
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeCarPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"
|
236
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeCarPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
237
237
|
"output": "{\n \"Response\": {\n \"CarCoords\": [\n {\n \"X\": 87,\n \"Y\": 291\n },\n {\n \"X\": 87,\n \"Y\": 1\n },\n {\n \"X\": 540,\n \"Y\": 1\n },\n {\n \"X\": 540,\n \"Y\": 291\n }\n ],\n \"CarTags\": [\n {\n \"Brand\": \"奔驰\",\n \"CarLocation\": [\n {\n \"X\": 87,\n \"Y\": 291\n },\n {\n \"X\": 87,\n \"Y\": 1\n },\n {\n \"X\": 540,\n \"Y\": 1\n },\n {\n \"X\": 540,\n \"Y\": 291\n }\n ],\n \"Color\": \"绿\",\n \"ColorConfidence\": 67,\n \"Confidence\": 64,\n \"Orientation\": \"车头\",\n \"OrientationConfidence\": 99,\n \"PlateConfidence\": 99,\n \"PlateContent\": {\n \"Color\": \"蓝色\",\n \"Plate\": \"浙G29XY9\",\n \"PlateAngle\": 13.560508,\n \"PlateLocation\": [\n {\n \"X\": 452,\n \"Y\": 227\n },\n {\n \"X\": 452,\n \"Y\": 190\n },\n {\n \"X\": 507,\n \"Y\": 190\n },\n {\n \"X\": 507,\n \"Y\": 227\n }\n ],\n \"PlateStatus\": \"正常车牌\",\n \"PlateStatusConfidence\": 99,\n \"Type\": \"普通蓝牌\"\n },\n \"Serial\": \"奔驰GLC级\",\n \"Type\": \"SUV\",\n \"TypeConfidence\": 54,\n \"Year\": 0\n }\n ],\n \"RequestId\": \"2aba0901-31b9-456f-ad38-a2e7075d0965\"\n }\n}",
|
238
238
|
"title": "车辆识别示例代码"
|
239
239
|
}
|
@@ -241,21 +241,21 @@
|
|
241
241
|
"SearchImage": [
|
242
242
|
{
|
243
243
|
"document": "",
|
244
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"
|
245
|
-
"output": "{\n \"Response\": {\n \"
|
244
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchImage\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://liudhu-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"Filter\": \"value > 10\",\n \"MatchThreshold\": \"1\",\n \"Limit\": \"30\",\n \"Offset\": \"0\",\n \"GroupId\": \"work\"\n}",
|
245
|
+
"output": "{\n \"Response\": {\n \"Count\": 1,\n \"ImageInfos\": [\n {\n \"CustomContent\": \"\",\n \"EntityId\": \"work-1\",\n \"PicName\": \"work-1-1\",\n \"Score\": 100,\n \"Tags\": \"{\\\"my_tag\\\": \\\"1\\\"}\"\n }\n ],\n \"Object\": {\n \"AllBox\": [\n {\n \"CategoryId\": 0,\n \"Rect\": {\n \"Height\": 268,\n \"Width\": 193,\n \"X\": 278,\n \"Y\": 162\n },\n \"Score\": 60\n },\n {\n \"CategoryId\": 4,\n \"Rect\": {\n \"Height\": 138,\n \"Width\": 132,\n \"X\": 337,\n \"Y\": 1053\n },\n \"Score\": 78\n },\n {\n \"CategoryId\": 5,\n \"Rect\": {\n \"Height\": 31,\n \"Width\": 83,\n \"X\": 356,\n \"Y\": 135\n },\n \"Score\": 27\n }\n ],\n \"Attributes\": [\n {\n \"Details\": \"渐层\",\n \"Type\": \"图案\"\n },\n {\n \"Details\": \"街头\",\n \"Type\": \"风格\"\n },\n {\n \"Details\": \"灰色\",\n \"Type\": \"颜色\"\n },\n {\n \"Details\": \"尼龙\",\n \"Type\": \"材质\"\n },\n {\n \"Details\": \"连帽\",\n \"Type\": \"颈线设计\"\n },\n {\n \"Details\": \"男装\",\n \"Type\": \"类型\"\n },\n {\n \"Details\": \"加长款\",\n \"Type\": \"衣长\"\n },\n {\n \"Details\": \"连衣裤\",\n \"Type\": \"类别\"\n }\n ],\n \"Box\": {\n \"CategoryId\": 0,\n \"Rect\": {\n \"Height\": 268,\n \"Width\": 193,\n \"X\": 278,\n \"Y\": 162\n },\n \"Score\": 60\n },\n \"CategoryId\": 0,\n \"Colors\": [\n {\n \"Color\": \"293133\",\n \"Label\": \"Black-darkgrey\",\n \"Percentage\": 10\n },\n {\n \"Color\": \"4A3D46\",\n \"Label\": \"Black-grapethistle\",\n \"Percentage\": 8\n },\n {\n \"Color\": \"808080\",\n \"Label\": \"Gray-gray\",\n \"Percentage\": 7\n },\n {\n \"Color\": \"555555\",\n \"Label\": \"Blue-ebony\",\n \"Percentage\": 6\n }\n ]\n },\n \"RequestId\": \"7ddbbc94-1adc-45f7-a114-8fdebaabf6d4\"\n }\n}",
|
246
246
|
"title": "调用成功示例"
|
247
247
|
}
|
248
248
|
],
|
249
249
|
"UpdateImage": [
|
250
250
|
{
|
251
251
|
"document": "",
|
252
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateImage\n<公共请求参数>\n\n{\n \"GroupId\": \"\",\n \"EntityId\": \"
|
252
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateImage\n<公共请求参数>\n\n{\n \"GroupId\": \"my_group\",\n \"EntityId\": \"entity_297\",\n \"PicName\": \"my_pic\"\n}",
|
253
253
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.InvalidParameter\",\n \"Message\": \"参数不合法。\"\n },\n \"RequestId\": \"cac925c7-c939-4eb6-8db5-d64123385c30\"\n }\n}",
|
254
254
|
"title": "更新图片接口调用失败示例"
|
255
255
|
},
|
256
256
|
{
|
257
257
|
"document": "",
|
258
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateImage\n<公共请求参数>\n\n{\n \"GroupId\": \"
|
258
|
+
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateImage\n<公共请求参数>\n\n{\n \"GroupId\": \"group_972\",\n \"EntityId\": \"entity_297\",\n \"PicName\": \"my_pic\"\n}",
|
259
259
|
"output": "{\n \"Response\": {\n \"RequestId\": \"cac925c7-c939-4e26-8db5-d642f7385c30\"\n }\n}",
|
260
260
|
"title": "更新图片接口调用成功示例"
|
261
261
|
}
|
@@ -2891,7 +2891,7 @@
|
|
2891
2891
|
{
|
2892
2892
|
"disabled": false,
|
2893
2893
|
"document": "过滤条件\n注意: \n1. Filter.Name 只支持以下枚举值:\n InstanceId (资源组节点id)\n InstanceStatus (资源组节点状态)\n2. Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询\n3. 每次请求的Filters的上限为10,Filter.Values的上限为100",
|
2894
|
-
"example": "[]",
|
2894
|
+
"example": "[{Name: \"InstanceStatus\", Values: [\"RUNNING\"]}]",
|
2895
2895
|
"member": "Filter",
|
2896
2896
|
"name": "Filters",
|
2897
2897
|
"required": false,
|
@@ -5123,7 +5123,7 @@
|
|
5123
5123
|
{
|
5124
5124
|
"disabled": false,
|
5125
5125
|
"document": "计费项特性列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
5126
|
-
"example": "[]",
|
5126
|
+
"example": "[\"COS\",\"CBS\",\"RDMA\",\"CFS\"]",
|
5127
5127
|
"member": "string",
|
5128
5128
|
"name": "SpecFeatures",
|
5129
5129
|
"output_required": false,
|
@@ -5143,7 +5143,7 @@
|
|
5143
5143
|
{
|
5144
5144
|
"disabled": false,
|
5145
5145
|
"document": "部署失败错误码\n注意:此字段可能返回 null,表示取不到有效值。",
|
5146
|
-
"example": "
|
5146
|
+
"example": "RegisterJobNetworkError",
|
5147
5147
|
"member": "string",
|
5148
5148
|
"name": "ErrCode",
|
5149
5149
|
"output_required": false,
|
@@ -5153,7 +5153,7 @@
|
|
5153
5153
|
{
|
5154
5154
|
"disabled": false,
|
5155
5155
|
"document": "部署失败错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
5156
|
-
"example": "
|
5156
|
+
"example": "registernode job noderegister-ins-fczfco95 network connect failed",
|
5157
5157
|
"member": "string",
|
5158
5158
|
"name": "ErrMsg",
|
5159
5159
|
"output_required": false,
|
@@ -99,8 +99,8 @@
|
|
99
99
|
"DescribeBillingResourceGroup": [
|
100
100
|
{
|
101
101
|
"document": "",
|
102
|
-
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingResourceGroup\n<公共请求参数>\n\n{\n \"ResourceGroupId\": \"
|
103
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
102
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingResourceGroup\n<公共请求参数>\n\n{\n \"ResourceGroupId\": \"ersg-9hw7jfk6\",\n \"Filters\": [\n {\n \"Name\": \"InstanceStatus\",\n \"Values\": [\n \"RUNNING\"\n ],\n \"Negative\": true,\n \"Fuzzy\": true\n }\n ],\n \"Offset\": 1,\n \"Limit\": 1,\n \"Order\": \"ASC\",\n \"OrderField\": \"CreateTime\"\n}",
|
103
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"InstanceSet\": [\n {\n \"InstanceId\": \"sm-8r7jbnsz\",\n \"UsedResource\": {\n \"Cpu\": 78200,\n \"Memory\": 349696,\n \"Gpu\": 400,\n \"GpuType\": \"4090D\",\n \"RealGpu\": 0,\n \"RealGpuDetailSet\": []\n },\n \"TotalResource\": {\n \"Cpu\": 78200,\n \"Memory\": 349780,\n \"Gpu\": 400,\n \"GpuType\": \"4090D\",\n \"RealGpu\": 0,\n \"RealGpuDetailSet\": []\n },\n \"InstanceStatus\": \"RUNNING\",\n \"SubUin\": \"100023251204\",\n \"CreateTime\": \"2024-12-19 15:36:44\",\n \"ExpireTime\": \"\",\n \"AutoRenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"SpecId\": \"sv_tio_platform_cloud_post_gpu_80c368g_44090d_sw\",\n \"SpecAlias\": \"80核358GB 4090D*4\"\n }\n ],\n \"RequestId\": \"114e2564-3ce6-469c-b9c0-284a51247902\"\n }\n}",
|
104
104
|
"title": "查询资源组节点列表"
|
105
105
|
}
|
106
106
|
],
|
@@ -18438,7 +18438,7 @@
|
|
18438
18438
|
{
|
18439
18439
|
"disabled": false,
|
18440
18440
|
"document": "保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18441
|
-
"example": "
|
18441
|
+
"example": "true",
|
18442
18442
|
"member": "string",
|
18443
18443
|
"name": "KeepImageLogin",
|
18444
18444
|
"output_required": false,
|
@@ -69,6 +69,58 @@ def doDescribeMQTTMessageList(args, parsed_globals):
|
|
69
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
70
|
|
71
71
|
|
72
|
+
def doDescribeMessageTrace(args, parsed_globals):
|
73
|
+
g_param = parse_global_arg(parsed_globals)
|
74
|
+
|
75
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
76
|
+
cred = credential.CVMRoleCredential()
|
77
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
78
|
+
cred = credential.STSAssumeRoleCredential(
|
79
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
80
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
81
|
+
)
|
82
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
83
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
84
|
+
else:
|
85
|
+
cred = credential.Credential(
|
86
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
87
|
+
)
|
88
|
+
http_profile = HttpProfile(
|
89
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
90
|
+
reqMethod="POST",
|
91
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
92
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
93
|
+
)
|
94
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
95
|
+
if g_param[OptionsDefine.Language]:
|
96
|
+
profile.language = g_param[OptionsDefine.Language]
|
97
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
98
|
+
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
99
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
100
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
101
|
+
model = models.DescribeMessageTraceRequest()
|
102
|
+
model.from_json_string(json.dumps(args))
|
103
|
+
start_time = time.time()
|
104
|
+
while True:
|
105
|
+
rsp = client.DescribeMessageTrace(model)
|
106
|
+
result = rsp.to_json_string()
|
107
|
+
try:
|
108
|
+
json_obj = json.loads(result)
|
109
|
+
except TypeError as e:
|
110
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
111
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
112
|
+
break
|
113
|
+
cur_time = time.time()
|
114
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
115
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
116
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
117
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
118
|
+
else:
|
119
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
120
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
121
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
122
|
+
|
123
|
+
|
72
124
|
def doModifyTopic(args, parsed_globals):
|
73
125
|
g_param = parse_global_arg(parsed_globals)
|
74
126
|
|
@@ -2577,6 +2629,7 @@ MODELS_MAP = {
|
|
2577
2629
|
|
2578
2630
|
ACTION_MAP = {
|
2579
2631
|
"DescribeMQTTMessageList": doDescribeMQTTMessageList,
|
2632
|
+
"DescribeMessageTrace": doDescribeMessageTrace,
|
2580
2633
|
"ModifyTopic": doModifyTopic,
|
2581
2634
|
"ModifyMQTTTopic": doModifyMQTTTopic,
|
2582
2635
|
"DeleteMQTTUser": doDeleteMQTTUser,
|