tccli 3.0.1173.1__py2.py3-none-any.whl → 3.0.1175.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/asr/v20190614/api.json +2 -2
- tccli/services/ccc/v20200210/api.json +9 -0
- tccli/services/cdwdoris/cdwdoris_client.py +57 -4
- tccli/services/cdwdoris/v20211228/api.json +90 -0
- tccli/services/cdwdoris/v20211228/examples.json +8 -0
- tccli/services/cfg/v20210820/api.json +25 -0
- tccli/services/cls/v20201016/api.json +148 -16
- tccli/services/cls/v20201016/examples.json +5 -5
- tccli/services/cwp/v20180228/api.json +41 -14
- tccli/services/dbbrain/v20210527/api.json +116 -1
- tccli/services/dbbrain/v20210527/examples.json +1 -1
- tccli/services/eb/v20210416/api.json +1 -0
- tccli/services/ess/v20201111/api.json +10 -0
- tccli/services/ess/v20201111/examples.json +2 -2
- tccli/services/facefusion/v20181201/api.json +15 -21
- tccli/services/facefusion/v20220927/api.json +17 -21
- tccli/services/faceid/v20180301/api.json +20 -2
- tccli/services/faceid/v20180301/examples.json +7 -1
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/ims/v20201229/api.json +2 -2
- tccli/services/iotexplorer/v20190423/api.json +20 -10
- tccli/services/lighthouse/v20200324/api.json +18 -0
- tccli/services/lke/v20231130/api.json +9 -0
- tccli/services/mps/v20190612/api.json +47 -5
- tccli/services/ms/v20180408/api.json +46 -46
- tccli/services/ocr/ocr_client.py +413 -307
- tccli/services/ocr/v20181119/api.json +166 -4
- tccli/services/ocr/v20181119/examples.json +16 -0
- tccli/services/sqlserver/sqlserver_client.py +53 -0
- tccli/services/sqlserver/v20180328/api.json +108 -9
- tccli/services/sqlserver/v20180328/examples.json +8 -0
- tccli/services/tdmq/v20200217/api.json +25 -6
- tccli/services/tiia/tiia_client.py +4 -57
- tccli/services/tiia/v20190529/api.json +0 -296
- tccli/services/tiia/v20190529/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/vod/v20180717/api.json +62 -5
- tccli/services/vod/v20180717/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +93 -0
- {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/RECORD +45 -45
- {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/license_files/LICENSE +0 -0
@@ -121,7 +121,7 @@ def doDescribeImages(args, parsed_globals):
|
|
121
121
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
122
122
|
|
123
123
|
|
124
|
-
def
|
124
|
+
def doDetectPet(args, parsed_globals):
|
125
125
|
g_param = parse_global_arg(parsed_globals)
|
126
126
|
|
127
127
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -150,11 +150,11 @@ def doDetectProductBeta(args, parsed_globals):
|
|
150
150
|
client = mod.TiiaClient(cred, g_param[OptionsDefine.Region], profile)
|
151
151
|
client._sdkVersion += ("_CLI_" + __version__)
|
152
152
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
153
|
-
model = models.
|
153
|
+
model = models.DetectPetRequest()
|
154
154
|
model.from_json_string(json.dumps(args))
|
155
155
|
start_time = time.time()
|
156
156
|
while True:
|
157
|
-
rsp = client.
|
157
|
+
rsp = client.DetectPet(model)
|
158
158
|
result = rsp.to_json_string()
|
159
159
|
try:
|
160
160
|
json_obj = json.loads(result)
|
@@ -1161,58 +1161,6 @@ def doUpdateImage(args, parsed_globals):
|
|
1161
1161
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1162
1162
|
|
1163
1163
|
|
1164
|
-
def doDetectPet(args, parsed_globals):
|
1165
|
-
g_param = parse_global_arg(parsed_globals)
|
1166
|
-
|
1167
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1168
|
-
cred = credential.CVMRoleCredential()
|
1169
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1170
|
-
cred = credential.STSAssumeRoleCredential(
|
1171
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1172
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1173
|
-
)
|
1174
|
-
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):
|
1175
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1176
|
-
else:
|
1177
|
-
cred = credential.Credential(
|
1178
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1179
|
-
)
|
1180
|
-
http_profile = HttpProfile(
|
1181
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1182
|
-
reqMethod="POST",
|
1183
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
1184
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1185
|
-
)
|
1186
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1187
|
-
if g_param[OptionsDefine.Language]:
|
1188
|
-
profile.language = g_param[OptionsDefine.Language]
|
1189
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1190
|
-
client = mod.TiiaClient(cred, g_param[OptionsDefine.Region], profile)
|
1191
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
1192
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1193
|
-
model = models.DetectPetRequest()
|
1194
|
-
model.from_json_string(json.dumps(args))
|
1195
|
-
start_time = time.time()
|
1196
|
-
while True:
|
1197
|
-
rsp = client.DetectPet(model)
|
1198
|
-
result = rsp.to_json_string()
|
1199
|
-
try:
|
1200
|
-
json_obj = json.loads(result)
|
1201
|
-
except TypeError as e:
|
1202
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1203
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1204
|
-
break
|
1205
|
-
cur_time = time.time()
|
1206
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1207
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1208
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1209
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1210
|
-
else:
|
1211
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1212
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1213
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1214
|
-
|
1215
|
-
|
1216
1164
|
CLIENT_MAP = {
|
1217
1165
|
"v20190529": tiia_client_v20190529,
|
1218
1166
|
|
@@ -1226,7 +1174,7 @@ MODELS_MAP = {
|
|
1226
1174
|
ACTION_MAP = {
|
1227
1175
|
"DetectEnvelope": doDetectEnvelope,
|
1228
1176
|
"DescribeImages": doDescribeImages,
|
1229
|
-
"
|
1177
|
+
"DetectPet": doDetectPet,
|
1230
1178
|
"CreateGroup": doCreateGroup,
|
1231
1179
|
"DetectLabel": doDetectLabel,
|
1232
1180
|
"DetectChefDress": doDetectChefDress,
|
@@ -1246,7 +1194,6 @@ ACTION_MAP = {
|
|
1246
1194
|
"DetectLabelBeta": doDetectLabelBeta,
|
1247
1195
|
"SearchImage": doSearchImage,
|
1248
1196
|
"UpdateImage": doUpdateImage,
|
1249
|
-
"DetectPet": doDetectPet,
|
1250
1197
|
|
1251
1198
|
}
|
1252
1199
|
|
@@ -112,13 +112,6 @@
|
|
112
112
|
"output": "DetectProductResponse",
|
113
113
|
"status": "online"
|
114
114
|
},
|
115
|
-
"DetectProductBeta": {
|
116
|
-
"document": "产品不再维护,准备下线。\n\n商品识别-微信识物版,基于人工智能技术、海量训练图片、亿级商品库,可以实现全覆盖、细粒度、高准确率的商品识别和商品推荐功能。\n本服务可以识别出图片中的主体位置、主体商品类型,覆盖亿级SKU,输出具体商品的价格、型号等详细信息。\n客户无需自建商品库,即可快速实现商品识别、拍照搜商品等功能。\n>? \n- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。",
|
117
|
-
"input": "DetectProductBetaRequest",
|
118
|
-
"name": "商品识别-微信识物版",
|
119
|
-
"output": "DetectProductBetaResponse",
|
120
|
-
"status": "deprecated"
|
121
|
-
},
|
122
115
|
"DetectSecurity": {
|
123
116
|
"document": "安全属性识别可对图片中人体安全防护属性进行识别,支持识别安全帽,反光衣,护目镜,工服,手套,工地安全带,口罩,抽烟,玩手机等多种属性。\n\"被优选过滤\"标签值在人体优选开关开启时才会返回。\n\n|序号 | 标签名称 | 标签值 |\n| :-----| :---------- |:----------------- |\n| 1 | 安全帽识别<div style=\"width: 70pt\"> |无安全帽、有安全帽、被优选过滤|\n| 2 | 玩手机识别<div style=\"width: 70pt\"> |没有电话、打电话、玩手机、被优选过滤|\n| 3 | 抽烟识别<div style=\"width: 70pt\"> |没有抽烟、抽烟、被优选过滤\t|\n| 4 | 口罩识别<div style=\"width: 70pt\"> |无口罩、有口罩、口罩不确定、被优选过滤|\n| 5 | 工地安全带识别<div style=\"width: 70pt\"> |无工地安全带、工地安全带、被优选过滤\t|\n| 6 | 手套识别<div style=\"width: 70pt\"> |无手套、有手套、手套不确定、被优选过滤\t|\n| 7 | 工服识别<div style=\"width: 70pt\"> |无工服、有工服、被优选过滤|\n| 8 | 护目镜识别<div style=\"width: 70pt\"> |无护目镜、有护目镜、被优选过滤|\n| 9 | 反光衣识别<div style=\"width: 70pt\"> |无反光衣、有反光衣、被优选过滤|",
|
124
117
|
"input": "DetectSecurityRequest",
|
@@ -1729,81 +1722,6 @@
|
|
1729
1722
|
],
|
1730
1723
|
"type": "object"
|
1731
1724
|
},
|
1732
|
-
"DetectProductBetaRequest": {
|
1733
|
-
"document": "DetectProductBeta请求参数结构体",
|
1734
|
-
"members": [
|
1735
|
-
{
|
1736
|
-
"disabled": false,
|
1737
|
-
"document": "图片限制:内测版仅支持jpg、jpeg,图片大小不超过1M,分辨率在25万到100万之间。 \n建议先对图片进行压缩,以便提升处理速度。",
|
1738
|
-
"example": "https://test.jpg",
|
1739
|
-
"member": "string",
|
1740
|
-
"name": "ImageUrl",
|
1741
|
-
"required": false,
|
1742
|
-
"type": "string"
|
1743
|
-
},
|
1744
|
-
{
|
1745
|
-
"disabled": false,
|
1746
|
-
"document": "图片经过base64编码的内容。最大不超过1M,分辨率在25万到100万之间。 \n与ImageUrl同时存在时优先使用ImageUrl字段。",
|
1747
|
-
"example": "base64",
|
1748
|
-
"member": "string",
|
1749
|
-
"name": "ImageBase64",
|
1750
|
-
"required": false,
|
1751
|
-
"type": "string"
|
1752
|
-
},
|
1753
|
-
{
|
1754
|
-
"disabled": false,
|
1755
|
-
"document": "是否需要百科信息 1:是,0: 否,默认是0",
|
1756
|
-
"example": "1",
|
1757
|
-
"member": "int64",
|
1758
|
-
"name": "NeedLemma",
|
1759
|
-
"required": false,
|
1760
|
-
"type": "int"
|
1761
|
-
}
|
1762
|
-
],
|
1763
|
-
"type": "object"
|
1764
|
-
},
|
1765
|
-
"DetectProductBetaResponse": {
|
1766
|
-
"document": "DetectProductBeta返回参数结构体",
|
1767
|
-
"members": [
|
1768
|
-
{
|
1769
|
-
"disabled": false,
|
1770
|
-
"document": "检测到的图片中的商品位置和品类预测。 \n当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。 \n最多可以输出__3组__检测结果。",
|
1771
|
-
"example": "无",
|
1772
|
-
"member": "RegionDetected",
|
1773
|
-
"name": "RegionDetected",
|
1774
|
-
"required": true,
|
1775
|
-
"type": "list",
|
1776
|
-
"value_allowed_null": false
|
1777
|
-
},
|
1778
|
-
{
|
1779
|
-
"disabled": false,
|
1780
|
-
"document": "图像识别出的商品的详细信息。 \n当图像中检测到多个物品时,会对显著性最高的进行识别。",
|
1781
|
-
"example": "无",
|
1782
|
-
"member": "ProductInfo",
|
1783
|
-
"name": "ProductInfo",
|
1784
|
-
"required": true,
|
1785
|
-
"type": "object",
|
1786
|
-
"value_allowed_null": false
|
1787
|
-
},
|
1788
|
-
{
|
1789
|
-
"disabled": false,
|
1790
|
-
"document": "相似商品信息列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
1791
|
-
"example": "[]",
|
1792
|
-
"member": "ProductInfo",
|
1793
|
-
"name": "ProductInfoList",
|
1794
|
-
"required": true,
|
1795
|
-
"type": "list",
|
1796
|
-
"value_allowed_null": true
|
1797
|
-
},
|
1798
|
-
{
|
1799
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1800
|
-
"member": "string",
|
1801
|
-
"name": "RequestId",
|
1802
|
-
"type": "string"
|
1803
|
-
}
|
1804
|
-
],
|
1805
|
-
"type": "object"
|
1806
|
-
},
|
1807
1725
|
"DetectProductRequest": {
|
1808
1726
|
"document": "DetectProduct请求参数结构体",
|
1809
1727
|
"members": [
|
@@ -2183,88 +2101,6 @@
|
|
2183
2101
|
],
|
2184
2102
|
"usage": "out"
|
2185
2103
|
},
|
2186
|
-
"LemmaInfo": {
|
2187
|
-
"document": "百科词条信息",
|
2188
|
-
"members": [
|
2189
|
-
{
|
2190
|
-
"disabled": false,
|
2191
|
-
"document": "词条\n注意:此字段可能返回 null,表示取不到有效值。",
|
2192
|
-
"example": "string",
|
2193
|
-
"member": "string",
|
2194
|
-
"name": "LemmaTitle",
|
2195
|
-
"required": true,
|
2196
|
-
"type": "string",
|
2197
|
-
"value_allowed_null": true
|
2198
|
-
},
|
2199
|
-
{
|
2200
|
-
"disabled": false,
|
2201
|
-
"document": "词条描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
2202
|
-
"example": "string",
|
2203
|
-
"member": "string",
|
2204
|
-
"name": "LemmaAbstract",
|
2205
|
-
"required": true,
|
2206
|
-
"type": "string",
|
2207
|
-
"value_allowed_null": true
|
2208
|
-
},
|
2209
|
-
{
|
2210
|
-
"disabled": false,
|
2211
|
-
"document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
2212
|
-
"example": "string",
|
2213
|
-
"member": "string",
|
2214
|
-
"name": "Tag",
|
2215
|
-
"required": true,
|
2216
|
-
"type": "string",
|
2217
|
-
"value_allowed_null": true
|
2218
|
-
}
|
2219
|
-
],
|
2220
|
-
"usage": "out"
|
2221
|
-
},
|
2222
|
-
"Location": {
|
2223
|
-
"document": "检测到的主体在图片中的矩形框位置(四个顶点坐标)",
|
2224
|
-
"members": [
|
2225
|
-
{
|
2226
|
-
"disabled": false,
|
2227
|
-
"document": "位置矩形框的左上角横坐标",
|
2228
|
-
"example": "",
|
2229
|
-
"member": "int64",
|
2230
|
-
"name": "XMin",
|
2231
|
-
"required": true,
|
2232
|
-
"type": "int",
|
2233
|
-
"value_allowed_null": false
|
2234
|
-
},
|
2235
|
-
{
|
2236
|
-
"disabled": false,
|
2237
|
-
"document": "位置矩形框的左上角纵坐标",
|
2238
|
-
"example": "",
|
2239
|
-
"member": "int64",
|
2240
|
-
"name": "YMin",
|
2241
|
-
"required": true,
|
2242
|
-
"type": "int",
|
2243
|
-
"value_allowed_null": false
|
2244
|
-
},
|
2245
|
-
{
|
2246
|
-
"disabled": false,
|
2247
|
-
"document": "位置矩形框的右下角横坐标",
|
2248
|
-
"example": "",
|
2249
|
-
"member": "int64",
|
2250
|
-
"name": "XMax",
|
2251
|
-
"required": true,
|
2252
|
-
"type": "int",
|
2253
|
-
"value_allowed_null": false
|
2254
|
-
},
|
2255
|
-
{
|
2256
|
-
"disabled": false,
|
2257
|
-
"document": "位置矩形框的右下角纵坐标",
|
2258
|
-
"example": "",
|
2259
|
-
"member": "int64",
|
2260
|
-
"name": "YMax",
|
2261
|
-
"required": true,
|
2262
|
-
"type": "int",
|
2263
|
-
"value_allowed_null": false
|
2264
|
-
}
|
2265
|
-
],
|
2266
|
-
"usage": "out"
|
2267
|
-
},
|
2268
2104
|
"ObjectInfo": {
|
2269
2105
|
"document": "图像的主体信息。",
|
2270
2106
|
"members": [
|
@@ -2433,102 +2269,6 @@
|
|
2433
2269
|
],
|
2434
2270
|
"usage": "out"
|
2435
2271
|
},
|
2436
|
-
"ProductInfo": {
|
2437
|
-
"document": "图像识别出的商品的详细信息。 \n当图像中检测到多个物品时,会对显著性最高的物品进行识别。",
|
2438
|
-
"members": [
|
2439
|
-
{
|
2440
|
-
"disabled": false,
|
2441
|
-
"document": "1表示找到同款商品,以下字段为同款商品信息; \n0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目和参考图片(商品库中找到的最相似图片,供参考)。 \n是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。",
|
2442
|
-
"example": "1",
|
2443
|
-
"member": "int64",
|
2444
|
-
"name": "FindSKU",
|
2445
|
-
"required": true,
|
2446
|
-
"type": "int",
|
2447
|
-
"value_allowed_null": false
|
2448
|
-
},
|
2449
|
-
{
|
2450
|
-
"disabled": false,
|
2451
|
-
"document": "本商品在图片中的坐标,表示为矩形框的四个顶点坐标。",
|
2452
|
-
"example": "{}",
|
2453
|
-
"member": "Location",
|
2454
|
-
"name": "Location",
|
2455
|
-
"required": true,
|
2456
|
-
"type": "object",
|
2457
|
-
"value_allowed_null": false
|
2458
|
-
},
|
2459
|
-
{
|
2460
|
-
"disabled": false,
|
2461
|
-
"document": "商品名称",
|
2462
|
-
"example": "string",
|
2463
|
-
"member": "string",
|
2464
|
-
"name": "Name",
|
2465
|
-
"required": true,
|
2466
|
-
"type": "string",
|
2467
|
-
"value_allowed_null": false
|
2468
|
-
},
|
2469
|
-
{
|
2470
|
-
"disabled": false,
|
2471
|
-
"document": "商品品牌",
|
2472
|
-
"example": "string",
|
2473
|
-
"member": "string",
|
2474
|
-
"name": "Brand",
|
2475
|
-
"required": true,
|
2476
|
-
"type": "string",
|
2477
|
-
"value_allowed_null": false
|
2478
|
-
},
|
2479
|
-
{
|
2480
|
-
"disabled": false,
|
2481
|
-
"document": "参考价格,综合多个信息源,仅供参考。",
|
2482
|
-
"example": "string",
|
2483
|
-
"member": "string",
|
2484
|
-
"name": "Price",
|
2485
|
-
"required": true,
|
2486
|
-
"type": "string",
|
2487
|
-
"value_allowed_null": false
|
2488
|
-
},
|
2489
|
-
{
|
2490
|
-
"disabled": false,
|
2491
|
-
"document": "识别结果的商品类目。 \n包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。 \n当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。",
|
2492
|
-
"example": "string",
|
2493
|
-
"member": "string",
|
2494
|
-
"name": "ProductCategory",
|
2495
|
-
"required": true,
|
2496
|
-
"type": "string",
|
2497
|
-
"value_allowed_null": false
|
2498
|
-
},
|
2499
|
-
{
|
2500
|
-
"disabled": false,
|
2501
|
-
"document": "输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。",
|
2502
|
-
"example": "1",
|
2503
|
-
"member": "float",
|
2504
|
-
"name": "Score",
|
2505
|
-
"required": true,
|
2506
|
-
"type": "float",
|
2507
|
-
"value_allowed_null": false
|
2508
|
-
},
|
2509
|
-
{
|
2510
|
-
"disabled": false,
|
2511
|
-
"document": "搜索到的商品配图URL。",
|
2512
|
-
"example": "string",
|
2513
|
-
"member": "string",
|
2514
|
-
"name": "Image",
|
2515
|
-
"required": true,
|
2516
|
-
"type": "string",
|
2517
|
-
"value_allowed_null": false
|
2518
|
-
},
|
2519
|
-
{
|
2520
|
-
"disabled": false,
|
2521
|
-
"document": "百科词条列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
2522
|
-
"example": "[]",
|
2523
|
-
"member": "LemmaInfo",
|
2524
|
-
"name": "LemmaInfoList",
|
2525
|
-
"required": true,
|
2526
|
-
"type": "list",
|
2527
|
-
"value_allowed_null": true
|
2528
|
-
}
|
2529
|
-
],
|
2530
|
-
"usage": "out"
|
2531
|
-
},
|
2532
2272
|
"RecognizeCarProRequest": {
|
2533
2273
|
"document": "RecognizeCarPro请求参数结构体",
|
2534
2274
|
"members": [
|
@@ -2685,42 +2425,6 @@
|
|
2685
2425
|
],
|
2686
2426
|
"usage": "out"
|
2687
2427
|
},
|
2688
|
-
"RegionDetected": {
|
2689
|
-
"document": "检测到的图片中的商品位置和品类预测。 \n当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。 \n最多可以输出__3组__检测结果。",
|
2690
|
-
"members": [
|
2691
|
-
{
|
2692
|
-
"disabled": false,
|
2693
|
-
"document": "商品的品类预测结果。 \n包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。",
|
2694
|
-
"example": "",
|
2695
|
-
"member": "string",
|
2696
|
-
"name": "Category",
|
2697
|
-
"required": true,
|
2698
|
-
"type": "string",
|
2699
|
-
"value_allowed_null": false
|
2700
|
-
},
|
2701
|
-
{
|
2702
|
-
"disabled": false,
|
2703
|
-
"document": "商品品类预测的置信度",
|
2704
|
-
"example": "",
|
2705
|
-
"member": "float",
|
2706
|
-
"name": "CategoryScore",
|
2707
|
-
"required": true,
|
2708
|
-
"type": "float",
|
2709
|
-
"value_allowed_null": false
|
2710
|
-
},
|
2711
|
-
{
|
2712
|
-
"disabled": false,
|
2713
|
-
"document": "检测到的主体在图片中的坐标,表示为矩形框的四个顶点坐标",
|
2714
|
-
"example": "",
|
2715
|
-
"member": "Location",
|
2716
|
-
"name": "Location",
|
2717
|
-
"required": true,
|
2718
|
-
"type": "object",
|
2719
|
-
"value_allowed_null": false
|
2720
|
-
}
|
2721
|
-
],
|
2722
|
-
"usage": "out"
|
2723
|
-
},
|
2724
2428
|
"SearchImageRequest": {
|
2725
2429
|
"document": "SearchImage请求参数结构体",
|
2726
2430
|
"members": [
|
@@ -182,14 +182,6 @@
|
|
182
182
|
"title": "商品识别检测请求成功"
|
183
183
|
}
|
184
184
|
],
|
185
|
-
"DetectProductBeta": [
|
186
|
-
{
|
187
|
-
"document": "",
|
188
|
-
"input": "POST / HTTP/1.1\nHost: tiia.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectProductBeta\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://test.jpg\"\n}",
|
189
|
-
"output": "{\n \"Response\": {\n \"RegionDetected\": [\n {\n \"Category\": \"家电数码\",\n \"CategoryScore\": 0.894864857197,\n \"Location\": {\n \"XMin\": 175,\n \"YMin\": 12,\n \"XMax\": 401,\n \"YMax\": 376\n }\n }\n ],\n \"ProductInfo\": {\n \"FindSKU\": 1,\n \"Location\": {\n \"XMin\": 175,\n \"YMin\": 12,\n \"XMax\": 401,\n \"YMax\": 376\n },\n \"Name\": \"手机\",\n \"Brand\": \"iphone\",\n \"Price\": \"¥7299\",\n \"ProductCategory\": \"家电数码\",\n \"Score\": 0.544267654419,\n \"Image\": \"https://wxamusic.wx.qq.com/wxasr/getminipic/MAnWZ-KslXfAMK4k0dIDv4lfYZQsAPG8r4MKYPL3fI1yDgRjXI68eyE2krz6ku0j?media-id=MAnWZ-KslXfAMK4k0dIDv4lfYZQsAPG8r4MKYPL3fI1yDgRjXI68eyE2krz6ku0j&appid=wx91d27dbf599dff74\",\n \"LemmaInfoList\": []\n },\n \"ProductInfoList\": [\n {\n \"FindSKU\": 1,\n \"Location\": {\n \"XMin\": 175,\n \"YMin\": 12,\n \"XMax\": 401,\n \"YMax\": 376\n },\n \"Name\": \"手机\",\n \"Brand\": \"iphone\",\n \"Price\": \"¥7299\",\n \"ProductCategory\": \"家电数码\",\n \"Score\": 0.544267654419,\n \"Image\": \"https://wxamusic.wx.qq.com/wxasr/getminipic/MAnWZ-KslXfAMK4k0dIDv4lfYZQsAPG8r4MKYPL3fI1yDgRjXI68eyE2krz6ku0j?media-id=MAnWZ-KslXfAMK4k0dIDv4lfYZQsAPG8r4MKYPL3fI1yDgRjXI68eyE2krz6ku0j&appid=wx91d27dbf599dff74\",\n \"LemmaInfoList\": []\n }\n ],\n \"RequestId\": \"2054720d-0c93-4028-9843-8fb9114ce2e2\"\n }\n}",
|
190
|
-
"title": "商品识别-微信识物版接口调用成功"
|
191
|
-
}
|
192
|
-
],
|
193
185
|
"DetectSecurity": [
|
194
186
|
{
|
195
187
|
"document": "安全属性识别请求失败",
|
@@ -98,7 +98,7 @@
|
|
98
98
|
},
|
99
99
|
{
|
100
100
|
"disabled": false,
|
101
|
-
"document": "需要翻译文件url
|
101
|
+
"document": "需要翻译文件url,长度不超过256字符。文件限制如下:docx/xIsx/html/markdown文件不超过800万字符,doc/pdf/pptx文件不超过300页,txt/po文件不超过10MB,pdf/docx/pptx/xlsx不超过40MB",
|
102
102
|
"example": "http://test.com",
|
103
103
|
"member": "string",
|
104
104
|
"name": "Url",
|
@@ -15390,7 +15390,7 @@
|
|
15390
15390
|
},
|
15391
15391
|
{
|
15392
15392
|
"disabled": false,
|
15393
|
-
"document": "
|
15393
|
+
"document": "过滤条件:轮播播单标识,数组长度限制:100。",
|
15394
15394
|
"example": "[\"1234\"]",
|
15395
15395
|
"member": "string",
|
15396
15396
|
"name": "RoundPlayIds",
|
@@ -15399,7 +15399,43 @@
|
|
15399
15399
|
},
|
15400
15400
|
{
|
15401
15401
|
"disabled": false,
|
15402
|
-
"document": "
|
15402
|
+
"document": "过滤条件,轮播播单状态,可选值: <li>Enabled:启动状态;</li> <li>Disabled:停止状态。</li>",
|
15403
|
+
"example": "Enabled",
|
15404
|
+
"member": "string",
|
15405
|
+
"name": "Status",
|
15406
|
+
"required": false,
|
15407
|
+
"type": "string"
|
15408
|
+
},
|
15409
|
+
{
|
15410
|
+
"disabled": false,
|
15411
|
+
"document": "过滤条件:轮播播单创建时间。",
|
15412
|
+
"example": "1",
|
15413
|
+
"member": "TimeRange",
|
15414
|
+
"name": "CreateTime",
|
15415
|
+
"required": false,
|
15416
|
+
"type": "object"
|
15417
|
+
},
|
15418
|
+
{
|
15419
|
+
"disabled": false,
|
15420
|
+
"document": "过滤条件:轮播播单更新时间。",
|
15421
|
+
"example": "无",
|
15422
|
+
"member": "TimeRange",
|
15423
|
+
"name": "UpdateTime",
|
15424
|
+
"required": false,
|
15425
|
+
"type": "object"
|
15426
|
+
},
|
15427
|
+
{
|
15428
|
+
"disabled": false,
|
15429
|
+
"document": "翻页标识,分批拉取时使用:当单次请求无法拉取所有数据,接口将会返回 ScrollToken,下一次请求携带该 Token,将会从下一条记录开始获取。",
|
15430
|
+
"example": "无",
|
15431
|
+
"member": "string",
|
15432
|
+
"name": "ScrollToken",
|
15433
|
+
"required": false,
|
15434
|
+
"type": "string"
|
15435
|
+
},
|
15436
|
+
{
|
15437
|
+
"disabled": false,
|
15438
|
+
"document": "分页偏移量,默认值:0。已经废弃,请根据 ScrollToken 参数进行分批次查询。",
|
15403
15439
|
"example": "0",
|
15404
15440
|
"member": "int64",
|
15405
15441
|
"name": "Offset",
|
@@ -15423,7 +15459,7 @@
|
|
15423
15459
|
"members": [
|
15424
15460
|
{
|
15425
15461
|
"disabled": false,
|
15426
|
-
"document": "
|
15462
|
+
"document": "符合过滤条件的轮播播单总数。已经废弃,分批次查询请请使用 ScrollToken 参数。",
|
15427
15463
|
"example": "100",
|
15428
15464
|
"member": "int64",
|
15429
15465
|
"name": "TotalCount",
|
@@ -15441,6 +15477,16 @@
|
|
15441
15477
|
"type": "list",
|
15442
15478
|
"value_allowed_null": false
|
15443
15479
|
},
|
15480
|
+
{
|
15481
|
+
"disabled": false,
|
15482
|
+
"document": "翻页标识,当请求未返回所有数据,该字段表示下一条记录的 ID。当该字段为空,说明已无更多数据。",
|
15483
|
+
"example": "无",
|
15484
|
+
"member": "string",
|
15485
|
+
"name": "ScrollToken",
|
15486
|
+
"output_required": false,
|
15487
|
+
"type": "string",
|
15488
|
+
"value_allowed_null": false
|
15489
|
+
},
|
15444
15490
|
{
|
15445
15491
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
15446
15492
|
"member": "string",
|
@@ -25583,7 +25629,7 @@
|
|
25583
25629
|
},
|
25584
25630
|
{
|
25585
25631
|
"disabled": false,
|
25586
|
-
"document": "
|
25632
|
+
"document": "播放状态,可选值:<li>Disabled:停止播放。</li><li>Enabled:启播时长到达后启动播放。</li>",
|
25587
25633
|
"example": "Disabled",
|
25588
25634
|
"member": "string",
|
25589
25635
|
"name": "Status",
|
@@ -32981,7 +33027,7 @@
|
|
32981
33027
|
"usage": "out"
|
32982
33028
|
},
|
32983
33029
|
"RoundPlayListItemInfo": {
|
32984
|
-
"document": "
|
33030
|
+
"document": "轮播播放节目信息",
|
32985
33031
|
"members": [
|
32986
33032
|
{
|
32987
33033
|
"disabled": false,
|
@@ -33005,6 +33051,17 @@
|
|
33005
33051
|
"type": "string",
|
33006
33052
|
"value_allowed_null": false
|
33007
33053
|
},
|
33054
|
+
{
|
33055
|
+
"disabled": false,
|
33056
|
+
"document": "播放节目的 ID,由系统分配。",
|
33057
|
+
"example": "a01",
|
33058
|
+
"member": "string",
|
33059
|
+
"name": "ItemId",
|
33060
|
+
"output_required": true,
|
33061
|
+
"required": false,
|
33062
|
+
"type": "string",
|
33063
|
+
"value_allowed_null": false
|
33064
|
+
},
|
33008
33065
|
{
|
33009
33066
|
"disabled": false,
|
33010
33067
|
"document": "指定播放的转码模版,当 AudioVideoType 为 Transcode 时必须指定。",
|
@@ -946,7 +946,7 @@
|
|
946
946
|
{
|
947
947
|
"document": "获取所有轮播播单的播单列表、名称、描述等详细信息。",
|
948
948
|
"input": "POST / HTTP/1.1\nHost: vod.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoundPlays\n<公共请求参数>\n\n{}",
|
949
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"6xxxxe3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"RoundPlaySet\": [\n {\n \"Name\": \"Demo\",\n \"RoundPlayId\": \"bffb15f07530b57bc1aabb01fac74bca\",\n \"StartTime\": \"2022-06-01T00:00:00+08:00\",\n \"Desc\": \"Demo\",\n \"Url\": \"http://123.vod-qcloud.com/rplay/v1/xxxx/playlist.m3u8\",\n \"Status\": \"Enabled\",\n \"PlayBackMode\": \"Loop\",\n \"RoundPlaylist\": [\n {\n \"AudioVideoType\": \"Transcode\",\n \"Definition\": 100,\n \"FileId\": \"528xxx5487985271487\"\n }\n ]\n }\n ]\n }\n}",
|
949
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"6xxxxe3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"RoundPlaySet\": [\n {\n \"Name\": \"Demo\",\n \"RoundPlayId\": \"bffb15f07530b57bc1aabb01fac74bca\",\n \"StartTime\": \"2022-06-01T00:00:00+08:00\",\n \"Desc\": \"Demo\",\n \"Url\": \"http://123.vod-qcloud.com/rplay/v1/xxxx/playlist.m3u8\",\n \"Status\": \"Enabled\",\n \"PlayBackMode\": \"Loop\",\n \"RoundPlaylist\": [\n {\n \"ItemId\": \"a01\",\n \"AudioVideoType\": \"Transcode\",\n \"Definition\": 100,\n \"FileId\": \"528xxx5487985271487\"\n }\n ]\n }\n ]\n }\n}",
|
950
950
|
"title": "获取轮播播单列表"
|
951
951
|
}
|
952
952
|
],
|