tccli 3.0.1178.1__py2.py3-none-any.whl → 3.0.1179.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 CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1178.1'
1
+ __version__ = '3.0.1179.1'
@@ -52,7 +52,7 @@
52
52
  "DeleteBackUpData": {
53
53
  "document": "删除备份数据",
54
54
  "input": "DeleteBackUpDataRequest",
55
- "name": "删除备份数据",
55
+ "name": "删除备份实例",
56
56
  "output": "DeleteBackUpDataResponse",
57
57
  "status": "online"
58
58
  },
@@ -108,7 +108,7 @@
108
108
  "DescribeClusterConfigs": {
109
109
  "document": "获取集群的最新的几个配置文件(config.xml、metrika.xml、user.xml)的内容,显示给用户",
110
110
  "input": "DescribeClusterConfigsRequest",
111
- "name": "获取集群配置文件内容",
111
+ "name": "获取集群配置文件",
112
112
  "output": "DescribeClusterConfigsResponse",
113
113
  "status": "online"
114
114
  },
@@ -185,7 +185,7 @@
185
185
  "DescribeInstanceOperations": {
186
186
  "document": "在集群详情页面,拉取该集群的操作",
187
187
  "input": "DescribeInstanceOperationsRequest",
188
- "name": "拉取集群操作列表",
188
+ "name": "获取集群操作审计记录",
189
189
  "output": "DescribeInstanceOperationsResponse",
190
190
  "status": "online"
191
191
  },
@@ -246,7 +246,7 @@
246
246
  "status": "online"
247
247
  },
248
248
  "DescribeSqlApis": {
249
- "document": "针对驱动sql命令查询ck集群接口",
249
+ "document": "针对驱动sql命令查询集群接口",
250
250
  "input": "DescribeSqlApisRequest",
251
251
  "name": "通过sql查询集群信息",
252
252
  "output": "DescribeSqlApisResponse",
@@ -304,7 +304,7 @@
304
304
  "ModifyInstanceKeyValConfigs": {
305
305
  "document": "KV模式修改配置接口",
306
306
  "input": "ModifyInstanceKeyValConfigsRequest",
307
- "name": "KV模式修改配置接口",
307
+ "name": "修改BE或FE配置",
308
308
  "output": "ModifyInstanceKeyValConfigsResponse",
309
309
  "status": "online"
310
310
  },
@@ -332,7 +332,7 @@
332
332
  "ModifyUserPrivilegesV3": {
333
333
  "document": "修改用户权限,支持catalog,全部db,部分db表三种权限设置类别",
334
334
  "input": "ModifyUserPrivilegesV3Request",
335
- "name": "修改权接口",
335
+ "name": "修改权限接口",
336
336
  "output": "ModifyUserPrivilegesV3Response",
337
337
  "status": "online"
338
338
  },
@@ -367,7 +367,7 @@
367
367
  "RecoverBackUpJob": {
368
368
  "document": "备份恢复",
369
369
  "input": "RecoverBackUpJobRequest",
370
- "name": "备份恢复",
370
+ "name": "恢复备份的数据",
371
371
  "output": "RecoverBackUpJobResponse",
372
372
  "status": "online"
373
373
  },
@@ -2134,7 +2134,7 @@
2134
2134
  },
2135
2135
  {
2136
2136
  "disabled": false,
2137
- "document": "是否删除所有数据",
2137
+ "document": "是否删除所有实例",
2138
2138
  "example": "true",
2139
2139
  "member": "bool",
2140
2140
  "name": "IsDeleteAll",
@@ -3453,7 +3453,7 @@
3453
3453
  "example": "20",
3454
3454
  "member": "int64",
3455
3455
  "name": "TotalCount",
3456
- "required": true,
3456
+ "output_required": true,
3457
3457
  "type": "int",
3458
3458
  "value_allowed_null": false
3459
3459
  },
@@ -3463,7 +3463,7 @@
3463
3463
  "example": "-",
3464
3464
  "member": "InstanceOperation",
3465
3465
  "name": "Operations",
3466
- "required": true,
3466
+ "output_required": true,
3467
3467
  "type": "list",
3468
3468
  "value_allowed_null": true
3469
3469
  },
@@ -6207,10 +6207,11 @@
6207
6207
  "members": [
6208
6208
  {
6209
6209
  "disabled": false,
6210
- "document": "节点在doris中明朝n",
6210
+ "document": "节点名称",
6211
6211
  "example": "\"BE\"",
6212
6212
  "member": "string",
6213
6213
  "name": "NodeName",
6214
+ "output_required": true,
6214
6215
  "required": false,
6215
6216
  "type": "string",
6216
6217
  "value_allowed_null": false
@@ -6221,6 +6222,7 @@
6221
6222
  "example": "1",
6222
6223
  "member": "int64",
6223
6224
  "name": "Status",
6225
+ "output_required": true,
6224
6226
  "required": false,
6225
6227
  "type": "int",
6226
6228
  "value_allowed_null": false
@@ -6231,6 +6233,7 @@
6231
6233
  "example": "\"192.168.0.1\"",
6232
6234
  "member": "string",
6233
6235
  "name": "Ip",
6236
+ "output_required": true,
6234
6237
  "required": false,
6235
6238
  "type": "string",
6236
6239
  "value_allowed_null": false
@@ -6241,6 +6244,7 @@
6241
6244
  "example": "\"CORE”",
6242
6245
  "member": "string",
6243
6246
  "name": "NodeRole",
6247
+ "output_required": true,
6244
6248
  "required": false,
6245
6249
  "type": "string",
6246
6250
  "value_allowed_null": false
@@ -6251,6 +6255,7 @@
6251
6255
  "example": "\"FE\"",
6252
6256
  "member": "string",
6253
6257
  "name": "ComponentName",
6258
+ "output_required": true,
6254
6259
  "required": false,
6255
6260
  "type": "string",
6256
6261
  "value_allowed_null": false
@@ -6261,6 +6266,7 @@
6261
6266
  "example": "\"2021-02-12\"",
6262
6267
  "member": "string",
6263
6268
  "name": "LastRestartTime",
6269
+ "output_required": true,
6264
6270
  "required": false,
6265
6271
  "type": "string",
6266
6272
  "value_allowed_null": false
@@ -59,8 +59,8 @@
59
59
  "DeleteBackUpData": [
60
60
  {
61
61
  "document": "",
62
- "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackUpData\n<公共请求参数>\n\n{\n \"InstanceId\": \"xx\",\n \"BackUpJobId\": 0\n}",
63
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
62
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackUpData\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"BackUpJobId\": 0,\n \"IsDeleteAll\": true\n}",
63
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
64
64
  "title": "示例"
65
65
  }
66
66
  ],
@@ -218,7 +218,7 @@
218
218
  {
219
219
  "document": "获取集群操作列表",
220
220
  "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceOperations\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-exs8Mnql\"\n}",
221
- "output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxxx-xxxxx-xxxxx\",\n \"TotalCount\": 2,\n \"Operations\": [\n {\n \"Name\": \"CreateInstance\",\n \"Desc\": \"创建集群\",\n \"Result\": \"Success\",\n \"Level\": \"Normal\",\n \"LevelDesc\": \"一般\",\n \"StartTime\": \"2020-10-22 13:28:53\",\n \"EndTime\": \"2020-10-22 13:28:53\",\n \"JobId\": 123\n },\n {\n \"Name\": \"ModifyInstance\",\n \"Desc\": \"变配集群\",\n \"Result\": \"Success\",\n \"Level\": \"HighRisk\",\n \"LevelDesc\": \"高危\",\n \"StartTime\": \"2020-10-22 14:38:53\",\n \"EndTime\": \"2020-10-22 14:38:53\",\n \"JobId\": 124\n }\n ]\n }\n}",
221
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Operations\": [\n {\n \"Name\": \"abc\",\n \"Result\": \"abc\",\n \"Desc\": \"abc\",\n \"Level\": \"abc\",\n \"LevelDesc\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ResultDesc\": \"abc\",\n \"OperateUin\": \"abc\",\n \"JobId\": 0,\n \"OperationDetail\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
222
222
  "title": "获取集群操作列表"
223
223
  }
224
224
  ],
@@ -288,10 +288,10 @@
288
288
  ],
289
289
  "DescribeSqlApis": [
290
290
  {
291
- "document": "查询ck集群信息",
291
+ "document": "查询集群信息",
292
292
  "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlApis\n<公共请求参数>\n\n{}",
293
293
  "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
294
- "title": "查询ck集群信息"
294
+ "title": "查询集群信息"
295
295
  }
296
296
  ],
297
297
  "DescribeTableList": [
@@ -312,6 +312,7 @@
312
312
  "example": "\"true\"",
313
313
  "member": "string",
314
314
  "name": "Data",
315
+ "output_required": true,
315
316
  "type": "string",
316
317
  "value_allowed_null": true
317
318
  },
@@ -8094,6 +8094,7 @@
8094
8094
  "example": "无",
8095
8095
  "member": "ShipperInfo",
8096
8096
  "name": "Shippers",
8097
+ "output_required": true,
8097
8098
  "type": "list",
8098
8099
  "value_allowed_null": true
8099
8100
  },
@@ -8103,6 +8104,7 @@
8103
8104
  "example": "1",
8104
8105
  "member": "uint64",
8105
8106
  "name": "TotalCount",
8107
+ "output_required": true,
8106
8108
  "type": "int",
8107
8109
  "value_allowed_null": false
8108
8110
  },
@@ -12036,7 +12038,7 @@
12036
12038
  "members": [
12037
12039
  {
12038
12040
  "disabled": false,
12039
- "document": "执行周期, 可选值:`Period`、`Fixed`。\n\n- Period:固定频率\n- Fixed:固定时间",
12041
+ "document": "执行周期, 可选值:`Period`、`Fixed`、`Cron`。\n\n- Period:固定频率\n- Fixed:固定时间\n- Cron:Cron表达式",
12040
12042
  "example": "无",
12041
12043
  "member": "string",
12042
12044
  "name": "Type",
@@ -580,7 +580,7 @@
580
580
  {
581
581
  "document": "获取投递到COS的任务配置信息",
582
582
  "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeShippers\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"shipperId\",\n \"Values\": [\n \"xxxx-xxx-xxxx\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
583
- "output": "{\n \"Response\": {\n \"Shippers\": [\n {\n \"ShipperId\": \"c9a96b57-9f35-4800-b5c7-6ce6173b7db5\",\n \"TopicId\": \"ab14dfa7-e9eb-4cd4-8300-2f35145f145e\",\n \"Bucket\": \"0052d6c8apbeijing100008449822-1254077820\",\n \"Prefix\": \"ab14dfa7-e9eb-4cd4-8300-2f35145f145e-1601543434\",\n \"ShipperName\": \"ap-beijing-carywu-1601543434\",\n \"Interval\": 300,\n \"MaxSize\": 100,\n \"Status\": true,\n \"FilterRules\": [],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"gzip\"\n },\n \"Content\": {\n \"Format\": \"json\"\n },\n \"CreateTime\": \"2020-10-01 17:10:32\",\n \"FilenameMode\": 0\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"99bf3fb9-eb09-41e1-aac7-7e4e7ed08f5d\"\n }\n}",
583
+ "output": "{\n \"Response\": {\n \"Shippers\": [\n {\n \"ShipperId\": \"c9a96b57-9f35-4800-b5c7-6ce6173b7db5\",\n \"TopicId\": \"ab14dfa7-e9eb-4cd4-8300-2f35145f145e\",\n \"Bucket\": \"0052d6c8apbeijing100008449822-1254077820\",\n \"Prefix\": \"ab14dfa7-e9eb-4cd4-8300-2f35145f145e-1601543434\",\n \"ShipperName\": \"ap-beijing-carywu-1601543434\",\n \"Interval\": 300,\n \"MaxSize\": 100,\n \"Status\": true,\n \"FilterRules\": [],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"gzip\"\n },\n \"Content\": {\n \"Format\": \"json\"\n },\n \"CreateTime\": \"2020-10-01 17:10:32\",\n \"FilenameMode\": 0,\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Progress\": 0,\n \"RemainTime\": 0,\n \"HistoryStatus\": 0,\n \"StorageType\": \"\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"99bf3fb9-eb09-41e1-aac7-7e4e7ed08f5d\"\n }\n}",
584
584
  "title": "获取投递到COS的任务配置信息"
585
585
  }
586
586
  ],
@@ -14655,6 +14655,15 @@
14655
14655
  "name": "EventId",
14656
14656
  "required": false,
14657
14657
  "type": "int"
14658
+ },
14659
+ {
14660
+ "disabled": false,
14661
+ "document": "对历史待处理执行加白操作;0是不处理,1是处理",
14662
+ "example": "1",
14663
+ "member": "uint64",
14664
+ "name": "IsHandleHistoryEvents",
14665
+ "required": false,
14666
+ "type": "int"
14658
14667
  }
14659
14668
  ],
14660
14669
  "type": "object"
@@ -32189,6 +32198,7 @@
32189
32198
  "example": "1",
32190
32199
  "member": "string",
32191
32200
  "name": "VulCategories",
32201
+ "output_required": true,
32192
32202
  "type": "string",
32193
32203
  "value_allowed_null": false
32194
32204
  },
@@ -32198,6 +32208,7 @@
32198
32208
  "example": "1",
32199
32209
  "member": "string",
32200
32210
  "name": "VulLevels",
32211
+ "output_required": true,
32201
32212
  "type": "string",
32202
32213
  "value_allowed_null": false
32203
32214
  },
@@ -32207,6 +32218,7 @@
32207
32218
  "example": "xxx",
32208
32219
  "member": "uint64",
32209
32220
  "name": "TimerInterval",
32221
+ "output_required": true,
32210
32222
  "type": "int",
32211
32223
  "value_allowed_null": false
32212
32224
  },
@@ -32216,6 +32228,7 @@
32216
32228
  "example": "xxx",
32217
32229
  "member": "string",
32218
32230
  "name": "TimerTime",
32231
+ "output_required": true,
32219
32232
  "type": "string",
32220
32233
  "value_allowed_null": false
32221
32234
  },
@@ -32225,6 +32238,7 @@
32225
32238
  "example": "1",
32226
32239
  "member": "uint64",
32227
32240
  "name": "VulEmergency",
32241
+ "output_required": true,
32228
32242
  "type": "int",
32229
32243
  "value_allowed_null": false
32230
32244
  },
@@ -32234,6 +32248,7 @@
32234
32248
  "example": "00:00",
32235
32249
  "member": "string",
32236
32250
  "name": "StartTime",
32251
+ "output_required": true,
32237
32252
  "type": "string",
32238
32253
  "value_allowed_null": false
32239
32254
  },
@@ -32243,6 +32258,7 @@
32243
32258
  "example": "1",
32244
32259
  "member": "uint64",
32245
32260
  "name": "EnableScan",
32261
+ "output_required": true,
32246
32262
  "type": "int",
32247
32263
  "value_allowed_null": false
32248
32264
  },
@@ -32252,6 +32268,7 @@
32252
32268
  "example": "00:00",
32253
32269
  "member": "string",
32254
32270
  "name": "EndTime",
32271
+ "output_required": true,
32255
32272
  "type": "string",
32256
32273
  "value_allowed_null": false
32257
32274
  },
@@ -32261,6 +32278,7 @@
32261
32278
  "example": "600",
32262
32279
  "member": "uint64",
32263
32280
  "name": "ClickTimeout",
32281
+ "output_required": true,
32264
32282
  "type": "int",
32265
32283
  "value_allowed_null": false
32266
32284
  },
@@ -32270,9 +32288,20 @@
32270
32288
  "example": "['']",
32271
32289
  "member": "string",
32272
32290
  "name": "Uuids",
32291
+ "output_required": true,
32273
32292
  "type": "list",
32274
32293
  "value_allowed_null": false
32275
32294
  },
32295
+ {
32296
+ "disabled": false,
32297
+ "document": "0版本比对,2版本比对+poc",
32298
+ "example": "0",
32299
+ "member": "uint64",
32300
+ "name": "ScanMethod",
32301
+ "output_required": false,
32302
+ "type": "int",
32303
+ "value_allowed_null": false
32304
+ },
32276
32305
  {
32277
32306
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
32278
32307
  "member": "string",
@@ -36085,7 +36114,7 @@
36085
36114
  "example": "1",
36086
36115
  "member": "int64",
36087
36116
  "name": "HostRange",
36088
- "required": true,
36117
+ "output_required": true,
36089
36118
  "type": "int",
36090
36119
  "value_allowed_null": false
36091
36120
  },
@@ -36095,7 +36124,7 @@
36095
36124
  "example": "无",
36096
36125
  "member": "string",
36097
36126
  "name": "ItemLabels",
36098
- "required": true,
36127
+ "output_required": true,
36099
36128
  "type": "list",
36100
36129
  "value_allowed_null": true
36101
36130
  },
@@ -36105,7 +36134,7 @@
36105
36134
  "example": "无",
36106
36135
  "member": "string",
36107
36136
  "name": "Quuids",
36108
- "required": true,
36137
+ "output_required": true,
36109
36138
  "type": "list",
36110
36139
  "value_allowed_null": true
36111
36140
  },
@@ -36115,7 +36144,7 @@
36115
36144
  "example": "1",
36116
36145
  "member": "int64",
36117
36146
  "name": "TotalCount",
36118
- "required": true,
36147
+ "output_required": true,
36119
36148
  "type": "int",
36120
36149
  "value_allowed_null": true
36121
36150
  },
@@ -36125,10 +36154,20 @@
36125
36154
  "example": "无",
36126
36155
  "member": "string",
36127
36156
  "name": "ItemLabelIds",
36128
- "required": true,
36157
+ "output_required": true,
36129
36158
  "type": "list",
36130
36159
  "value_allowed_null": true
36131
36160
  },
36161
+ {
36162
+ "disabled": false,
36163
+ "document": "需排除的机器列表",
36164
+ "example": "无",
36165
+ "member": "string",
36166
+ "name": "ExcludedQuuids",
36167
+ "output_required": false,
36168
+ "type": "list",
36169
+ "value_allowed_null": false
36170
+ },
36132
36171
  {
36133
36172
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
36134
36173
  "member": "string",
@@ -48974,6 +49013,15 @@
48974
49013
  "name": "ItemLabelIds",
48975
49014
  "required": false,
48976
49015
  "type": "list"
49016
+ },
49017
+ {
49018
+ "disabled": false,
49019
+ "document": "需排除的机器列表",
49020
+ "example": "无",
49021
+ "member": "string",
49022
+ "name": "ExcludedQuuids",
49023
+ "required": false,
49024
+ "type": "list"
48977
49025
  }
48978
49026
  ],
48979
49027
  "type": "object"
@@ -49100,6 +49148,15 @@
49100
49148
  "name": "Quuids",
49101
49149
  "required": false,
49102
49150
  "type": "list"
49151
+ },
49152
+ {
49153
+ "disabled": false,
49154
+ "document": "需排除的机器列表\t",
49155
+ "example": "无",
49156
+ "member": "string",
49157
+ "name": "ExcludedQuuids",
49158
+ "required": false,
49159
+ "type": "list"
49103
49160
  }
49104
49161
  ],
49105
49162
  "type": "object"
@@ -54952,6 +55009,15 @@
54952
55009
  "name": "VulIds",
54953
55010
  "required": false,
54954
55011
  "type": "list"
55012
+ },
55013
+ {
55014
+ "disabled": false,
55015
+ "document": "0版本比对,2版本比对+poc",
55016
+ "example": "0",
55017
+ "member": "uint64",
55018
+ "name": "ScanMethod",
55019
+ "required": false,
55020
+ "type": "int"
54955
55021
  }
54956
55022
  ],
54957
55023
  "type": "object"
@@ -55061,6 +55127,15 @@
55061
55127
  "name": "Uuids",
55062
55128
  "required": false,
55063
55129
  "type": "list"
55130
+ },
55131
+ {
55132
+ "disabled": false,
55133
+ "document": "0版本比对,2版本比对+poc",
55134
+ "example": "0",
55135
+ "member": "uint64",
55136
+ "name": "ScanMethod",
55137
+ "required": false,
55138
+ "type": "int"
55064
55139
  }
55065
55140
  ],
55066
55141
  "type": "object"
@@ -2360,7 +2360,7 @@
2360
2360
  {
2361
2361
  "document": "使用appid查询定时检测配置的信息",
2362
2362
  "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScanVulSetting\n&<公共请求参数>",
2363
- "output": "{\n \"Response\": {\n \"VulCategories\": \"xx\",\n \"TimerTime\": \"xx\",\n \"VulLevels\": \"xx\",\n \"VulEmergency\": 1,\n \"RequestId\": \"xx\",\n \"TimerInterval\": 1,\n \"EndTime\": \"\",\n \"EnableScan\": 1,\n \"StartTime\": \"\",\n \"ClickTimeout\": 0,\n \"Uuids\": []\n }\n}",
2363
+ "output": "{\n \"Response\": {\n \"VulCategories\": \"abc\",\n \"VulLevels\": \"abc\",\n \"TimerInterval\": 1,\n \"TimerTime\": \"abc\",\n \"VulEmergency\": 1,\n \"StartTime\": \"abc\",\n \"EnableScan\": 1,\n \"EndTime\": \"abc\",\n \"ClickTimeout\": 1,\n \"Uuids\": [\n \"abc\"\n ],\n \"ScanMethod\": 1,\n \"RequestId\": \"abc\"\n }\n}",
2364
2364
  "title": "查询定时检测配置信息"
2365
2365
  }
2366
2366
  ],
@@ -321,7 +321,7 @@
321
321
  },
322
322
  {
323
323
  "disabled": false,
324
- "document": "素材模版图片的url地址。\n●base64 和 url 必须提供一个,如果都提供以 base64 为准。\n●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000 * 8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)\n●图片格式:支持jpg或png",
324
+ "document": "素材模版图片的url地址。\n●base64 和 url 必须提供一个,如果都提供以 url 为准。\n●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000 * 8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)\n●图片格式:支持jpg或png",
325
325
  "example": "http://xxx.jpg",
326
326
  "member": "string",
327
327
  "name": "ModelUrl",
@@ -330,7 +330,7 @@
330
330
  },
331
331
  {
332
332
  "disabled": false,
333
- "document": "素材模版图片base64数据。\n●base64 和 url 必须提供一个,如果都提供以 base64 为准。\n●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000*8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)\n●支持图片格式:支持jpg或png",
333
+ "document": "素材模版图片base64数据。\n●base64 和 url 必须提供一个,如果都提供以 url 为准。\n●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000*8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)\n●支持图片格式:支持jpg或png",
334
334
  "example": "base64",
335
335
  "member": "string",
336
336
  "name": "ModelImage",
@@ -366,7 +366,7 @@
366
366
  },
367
367
  {
368
368
  "disabled": false,
369
- "document": "融合模型类型参数:默认为1。\n图片人脸融合(专业版)针对不同场景,提供多种模型供选择。如您的产品是泛娱乐场景,推荐使用1;如您主要用于影像场景,推荐使用5。其他模型类型也可以结合您的产品使用场景进行选择,也许会有意想不到的效果\n1:默认泛娱乐场景,画面偏锐。\n2:影视级场景,画面偏自然。\n3:影视级场景,高分辨率,画面偏自然。\n4:影视级场景,高分辨率,画面偏自然。\n5:影视级场景,高分辨率,对闭眼和遮挡更友好。",
369
+ "document": "融合模型类型参数:默认为1。\n图片人脸融合(专业版)针对不同场景,提供多种模型供选择。如您的产品是泛娱乐场景,推荐使用1;如您主要用于影像场景,推荐使用4、5。其他模型类型也可以结合您的产品使用场景进行选择,也许会有意想不到的效果\n1:默认泛娱乐场景,画面偏锐。\n2:影视级场景,画面偏自然。\n3:影视级场景,高分辨率,画面偏自然。\n4:影视级场景,高分辦率,高人脸相似度,画面偏自然,可用于证件照等场景。\n5:影视级场景,高分辨率,对闭眼和遮挡更友好。",
370
370
  "example": "1",
371
371
  "member": "int64",
372
372
  "name": "SwapModelType",
@@ -418,7 +418,7 @@
418
418
  "members": [
419
419
  {
420
420
  "disabled": false,
421
- "document": "拉脸强度。主要用于调整生成结果人脸脸型更像素材模板还是用户人脸。取值越大越像用户人脸。\n取值范围:0-1之间。默认取值0.7。\n注意:此字段可能返回 null,表示取不到有效值。",
421
+ "document": "拉脸强度。主要用于调整生成结果人脸脸型更像素材模板还是用户人脸。取值越大越像用户人脸。\n取值范围:0-1之间。默认取值0.7。\n\n该参数仅对SwapModelType(模型类型)取值1-5生效\n注意:此字段可能返回 null,表示取不到有效值。",
422
422
  "example": "0.1",
423
423
  "member": "float",
424
424
  "name": "WarpRadio",
@@ -429,7 +429,7 @@
429
429
  },
430
430
  {
431
431
  "disabled": false,
432
- "document": "人脸增强强度。对整个人脸进行增强,增加清晰度,改善质量。当生成的人脸不够清晰,质感不够好的时候可以设置。取值越大增强强度越大。\n取值范围:0-1之间。默认取值1。\n注意:此字段可能返回 null,表示取不到有效值。",
432
+ "document": "人脸增强强度。对整个人脸进行增强,增加清晰度,改善质量。当生成的人脸不够清晰,质感不够好的时候可以设置。取值越大增强强度越大。\n取值范围:0-1之间。默认取值1。\n\n该参数仅对SwapModelType(模型类型)取值1-5生效\n注意:此字段可能返回 null,表示取不到有效值。",
433
433
  "example": "0.8",
434
434
  "member": "float",
435
435
  "name": "EnhanceRadio",
@@ -440,7 +440,7 @@
440
440
  },
441
441
  {
442
442
  "disabled": false,
443
- "document": "磨皮强度。当生成脸的图像面部显脏时,可进行设置。\n取值范围:0-1之间。默认取值1。\n注意:此字段可能返回 null,表示取不到有效值。",
443
+ "document": "磨皮强度。当生成脸的图像面部显脏时,可进行设置。\n取值范围:0-1之间。默认取值1。\n\n该参数仅对SwapModelType(模型类型)取值1-5生效\n注意:此字段可能返回 null,表示取不到有效值。",
444
444
  "example": "0.8",
445
445
  "member": "float",
446
446
  "name": "MpRadio",
@@ -451,7 +451,7 @@
451
451
  },
452
452
  {
453
453
  "disabled": false,
454
- "document": "人脸模糊开关(暂不支持)\n当生成人脸比较清晰时,将人脸模糊到接近模板的清晰度的程度\n注意:此字段可能返回 null,表示取不到有效值。",
454
+ "document": "人脸模糊开关(暂不支持)\n当生成人脸比较清晰时,将人脸模糊到接近模板的清晰度的程度\n\n该参数仅对SwapModelType(模型类型)取值1-5生效\n注意:此字段可能返回 null,表示取不到有效值。",
455
455
  "example": "无",
456
456
  "member": "float",
457
457
  "name": "BlurRadio",
@@ -462,7 +462,7 @@
462
462
  },
463
463
  {
464
464
  "disabled": false,
465
- "document": "牙齿增强开关,默认取值为1\n牙齿增强,修复牙齿。当生成牙齿不好(如牙齿裂开)可以打开此开关\n0:牙齿增强关闭\n1:牙齿增强打开\n注意:此字段可能返回 null,表示取不到有效值。",
465
+ "document": "牙齿增强开关,默认取值为1\n牙齿增强,修复牙齿。当生成牙齿不好(如牙齿裂开)可以打开此开关\n0:牙齿增强关闭\n1:牙齿增强打开\n该参数仅对SwapModelType(模型类型)取值1-5生效\n注意:此字段可能返回 null,表示取不到有效值。",
466
466
  "example": "1",
467
467
  "member": "float",
468
468
  "name": "TeethEnhanceRadio",
@@ -1293,6 +1293,26 @@
1293
1293
  "output_required": false,
1294
1294
  "type": "int",
1295
1295
  "value_allowed_null": true
1296
+ },
1297
+ {
1298
+ "disabled": false,
1299
+ "document": "设备sn\n注意:此字段可能返回 null,表示取不到有效值。",
1300
+ "example": "\"123\"",
1301
+ "member": "string",
1302
+ "name": "Sn",
1303
+ "output_required": false,
1304
+ "type": "string",
1305
+ "value_allowed_null": true
1306
+ },
1307
+ {
1308
+ "disabled": false,
1309
+ "document": "厂商\n注意:此字段可能返回 null,表示取不到有效值。",
1310
+ "example": "\"abc\"",
1311
+ "member": "string",
1312
+ "name": "Vendor",
1313
+ "output_required": false,
1314
+ "type": "string",
1315
+ "value_allowed_null": true
1296
1316
  }
1297
1317
  ],
1298
1318
  "usage": "out"