tccli 3.0.1123.1__py2.py3-none-any.whl → 3.0.1124.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/aiart/v20221229/api.json +2 -2
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +89 -0
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +2 -2
- tccli/services/cfw/v20190904/api.json +6 -5
- tccli/services/cfw/v20190904/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +1 -0
- tccli/services/cynosdb/v20190107/api.json +43 -16
- tccli/services/cynosdb/v20190107/examples.json +2 -2
- tccli/services/dts/v20211206/api.json +9 -0
- tccli/services/facefusion/facefusion_client.py +53 -0
- tccli/services/facefusion/v20220927/api.json +168 -0
- tccli/services/facefusion/v20220927/examples.json +14 -0
- tccli/services/hunyuan/v20230901/api.json +15 -15
- tccli/services/hunyuan/v20230901/examples.json +5 -5
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +136 -0
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +22 -22
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rum/v20210622/api.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +41 -29
- tccli/services/tcss/v20201101/api.json +3 -2
- tccli/services/tcss/v20201101/examples.json +1 -1
- tccli/services/trp/trp_client.py +53 -0
- tccli/services/trp/v20210515/api.json +110 -0
- tccli/services/trp/v20210515/examples.json +8 -0
- tccli/services/vcg/v20240404/api.json +8 -8
- tccli/services/waf/v20180125/api.json +11 -1
- tccli/services/waf/v20180125/examples.json +2 -2
- tccli/services/wedata/v20210820/api.json +40 -7
- {tccli-3.0.1123.1.dist-info → tccli-3.0.1124.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1123.1.dist-info → tccli-3.0.1124.1.dist-info}/RECORD +40 -40
- {tccli-3.0.1123.1.dist-info → tccli-3.0.1124.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1123.1.dist-info → tccli-3.0.1124.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1123.1.dist-info → tccli-3.0.1124.1.dist-info}/license_files/LICENSE +0 -0
@@ -1040,8 +1040,7 @@
|
|
1040
1040
|
"member": "string",
|
1041
1041
|
"name": "UserName",
|
1042
1042
|
"required": true,
|
1043
|
-
"type": "string"
|
1044
|
-
"value_allowed_null": false
|
1043
|
+
"type": "string"
|
1045
1044
|
},
|
1046
1045
|
{
|
1047
1046
|
"disabled": false,
|
@@ -1049,9 +1048,8 @@
|
|
1049
1048
|
"example": "无",
|
1050
1049
|
"member": "string",
|
1051
1050
|
"name": "Password",
|
1052
|
-
"required":
|
1053
|
-
"type": "string"
|
1054
|
-
"value_allowed_null": false
|
1051
|
+
"required": false,
|
1052
|
+
"type": "string"
|
1055
1053
|
},
|
1056
1054
|
{
|
1057
1055
|
"disabled": false,
|
@@ -1060,8 +1058,7 @@
|
|
1060
1058
|
"member": "DBPrivilege",
|
1061
1059
|
"name": "DBPrivileges",
|
1062
1060
|
"required": false,
|
1063
|
-
"type": "list"
|
1064
|
-
"value_allowed_null": false
|
1061
|
+
"type": "list"
|
1065
1062
|
},
|
1066
1063
|
{
|
1067
1064
|
"disabled": false,
|
@@ -1070,18 +1067,16 @@
|
|
1070
1067
|
"member": "string",
|
1071
1068
|
"name": "Remark",
|
1072
1069
|
"required": false,
|
1073
|
-
"type": "string"
|
1074
|
-
"value_allowed_null": false
|
1070
|
+
"type": "string"
|
1075
1071
|
},
|
1076
1072
|
{
|
1077
1073
|
"disabled": false,
|
1078
|
-
"document": "是否为管理员账户,当值为true
|
1074
|
+
"document": "是否为管理员账户,当值为true 等价于单节点AccountType=L0,双节点AccountType=L1,当值为false,等价于AccountType=L3",
|
1079
1075
|
"example": "false",
|
1080
1076
|
"member": "bool",
|
1081
1077
|
"name": "IsAdmin",
|
1082
1078
|
"required": false,
|
1083
|
-
"type": "bool"
|
1084
|
-
"value_allowed_null": false
|
1079
|
+
"type": "bool"
|
1085
1080
|
},
|
1086
1081
|
{
|
1087
1082
|
"disabled": false,
|
@@ -1090,8 +1085,7 @@
|
|
1090
1085
|
"member": "string",
|
1091
1086
|
"name": "Authentication",
|
1092
1087
|
"required": false,
|
1093
|
-
"type": "string"
|
1094
|
-
"value_allowed_null": false
|
1088
|
+
"type": "string"
|
1095
1089
|
},
|
1096
1090
|
{
|
1097
1091
|
"disabled": false,
|
@@ -1100,14 +1094,22 @@
|
|
1100
1094
|
"member": "string",
|
1101
1095
|
"name": "AccountType",
|
1102
1096
|
"required": false,
|
1103
|
-
"type": "string"
|
1104
|
-
|
1097
|
+
"type": "string"
|
1098
|
+
},
|
1099
|
+
{
|
1100
|
+
"disabled": false,
|
1101
|
+
"document": "是否开启CAM验证",
|
1102
|
+
"example": "false",
|
1103
|
+
"member": "bool",
|
1104
|
+
"name": "IsCam",
|
1105
|
+
"required": false,
|
1106
|
+
"type": "bool"
|
1105
1107
|
}
|
1106
1108
|
],
|
1107
1109
|
"usage": "in"
|
1108
1110
|
},
|
1109
1111
|
"AccountDetail": {
|
1110
|
-
"document": "
|
1112
|
+
"document": "账号信息详情",
|
1111
1113
|
"members": [
|
1112
1114
|
{
|
1113
1115
|
"disabled": false,
|
@@ -1115,7 +1117,7 @@
|
|
1115
1117
|
"example": "ac1",
|
1116
1118
|
"member": "string",
|
1117
1119
|
"name": "Name",
|
1118
|
-
"
|
1120
|
+
"output_required": true,
|
1119
1121
|
"type": "string",
|
1120
1122
|
"value_allowed_null": false
|
1121
1123
|
},
|
@@ -1125,7 +1127,7 @@
|
|
1125
1127
|
"example": "无",
|
1126
1128
|
"member": "string",
|
1127
1129
|
"name": "Remark",
|
1128
|
-
"
|
1130
|
+
"output_required": true,
|
1129
1131
|
"type": "string",
|
1130
1132
|
"value_allowed_null": false
|
1131
1133
|
},
|
@@ -1135,7 +1137,7 @@
|
|
1135
1137
|
"example": "2020-04-09 00:00:00",
|
1136
1138
|
"member": "datetime",
|
1137
1139
|
"name": "CreateTime",
|
1138
|
-
"
|
1140
|
+
"output_required": true,
|
1139
1141
|
"type": "string",
|
1140
1142
|
"value_allowed_null": false
|
1141
1143
|
},
|
@@ -1145,7 +1147,7 @@
|
|
1145
1147
|
"example": "2",
|
1146
1148
|
"member": "int64",
|
1147
1149
|
"name": "Status",
|
1148
|
-
"
|
1150
|
+
"output_required": true,
|
1149
1151
|
"type": "int",
|
1150
1152
|
"value_allowed_null": false
|
1151
1153
|
},
|
@@ -1155,7 +1157,7 @@
|
|
1155
1157
|
"example": "2020-04-09 00:00:00",
|
1156
1158
|
"member": "datetime",
|
1157
1159
|
"name": "UpdateTime",
|
1158
|
-
"
|
1160
|
+
"output_required": true,
|
1159
1161
|
"type": "string",
|
1160
1162
|
"value_allowed_null": false
|
1161
1163
|
},
|
@@ -1165,7 +1167,7 @@
|
|
1165
1167
|
"example": "2020-04-09 00:00:00",
|
1166
1168
|
"member": "datetime",
|
1167
1169
|
"name": "PassTime",
|
1168
|
-
"
|
1170
|
+
"output_required": true,
|
1169
1171
|
"type": "string",
|
1170
1172
|
"value_allowed_null": false
|
1171
1173
|
},
|
@@ -1175,7 +1177,7 @@
|
|
1175
1177
|
"example": "enable",
|
1176
1178
|
"member": "string",
|
1177
1179
|
"name": "InternalStatus",
|
1178
|
-
"
|
1180
|
+
"output_required": true,
|
1179
1181
|
"type": "string",
|
1180
1182
|
"value_allowed_null": false
|
1181
1183
|
},
|
@@ -1185,7 +1187,7 @@
|
|
1185
1187
|
"example": "无",
|
1186
1188
|
"member": "DBPrivilege",
|
1187
1189
|
"name": "Dbs",
|
1188
|
-
"
|
1190
|
+
"output_required": true,
|
1189
1191
|
"type": "list",
|
1190
1192
|
"value_allowed_null": false
|
1191
1193
|
},
|
@@ -1195,7 +1197,17 @@
|
|
1195
1197
|
"example": "false",
|
1196
1198
|
"member": "bool",
|
1197
1199
|
"name": "IsAdmin",
|
1198
|
-
"
|
1200
|
+
"output_required": true,
|
1201
|
+
"type": "bool",
|
1202
|
+
"value_allowed_null": false
|
1203
|
+
},
|
1204
|
+
{
|
1205
|
+
"disabled": false,
|
1206
|
+
"document": "是否为cam托管账户",
|
1207
|
+
"example": "false",
|
1208
|
+
"member": "bool",
|
1209
|
+
"name": "IsCam",
|
1210
|
+
"output_required": false,
|
1199
1211
|
"type": "bool",
|
1200
1212
|
"value_allowed_null": false
|
1201
1213
|
},
|
@@ -1205,7 +1217,7 @@
|
|
1205
1217
|
"example": "win",
|
1206
1218
|
"member": "string",
|
1207
1219
|
"name": "Authentication",
|
1208
|
-
"
|
1220
|
+
"output_required": true,
|
1209
1221
|
"type": "string",
|
1210
1222
|
"value_allowed_null": false
|
1211
1223
|
},
|
@@ -1215,7 +1227,7 @@
|
|
1215
1227
|
"example": "172_8_9_12",
|
1216
1228
|
"member": "string",
|
1217
1229
|
"name": "Host",
|
1218
|
-
"
|
1230
|
+
"output_required": true,
|
1219
1231
|
"type": "string",
|
1220
1232
|
"value_allowed_null": false
|
1221
1233
|
},
|
@@ -1225,7 +1237,7 @@
|
|
1225
1237
|
"example": "L0",
|
1226
1238
|
"member": "string",
|
1227
1239
|
"name": "AccountType",
|
1228
|
-
"
|
1240
|
+
"output_required": true,
|
1229
1241
|
"type": "string",
|
1230
1242
|
"value_allowed_null": false
|
1231
1243
|
}
|
@@ -8783,7 +8783,7 @@
|
|
8783
8783
|
"example": "无",
|
8784
8784
|
"member": "string",
|
8785
8785
|
"name": "JobId",
|
8786
|
-
"
|
8786
|
+
"output_required": true,
|
8787
8787
|
"type": "string",
|
8788
8788
|
"value_allowed_null": false
|
8789
8789
|
},
|
@@ -12078,7 +12078,7 @@
|
|
12078
12078
|
"example": "无",
|
12079
12079
|
"member": "ABTestConfig",
|
12080
12080
|
"name": "Config",
|
12081
|
-
"
|
12081
|
+
"output_required": true,
|
12082
12082
|
"type": "list",
|
12083
12083
|
"value_allowed_null": false
|
12084
12084
|
},
|
@@ -25668,6 +25668,7 @@
|
|
25668
25668
|
"example": "无",
|
25669
25669
|
"member": "SecLogJoinInfo",
|
25670
25670
|
"name": "List",
|
25671
|
+
"output_required": true,
|
25671
25672
|
"type": "list",
|
25672
25673
|
"value_allowed_null": false
|
25673
25674
|
},
|
@@ -1958,7 +1958,7 @@
|
|
1958
1958
|
{
|
1959
1959
|
"document": "查询安全日志接入列表",
|
1960
1960
|
"input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecLogJoinTypeList\n<公共请求参数>\n\n{}",
|
1961
|
-
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"
|
1961
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"Count\": 1,\n \"SuperNodeCount\": 1,\n \"IsJoined\": true,\n \"LogType\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
1962
1962
|
"title": "查询安全日志接入列表"
|
1963
1963
|
}
|
1964
1964
|
],
|
tccli/services/trp/trp_client.py
CHANGED
@@ -537,6 +537,58 @@ def doDescribeCodesByPack(args, parsed_globals):
|
|
537
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
538
|
|
539
539
|
|
540
|
+
def doCreateChainBatch(args, parsed_globals):
|
541
|
+
g_param = parse_global_arg(parsed_globals)
|
542
|
+
|
543
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
544
|
+
cred = credential.CVMRoleCredential()
|
545
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
546
|
+
cred = credential.STSAssumeRoleCredential(
|
547
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
548
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
549
|
+
)
|
550
|
+
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):
|
551
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
552
|
+
else:
|
553
|
+
cred = credential.Credential(
|
554
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
555
|
+
)
|
556
|
+
http_profile = HttpProfile(
|
557
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
558
|
+
reqMethod="POST",
|
559
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
560
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
561
|
+
)
|
562
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
563
|
+
if g_param[OptionsDefine.Language]:
|
564
|
+
profile.language = g_param[OptionsDefine.Language]
|
565
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
566
|
+
client = mod.TrpClient(cred, g_param[OptionsDefine.Region], profile)
|
567
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
568
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
+
model = models.CreateChainBatchRequest()
|
570
|
+
model.from_json_string(json.dumps(args))
|
571
|
+
start_time = time.time()
|
572
|
+
while True:
|
573
|
+
rsp = client.CreateChainBatch(model)
|
574
|
+
result = rsp.to_json_string()
|
575
|
+
try:
|
576
|
+
json_obj = json.loads(result)
|
577
|
+
except TypeError as e:
|
578
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
579
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
580
|
+
break
|
581
|
+
cur_time = time.time()
|
582
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
583
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
584
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
585
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
586
|
+
else:
|
587
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
588
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
589
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
|
+
|
591
|
+
|
540
592
|
def doDescribeMerchantById(args, parsed_globals):
|
541
593
|
g_param = parse_global_arg(parsed_globals)
|
542
594
|
|
@@ -2794,6 +2846,7 @@ ACTION_MAP = {
|
|
2794
2846
|
"ModifyTraceDataRanks": doModifyTraceDataRanks,
|
2795
2847
|
"DescribePlanQRCodes": doDescribePlanQRCodes,
|
2796
2848
|
"DescribeCodesByPack": doDescribeCodesByPack,
|
2849
|
+
"CreateChainBatch": doCreateChainBatch,
|
2797
2850
|
"DescribeMerchantById": doDescribeMerchantById,
|
2798
2851
|
"CreateProduct": doCreateProduct,
|
2799
2852
|
"DescribeProducts": doDescribeProducts,
|
@@ -7,6 +7,13 @@
|
|
7
7
|
"output": "AuthorizedTransferResponse",
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
|
+
"CreateChainBatch": {
|
11
|
+
"document": "批量上链接口",
|
12
|
+
"input": "CreateChainBatchRequest",
|
13
|
+
"name": "通用批量上链接口",
|
14
|
+
"output": "CreateChainBatchResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
10
17
|
"CreateCodeBatch": {
|
11
18
|
"document": "新增批次",
|
12
19
|
"input": "CreateCodeBatchRequest",
|
@@ -501,6 +508,34 @@
|
|
501
508
|
],
|
502
509
|
"type": "object"
|
503
510
|
},
|
511
|
+
"Chain": {
|
512
|
+
"document": "上链数据",
|
513
|
+
"members": [
|
514
|
+
{
|
515
|
+
"disabled": false,
|
516
|
+
"document": "码url\n注意:此字段可能返回 null,表示取不到有效值。",
|
517
|
+
"example": "无",
|
518
|
+
"member": "string",
|
519
|
+
"name": "Code",
|
520
|
+
"output_required": false,
|
521
|
+
"required": true,
|
522
|
+
"type": "string",
|
523
|
+
"value_allowed_null": true
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"disabled": false,
|
527
|
+
"document": "上链数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
528
|
+
"example": "无",
|
529
|
+
"member": "ChainValue",
|
530
|
+
"name": "Data",
|
531
|
+
"output_required": false,
|
532
|
+
"required": true,
|
533
|
+
"type": "list",
|
534
|
+
"value_allowed_null": true
|
535
|
+
}
|
536
|
+
],
|
537
|
+
"usage": "both"
|
538
|
+
},
|
504
539
|
"ChainData": {
|
505
540
|
"document": "上链数据",
|
506
541
|
"members": [
|
@@ -537,6 +572,45 @@
|
|
537
572
|
],
|
538
573
|
"usage": "both"
|
539
574
|
},
|
575
|
+
"ChainValue": {
|
576
|
+
"document": "上链数据 key-value",
|
577
|
+
"members": [
|
578
|
+
{
|
579
|
+
"disabled": false,
|
580
|
+
"document": "标题名字\n注意:此字段可能返回 null,表示取不到有效值。",
|
581
|
+
"example": "图片",
|
582
|
+
"member": "string",
|
583
|
+
"name": "Label",
|
584
|
+
"output_required": false,
|
585
|
+
"required": true,
|
586
|
+
"type": "string",
|
587
|
+
"value_allowed_null": true
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"disabled": false,
|
591
|
+
"document": "类型,文字:\"text\",图片:\"image\"\n注意:此字段可能返回 null,表示取不到有效值。",
|
592
|
+
"example": "image",
|
593
|
+
"member": "string",
|
594
|
+
"name": "Type",
|
595
|
+
"output_required": false,
|
596
|
+
"required": true,
|
597
|
+
"type": "string",
|
598
|
+
"value_allowed_null": true
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"disabled": false,
|
602
|
+
"document": "值,文字类型:\"abc\",图片类型:\"\"/images/img.png\"\n注意:此字段可能返回 null,表示取不到有效值。",
|
603
|
+
"example": "/images/img.png",
|
604
|
+
"member": "string",
|
605
|
+
"name": "Value",
|
606
|
+
"output_required": false,
|
607
|
+
"required": true,
|
608
|
+
"type": "string",
|
609
|
+
"value_allowed_null": true
|
610
|
+
}
|
611
|
+
],
|
612
|
+
"usage": "both"
|
613
|
+
},
|
540
614
|
"CodeBatch": {
|
541
615
|
"document": "批次",
|
542
616
|
"members": [
|
@@ -1162,6 +1236,42 @@
|
|
1162
1236
|
],
|
1163
1237
|
"usage": "out"
|
1164
1238
|
},
|
1239
|
+
"CreateChainBatchRequest": {
|
1240
|
+
"document": "CreateChainBatch请求参数结构体",
|
1241
|
+
"members": [
|
1242
|
+
{
|
1243
|
+
"disabled": false,
|
1244
|
+
"document": "企业ID",
|
1245
|
+
"example": "1000",
|
1246
|
+
"member": "uint64",
|
1247
|
+
"name": "CorpId",
|
1248
|
+
"required": true,
|
1249
|
+
"type": "int"
|
1250
|
+
},
|
1251
|
+
{
|
1252
|
+
"disabled": false,
|
1253
|
+
"document": "溯源ID",
|
1254
|
+
"example": "[]",
|
1255
|
+
"member": "Chain",
|
1256
|
+
"name": "ChainList",
|
1257
|
+
"required": true,
|
1258
|
+
"type": "list"
|
1259
|
+
}
|
1260
|
+
],
|
1261
|
+
"type": "object"
|
1262
|
+
},
|
1263
|
+
"CreateChainBatchResponse": {
|
1264
|
+
"document": "CreateChainBatch返回参数结构体",
|
1265
|
+
"members": [
|
1266
|
+
{
|
1267
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1268
|
+
"member": "string",
|
1269
|
+
"name": "RequestId",
|
1270
|
+
"type": "string"
|
1271
|
+
}
|
1272
|
+
],
|
1273
|
+
"type": "object"
|
1274
|
+
},
|
1165
1275
|
"CreateCodeBatchRequest": {
|
1166
1276
|
"document": "CreateCodeBatch请求参数结构体",
|
1167
1277
|
"members": [
|
@@ -8,6 +8,14 @@
|
|
8
8
|
"title": "接收客户侧的用户已授权的号码"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"CreateChainBatch": [
|
12
|
+
{
|
13
|
+
"document": "",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateChainBatch\n<公共请求参数>\n\n{\n \"CorpId\": 1,\n \"ChainList\": [\n {\n \"Code\": \"abc\",\n \"Data\": [\n {\n \"Label\": \"abc\",\n \"Type\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ]\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
16
|
+
"title": "批量上链接口"
|
17
|
+
}
|
18
|
+
],
|
11
19
|
"CreateCodeBatch": [
|
12
20
|
{
|
13
21
|
"document": "新增批次",
|
@@ -28,7 +28,7 @@
|
|
28
28
|
{
|
29
29
|
"disabled": false,
|
30
30
|
"document": "任务ID",
|
31
|
-
"example": "
|
31
|
+
"example": "145fa4a42d9440d191b3035f1beafa01",
|
32
32
|
"member": "string",
|
33
33
|
"name": "JobId",
|
34
34
|
"required": true,
|
@@ -43,7 +43,7 @@
|
|
43
43
|
{
|
44
44
|
"disabled": false,
|
45
45
|
"document": "任务ID。",
|
46
|
-
"example": "
|
46
|
+
"example": "145fa4a42d9440d191b3035f1beafa01",
|
47
47
|
"member": "string",
|
48
48
|
"name": "JobId",
|
49
49
|
"output_required": false,
|
@@ -52,8 +52,8 @@
|
|
52
52
|
},
|
53
53
|
{
|
54
54
|
"disabled": false,
|
55
|
-
"document": "任务状态码:\nJobInit: \"初始化中\"\nJobModerationFailed: \"审核失败\",\nJobRunning: \"处理中\",\nJobFailed: \"
|
56
|
-
"example": "
|
55
|
+
"document": "任务状态码:\nJobInit: \"初始化中\"\nJobModerationFailed: \"审核失败\",\nJobRunning: \"处理中\",\nJobFailed: \"处理失败\",\nJobSuccess: \"处理完成\"。",
|
56
|
+
"example": "[\"JobInit:\", \"JobModerationFailed\", \"JobRunning\", \"JobFailed\", \"JobSuccess\"]",
|
57
57
|
"member": "string",
|
58
58
|
"name": "StatusCode",
|
59
59
|
"output_required": false,
|
@@ -63,7 +63,7 @@
|
|
63
63
|
{
|
64
64
|
"disabled": false,
|
65
65
|
"document": "任务状态描述。",
|
66
|
-
"example": "
|
66
|
+
"example": "[\"初始化中\", \"审核失败\", \"处理中\", \"处理失败\", \"处理完成\"]",
|
67
67
|
"member": "string",
|
68
68
|
"name": "StatusMsg",
|
69
69
|
"output_required": false,
|
@@ -73,7 +73,7 @@
|
|
73
73
|
{
|
74
74
|
"disabled": false,
|
75
75
|
"document": "处理结果视频Url。URL有效期为24小时。",
|
76
|
-
"example": "
|
76
|
+
"example": "https://xxx.mp4",
|
77
77
|
"member": "string",
|
78
78
|
"name": "ResultVideoUrl",
|
79
79
|
"output_required": false,
|
@@ -104,7 +104,7 @@
|
|
104
104
|
{
|
105
105
|
"disabled": false,
|
106
106
|
"document": "输入视频URL。视频要求:\n- 视频格式:mp4、mov;\n- 视频时长:1~60秒;\n- 视频分辨率:540P~2056P,即长宽像素数均在540px~2056px范围内;\n- 视频大小:不超过200M;\n- 视频FPS:15~60fps。",
|
107
|
-
"example": "
|
107
|
+
"example": "https://xxx.mp4",
|
108
108
|
"member": "string",
|
109
109
|
"name": "VideoUrl",
|
110
110
|
"required": true,
|
@@ -119,7 +119,7 @@
|
|
119
119
|
{
|
120
120
|
"disabled": false,
|
121
121
|
"document": "任务ID",
|
122
|
-
"example": "
|
122
|
+
"example": "145fa4a42d9440d191b3035f1beafa01",
|
123
123
|
"member": "string",
|
124
124
|
"name": "JobId",
|
125
125
|
"output_required": false,
|
@@ -5501,13 +5501,23 @@
|
|
5501
5501
|
"DescribeAntiFakeRulesResponse": {
|
5502
5502
|
"document": "DescribeAntiFakeRules返回参数结构体",
|
5503
5503
|
"members": [
|
5504
|
+
{
|
5505
|
+
"disabled": false,
|
5506
|
+
"document": "总数",
|
5507
|
+
"example": "0",
|
5508
|
+
"member": "uint64",
|
5509
|
+
"name": "Total",
|
5510
|
+
"output_required": true,
|
5511
|
+
"type": "int",
|
5512
|
+
"value_allowed_null": false
|
5513
|
+
},
|
5504
5514
|
{
|
5505
5515
|
"disabled": false,
|
5506
5516
|
"document": "返回值\n注意:此字段可能返回 null,表示取不到有效值。",
|
5507
5517
|
"example": "[]",
|
5508
5518
|
"member": "CacheUrlItems",
|
5509
5519
|
"name": "Data",
|
5510
|
-
"
|
5520
|
+
"output_required": true,
|
5511
5521
|
"type": "list",
|
5512
5522
|
"value_allowed_null": true
|
5513
5523
|
},
|
@@ -259,8 +259,8 @@
|
|
259
259
|
"DescribeAntiFakeRules": [
|
260
260
|
{
|
261
261
|
"document": "",
|
262
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAntiFakeRules\n<公共请求参数>\n\n{\n \"Domain\": \"
|
263
|
-
"output": "{\n \"Response\": {\n \"Data\": [],\n \"RequestId\": \"08e8410d-6e80-4d1f-89ff-62669042369d\"\n }\n}",
|
262
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAntiFakeRules\n<公共请求参数>\n\n{\n \"Domain\": \"abc\",\n \"Offset\": 1,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"ExactMatch\": true\n }\n ],\n \"Order\": \"abc\",\n \"By\": \"abc\"\n}",
|
263
|
+
"output": "{\n \"Response\": {\n \"Data\": [],\n \"RequestId\": \"08e8410d-6e80-4d1f-89ff-62669042369d\",\n \"Total\": 0\n }\n}",
|
264
264
|
"title": "获取防篡改url"
|
265
265
|
}
|
266
266
|
],
|