tccli 3.0.1223.1__py2.py3-none-any.whl → 3.0.1224.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/apigateway/apigateway_client.py +136 -30
- tccli/services/apigateway/v20180808/api.json +183 -0
- tccli/services/apigateway/v20180808/examples.json +16 -0
- tccli/services/autoscaling/v20180419/api.json +4 -4
- tccli/services/bi/bi_client.py +106 -0
- tccli/services/bi/v20220105/api.json +355 -0
- tccli/services/bi/v20220105/examples.json +16 -0
- tccli/services/billing/v20180709/api.json +237 -186
- tccli/services/billing/v20180709/examples.json +2 -2
- tccli/services/bpaas/v20181217/api.json +71 -46
- tccli/services/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +99 -78
- tccli/services/cam/v20190116/examples.json +10 -10
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudhsm/v20191112/api.json +324 -320
- tccli/services/cloudhsm/v20191112/examples.json +16 -16
- tccli/services/cls/v20201016/api.json +2 -2
- tccli/services/config/config_client.py +106 -0
- tccli/services/config/v20220802/api.json +364 -0
- tccli/services/config/v20220802/examples.json +16 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/ivld/v20210903/api.json +3 -3
- tccli/services/lcic/lcic_client.py +110 -4
- tccli/services/lcic/v20220817/api.json +297 -2
- tccli/services/lcic/v20220817/examples.json +16 -0
- tccli/services/live/v20180801/api.json +2 -1
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/mps/v20190612/api.json +1 -1
- tccli/services/ocr/ocr_client.py +314 -685
- tccli/services/ocr/v20181119/api.json +157 -1206
- tccli/services/ocr/v20181119/examples.json +0 -56
- tccli/services/organization/v20181225/api.json +43 -43
- tccli/services/organization/v20181225/examples.json +2 -2
- tccli/services/organization/v20210331/api.json +516 -508
- tccli/services/organization/v20210331/examples.json +26 -26
- tccli/services/trtc/trtc_client.py +126 -20
- tccli/services/trtc/v20190722/api.json +138 -14
- tccli/services/trtc/v20190722/examples.json +16 -0
- tccli/services/vpc/v20170312/api.json +1 -1
- {tccli-3.0.1223.1.dist-info → tccli-3.0.1224.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1223.1.dist-info → tccli-3.0.1224.1.dist-info}/RECORD +50 -50
- {tccli-3.0.1223.1.dist-info → tccli-3.0.1224.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1223.1.dist-info → tccli-3.0.1224.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1223.1.dist-info → tccli-3.0.1224.1.dist-info}/license_files/LICENSE +0 -0
@@ -537,6 +537,58 @@ def doGetWatermark(args, parsed_globals):
|
|
537
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
538
|
|
539
539
|
|
540
|
+
def doCreateRoom(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.LcicClient(cred, g_param[OptionsDefine.Region], profile)
|
567
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
568
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
+
model = models.CreateRoomRequest()
|
570
|
+
model.from_json_string(json.dumps(args))
|
571
|
+
start_time = time.time()
|
572
|
+
while True:
|
573
|
+
rsp = client.CreateRoom(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 doBatchCreateRoom(args, parsed_globals):
|
541
593
|
g_param = parse_global_arg(parsed_globals)
|
542
594
|
|
@@ -2929,6 +2981,58 @@ def doEndRoom(args, parsed_globals):
|
|
2929
2981
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2930
2982
|
|
2931
2983
|
|
2984
|
+
def doSetMarquee(args, parsed_globals):
|
2985
|
+
g_param = parse_global_arg(parsed_globals)
|
2986
|
+
|
2987
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2988
|
+
cred = credential.CVMRoleCredential()
|
2989
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2990
|
+
cred = credential.STSAssumeRoleCredential(
|
2991
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2992
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2993
|
+
)
|
2994
|
+
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):
|
2995
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2996
|
+
else:
|
2997
|
+
cred = credential.Credential(
|
2998
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2999
|
+
)
|
3000
|
+
http_profile = HttpProfile(
|
3001
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3002
|
+
reqMethod="POST",
|
3003
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3004
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3005
|
+
)
|
3006
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3007
|
+
if g_param[OptionsDefine.Language]:
|
3008
|
+
profile.language = g_param[OptionsDefine.Language]
|
3009
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3010
|
+
client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
|
3011
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3012
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3013
|
+
model = models.SetMarqueeRequest()
|
3014
|
+
model.from_json_string(json.dumps(args))
|
3015
|
+
start_time = time.time()
|
3016
|
+
while True:
|
3017
|
+
rsp = client.SetMarquee(model)
|
3018
|
+
result = rsp.to_json_string()
|
3019
|
+
try:
|
3020
|
+
json_obj = json.loads(result)
|
3021
|
+
except TypeError as e:
|
3022
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3023
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3024
|
+
break
|
3025
|
+
cur_time = time.time()
|
3026
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3027
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3028
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3029
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3030
|
+
else:
|
3031
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3032
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3033
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3034
|
+
|
3035
|
+
|
2932
3036
|
def doSendRoomNotificationMessage(args, parsed_globals):
|
2933
3037
|
g_param = parse_global_arg(parsed_globals)
|
2934
3038
|
|
@@ -3189,7 +3293,7 @@ def doUnblockKickedUser(args, parsed_globals):
|
|
3189
3293
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3190
3294
|
|
3191
3295
|
|
3192
|
-
def
|
3296
|
+
def doDescribeMarquee(args, parsed_globals):
|
3193
3297
|
g_param = parse_global_arg(parsed_globals)
|
3194
3298
|
|
3195
3299
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3218,11 +3322,11 @@ def doCreateRoom(args, parsed_globals):
|
|
3218
3322
|
client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
|
3219
3323
|
client._sdkVersion += ("_CLI_" + __version__)
|
3220
3324
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3221
|
-
model = models.
|
3325
|
+
model = models.DescribeMarqueeRequest()
|
3222
3326
|
model.from_json_string(json.dumps(args))
|
3223
3327
|
start_time = time.time()
|
3224
3328
|
while True:
|
3225
|
-
rsp = client.
|
3329
|
+
rsp = client.DescribeMarquee(model)
|
3226
3330
|
result = rsp.to_json_string()
|
3227
3331
|
try:
|
3228
3332
|
json_obj = json.loads(result)
|
@@ -3418,6 +3522,7 @@ ACTION_MAP = {
|
|
3418
3522
|
"DeleteAppCustomContent": doDeleteAppCustomContent,
|
3419
3523
|
"KickUserFromRoom": doKickUserFromRoom,
|
3420
3524
|
"GetWatermark": doGetWatermark,
|
3525
|
+
"CreateRoom": doCreateRoom,
|
3421
3526
|
"BatchCreateRoom": doBatchCreateRoom,
|
3422
3527
|
"DescribeGroup": doDescribeGroup,
|
3423
3528
|
"ModifyApp": doModifyApp,
|
@@ -3464,12 +3569,13 @@ ACTION_MAP = {
|
|
3464
3569
|
"BatchDeleteRecord": doBatchDeleteRecord,
|
3465
3570
|
"GetRooms": doGetRooms,
|
3466
3571
|
"EndRoom": doEndRoom,
|
3572
|
+
"SetMarquee": doSetMarquee,
|
3467
3573
|
"SendRoomNotificationMessage": doSendRoomNotificationMessage,
|
3468
3574
|
"DeleteRoom": doDeleteRoom,
|
3469
3575
|
"UnbindDocumentFromRoom": doUnbindDocumentFromRoom,
|
3470
3576
|
"StartRecord": doStartRecord,
|
3471
3577
|
"UnblockKickedUser": doUnblockKickedUser,
|
3472
|
-
"
|
3578
|
+
"DescribeMarquee": doDescribeMarquee,
|
3473
3579
|
"BatchCreateGroupWithMembers": doBatchCreateGroupWithMembers,
|
3474
3580
|
"DescribeScoreList": doDescribeScoreList,
|
3475
3581
|
"DescribeDeveloper": doDescribeDeveloper,
|
@@ -224,6 +224,13 @@
|
|
224
224
|
"output": "DescribeGroupMemberListResponse",
|
225
225
|
"status": "online"
|
226
226
|
},
|
227
|
+
"DescribeMarquee": {
|
228
|
+
"document": "查询跑马灯配置",
|
229
|
+
"input": "DescribeMarqueeRequest",
|
230
|
+
"name": "查询跑马灯配置",
|
231
|
+
"output": "DescribeMarqueeResponse",
|
232
|
+
"status": "online"
|
233
|
+
},
|
227
234
|
"DescribeQuestionList": {
|
228
235
|
"document": "获取房间提问列表",
|
229
236
|
"input": "DescribeQuestionListRequest",
|
@@ -413,6 +420,13 @@
|
|
413
420
|
"output": "SetAppCustomContentResponse",
|
414
421
|
"status": "online"
|
415
422
|
},
|
423
|
+
"SetMarquee": {
|
424
|
+
"document": "设置跑马灯参数设置",
|
425
|
+
"input": "SetMarqueeRequest",
|
426
|
+
"name": "设置跑马灯参数",
|
427
|
+
"output": "SetMarqueeResponse",
|
428
|
+
"status": "online"
|
429
|
+
},
|
416
430
|
"SetWatermark": {
|
417
431
|
"document": "设置水印",
|
418
432
|
"input": "SetWatermarkRequest",
|
@@ -3148,6 +3162,152 @@
|
|
3148
3162
|
],
|
3149
3163
|
"type": "object"
|
3150
3164
|
},
|
3165
|
+
"DescribeMarqueeRequest": {
|
3166
|
+
"document": "DescribeMarquee请求参数结构体",
|
3167
|
+
"members": [
|
3168
|
+
{
|
3169
|
+
"disabled": false,
|
3170
|
+
"document": "学校ID",
|
3171
|
+
"example": "38792792",
|
3172
|
+
"member": "uint64",
|
3173
|
+
"name": "SdkAppId",
|
3174
|
+
"required": true,
|
3175
|
+
"type": "int"
|
3176
|
+
},
|
3177
|
+
{
|
3178
|
+
"disabled": false,
|
3179
|
+
"document": "房间号",
|
3180
|
+
"example": "345214",
|
3181
|
+
"member": "uint64",
|
3182
|
+
"name": "RoomId",
|
3183
|
+
"required": true,
|
3184
|
+
"type": "int"
|
3185
|
+
}
|
3186
|
+
],
|
3187
|
+
"type": "object"
|
3188
|
+
},
|
3189
|
+
"DescribeMarqueeResponse": {
|
3190
|
+
"document": "DescribeMarquee返回参数结构体",
|
3191
|
+
"members": [
|
3192
|
+
{
|
3193
|
+
"disabled": false,
|
3194
|
+
"document": " 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)",
|
3195
|
+
"example": "1",
|
3196
|
+
"member": "uint64",
|
3197
|
+
"name": "MarqueeType",
|
3198
|
+
"output_required": false,
|
3199
|
+
"type": "int",
|
3200
|
+
"value_allowed_null": false
|
3201
|
+
},
|
3202
|
+
{
|
3203
|
+
"disabled": false,
|
3204
|
+
"document": "固定值内容(当MarqueeType=1或5,则展示固定值内容)",
|
3205
|
+
"example": "无",
|
3206
|
+
"member": "string",
|
3207
|
+
"name": "Content",
|
3208
|
+
"output_required": false,
|
3209
|
+
"type": "string",
|
3210
|
+
"value_allowed_null": false
|
3211
|
+
},
|
3212
|
+
{
|
3213
|
+
"disabled": false,
|
3214
|
+
"document": "字体大小(数字,像素单位,范围:10到24)",
|
3215
|
+
"example": "1",
|
3216
|
+
"member": "uint64",
|
3217
|
+
"name": "FontSize",
|
3218
|
+
"output_required": false,
|
3219
|
+
"type": "int",
|
3220
|
+
"value_allowed_null": false
|
3221
|
+
},
|
3222
|
+
{
|
3223
|
+
"disabled": false,
|
3224
|
+
"document": "字体粗细:1为粗体,0为细体",
|
3225
|
+
"example": "1",
|
3226
|
+
"member": "uint64",
|
3227
|
+
"name": "FontWeight",
|
3228
|
+
"output_required": false,
|
3229
|
+
"type": "int",
|
3230
|
+
"value_allowed_null": false
|
3231
|
+
},
|
3232
|
+
{
|
3233
|
+
"disabled": false,
|
3234
|
+
"document": "字体颜色(十六进制颜色值)",
|
3235
|
+
"example": "无",
|
3236
|
+
"member": "string",
|
3237
|
+
"name": "FontColor",
|
3238
|
+
"output_required": false,
|
3239
|
+
"type": "string",
|
3240
|
+
"value_allowed_null": false
|
3241
|
+
},
|
3242
|
+
{
|
3243
|
+
"disabled": false,
|
3244
|
+
"document": "字体透明度(数字,范围 0.0 到 1.0)",
|
3245
|
+
"example": "0.5",
|
3246
|
+
"member": "float",
|
3247
|
+
"name": "FontOpacity",
|
3248
|
+
"output_required": false,
|
3249
|
+
"type": "float",
|
3250
|
+
"value_allowed_null": false
|
3251
|
+
},
|
3252
|
+
{
|
3253
|
+
"disabled": false,
|
3254
|
+
"document": "背景颜色(十六进制颜色值)",
|
3255
|
+
"example": "无",
|
3256
|
+
"member": "string",
|
3257
|
+
"name": "BackgroundColor",
|
3258
|
+
"output_required": false,
|
3259
|
+
"type": "string",
|
3260
|
+
"value_allowed_null": false
|
3261
|
+
},
|
3262
|
+
{
|
3263
|
+
"disabled": false,
|
3264
|
+
"document": "背景透明度(数字,范围 0.0 到 1.0)",
|
3265
|
+
"example": "无",
|
3266
|
+
"member": "float",
|
3267
|
+
"name": "BackgroundOpacity",
|
3268
|
+
"output_required": false,
|
3269
|
+
"type": "float",
|
3270
|
+
"value_allowed_null": false
|
3271
|
+
},
|
3272
|
+
{
|
3273
|
+
"disabled": false,
|
3274
|
+
"document": "显示方式:1为滚动,2为闪烁",
|
3275
|
+
"example": "112",
|
3276
|
+
"member": "uint64",
|
3277
|
+
"name": "DisplayMode",
|
3278
|
+
"output_required": false,
|
3279
|
+
"type": "int",
|
3280
|
+
"value_allowed_null": false
|
3281
|
+
},
|
3282
|
+
{
|
3283
|
+
"disabled": false,
|
3284
|
+
"document": "停留时长(秒,整数,范围 1~10)",
|
3285
|
+
"example": "23",
|
3286
|
+
"member": "uint64",
|
3287
|
+
"name": "Duration",
|
3288
|
+
"output_required": false,
|
3289
|
+
"type": "int",
|
3290
|
+
"value_allowed_null": false
|
3291
|
+
},
|
3292
|
+
{
|
3293
|
+
"disabled": false,
|
3294
|
+
"document": "跑马灯个数:目前仅支持1或2, 对应显示单排或双排",
|
3295
|
+
"example": "98",
|
3296
|
+
"member": "uint64",
|
3297
|
+
"name": "MarqueeCount",
|
3298
|
+
"output_required": false,
|
3299
|
+
"type": "int",
|
3300
|
+
"value_allowed_null": false
|
3301
|
+
},
|
3302
|
+
{
|
3303
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3304
|
+
"member": "string",
|
3305
|
+
"name": "RequestId",
|
3306
|
+
"type": "string"
|
3307
|
+
}
|
3308
|
+
],
|
3309
|
+
"type": "object"
|
3310
|
+
},
|
3151
3311
|
"DescribeQuestionListRequest": {
|
3152
3312
|
"document": "DescribeQuestionList请求参数结构体",
|
3153
3313
|
"members": [
|
@@ -4100,7 +4260,7 @@
|
|
4100
4260
|
"members": [
|
4101
4261
|
{
|
4102
4262
|
"disabled": false,
|
4103
|
-
"document": "用户
|
4263
|
+
"document": "用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。",
|
4104
4264
|
"example": "abc",
|
4105
4265
|
"member": "string",
|
4106
4266
|
"name": "UserId",
|
@@ -4109,7 +4269,7 @@
|
|
4109
4269
|
},
|
4110
4270
|
{
|
4111
4271
|
"disabled": false,
|
4112
|
-
"document": "
|
4272
|
+
"document": "用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。",
|
4113
4273
|
"example": "abc",
|
4114
4274
|
"member": "string",
|
4115
4275
|
"name": "OriginId",
|
@@ -6893,6 +7053,141 @@
|
|
6893
7053
|
],
|
6894
7054
|
"type": "object"
|
6895
7055
|
},
|
7056
|
+
"SetMarqueeRequest": {
|
7057
|
+
"document": "SetMarquee请求参数结构体",
|
7058
|
+
"members": [
|
7059
|
+
{
|
7060
|
+
"disabled": false,
|
7061
|
+
"document": "学校ID",
|
7062
|
+
"example": "3290189",
|
7063
|
+
"member": "uint64",
|
7064
|
+
"name": "SdkAppId",
|
7065
|
+
"required": true,
|
7066
|
+
"type": "int"
|
7067
|
+
},
|
7068
|
+
{
|
7069
|
+
"disabled": false,
|
7070
|
+
"document": "房间号",
|
7071
|
+
"example": "1123",
|
7072
|
+
"member": "uint64",
|
7073
|
+
"name": "RoomId",
|
7074
|
+
"required": true,
|
7075
|
+
"type": "int"
|
7076
|
+
},
|
7077
|
+
{
|
7078
|
+
"disabled": false,
|
7079
|
+
"document": " 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)",
|
7080
|
+
"example": "1",
|
7081
|
+
"member": "uint64",
|
7082
|
+
"name": "MarqueeType",
|
7083
|
+
"required": true,
|
7084
|
+
"type": "int"
|
7085
|
+
},
|
7086
|
+
{
|
7087
|
+
"disabled": false,
|
7088
|
+
"document": "显示方式:1为滚动,2为闪烁",
|
7089
|
+
"example": "1",
|
7090
|
+
"member": "uint64",
|
7091
|
+
"name": "DisplayMode",
|
7092
|
+
"required": true,
|
7093
|
+
"type": "int"
|
7094
|
+
},
|
7095
|
+
{
|
7096
|
+
"disabled": false,
|
7097
|
+
"document": "固定值内容(当MarqueeType=1或5,则展示固定值内容)",
|
7098
|
+
"example": "直播课堂",
|
7099
|
+
"member": "string",
|
7100
|
+
"name": "Content",
|
7101
|
+
"required": false,
|
7102
|
+
"type": "string"
|
7103
|
+
},
|
7104
|
+
{
|
7105
|
+
"disabled": false,
|
7106
|
+
"document": "字体大小(数字,像素单位,范围:10到24)。",
|
7107
|
+
"example": "10",
|
7108
|
+
"member": "uint64",
|
7109
|
+
"name": "FontSize",
|
7110
|
+
"required": false,
|
7111
|
+
"type": "int"
|
7112
|
+
},
|
7113
|
+
{
|
7114
|
+
"disabled": false,
|
7115
|
+
"document": "字体粗细:1为粗体,0为细体",
|
7116
|
+
"example": "1",
|
7117
|
+
"member": "uint64",
|
7118
|
+
"name": "FontWeight",
|
7119
|
+
"required": false,
|
7120
|
+
"type": "int"
|
7121
|
+
},
|
7122
|
+
{
|
7123
|
+
"disabled": false,
|
7124
|
+
"document": "字体颜色(十六进制颜色值,例如:#00FF00(绿色))",
|
7125
|
+
"example": "#00FF00",
|
7126
|
+
"member": "string",
|
7127
|
+
"name": "FontColor",
|
7128
|
+
"required": false,
|
7129
|
+
"type": "string"
|
7130
|
+
},
|
7131
|
+
{
|
7132
|
+
"disabled": false,
|
7133
|
+
"document": "字体透明度(数字,范围 0.0 到 1.0)",
|
7134
|
+
"example": "0.3",
|
7135
|
+
"member": "float",
|
7136
|
+
"name": "FontOpacity",
|
7137
|
+
"required": false,
|
7138
|
+
"type": "float"
|
7139
|
+
},
|
7140
|
+
{
|
7141
|
+
"disabled": false,
|
7142
|
+
"document": "背景颜色(十六进制颜色值,例如:#FFFF00(黄色))",
|
7143
|
+
"example": "#FFFF00",
|
7144
|
+
"member": "string",
|
7145
|
+
"name": "BackgroundColor",
|
7146
|
+
"required": false,
|
7147
|
+
"type": "string"
|
7148
|
+
},
|
7149
|
+
{
|
7150
|
+
"disabled": false,
|
7151
|
+
"document": "背景透明度(数字,范围 0.0 到 1.0)",
|
7152
|
+
"example": "0.1",
|
7153
|
+
"member": "float",
|
7154
|
+
"name": "BackgroundOpacity",
|
7155
|
+
"required": false,
|
7156
|
+
"type": "float"
|
7157
|
+
},
|
7158
|
+
{
|
7159
|
+
"disabled": false,
|
7160
|
+
"document": "跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快",
|
7161
|
+
"example": "1",
|
7162
|
+
"member": "uint64",
|
7163
|
+
"name": "Duration",
|
7164
|
+
"required": false,
|
7165
|
+
"type": "int"
|
7166
|
+
},
|
7167
|
+
{
|
7168
|
+
"disabled": false,
|
7169
|
+
"document": "跑马灯个数:目前仅支持1或2, 对应显示单排或双排",
|
7170
|
+
"example": "1",
|
7171
|
+
"member": "uint64",
|
7172
|
+
"name": "MarqueeCount",
|
7173
|
+
"required": false,
|
7174
|
+
"type": "int"
|
7175
|
+
}
|
7176
|
+
],
|
7177
|
+
"type": "object"
|
7178
|
+
},
|
7179
|
+
"SetMarqueeResponse": {
|
7180
|
+
"document": "SetMarquee返回参数结构体",
|
7181
|
+
"members": [
|
7182
|
+
{
|
7183
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7184
|
+
"member": "string",
|
7185
|
+
"name": "RequestId",
|
7186
|
+
"type": "string"
|
7187
|
+
}
|
7188
|
+
],
|
7189
|
+
"type": "object"
|
7190
|
+
},
|
6896
7191
|
"SetWatermarkRequest": {
|
6897
7192
|
"document": "SetWatermark请求参数结构体",
|
6898
7193
|
"members": [
|
@@ -274,6 +274,14 @@
|
|
274
274
|
"title": "获取群组成员列表"
|
275
275
|
}
|
276
276
|
],
|
277
|
+
"DescribeMarquee": [
|
278
|
+
{
|
279
|
+
"document": "",
|
280
|
+
"input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMarquee\n<公共请求参数>\n\n{\n \"SdkAppId\": 34442819,\n \"RoomId\": 353861\n}",
|
281
|
+
"output": "{\n \"Response\": {\n \"BackgroundColor\": \"\",\n \"BackgroundOpacity\": 0.1,\n \"Content\": \"\",\n \"DisplayMode\": 1,\n \"Duration\": 9,\n \"FontColor\": \"\",\n \"FontOpacity\": 0.3,\n \"FontSize\": 11,\n \"FontWeight\": 1,\n \"MarqueeCount\": 1,\n \"MarqueeType\": 1,\n \"RequestId\": \"5872d14e-d7-4122-990e-44a20e7dd6a5\"\n }\n}",
|
282
|
+
"title": "查询跑马灯配置"
|
283
|
+
}
|
284
|
+
],
|
277
285
|
"DescribeQuestionList": [
|
278
286
|
{
|
279
287
|
"document": "获取房间问答提问列表",
|
@@ -502,6 +510,14 @@
|
|
502
510
|
"title": "设置应用自定义内容"
|
503
511
|
}
|
504
512
|
],
|
513
|
+
"SetMarquee": [
|
514
|
+
{
|
515
|
+
"document": "",
|
516
|
+
"input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetMarquee\n<公共请求参数>\n\n{\n \"SdkAppId\": 34442819,\n \"RoomId\": 353861,\n \"MarqueeType\": 1,\n \"DisplayMode\": 1,\n \"Content\": \"#FFFF00\",\n \"FontSize\": 11,\n \"FontWeight\": 1,\n \"FontOpacity\": 0.3,\n \"BackgroundColor\": \"#FFFF00\",\n \"BackgroundOpacity\": 0.3,\n \"Duration\": 3,\n \"MarqueeCount\": 1\n}",
|
517
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"87c8dcd3-5941-4920-a7b6-bcdc13af7c79\"\n }\n}",
|
518
|
+
"title": "设置跑马灯参数设置"
|
519
|
+
}
|
520
|
+
],
|
505
521
|
"SetWatermark": [
|
506
522
|
{
|
507
523
|
"document": "设置水印",
|
@@ -8237,9 +8237,10 @@
|
|
8237
8237
|
{
|
8238
8238
|
"disabled": false,
|
8239
8239
|
"document": "延播信息列表。",
|
8240
|
-
"example": "",
|
8240
|
+
"example": "空",
|
8241
8241
|
"member": "DelayInfo",
|
8242
8242
|
"name": "DelayInfoList",
|
8243
|
+
"output_required": true,
|
8243
8244
|
"type": "list",
|
8244
8245
|
"value_allowed_null": false
|
8245
8246
|
},
|
@@ -603,7 +603,7 @@
|
|
603
603
|
"status": "online"
|
604
604
|
},
|
605
605
|
"RunReRank": {
|
606
|
-
"document": "
|
606
|
+
"document": "基于知识引擎精调模型技术的rerank模型,支持对多路召回的结果进行重排序,根据query与切片内容的相关性,按分数由高到低对切片进行排序,并输出对应的打分结果。",
|
607
607
|
"input": "RunReRankRequest",
|
608
608
|
"name": "重排序",
|
609
609
|
"output": "RunReRankResponse",
|
@@ -24021,7 +24021,7 @@
|
|
24021
24021
|
"members": [
|
24022
24022
|
{
|
24023
24023
|
"disabled": false,
|
24024
|
-
"document": "质检项名称。质检项取值如下:\n<li>LowEvaluation:无参考打分</li>\n<li>Mosaic:马赛克检测</li>\n<li>CrashScreen:花屏检测</li>\n<li>
|
24024
|
+
"document": "质检项名称。质检项取值如下:\n<li>LowEvaluation:无参考打分</li>\n<li>Mosaic:马赛克检测</li>\n<li>CrashScreen:花屏检测</li>\n<li>Blur:模糊检测</li>\n<li>BlackWhiteEdge:黑白边检测</li>\n<li>SolidColorScreen:纯色屏检测</li>\n<li>LowLighting:低光照</li>\n<li>HighLighting:过曝</li>\n<li>NoVoice:静音检测</li>\n<li>LowVoice:低音检测</li>\n<li>HighVoice:爆音检测</li>\n<li>Jitter:抖动检测</li>\n<li>Noise:噪点检测</li>\n<li>QRCode:二维码检测</li>\n<li>BarCode:条形码检测</li>\n<li>AppletCode:小程序码检测</li>\n<li>VideoResolutionChanged:视频分辨率变化</li>\n<li>AudioSampleRateChanged:音频采样率变化</li>\n<li>AudioChannelsChanged:音频通道数变化</li>\n<li>ParameterSetsChanged:流参数集信息发生变化</li>\n<li>DarOrSarInvalid:视频的宽高比异常</li>\n<li>TimestampFallback:DTS时间戳回退</li>\n<li>DtsJitter:DTS抖动过大</li>\n<li>PtsJitter:PTS抖动过大</li>\n<li>AACDurationDeviation:AAC帧时间戳间隔不合理</li>\n<li>AudioDroppingFrames:音频丢帧</li>\n<li>VideoDroppingFrames:视频丢帧</li>\n<li>AVTimestampInterleave:音视频交织不合理</li>\n<li>PtsLessThanDts:媒体流的 pts 小于 dts</li>\n<li>ReceiveFpsJitter:网络接收帧率抖动过大</li>\n<li>ReceiveFpsTooSmall:网络接收视频帧率过小</li>\n<li>FpsJitter:通过PTS计算得到的流帧率抖动过大</li>\n<li>StreamOpenFailed:流打开失败</li>\n<li>StreamEnd:流结束</li>\n<li>StreamParseFailed:流解析失败</li>\n<li>VideoFirstFrameNotIdr:首帧不是IDR帧</li>\n<li>StreamNALUError:NALU起始码错误</li>\n<li>TsStreamNoAud:mpegts的H26x流缺失 AUD NALU</li>\n<li>AudioStreamLack:无音频流</li>\n<li>VideoStreamLack:无视频流</li>\n<li>LackAudioRecover:缺失音频流恢复</li>\n<li>LackVideoRecover:缺失视频流恢复</li>\n<li>VideoBitrateOutofRange:视频流码率(kbps)超出范围</li>\n<li>AudioBitrateOutofRange:音频流码率(kbps)超出范围</li>\n<li>VideoDecodeFailed:视频解码错误</li>\n<li>AudioDecodeFailed:音频解码错误</li>\n<li>AudioOutOfPhase:双通道音频相位相反</li>\n<li>VideoDuplicatedFrame:视频流中存在重复帧</li>\n<li>AudioDuplicatedFrame:音频流中存在重复帧</li>\n<li>VideoRotation:视频画面旋转</li>\n<li>TsMultiPrograms:MPEG2-TS流有多个program</li>\n<li>Mp4InvalidCodecFourcc:MP4中codec fourcc不符合Apple HLS要求</li>\n<li>HLSBadM3u8Format:无效的m3u8文件</li>\n<li>HLSInvalidMasterM3u8:无效的main m3u8文件</li>\n<li>HLSInvalidMediaM3u8:无效的media m3u8文件</li>\n<li>HLSMasterM3u8Recommended:main m3u8缺少标准推荐的参数</li>\n<li>HLSMediaM3u8Recommended:media m3u8缺少标准推荐的参数</li>\n<li>HLSMediaM3u8DiscontinuityExist:media m3u8存在EXT-X-DISCONTINUITY</li>\n<li>HLSMediaSegmentsStreamNumChange:切片的流数目发生变化</li>\n<li>HLSMediaSegmentsPTSJitterDeviation:切片间PTS跳变且没有EXT-X-DISCONTINUITY</li>\n<li>HLSMediaSegmentsDTSJitterDeviation:切片间DTS跳变且没有EXT-X-DISCONTINUITY</li>\n<li>TimecodeTrackExist:MP4存在tmcd轨道</li>",
|
24025
24025
|
"example": "无",
|
24026
24026
|
"member": "string",
|
24027
24027
|
"name": "Type",
|