tccli 3.0.1388.1__py2.py3-none-any.whl → 3.0.1390.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/__init__.py +3 -0
- tccli/services/ai3d/ai3d_client.py +106 -0
- tccli/services/ai3d/v20250513/api.json +172 -0
- tccli/services/ai3d/v20250513/examples.json +16 -0
- tccli/services/batch/v20170312/api.json +3 -3
- tccli/services/batch/v20170312/examples.json +3 -3
- tccli/services/bi/v20220105/api.json +8 -8
- tccli/services/bi/v20220105/examples.json +4 -4
- tccli/services/cam/v20190116/api.json +11 -1
- tccli/services/ccc/v20200210/api.json +10 -10
- tccli/services/cdb/v20170320/api.json +40 -2
- tccli/services/cdc/v20201214/api.json +1 -1
- tccli/services/cdc/v20201214/examples.json +2 -2
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cdz/v20221123/api.json +1 -1
- tccli/services/chc/v20230418/api.json +69 -1
- tccli/services/ckafka/v20190819/api.json +141 -124
- tccli/services/ckafka/v20190819/examples.json +8 -8
- tccli/services/cloudapp/cloudapp_client.py +53 -0
- tccli/services/cloudapp/v20220530/api.json +68 -0
- tccli/services/cloudapp/v20220530/examples.json +14 -0
- tccli/services/cls/cls_client.py +167 -8
- tccli/services/cls/v20201016/api.json +373 -6
- tccli/services/cls/v20201016/examples.json +25 -1
- tccli/services/ctem/v20231128/api.json +40 -0
- tccli/services/dc/v20180410/api.json +26 -6
- tccli/services/dts/v20211206/api.json +21 -21
- tccli/services/dts/v20211206/examples.json +2 -2
- tccli/services/emr/v20190103/api.json +172 -11
- tccli/services/es/v20180416/api.json +4 -4
- tccli/services/es/v20250101/api.json +218 -13
- tccli/services/ess/v20201111/api.json +175 -5
- tccli/services/ess/v20201111/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +21 -3
- tccli/services/gme/gme_client.py +509 -32
- tccli/services/gme/v20180711/api.json +1179 -53
- tccli/services/gme/v20180711/examples.json +72 -0
- tccli/services/hunyuan/v20230901/api.json +18 -0
- tccli/services/igtm/v20231024/api.json +3 -3
- tccli/services/ioa/v20220601/api.json +44 -8
- tccli/services/ioa/v20220601/examples.json +4 -4
- tccli/services/iotexplorer/iotexplorer_client.py +432 -8
- tccli/services/iotexplorer/v20190423/api.json +990 -36
- tccli/services/iotexplorer/v20190423/examples.json +65 -1
- tccli/services/lighthouse/lighthouse_client.py +53 -0
- tccli/services/lighthouse/v20200324/api.json +246 -35
- tccli/services/lighthouse/v20200324/examples.json +8 -0
- tccli/services/live/v20180801/api.json +3 -3
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +18 -0
- tccli/services/lowcode/lowcode_client.py +163 -4
- tccli/services/lowcode/v20210108/api.json +1373 -96
- tccli/services/lowcode/v20210108/examples.json +24 -0
- tccli/services/mps/v20190612/api.json +804 -47
- tccli/services/mqtt/v20240516/api.json +89 -0
- tccli/services/ocr/ocr_client.py +114 -8
- tccli/services/ocr/v20181119/api.json +225 -0
- tccli/services/ocr/v20181119/examples.json +28 -0
- tccli/services/sqlserver/v20180328/api.json +4 -4
- tccli/services/tcbr/v20220217/api.json +51 -0
- tccli/services/tdai/__init__.py +4 -0
- tccli/services/tdai/tdai_client.py +1108 -0
- tccli/services/tdai/v20250717/api.json +1930 -0
- tccli/services/tdai/v20250717/examples.json +149 -0
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +111 -3
- tccli/services/teo/v20220901/examples.json +8 -0
- tccli/services/thpc/v20230321/api.json +1 -1
- tccli/services/thpc/v20230321/examples.json +2 -2
- tccli/services/tione/v20211111/api.json +9 -9
- tccli/services/tmt/v20180321/api.json +3 -3
- tccli/services/tsf/v20180326/api.json +2 -2
- tccli/services/tts/v20190823/api.json +11 -11
- tccli/services/vpc/v20170312/api.json +37 -7
- tccli/services/vpc/v20170312/examples.json +7 -7
- tccli/services/vtc/v20240223/api.json +3 -1
- tccli/services/vtc/v20240223/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +6 -6
- tccli/services/wsa/v20250508/api.json +2 -2
- {tccli-3.0.1388.1.dist-info → tccli-3.0.1390.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1388.1.dist-info → tccli-3.0.1390.1.dist-info}/RECORD +85 -81
- {tccli-3.0.1388.1.dist-info → tccli-3.0.1390.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1388.1.dist-info → tccli-3.0.1390.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1388.1.dist-info → tccli-3.0.1390.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1390.1'
|
tccli/services/__init__.py
CHANGED
@@ -17,6 +17,110 @@ from tencentcloud.ai3d.v20250513 import models as models_v20250513
|
|
17
17
|
from jmespath import search
|
18
18
|
import time
|
19
19
|
|
20
|
+
def doSubmitHunyuanTo3DProJob(args, parsed_globals):
|
21
|
+
g_param = parse_global_arg(parsed_globals)
|
22
|
+
|
23
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
24
|
+
cred = credential.CVMRoleCredential()
|
25
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
26
|
+
cred = credential.STSAssumeRoleCredential(
|
27
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
28
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
29
|
+
)
|
30
|
+
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):
|
31
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
32
|
+
else:
|
33
|
+
cred = credential.Credential(
|
34
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
35
|
+
)
|
36
|
+
http_profile = HttpProfile(
|
37
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
38
|
+
reqMethod="POST",
|
39
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
40
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
41
|
+
)
|
42
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
43
|
+
if g_param[OptionsDefine.Language]:
|
44
|
+
profile.language = g_param[OptionsDefine.Language]
|
45
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
46
|
+
client = mod.Ai3dClient(cred, g_param[OptionsDefine.Region], profile)
|
47
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
48
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
49
|
+
model = models.SubmitHunyuanTo3DProJobRequest()
|
50
|
+
model.from_json_string(json.dumps(args))
|
51
|
+
start_time = time.time()
|
52
|
+
while True:
|
53
|
+
rsp = client.SubmitHunyuanTo3DProJob(model)
|
54
|
+
result = rsp.to_json_string()
|
55
|
+
try:
|
56
|
+
json_obj = json.loads(result)
|
57
|
+
except TypeError as e:
|
58
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
59
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
60
|
+
break
|
61
|
+
cur_time = time.time()
|
62
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
63
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
64
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
65
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
66
|
+
else:
|
67
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
68
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
69
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
|
+
|
71
|
+
|
72
|
+
def doQueryHunyuanTo3DProJob(args, parsed_globals):
|
73
|
+
g_param = parse_global_arg(parsed_globals)
|
74
|
+
|
75
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
76
|
+
cred = credential.CVMRoleCredential()
|
77
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
78
|
+
cred = credential.STSAssumeRoleCredential(
|
79
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
80
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
81
|
+
)
|
82
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
83
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
84
|
+
else:
|
85
|
+
cred = credential.Credential(
|
86
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
87
|
+
)
|
88
|
+
http_profile = HttpProfile(
|
89
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
90
|
+
reqMethod="POST",
|
91
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
92
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
93
|
+
)
|
94
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
95
|
+
if g_param[OptionsDefine.Language]:
|
96
|
+
profile.language = g_param[OptionsDefine.Language]
|
97
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
98
|
+
client = mod.Ai3dClient(cred, g_param[OptionsDefine.Region], profile)
|
99
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
100
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
101
|
+
model = models.QueryHunyuanTo3DProJobRequest()
|
102
|
+
model.from_json_string(json.dumps(args))
|
103
|
+
start_time = time.time()
|
104
|
+
while True:
|
105
|
+
rsp = client.QueryHunyuanTo3DProJob(model)
|
106
|
+
result = rsp.to_json_string()
|
107
|
+
try:
|
108
|
+
json_obj = json.loads(result)
|
109
|
+
except TypeError as e:
|
110
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
111
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
112
|
+
break
|
113
|
+
cur_time = time.time()
|
114
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
115
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
116
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
117
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
118
|
+
else:
|
119
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
120
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
121
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
122
|
+
|
123
|
+
|
20
124
|
def doSubmitHunyuanTo3DJob(args, parsed_globals):
|
21
125
|
g_param = parse_global_arg(parsed_globals)
|
22
126
|
|
@@ -132,6 +236,8 @@ MODELS_MAP = {
|
|
132
236
|
}
|
133
237
|
|
134
238
|
ACTION_MAP = {
|
239
|
+
"SubmitHunyuanTo3DProJob": doSubmitHunyuanTo3DProJob,
|
240
|
+
"QueryHunyuanTo3DProJob": doQueryHunyuanTo3DProJob,
|
135
241
|
"SubmitHunyuanTo3DJob": doSubmitHunyuanTo3DJob,
|
136
242
|
"QueryHunyuanTo3DJob": doQueryHunyuanTo3DJob,
|
137
243
|
|
@@ -7,12 +7,26 @@
|
|
7
7
|
"output": "QueryHunyuanTo3DJobResponse",
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
|
+
"QueryHunyuanTo3DProJob": {
|
11
|
+
"document": "混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
12
|
+
"input": "QueryHunyuanTo3DProJobRequest",
|
13
|
+
"name": "查询混元生3D专业版任务",
|
14
|
+
"output": "QueryHunyuanTo3DProJobResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
10
17
|
"SubmitHunyuanTo3DJob": {
|
11
18
|
"document": "混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
12
19
|
"input": "SubmitHunyuanTo3DJobRequest",
|
13
20
|
"name": "提交混元生3D任务",
|
14
21
|
"output": "SubmitHunyuanTo3DJobResponse",
|
15
22
|
"status": "online"
|
23
|
+
},
|
24
|
+
"SubmitHunyuanTo3DProJob": {
|
25
|
+
"document": "混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
26
|
+
"input": "SubmitHunyuanTo3DProJobRequest",
|
27
|
+
"name": "提交混元生3D专业版任务",
|
28
|
+
"output": "SubmitHunyuanTo3DProJobResponse",
|
29
|
+
"status": "online"
|
16
30
|
}
|
17
31
|
},
|
18
32
|
"metadata": {
|
@@ -128,6 +142,73 @@
|
|
128
142
|
],
|
129
143
|
"type": "object"
|
130
144
|
},
|
145
|
+
"QueryHunyuanTo3DProJobRequest": {
|
146
|
+
"document": "QueryHunyuanTo3DProJob请求参数结构体",
|
147
|
+
"members": [
|
148
|
+
{
|
149
|
+
"disabled": false,
|
150
|
+
"document": "任务ID。",
|
151
|
+
"example": "1357237233311637504",
|
152
|
+
"member": "string",
|
153
|
+
"name": "JobId",
|
154
|
+
"required": true,
|
155
|
+
"type": "string"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"type": "object"
|
159
|
+
},
|
160
|
+
"QueryHunyuanTo3DProJobResponse": {
|
161
|
+
"document": "QueryHunyuanTo3DProJob返回参数结构体",
|
162
|
+
"members": [
|
163
|
+
{
|
164
|
+
"disabled": false,
|
165
|
+
"document": "任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功",
|
166
|
+
"example": "DONE",
|
167
|
+
"member": "string",
|
168
|
+
"name": "Status",
|
169
|
+
"output_required": false,
|
170
|
+
"type": "string",
|
171
|
+
"value_allowed_null": false
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"disabled": false,
|
175
|
+
"document": "错误码",
|
176
|
+
"example": "InvalidParameter",
|
177
|
+
"member": "string",
|
178
|
+
"name": "ErrorCode",
|
179
|
+
"output_required": false,
|
180
|
+
"type": "string",
|
181
|
+
"value_allowed_null": false
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"disabled": false,
|
185
|
+
"document": "错误信息",
|
186
|
+
"example": "参数错误。",
|
187
|
+
"member": "string",
|
188
|
+
"name": "ErrorMessage",
|
189
|
+
"output_required": false,
|
190
|
+
"type": "string",
|
191
|
+
"value_allowed_null": false
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"disabled": false,
|
195
|
+
"document": "生成的3D文件数组。",
|
196
|
+
"example": "无",
|
197
|
+
"member": "File3D",
|
198
|
+
"name": "ResultFile3Ds",
|
199
|
+
"output_required": false,
|
200
|
+
"type": "list",
|
201
|
+
"value_allowed_null": false
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
205
|
+
"member": "string",
|
206
|
+
"name": "RequestId",
|
207
|
+
"type": "string"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"type": "object"
|
211
|
+
},
|
131
212
|
"SubmitHunyuanTo3DJobRequest": {
|
132
213
|
"document": "SubmitHunyuanTo3DJob请求参数结构体",
|
133
214
|
"members": [
|
@@ -210,6 +291,97 @@
|
|
210
291
|
],
|
211
292
|
"type": "object"
|
212
293
|
},
|
294
|
+
"SubmitHunyuanTo3DProJobRequest": {
|
295
|
+
"document": "SubmitHunyuanTo3DProJob请求参数结构体",
|
296
|
+
"members": [
|
297
|
+
{
|
298
|
+
"disabled": false,
|
299
|
+
"document": "文生3D,3D内容的描述,中文正向提示词。\n最多支持1024个 utf-8 字符。\n文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。",
|
300
|
+
"example": "1",
|
301
|
+
"member": "string",
|
302
|
+
"name": "Prompt",
|
303
|
+
"required": false,
|
304
|
+
"type": "string"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"disabled": false,
|
308
|
+
"document": "输入图 Base64 数据。\n大小:单边分辨率要求不小于128,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)\n格式:jpg,png,jpeg,webp。\nImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。",
|
309
|
+
"example": "1",
|
310
|
+
"member": "string",
|
311
|
+
"name": "ImageBase64",
|
312
|
+
"required": false,
|
313
|
+
"type": "string"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"disabled": false,
|
317
|
+
"document": "输入图Url。\n大小:单边分辨率要求不小于128,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)\n格式:jpg,png,jpeg,webp。\nImageBase64/ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。",
|
318
|
+
"example": "1",
|
319
|
+
"member": "string",
|
320
|
+
"name": "ImageUrl",
|
321
|
+
"required": false,
|
322
|
+
"type": "string"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"disabled": false,
|
326
|
+
"document": "多视角的模型图片,视角参考值:\nleft:左视图;\nright:右视图;\nback:后视图;\n\n每个视角仅限制一张图片。\n●图片大小限制:编码后大小不可超过8M。\n●图片分辨率限制:单边分辨率小于5000且大于128。\n●支持图片格式:支持jpg或png",
|
327
|
+
"example": "无",
|
328
|
+
"member": "ViewImage",
|
329
|
+
"name": "MultiViewImages",
|
330
|
+
"required": false,
|
331
|
+
"type": "list"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"disabled": false,
|
335
|
+
"document": "是否开启 PBR材质生成,默认 false。",
|
336
|
+
"example": "true",
|
337
|
+
"member": "bool",
|
338
|
+
"name": "EnablePBR",
|
339
|
+
"required": false,
|
340
|
+
"type": "bool"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"disabled": false,
|
344
|
+
"document": "生成3D模型的面数,默认值为500000。\n可支持生成面数范围,参考值:40000-500000。",
|
345
|
+
"example": "400000",
|
346
|
+
"member": "int64",
|
347
|
+
"name": "FaceCount",
|
348
|
+
"required": false,
|
349
|
+
"type": "int"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"disabled": false,
|
353
|
+
"document": "生成任务类型,默认Normal,参考值:\nNormal:可生成带纹理的几何模型。\nLowPoly:可生成智能减面后的模型。\nGeometry:可生成不带纹理的几何模型(白模),选择此任务时,EnablePBR参数不生效。\nSketch:可输入草图或线稿图生成模型。",
|
354
|
+
"example": "Normal",
|
355
|
+
"member": "string",
|
356
|
+
"name": "GenerateType",
|
357
|
+
"required": false,
|
358
|
+
"type": "string"
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"type": "object"
|
362
|
+
},
|
363
|
+
"SubmitHunyuanTo3DProJobResponse": {
|
364
|
+
"document": "SubmitHunyuanTo3DProJob返回参数结构体",
|
365
|
+
"members": [
|
366
|
+
{
|
367
|
+
"disabled": false,
|
368
|
+
"document": "任务ID(有效期24小时)",
|
369
|
+
"example": "1357237233311637504",
|
370
|
+
"member": "string",
|
371
|
+
"name": "JobId",
|
372
|
+
"output_required": false,
|
373
|
+
"type": "string",
|
374
|
+
"value_allowed_null": false
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
378
|
+
"member": "string",
|
379
|
+
"name": "RequestId",
|
380
|
+
"type": "string"
|
381
|
+
}
|
382
|
+
],
|
383
|
+
"type": "object"
|
384
|
+
},
|
213
385
|
"ViewImage": {
|
214
386
|
"document": "多视角图片",
|
215
387
|
"members": [
|
@@ -8,6 +8,14 @@
|
|
8
8
|
"title": "调用请求示例"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"QueryHunyuanTo3DProJob": [
|
12
|
+
{
|
13
|
+
"document": "",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: ai3d.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryHunyuanTo3DProJob\n<公共请求参数>\n\n{\n \"JobId\": \"1357237233311637504\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"ErrorCode\": \"\",\n \"ErrorMessage\": \"\",\n \"RequestId\": \"e4de438f-acca-44f9-9f29-7df547c81680\",\n \"ResultFile3Ds\": [\n {\n \"PreviewImageUrl\": \"https://cos.ap-guangzhou.tencentcos.cn/xxx.png\",\n \"Type\": \"GLB\",\n \"Url\": \"https://cos.ap-guangzhou.tencentcos.cn/xxx.glb\"\n }\n ],\n \"Status\": \"DONE\"\n }\n}",
|
16
|
+
"title": "查询生3D专业版示例"
|
17
|
+
}
|
18
|
+
],
|
11
19
|
"SubmitHunyuanTo3DJob": [
|
12
20
|
{
|
13
21
|
"document": "",
|
@@ -15,6 +23,14 @@
|
|
15
23
|
"output": "{\n \"Response\": {\n \"JobId\": \"1315932989749215232\",\n \"RequestId\": \"1efb4823-902e-4809-9656-aea168410e54\"\n }\n}",
|
16
24
|
"title": "调用请求示例"
|
17
25
|
}
|
26
|
+
],
|
27
|
+
"SubmitHunyuanTo3DProJob": [
|
28
|
+
{
|
29
|
+
"document": "",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: ai3d.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitHunyuanTo3DProJob\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://cos.ap-guangzhou.myqcloud.com/input.png\"\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"JobId\": \"1357237233311637504\",\n \"RequestId\": \"173f8c3b-d559-4e17-aac7-4e42303773ac\"\n }\n}",
|
32
|
+
"title": "提交生3D专业版示例"
|
33
|
+
}
|
18
34
|
]
|
19
35
|
},
|
20
36
|
"version": "1.0"
|
@@ -2145,7 +2145,7 @@
|
|
2145
2145
|
{
|
2146
2146
|
"disabled": false,
|
2147
2147
|
"document": "可用区信息",
|
2148
|
-
"example": "ap-guangzhou-
|
2148
|
+
"example": "ap-guangzhou-6",
|
2149
2149
|
"member": "string",
|
2150
2150
|
"name": "Zone",
|
2151
2151
|
"output_required": true,
|
@@ -5047,8 +5047,8 @@
|
|
5047
5047
|
},
|
5048
5048
|
{
|
5049
5049
|
"disabled": false,
|
5050
|
-
"document": "系统盘ID。\n
|
5051
|
-
"example": "disk-
|
5050
|
+
"document": "系统盘ID。\n该参数目前仅用于 [DescribeInstances](https://cloud.tencent.com/document/product/213/15728) 等查询类接口的返回参数,不可用于 [RunInstances](https://cloud.tencent.com/document/product/213/15730) 等写接口的入参。",
|
5051
|
+
"example": "disk-xyzw1a3x",
|
5052
5052
|
"member": "string",
|
5053
5053
|
"name": "DiskId",
|
5054
5054
|
"output_required": false,
|
@@ -60,7 +60,7 @@
|
|
60
60
|
{
|
61
61
|
"document": "",
|
62
62
|
"input": "https://batch.tencentcloudapi.com/?Action=DescribeComputeEnv\n&EnvId=env-lcpcej85\n&<公共请求参数>",
|
63
|
-
"output": "{\n \"Response\": {\n \"EnvId\": \"env-lcpcej85\",\n \"ComputeNodeMetrics\": {\n \"CreatedCount\": 0,\n \"DeletingCount\": 0,\n \"CreationFailedCount\": 0,\n \"SubmittedCount\": 0,\n \"CreatingCount\": 0,\n \"AbnormalCount\": 1,\n \"RunningCount\": 1\n },\n \"ResourceType\": \"CVM\",\n \"EnvType\": \"MANAGED\",\n \"CreateTime\": \"2018-03-08T11:48:43Z\",\n \"EnvName\": \"test compute env\",\n \"NextAction\": \"\",\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-
|
63
|
+
"output": "{\n \"Response\": {\n \"EnvId\": \"env-lcpcej85\",\n \"ComputeNodeMetrics\": {\n \"CreatedCount\": 0,\n \"DeletingCount\": 0,\n \"CreationFailedCount\": 0,\n \"SubmittedCount\": 0,\n \"CreatingCount\": 0,\n \"AbnormalCount\": 1,\n \"RunningCount\": 1\n },\n \"ResourceType\": \"CVM\",\n \"EnvType\": \"MANAGED\",\n \"CreateTime\": \"2018-03-08T11:48:43Z\",\n \"EnvName\": \"test compute env\",\n \"NextAction\": \"\",\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"ComputeNodeSet\": [\n {\n \"ComputeNodeId\": \"node-noa8vefu\",\n \"ComputeNodeState\": \"ABNORMAL\",\n \"Mem\": 2,\n \"ResourceCreatedTime\": \"2018-03-08T11:49:17Z\",\n \"ResourceType\": \"CVM\",\n \"ResourceOrigin\": \"BATCH_CREATED\",\n \"ComputeNodeInstanceId\": \"ins-0kj3gz6s\",\n \"AgentVersion\": \"1.1.9\",\n \"TaskInstanceNumAvailable\": 1,\n \"Cpu\": 1,\n \"PublicIpAddresses\": [\n \"132.20.19.18\"\n ],\n \"PrivateIpAddresses\": [\n \"10.10.8.3\"\n ]\n },\n {\n \"ComputeNodeId\": \"node-9yzd5jei\",\n \"ComputeNodeState\": \"RUNNING\",\n \"Mem\": 2,\n \"ResourceCreatedTime\": \"2018-03-09T13:15:44Z\",\n \"ResourceType\": \"CVM\",\n \"ResourceOrigin\": \"BATCH_CREATED\",\n \"ComputeNodeInstanceId\": \"ins-jyafz2sk\",\n \"AgentVersion\": \"1.1.9\",\n \"TaskInstanceNumAvailable\": 1,\n \"Cpu\": 1,\n \"PublicIpAddresses\": [\n \"132.20.19.18\"\n ],\n \"PrivateIpAddresses\": [\n \"10.10.8.3\"\n ]\n }\n ],\n \"DesiredComputeNodeCount\": 2,\n \"AttachedComputeNodeCount\": 0,\n \"Tags\": [\n {\n \"Key\": \"batch-test-tag-env-key\",\n \"Value\": \"batch-test-tag-env-value1\"\n }\n ],\n \"RequestId\": \"274cbd4f-77d2-4bf6-9984-643318ed3ef8\"\n }\n}",
|
64
64
|
"title": "查看计算环境详细信息"
|
65
65
|
}
|
66
66
|
],
|
@@ -76,7 +76,7 @@
|
|
76
76
|
{
|
77
77
|
"document": "",
|
78
78
|
"input": "https://batch.tencentcloudapi.com/?Action=DescribeComputeEnvCreateInfo\n&EnvId=env-lcpcej85\n&<公共请求参数>",
|
79
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"578f3fae-6908-4521-ac07-17c2cffcd5ae\",\n \"EnvId\": \"env-lcx7qbbr\",\n \"Notifications\": [\n {\n \"EventConfigs\": [\n {\n \"EventName\": \"COMPUTE_ENV_CREATED_SUCCESS\",\n \"EventVars\": [\n {\n \"Name\": \"COMPUTE_ENV_CREATED_SUCCESS\",\n \"Value\": \"COMPUTE_ENV_CREATED_SUCCESS\"\n }\n ]\n }\n ],\n \"TopicName\": \"compute-env-topic\"\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"demo-tag\",\n \"Key\": \"demo-env1\"\n }\n ],\n \"Authentications\": [\n {\n \"SecretKey\": \"AKIDUdi1************9ThAzpuXIjNx\",\n \"SecretId\": \"Udi16***********Q9ThAzpuXIjN\",\n \"Scene\": \"COS\"\n }\n ],\n \"EnvData\": {\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-23syenxk\",\n \"AsVpcGateway\": true,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-1xnwrxw2\",\n \"PrivateIpAddresses\": [\n \"10.10.2.29\"\n ]\n },\n \"LoginSettings\": {\n \"Password\": \"Aa12**5678\",\n \"KeepImageLogin\": \"True\",\n \"KeyIds\": [\n \"Qa123\"\n ]\n },\n \"InstanceMarketOptions\": {\n \"SpotOptions\": {\n \"SpotInstanceType\": \"one-time\",\n \"MaxPrice\": \"1\"\n },\n \"MarketType\": \"spot\"\n },\n \"SystemDisk\": {\n \"DiskSize\": 0,\n \"CdcId\": \"1\",\n \"DiskId\": \"disk-sdfk23nw\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"InstanceTypes\": [\n \"S5.SMALL2\"\n ],\n \"Zones\": [\n \"ap-guangzhou-
|
79
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"578f3fae-6908-4521-ac07-17c2cffcd5ae\",\n \"EnvId\": \"env-lcx7qbbr\",\n \"Notifications\": [\n {\n \"EventConfigs\": [\n {\n \"EventName\": \"COMPUTE_ENV_CREATED_SUCCESS\",\n \"EventVars\": [\n {\n \"Name\": \"COMPUTE_ENV_CREATED_SUCCESS\",\n \"Value\": \"COMPUTE_ENV_CREATED_SUCCESS\"\n }\n ]\n }\n ],\n \"TopicName\": \"compute-env-topic\"\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"demo-tag\",\n \"Key\": \"demo-env1\"\n }\n ],\n \"Authentications\": [\n {\n \"SecretKey\": \"AKIDUdi1************9ThAzpuXIjNx\",\n \"SecretId\": \"Udi16***********Q9ThAzpuXIjN\",\n \"Scene\": \"COS\"\n }\n ],\n \"EnvData\": {\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-23syenxk\",\n \"AsVpcGateway\": true,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-1xnwrxw2\",\n \"PrivateIpAddresses\": [\n \"10.10.2.29\"\n ]\n },\n \"LoginSettings\": {\n \"Password\": \"Aa12**5678\",\n \"KeepImageLogin\": \"True\",\n \"KeyIds\": [\n \"Qa123\"\n ]\n },\n \"InstanceMarketOptions\": {\n \"SpotOptions\": {\n \"SpotInstanceType\": \"one-time\",\n \"MaxPrice\": \"1\"\n },\n \"MarketType\": \"spot\"\n },\n \"SystemDisk\": {\n \"DiskSize\": 0,\n \"CdcId\": \"1\",\n \"DiskId\": \"disk-sdfk23nw\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"InstanceTypes\": [\n \"S5.SMALL2\"\n ],\n \"Zones\": [\n \"ap-guangzhou-6\"\n ],\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n },\n \"AutomationService\": {\n \"Enabled\": true\n }\n },\n \"SecurityGroupIds\": [\n \"sg-1234t1\"\n ],\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"POSTPAID_BY_HOUR\",\n \"BandwidthPackageId\": \"dcaew\",\n \"InternetMaxBandwidthOut\": 0\n },\n \"VirtualPrivateClouds\": [\n {\n \"SubnetId\": \"subnet-23syenxk\",\n \"AsVpcGateway\": true,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-1xnwrxw2\",\n \"PrivateIpAddresses\": [\n \"10.10.2.29\"\n ]\n }\n ],\n \"ImageId\": \"img-3sdke3x2\",\n \"InstanceName\": \"test-env\",\n \"InstanceType\": \"S5.SMALL2\",\n \"InstanceTypeOptions\": {\n \"Memory\": 1,\n \"CPU\": 1,\n \"InstanceCategories\": [\n \"ALL\"\n ]\n },\n \"DataDisks\": [\n {\n \"DeleteWithInstance\": true,\n \"Encrypt\": true,\n \"CdcId\": \"2\",\n \"DiskType\": \"CLOUD_SSD\",\n \"ThroughputPerformance\": 0,\n \"KmsKeyId\": \"kms-213k73kx\",\n \"DiskSize\": 0,\n \"SnapshotId\": \"snap-fsdekxe2\",\n \"DiskId\": \"disk-ecqwbck\"\n }\n ]\n },\n \"EnvDescription\": \"test-env\",\n \"MountDataDisks\": [\n {\n \"FileSystemType\": \"EXT4\",\n \"LocalPath\": \"/mnt\"\n }\n ],\n \"DesiredComputeNodeCount\": 1,\n \"EnvName\": \"test-env\",\n \"InputMappings\": [\n {\n \"SourcePath\": \"cos://test-1111123424.cos.ap-guangzhou.myqcloud.com/batchtest/input/\",\n \"DestinationPath\": \"/opt/data\",\n \"MountOptionParameter\": \"\"\n }\n ],\n \"EnvType\": \"MANAGED\"\n }\n}",
|
80
80
|
"title": "查看计算环境的创建信息"
|
81
81
|
}
|
82
82
|
],
|
@@ -116,7 +116,7 @@
|
|
116
116
|
{
|
117
117
|
"document": "",
|
118
118
|
"input": "https://batch.tencentcloudapi.com/?Action=DescribeJob\n&JobId=job-97zcl3wt\n&<公共请求参数>",
|
119
|
-
"output": "{\n \"Response\": {\n \"JobState\": \"SUCCEED\",\n \"TaskSet\": [\n {\n \"EndTime\": \"2018-02-07T09:30:31Z\",\n \"TaskName\": \"A\",\n \"TaskState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\"\n },\n {\n \"EndTime\": \"2018-02-07T09:31:49Z\",\n \"TaskName\": \"B\",\n \"TaskState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\"\n },\n {\n \"EndTime\": \"2018-02-07T09:31:48Z\",\n \"TaskName\": \"C\",\n \"TaskState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\"\n },\n {\n \"EndTime\": \"2018-02-07T09:33:01Z\",\n \"TaskName\": \"D\",\n \"TaskState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\"\n }\n ],\n \"Zone\": \"ap-guangzhou-
|
119
|
+
"output": "{\n \"Response\": {\n \"JobState\": \"SUCCEED\",\n \"TaskSet\": [\n {\n \"EndTime\": \"2018-02-07T09:30:31Z\",\n \"TaskName\": \"A\",\n \"TaskState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\"\n },\n {\n \"EndTime\": \"2018-02-07T09:31:49Z\",\n \"TaskName\": \"B\",\n \"TaskState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\"\n },\n {\n \"EndTime\": \"2018-02-07T09:31:48Z\",\n \"TaskName\": \"C\",\n \"TaskState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\"\n },\n {\n \"EndTime\": \"2018-02-07T09:33:01Z\",\n \"TaskName\": \"D\",\n \"TaskState\": \"SUCCEED\",\n \"CreateTime\": \"2018-02-07T09:29:09Z\"\n }\n ],\n \"Zone\": \"ap-guangzhou-6\",\n \"TaskMetrics\": {\n \"PendingCount\": 0,\n \"FailedCount\": 0,\n \"StartingCount\": 0,\n \"SucceedCount\": 4,\n \"FailedInterruptedCount\": 0,\n \"SubmittedCount\": 0,\n \"RunnableCount\": 0,\n \"RunningCount\": 0\n },\n \"JobName\": \"test job\",\n \"JobId\": \"job-97zcl3wt\",\n \"Priority\": 1,\n \"StateReason\": \"\",\n \"TaskInstanceMetrics\": {\n \"PendingCount\": 0,\n \"FailedCount\": 0,\n \"StartingCount\": 0,\n \"SucceedCount\": 4,\n \"FailedInterruptedCount\": 0,\n \"SubmittedCount\": 0,\n \"RunnableCount\": 0,\n \"RunningCount\": 0\n },\n \"EndTime\": \"2018-02-07T09:33:01Z\",\n \"DependenceSet\": [\n {\n \"StartTask\": \"A\",\n \"EndTask\": \"B\"\n },\n {\n \"StartTask\": \"A\",\n \"EndTask\": \"C\"\n },\n {\n \"StartTask\": \"B\",\n \"EndTask\": \"D\"\n },\n {\n \"StartTask\": \"C\",\n \"EndTask\": \"D\"\n }\n ],\n \"CreateTime\": \"2018-02-07T09:29:09Z\",\n \"Tags\": [\n {\n \"Key\": \"batch-test-tag-job-key\",\n \"Value\": \"batch-test-tag-job-value\"\n }\n ],\n \"NextAction\": \"\",\n \"RequestId\": \"d1b08863-b8ee-49d4-aa08-f464499f97a0\"\n }\n}",
|
120
120
|
"title": "查询作业详细信息"
|
121
121
|
}
|
122
122
|
],
|
@@ -216,7 +216,7 @@
|
|
216
216
|
"members": [
|
217
217
|
{
|
218
218
|
"disabled": false,
|
219
|
-
"document": "分享项目id
|
219
|
+
"document": "分享项目id",
|
220
220
|
"example": "1",
|
221
221
|
"member": "uint64",
|
222
222
|
"name": "ProjectId",
|
@@ -297,7 +297,7 @@
|
|
297
297
|
{
|
298
298
|
"disabled": false,
|
299
299
|
"document": "结果数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
300
|
-
"example": "
|
300
|
+
"example": "无",
|
301
301
|
"member": "ApplyEmbedTokenInfo",
|
302
302
|
"name": "Data",
|
303
303
|
"output_required": true,
|
@@ -2795,7 +2795,7 @@
|
|
2795
2795
|
{
|
2796
2796
|
"disabled": false,
|
2797
2797
|
"document": "项目id",
|
2798
|
-
"example": "
|
2798
|
+
"example": "125",
|
2799
2799
|
"member": "int64",
|
2800
2800
|
"name": "ProjectId",
|
2801
2801
|
"required": false,
|
@@ -2839,8 +2839,8 @@
|
|
2839
2839
|
},
|
2840
2840
|
{
|
2841
2841
|
"disabled": false,
|
2842
|
-
"document": "
|
2843
|
-
"example": "
|
2842
|
+
"document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
|
2843
|
+
"example": "无",
|
2844
2844
|
"member": "RankInfo",
|
2845
2845
|
"name": "Data",
|
2846
2846
|
"output_required": true,
|
@@ -2870,7 +2870,7 @@
|
|
2870
2870
|
},
|
2871
2871
|
{
|
2872
2872
|
"disabled": false,
|
2873
|
-
"document": "页数",
|
2873
|
+
"document": "页数 ",
|
2874
2874
|
"example": "1",
|
2875
2875
|
"member": "int64",
|
2876
2876
|
"name": "PageNo",
|
@@ -2889,7 +2889,7 @@
|
|
2889
2889
|
{
|
2890
2890
|
"disabled": false,
|
2891
2891
|
"document": "所有页码",
|
2892
|
-
"example": "
|
2892
|
+
"example": "true",
|
2893
2893
|
"member": "bool",
|
2894
2894
|
"name": "AllPage",
|
2895
2895
|
"required": false,
|
@@ -2933,7 +2933,7 @@
|
|
2933
2933
|
},
|
2934
2934
|
{
|
2935
2935
|
"disabled": false,
|
2936
|
-
"document": "112\n注意:此字段可能返回 null,表示取不到有效值。",
|
2936
|
+
"document": "112 \n注意:此字段可能返回 null,表示取不到有效值。",
|
2937
2937
|
"example": "1",
|
2938
2938
|
"member": "string",
|
2939
2939
|
"name": "Extra",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"ApplyEmbedInterval": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyEmbedInterval\n<公共请求参数>\n\n{\n \"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyEmbedInterval\n<公共请求参数>\n\n{\n \"ProjectId\": 1982493789748932,\n \"PageId\": 1982493789748932,\n \"BIToken\": \"BIToken\",\n \"ExtraParam\": \"ExtraParam\",\n \"Intention\": \"Intention\",\n \"Scope\": \"Scope\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"e60a2172-715b-4305-beb2-40792ae53856\",\n \"Extra\": \"\",\n \"Data\": {\n \"Result\": true\n }\n }\n}",
|
8
8
|
"title": "申请Token延期接口实例"
|
9
9
|
}
|
@@ -141,8 +141,8 @@
|
|
141
141
|
"DescribePermissionRanksInfo": [
|
142
142
|
{
|
143
143
|
"document": "根据角色或标签查询行列权限配置",
|
144
|
-
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePermissionRanksInfo\n<公共请求参数>\n\n{\n \"TableId\": 0,\n \"Mode\": \"
|
145
|
-
"output": "{\n \"Response\": {\n \"Msg\": \"
|
144
|
+
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePermissionRanksInfo\n<公共请求参数>\n\n{\n \"TableId\": 0,\n \"Mode\": \"testdata\",\n \"RoleType\": \"testdata\",\n \"RoleId\": 0,\n \"Type\": \"testdata\",\n \"ProjectId\": 0\n}",
|
145
|
+
"output": "{\n \"Response\": {\n \"Msg\": \"testdata\",\n \"Extra\": \"testdata\",\n \"Data\": {\n \"TableId\": 0,\n \"Type\": \"testdata\",\n \"Mode\": \"testdata\",\n \"RulerInfo\": \"testdata\",\n \"RoleId\": 0,\n \"RoleType\": \"testdata\",\n \"RowColumnConfigList\": [\n {\n \"RulerInfo\": \"testdata\",\n \"TagValueList\": [\n {\n \"Id\": 0,\n \"Name\": \"testdata\",\n \"Values\": [\n \"testdata\"\n ]\n }\n ]\n }\n ]\n },\n \"RequestId\": \"testdata\"\n }\n}",
|
146
146
|
"title": "根据角色或标签查询行列权限配置"
|
147
147
|
}
|
148
148
|
],
|
@@ -150,7 +150,7 @@
|
|
150
150
|
{
|
151
151
|
"document": "项目内角色列表接口示例",
|
152
152
|
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePermissionRoleInfo\n<公共请求参数>\n\n{\n \"ProjectId\": \"1\",\n \"PageNo\": \"0\",\n \"PageSize\": \"10\",\n \"AllPage\": \"true\"\n}",
|
153
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Id\": 1,\n \"RoleName\": \"
|
153
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Id\": 1,\n \"RoleName\": \"testdata\",\n \"CorpId\": \"testdata\",\n \"RoleType\": \"testdata\",\n \"Scope\": \"testdata\",\n \"Description\": \"testdata\",\n \"CreatedAt\": \"testdata\",\n \"CreatedUser\": \"testdata\",\n \"UpdatedAt\": \"testdata\",\n \"UpdatedUser\": \"testdata\",\n \"ScopeType\": 0,\n \"CanChoose\": true,\n \"ModuleCollection\": \"testdata\"\n }\n ],\n \"Msg\": \"testdata\",\n \"Extra\": \"testdata\",\n \"RequestId\": \"testdata\"\n }\n}",
|
154
154
|
"title": "项目内角色列表接口示例"
|
155
155
|
}
|
156
156
|
],
|
@@ -6190,7 +6190,7 @@
|
|
6190
6190
|
{
|
6191
6191
|
"disabled": false,
|
6192
6192
|
"document": "手机号码",
|
6193
|
-
"example": "132****
|
6193
|
+
"example": "132****0112",
|
6194
6194
|
"member": "string",
|
6195
6195
|
"name": "PhoneNumber",
|
6196
6196
|
"output_required": true,
|
@@ -6256,6 +6256,16 @@
|
|
6256
6256
|
"output_required": true,
|
6257
6257
|
"type": "int",
|
6258
6258
|
"value_allowed_null": false
|
6259
|
+
},
|
6260
|
+
{
|
6261
|
+
"disabled": false,
|
6262
|
+
"document": "国家代码",
|
6263
|
+
"example": "86",
|
6264
|
+
"member": "string",
|
6265
|
+
"name": "CountryCode",
|
6266
|
+
"output_required": false,
|
6267
|
+
"type": "string",
|
6268
|
+
"value_allowed_null": false
|
6259
6269
|
}
|
6260
6270
|
],
|
6261
6271
|
"usage": "out"
|