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
tccli/services/bi/bi_client.py
CHANGED
@@ -381,6 +381,58 @@ def doModifyUserRole(args, parsed_globals):
|
|
381
381
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
382
|
|
383
383
|
|
384
|
+
def doExportScreenPage(args, parsed_globals):
|
385
|
+
g_param = parse_global_arg(parsed_globals)
|
386
|
+
|
387
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
388
|
+
cred = credential.CVMRoleCredential()
|
389
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
390
|
+
cred = credential.STSAssumeRoleCredential(
|
391
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
392
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
393
|
+
)
|
394
|
+
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):
|
395
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
396
|
+
else:
|
397
|
+
cred = credential.Credential(
|
398
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
399
|
+
)
|
400
|
+
http_profile = HttpProfile(
|
401
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
402
|
+
reqMethod="POST",
|
403
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
404
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
405
|
+
)
|
406
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
407
|
+
if g_param[OptionsDefine.Language]:
|
408
|
+
profile.language = g_param[OptionsDefine.Language]
|
409
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
410
|
+
client = mod.BiClient(cred, g_param[OptionsDefine.Region], profile)
|
411
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
412
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
413
|
+
model = models.ExportScreenPageRequest()
|
414
|
+
model.from_json_string(json.dumps(args))
|
415
|
+
start_time = time.time()
|
416
|
+
while True:
|
417
|
+
rsp = client.ExportScreenPage(model)
|
418
|
+
result = rsp.to_json_string()
|
419
|
+
try:
|
420
|
+
json_obj = json.loads(result)
|
421
|
+
except TypeError as e:
|
422
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
423
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
424
|
+
break
|
425
|
+
cur_time = time.time()
|
426
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
427
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
428
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
429
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
430
|
+
else:
|
431
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
432
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
433
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
434
|
+
|
435
|
+
|
384
436
|
def doCreateEmbedToken(args, parsed_globals):
|
385
437
|
g_param = parse_global_arg(parsed_globals)
|
386
438
|
|
@@ -693,6 +745,58 @@ def doDescribeUserRoleList(args, parsed_globals):
|
|
693
745
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
746
|
|
695
747
|
|
748
|
+
def doDescribePageWidgetList(args, parsed_globals):
|
749
|
+
g_param = parse_global_arg(parsed_globals)
|
750
|
+
|
751
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
752
|
+
cred = credential.CVMRoleCredential()
|
753
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
754
|
+
cred = credential.STSAssumeRoleCredential(
|
755
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
756
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
757
|
+
)
|
758
|
+
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):
|
759
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
760
|
+
else:
|
761
|
+
cred = credential.Credential(
|
762
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
763
|
+
)
|
764
|
+
http_profile = HttpProfile(
|
765
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
766
|
+
reqMethod="POST",
|
767
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
768
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
769
|
+
)
|
770
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
771
|
+
if g_param[OptionsDefine.Language]:
|
772
|
+
profile.language = g_param[OptionsDefine.Language]
|
773
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
774
|
+
client = mod.BiClient(cred, g_param[OptionsDefine.Region], profile)
|
775
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
776
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
777
|
+
model = models.DescribePageWidgetListRequest()
|
778
|
+
model.from_json_string(json.dumps(args))
|
779
|
+
start_time = time.time()
|
780
|
+
while True:
|
781
|
+
rsp = client.DescribePageWidgetList(model)
|
782
|
+
result = rsp.to_json_string()
|
783
|
+
try:
|
784
|
+
json_obj = json.loads(result)
|
785
|
+
except TypeError as e:
|
786
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
787
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
788
|
+
break
|
789
|
+
cur_time = time.time()
|
790
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
791
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
792
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
793
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
794
|
+
else:
|
795
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
796
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
797
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
798
|
+
|
799
|
+
|
696
800
|
def doDescribeUserRoleProjectList(args, parsed_globals):
|
697
801
|
g_param = parse_global_arg(parsed_globals)
|
698
802
|
|
@@ -1179,12 +1283,14 @@ ACTION_MAP = {
|
|
1179
1283
|
"CreateProject": doCreateProject,
|
1180
1284
|
"CreateDatasourceCloud": doCreateDatasourceCloud,
|
1181
1285
|
"ModifyUserRole": doModifyUserRole,
|
1286
|
+
"ExportScreenPage": doExportScreenPage,
|
1182
1287
|
"CreateEmbedToken": doCreateEmbedToken,
|
1183
1288
|
"CreateUserRole": doCreateUserRole,
|
1184
1289
|
"DeleteDatasource": doDeleteDatasource,
|
1185
1290
|
"DeleteUserRole": doDeleteUserRole,
|
1186
1291
|
"ModifyProject": doModifyProject,
|
1187
1292
|
"DescribeUserRoleList": doDescribeUserRoleList,
|
1293
|
+
"DescribePageWidgetList": doDescribePageWidgetList,
|
1188
1294
|
"DescribeUserRoleProjectList": doDescribeUserRoleProjectList,
|
1189
1295
|
"ModifyDatasourceCloud": doModifyDatasourceCloud,
|
1190
1296
|
"CreateUserRoleProject": doCreateUserRoleProject,
|
@@ -84,6 +84,13 @@
|
|
84
84
|
"output": "DescribeDatasourceListResponse",
|
85
85
|
"status": "online"
|
86
86
|
},
|
87
|
+
"DescribePageWidgetList": {
|
88
|
+
"document": "查询页面组件信息",
|
89
|
+
"input": "DescribePageWidgetListRequest",
|
90
|
+
"name": "查询页面组件信息",
|
91
|
+
"output": "DescribePageWidgetListResponse",
|
92
|
+
"status": "online"
|
93
|
+
},
|
87
94
|
"DescribeProjectInfo": {
|
88
95
|
"document": "项目详情接口",
|
89
96
|
"input": "DescribeProjectInfoRequest",
|
@@ -119,6 +126,13 @@
|
|
119
126
|
"output": "DescribeUserRoleProjectListResponse",
|
120
127
|
"status": "online"
|
121
128
|
},
|
129
|
+
"ExportScreenPage": {
|
130
|
+
"document": "页面截图导出",
|
131
|
+
"input": "ExportScreenPageRequest",
|
132
|
+
"name": "分享页截图导出",
|
133
|
+
"output": "ExportScreenPageResponse",
|
134
|
+
"status": "online"
|
135
|
+
},
|
122
136
|
"ModifyDatasource": {
|
123
137
|
"document": "更新数据源",
|
124
138
|
"input": "ModifyDatasourceRequest",
|
@@ -2243,6 +2257,82 @@
|
|
2243
2257
|
],
|
2244
2258
|
"type": "object"
|
2245
2259
|
},
|
2260
|
+
"DescribePageWidgetListRequest": {
|
2261
|
+
"document": "DescribePageWidgetList请求参数结构体",
|
2262
|
+
"members": [
|
2263
|
+
{
|
2264
|
+
"disabled": false,
|
2265
|
+
"document": "项目id",
|
2266
|
+
"example": "123",
|
2267
|
+
"member": "string",
|
2268
|
+
"name": "ProjectId",
|
2269
|
+
"required": true,
|
2270
|
+
"type": "string"
|
2271
|
+
},
|
2272
|
+
{
|
2273
|
+
"disabled": false,
|
2274
|
+
"document": "页面id",
|
2275
|
+
"example": "1",
|
2276
|
+
"member": "string",
|
2277
|
+
"name": "PageId",
|
2278
|
+
"required": true,
|
2279
|
+
"type": "string"
|
2280
|
+
}
|
2281
|
+
],
|
2282
|
+
"type": "object"
|
2283
|
+
},
|
2284
|
+
"DescribePageWidgetListResponse": {
|
2285
|
+
"document": "DescribePageWidgetList返回参数结构体",
|
2286
|
+
"members": [
|
2287
|
+
{
|
2288
|
+
"disabled": false,
|
2289
|
+
"document": "自定义错误信息对象\n注意:此字段可能返回 null,表示取不到有效值。",
|
2290
|
+
"example": "无",
|
2291
|
+
"member": "ErrorInfo",
|
2292
|
+
"name": "ErrorInfo",
|
2293
|
+
"output_required": false,
|
2294
|
+
"type": "object",
|
2295
|
+
"value_allowed_null": true
|
2296
|
+
},
|
2297
|
+
{
|
2298
|
+
"disabled": false,
|
2299
|
+
"document": "扩展参数\n注意:此字段可能返回 null,表示取不到有效值。",
|
2300
|
+
"example": "\"ext\"",
|
2301
|
+
"member": "string",
|
2302
|
+
"name": "Extra",
|
2303
|
+
"output_required": true,
|
2304
|
+
"type": "string",
|
2305
|
+
"value_allowed_null": true
|
2306
|
+
},
|
2307
|
+
{
|
2308
|
+
"disabled": false,
|
2309
|
+
"document": "返回数据结果\n注意:此字段可能返回 null,表示取不到有效值。",
|
2310
|
+
"example": "{}",
|
2311
|
+
"member": "WidgetListVO",
|
2312
|
+
"name": "Data",
|
2313
|
+
"output_required": true,
|
2314
|
+
"type": "object",
|
2315
|
+
"value_allowed_null": true
|
2316
|
+
},
|
2317
|
+
{
|
2318
|
+
"disabled": false,
|
2319
|
+
"document": "返回消息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2320
|
+
"example": "\"success\"",
|
2321
|
+
"member": "string",
|
2322
|
+
"name": "Msg",
|
2323
|
+
"output_required": true,
|
2324
|
+
"type": "string",
|
2325
|
+
"value_allowed_null": true
|
2326
|
+
},
|
2327
|
+
{
|
2328
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2329
|
+
"member": "string",
|
2330
|
+
"name": "RequestId",
|
2331
|
+
"type": "string"
|
2332
|
+
}
|
2333
|
+
],
|
2334
|
+
"type": "object"
|
2335
|
+
},
|
2246
2336
|
"DescribeProjectInfoRequest": {
|
2247
2337
|
"document": "DescribeProjectInfo请求参数结构体",
|
2248
2338
|
"members": [
|
@@ -2993,6 +3083,127 @@
|
|
2993
3083
|
],
|
2994
3084
|
"usage": "out"
|
2995
3085
|
},
|
3086
|
+
"ExportScreenPageRequest": {
|
3087
|
+
"document": "ExportScreenPage请求参数结构体",
|
3088
|
+
"members": [
|
3089
|
+
{
|
3090
|
+
"disabled": false,
|
3091
|
+
"document": "项目id",
|
3092
|
+
"example": "123",
|
3093
|
+
"member": "string",
|
3094
|
+
"name": "ProjectId",
|
3095
|
+
"required": true,
|
3096
|
+
"type": "string"
|
3097
|
+
},
|
3098
|
+
{
|
3099
|
+
"disabled": false,
|
3100
|
+
"document": "页面id",
|
3101
|
+
"example": "1",
|
3102
|
+
"member": "string",
|
3103
|
+
"name": "PageId",
|
3104
|
+
"required": true,
|
3105
|
+
"type": "string"
|
3106
|
+
},
|
3107
|
+
{
|
3108
|
+
"disabled": false,
|
3109
|
+
"document": "画布类型。栅格画布:GRID;自由画布:FREE",
|
3110
|
+
"example": "\"GRID\"",
|
3111
|
+
"member": "string",
|
3112
|
+
"name": "CanvasType",
|
3113
|
+
"required": false,
|
3114
|
+
"type": "string"
|
3115
|
+
},
|
3116
|
+
{
|
3117
|
+
"disabled": false,
|
3118
|
+
"document": "图片导出类型。base64;url(有效期:1天)",
|
3119
|
+
"example": "\"base64\"",
|
3120
|
+
"member": "string",
|
3121
|
+
"name": "PicType",
|
3122
|
+
"required": false,
|
3123
|
+
"type": "string"
|
3124
|
+
},
|
3125
|
+
{
|
3126
|
+
"disabled": false,
|
3127
|
+
"document": "组件Ids。为空时,导出整个页面",
|
3128
|
+
"example": "[\"123\",\"456\"]",
|
3129
|
+
"member": "string",
|
3130
|
+
"name": "WidgetIds",
|
3131
|
+
"required": false,
|
3132
|
+
"type": "list"
|
3133
|
+
},
|
3134
|
+
{
|
3135
|
+
"disabled": false,
|
3136
|
+
"document": "是否是异步请求",
|
3137
|
+
"example": "无",
|
3138
|
+
"member": "bool",
|
3139
|
+
"name": "AsyncRequest",
|
3140
|
+
"required": false,
|
3141
|
+
"type": "bool"
|
3142
|
+
},
|
3143
|
+
{
|
3144
|
+
"disabled": false,
|
3145
|
+
"document": "事务id",
|
3146
|
+
"example": "无",
|
3147
|
+
"member": "string",
|
3148
|
+
"name": "TranId",
|
3149
|
+
"required": false,
|
3150
|
+
"type": "string"
|
3151
|
+
}
|
3152
|
+
],
|
3153
|
+
"type": "object"
|
3154
|
+
},
|
3155
|
+
"ExportScreenPageResponse": {
|
3156
|
+
"document": "ExportScreenPage返回参数结构体",
|
3157
|
+
"members": [
|
3158
|
+
{
|
3159
|
+
"disabled": false,
|
3160
|
+
"document": "自定义错误信息对象\n注意:此字段可能返回 null,表示取不到有效值。",
|
3161
|
+
"example": "无",
|
3162
|
+
"member": "ErrorInfo",
|
3163
|
+
"name": "ErrorInfo",
|
3164
|
+
"output_required": false,
|
3165
|
+
"type": "object",
|
3166
|
+
"value_allowed_null": true
|
3167
|
+
},
|
3168
|
+
{
|
3169
|
+
"disabled": false,
|
3170
|
+
"document": "扩展参数\n注意:此字段可能返回 null,表示取不到有效值。",
|
3171
|
+
"example": "\"ext\"",
|
3172
|
+
"member": "string",
|
3173
|
+
"name": "Extra",
|
3174
|
+
"output_required": true,
|
3175
|
+
"type": "string",
|
3176
|
+
"value_allowed_null": true
|
3177
|
+
},
|
3178
|
+
{
|
3179
|
+
"disabled": false,
|
3180
|
+
"document": "返回数据结果\n注意:此字段可能返回 null,表示取不到有效值。",
|
3181
|
+
"example": "{}",
|
3182
|
+
"member": "PageScreenListVO",
|
3183
|
+
"name": "Data",
|
3184
|
+
"output_required": true,
|
3185
|
+
"type": "object",
|
3186
|
+
"value_allowed_null": true
|
3187
|
+
},
|
3188
|
+
{
|
3189
|
+
"disabled": false,
|
3190
|
+
"document": "返回消息\n注意:此字段可能返回 null,表示取不到有效值。",
|
3191
|
+
"example": "\"success\"",
|
3192
|
+
"member": "string",
|
3193
|
+
"name": "Msg",
|
3194
|
+
"output_required": true,
|
3195
|
+
"type": "string",
|
3196
|
+
"value_allowed_null": true
|
3197
|
+
},
|
3198
|
+
{
|
3199
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3200
|
+
"member": "string",
|
3201
|
+
"name": "RequestId",
|
3202
|
+
"type": "string"
|
3203
|
+
}
|
3204
|
+
],
|
3205
|
+
"type": "object"
|
3206
|
+
},
|
2996
3207
|
"IdDTO": {
|
2997
3208
|
"document": "仅包含id的对象",
|
2998
3209
|
"members": [
|
@@ -3929,6 +4140,78 @@
|
|
3929
4140
|
],
|
3930
4141
|
"type": "object"
|
3931
4142
|
},
|
4143
|
+
"PageScreenListVO": {
|
4144
|
+
"document": "页面截图列表",
|
4145
|
+
"members": [
|
4146
|
+
{
|
4147
|
+
"disabled": false,
|
4148
|
+
"document": "图片导出类型。base64;url\n注意:此字段可能返回 null,表示取不到有效值。",
|
4149
|
+
"example": "\"base64\"",
|
4150
|
+
"member": "string",
|
4151
|
+
"name": "PicType",
|
4152
|
+
"output_required": false,
|
4153
|
+
"type": "string",
|
4154
|
+
"value_allowed_null": true
|
4155
|
+
},
|
4156
|
+
{
|
4157
|
+
"disabled": false,
|
4158
|
+
"document": "图片列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
4159
|
+
"example": "无",
|
4160
|
+
"member": "PageScreenVO",
|
4161
|
+
"name": "List",
|
4162
|
+
"output_required": false,
|
4163
|
+
"type": "list",
|
4164
|
+
"value_allowed_null": true
|
4165
|
+
},
|
4166
|
+
{
|
4167
|
+
"disabled": false,
|
4168
|
+
"document": "异步事务id\n注意:此字段可能返回 null,表示取不到有效值。",
|
4169
|
+
"example": "\"\"",
|
4170
|
+
"member": "string",
|
4171
|
+
"name": "TranId",
|
4172
|
+
"output_required": false,
|
4173
|
+
"type": "string",
|
4174
|
+
"value_allowed_null": true
|
4175
|
+
},
|
4176
|
+
{
|
4177
|
+
"disabled": false,
|
4178
|
+
"document": "事务状态\n1: 处理中; 2: 处理成功; 3 处理失败(错误内容见外层Msg)\n注意:此字段可能返回 null,表示取不到有效值。",
|
4179
|
+
"example": "1",
|
4180
|
+
"member": "int64",
|
4181
|
+
"name": "TranStatus",
|
4182
|
+
"output_required": false,
|
4183
|
+
"type": "int",
|
4184
|
+
"value_allowed_null": true
|
4185
|
+
}
|
4186
|
+
],
|
4187
|
+
"usage": "out"
|
4188
|
+
},
|
4189
|
+
"PageScreenVO": {
|
4190
|
+
"document": "页面截图信息",
|
4191
|
+
"members": [
|
4192
|
+
{
|
4193
|
+
"disabled": false,
|
4194
|
+
"document": "截图base64或 url\n注意:此字段可能返回 null,表示取不到有效值。",
|
4195
|
+
"example": "\"\"",
|
4196
|
+
"member": "string",
|
4197
|
+
"name": "Content",
|
4198
|
+
"output_required": false,
|
4199
|
+
"type": "string",
|
4200
|
+
"value_allowed_null": true
|
4201
|
+
},
|
4202
|
+
{
|
4203
|
+
"disabled": false,
|
4204
|
+
"document": "组件Id\n注意:此字段可能返回 null,表示取不到有效值。",
|
4205
|
+
"example": "\"\"",
|
4206
|
+
"member": "string",
|
4207
|
+
"name": "WidgetId",
|
4208
|
+
"output_required": false,
|
4209
|
+
"type": "string",
|
4210
|
+
"value_allowed_null": true
|
4211
|
+
}
|
4212
|
+
],
|
4213
|
+
"usage": "out"
|
4214
|
+
},
|
3932
4215
|
"PermissionComponent": {
|
3933
4216
|
"document": "商业版本权限单元",
|
3934
4217
|
"members": [
|
@@ -4966,6 +5249,78 @@
|
|
4966
5249
|
}
|
4967
5250
|
],
|
4968
5251
|
"usage": "out"
|
5252
|
+
},
|
5253
|
+
"WidgetListVO": {
|
5254
|
+
"document": "页面组件信息",
|
5255
|
+
"members": [
|
5256
|
+
{
|
5257
|
+
"disabled": false,
|
5258
|
+
"document": "uin\n注意:此字段可能返回 null,表示取不到有效值。",
|
5259
|
+
"example": "\"\"",
|
5260
|
+
"member": "string",
|
5261
|
+
"name": "CorpId",
|
5262
|
+
"output_required": false,
|
5263
|
+
"type": "string",
|
5264
|
+
"value_allowed_null": true
|
5265
|
+
},
|
5266
|
+
{
|
5267
|
+
"disabled": false,
|
5268
|
+
"document": "项目id\n注意:此字段可能返回 null,表示取不到有效值。",
|
5269
|
+
"example": "\"\"",
|
5270
|
+
"member": "string",
|
5271
|
+
"name": "ProjectId",
|
5272
|
+
"output_required": false,
|
5273
|
+
"type": "string",
|
5274
|
+
"value_allowed_null": true
|
5275
|
+
},
|
5276
|
+
{
|
5277
|
+
"disabled": false,
|
5278
|
+
"document": "页面id\n注意:此字段可能返回 null,表示取不到有效值。",
|
5279
|
+
"example": "1",
|
5280
|
+
"member": "string",
|
5281
|
+
"name": "PageId",
|
5282
|
+
"output_required": false,
|
5283
|
+
"type": "string",
|
5284
|
+
"value_allowed_null": true
|
5285
|
+
},
|
5286
|
+
{
|
5287
|
+
"disabled": false,
|
5288
|
+
"document": "组件数组\n注意:此字段可能返回 null,表示取不到有效值。",
|
5289
|
+
"example": "无",
|
5290
|
+
"member": "WidgetVO",
|
5291
|
+
"name": "WidgetList",
|
5292
|
+
"output_required": false,
|
5293
|
+
"type": "list",
|
5294
|
+
"value_allowed_null": true
|
5295
|
+
}
|
5296
|
+
],
|
5297
|
+
"usage": "out"
|
5298
|
+
},
|
5299
|
+
"WidgetVO": {
|
5300
|
+
"document": "组件信息",
|
5301
|
+
"members": [
|
5302
|
+
{
|
5303
|
+
"disabled": false,
|
5304
|
+
"document": "组件Id\n注意:此字段可能返回 null,表示取不到有效值。",
|
5305
|
+
"example": "\"\"",
|
5306
|
+
"member": "string",
|
5307
|
+
"name": "WidgetId",
|
5308
|
+
"output_required": false,
|
5309
|
+
"type": "string",
|
5310
|
+
"value_allowed_null": true
|
5311
|
+
},
|
5312
|
+
{
|
5313
|
+
"disabled": false,
|
5314
|
+
"document": "组件name\n注意:此字段可能返回 null,表示取不到有效值。",
|
5315
|
+
"example": "\"\"",
|
5316
|
+
"member": "string",
|
5317
|
+
"name": "WidgetName",
|
5318
|
+
"output_required": false,
|
5319
|
+
"type": "string",
|
5320
|
+
"value_allowed_null": true
|
5321
|
+
}
|
5322
|
+
],
|
5323
|
+
"usage": "out"
|
4969
5324
|
}
|
4970
5325
|
},
|
4971
5326
|
"version": "1.0"
|
@@ -114,6 +114,14 @@
|
|
114
114
|
"title": "success"
|
115
115
|
}
|
116
116
|
],
|
117
|
+
"DescribePageWidgetList": [
|
118
|
+
{
|
119
|
+
"document": "",
|
120
|
+
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePageWidgetList\n<公共请求参数>\n\n{\n \"ProjectId\": \"662\",\n \"PageId\": \"6465\"\n}",
|
121
|
+
"output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorMessage\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Data\": {\n \"CorpId\": \"abc\",\n \"ProjectId\": \"abc\",\n \"PageId\": \"abc\",\n \"WidgetList\": [\n {\n \"WidgetId\": \"abc\",\n \"WidgetName\": \"abc\"\n }\n ]\n },\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
122
|
+
"title": "成功"
|
123
|
+
}
|
124
|
+
],
|
117
125
|
"DescribeProjectInfo": [
|
118
126
|
{
|
119
127
|
"document": "展示项目详情接口示例",
|
@@ -154,6 +162,14 @@
|
|
154
162
|
"title": "项目内-用户角色列表"
|
155
163
|
}
|
156
164
|
],
|
165
|
+
"ExportScreenPage": [
|
166
|
+
{
|
167
|
+
"document": "导出自由画布",
|
168
|
+
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportScreenPage\n<公共请求参数>\n\n{\n \"ProjectId\": \"1907\",\n \"PageId\": \"39618\",\n \"CanvasType\": \"FREE\",\n \"PicType\": \"url\",\n \"WidgetIds\": []\n}",
|
169
|
+
"output": "{\n \"Response\": {\n \"ErrorInfo\": {\n \"ErrorTip\": \"abc\",\n \"ErrorMessage\": \"abc\",\n \"ErrorLevel\": \"abc\",\n \"DocLink\": \"abc\",\n \"FAQ\": \"abc\",\n \"ReservedField\": \"abc\"\n },\n \"Extra\": \"abc\",\n \"Data\": {\n \"PicType\": \"abc\",\n \"List\": [\n {\n \"Content\": \"abc\",\n \"WidgetId\": \"abc\"\n }\n ],\n \"TranId\": \"abc\",\n \"TranStatus\": 0\n },\n \"Msg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
170
|
+
"title": "导出自由画布"
|
171
|
+
}
|
172
|
+
],
|
157
173
|
"ModifyDatasource": [
|
158
174
|
{
|
159
175
|
"document": "",
|