summaryrefslogtreecommitdiff
path: root/data/zh_cn/green
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/green')
-rw-r--r--data/zh_cn/green/2017-08-23/api-docs.php10848
-rw-r--r--data/zh_cn/green/2018-05-09/api-docs.php2041
-rw-r--r--data/zh_cn/green/2022-03-02/api-docs.php7062
-rw-r--r--data/zh_cn/green/2022-09-26/api-docs.php9950
4 files changed, 7507 insertions, 22394 deletions
diff --git a/data/zh_cn/green/2017-08-23/api-docs.php b/data/zh_cn/green/2017-08-23/api-docs.php
index de5eecd..ee578e2 100644
--- a/data/zh_cn/green/2017-08-23/api-docs.php
+++ b/data/zh_cn/green/2017-08-23/api-docs.php
@@ -1,120 +1,18 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Green',
- 'version' => '2017-08-23',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Green', 'version' => '2017-08-23'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
'children' => [
- 'CreatCustomOcrTemplate',
- 'CreateBizType',
- 'CreateImageLib',
- 'CreateKeyword',
- 'CreateKeywordLib',
- 'CreateWebsiteIndexPageBaseline',
- 'DeleteBizType',
- 'DeleteCustomOcrTemplate',
- 'DeleteImageFromLib',
- 'DeleteImageLib',
- 'DeleteKeyword',
- 'DeleteKeywordLib',
- 'DescribeAppInfo',
- 'DescribeAuditCallback',
- 'DescribeAuditContent',
- 'DescribeAuditContentItem',
- 'DescribeAuditRange',
- 'DescribeAuditSetting',
- 'DescribeBizTypeSetting',
- 'DescribeBizTypes',
- 'DescribeCloudMonitorServices',
- 'DescribeCustomOcrTemplate',
- 'DescribeImageFromLib',
- 'DescribeImageLib',
- 'DescribeImageUploadInfo',
- 'DescribeKeyword',
- 'DescribeKeywordLib',
- 'DescribeNotificationSetting',
- 'DescribeOpenApiRcpStats',
- 'DescribeOpenApiUsage',
- 'DescribeOssCallbackSetting',
- 'DescribeOssIncrementOverview',
- 'DescribeOssIncrementCheckSetting',
- 'DescribeOssIncrementStats',
- 'DescribeOssResultItems',
- 'DescribeOssStockStatus',
- 'DescribeUploadInfo',
- 'DescribeUsageBill',
- 'DescribeUserBizTypes',
- 'DescribeUserStatus',
- 'DescribeViewContent',
- 'DescribeWebsiteIndexPageBaseline',
- 'DescribeWebsiteInstance',
- 'DescribeWebsiteInstanceId',
- 'DescribeWebsiteInstanceKeyUrl',
- 'DescribeWebsiteScanResult',
- 'DescribeWebsiteStat',
- 'DescribeWebsiteVerifyInfo',
- 'ExportKeywords',
- 'ExportOpenApiRcpStats',
- 'ExportOssResult',
- 'ImportKeywords',
- 'MarkAuditContent',
- 'MarkOssResult',
- 'UpdateAuditCallback',
- 'UpdateAuditRange',
- 'UpdateBizTypeImageLib',
- 'UpdateBizTypeSetting',
- 'UpdateBizTypeTextLib',
- 'UpdateCustomOcrTemplate',
- 'UpdateImageLib',
- 'UpdateKeywordLib',
- 'UpdateNotificationSetting',
- 'UpdateOssIncrementCheckSetting',
- 'UpdateWebsiteInstance',
- 'UpdateWebsiteInstanceKeyUrl',
- 'UpdateWebsiteInstanceStatus',
- 'UploadImageToLib',
- 'VerifyCustomOcrTemplate',
- 'VerifyWebsiteInstance',
- 'DescribeBizTypeImageLib',
- 'DescribeBizTypeTextLib',
- 'UpdateBizType',
- 'CreateAuditCallback',
- 'DescribeAuditCallbackList',
- 'CreateCallback',
- 'CreateOssStockTask',
- 'DeleteAuditCallback',
- 'DeleteCallback',
- 'DescribeBizTypeAuditRange',
- 'DescribeBizTypeResultBackupSetting',
- 'DescribeCallbackBind',
- 'DescribeCallbackList',
- 'DescribeOpenApiMonitorAlarmSetting',
- 'DescribeOpenApiMonitorData',
- 'DescribeOssStockScanTaskStatData',
- 'DescribeOssStockScanTasks',
- 'DescribeOssStockTaskSetting',
- 'DescribeUserOssBuckets',
- 'ExportOpenApiUsage',
- 'ModifyAuditCallback',
- 'UpdateBizTypeAuditRange',
- 'UpdateBizTypeResultBackupSetting',
- 'UpdateCallback',
- 'UpdateCallbackBind',
- 'UpdateOssStockTask',
- 'DescribeOssStockScanUserStatus',
- 'DescribeBizTypeTemplates',
- 'StopOssIncrementCheck',
- 'GetAuditItemDetail',
- 'AuditItemSubmit',
- 'GetAuditUserConf',
- 'GetAuditItemList',
- 'DescribeOssConfiguration',
+ 'CreatCustomOcrTemplate', 'CreateBizType', 'CreateImageLib', 'CreateKeyword', 'CreateKeywordLib', 'CreateWebsiteIndexPageBaseline', 'DeleteBizType', 'DeleteCustomOcrTemplate', 'DeleteImageFromLib', 'DeleteImageLib', 'DeleteKeyword', 'DeleteKeywordLib', 'DescribeAppInfo', 'DescribeAuditCallback', 'DescribeAuditContent', 'DescribeAuditContentItem', 'DescribeAuditRange', 'DescribeAuditSetting', 'DescribeBizTypeSetting', 'DescribeBizTypes',
+ 'DescribeCloudMonitorServices', 'DescribeCustomOcrTemplate', 'DescribeImageFromLib', 'DescribeImageLib', 'DescribeImageUploadInfo', 'DescribeKeyword', 'DescribeKeywordLib', 'DescribeNotificationSetting', 'DescribeOpenApiRcpStats', 'DescribeOpenApiUsage', 'DescribeOssCallbackSetting', 'DescribeOssIncrementOverview', 'DescribeOssIncrementCheckSetting', 'DescribeOssIncrementStats', 'DescribeOssResultItems', 'DescribeOssStockStatus', 'DescribeUploadInfo', 'DescribeUsageBill', 'DescribeUserBizTypes', 'DescribeUserStatus',
+ 'DescribeViewContent', 'DescribeWebsiteIndexPageBaseline', 'DescribeWebsiteInstance', 'DescribeWebsiteInstanceId', 'DescribeWebsiteInstanceKeyUrl', 'DescribeWebsiteScanResult', 'DescribeWebsiteStat', 'DescribeWebsiteVerifyInfo', 'ExportKeywords', 'ExportOpenApiRcpStats', 'ExportOssResult', 'ImportKeywords', 'MarkAuditContent', 'MarkOssResult', 'UpdateAuditCallback', 'UpdateAuditRange', 'UpdateBizTypeImageLib', 'UpdateBizTypeSetting', 'UpdateBizTypeTextLib', 'UpdateCustomOcrTemplate',
+ 'UpdateImageLib', 'UpdateKeywordLib', 'UpdateNotificationSetting', 'UpdateOssIncrementCheckSetting', 'UpdateWebsiteInstance', 'UpdateWebsiteInstanceKeyUrl', 'UpdateWebsiteInstanceStatus', 'UploadImageToLib', 'VerifyCustomOcrTemplate', 'VerifyWebsiteInstance', 'DescribeBizTypeImageLib', 'DescribeBizTypeTextLib', 'UpdateBizType', 'CreateAuditCallback', 'DescribeAuditCallbackList', 'CreateCallback', 'CreateOssStockTask', 'DeleteAuditCallback', 'DeleteCallback', 'DescribeBizTypeAuditRange',
+ 'DescribeBizTypeResultBackupSetting', 'DescribeCallbackBind', 'DescribeCallbackList', 'DescribeOpenApiMonitorAlarmSetting', 'DescribeOpenApiMonitorData', 'DescribeOssStockScanTaskStatData', 'DescribeOssStockScanTasks', 'DescribeOssStockTaskSetting', 'DescribeUserOssBuckets', 'ExportOpenApiUsage', 'ModifyAuditCallback', 'UpdateBizTypeAuditRange', 'UpdateBizTypeResultBackupSetting', 'UpdateCallback', 'UpdateCallbackBind', 'UpdateOssStockTask', 'DescribeOssStockScanUserStatus', 'DescribeBizTypeTemplates', 'StopOssIncrementCheck', 'GetAuditItemDetail',
+ 'AuditItemSubmit', 'GetAuditUserConf', 'GetAuditItemList', 'DescribeOssConfiguration',
],
],
],
@@ -124,14 +22,8 @@
'apis' => [
'CreatCustomOcrTemplate' => [
'summary' => '创建ocr模板。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -142,50 +34,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102639',
- 'abilityTreeNodes' => [
- 'FEATURElvwangG3RW9T',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangG3RW9T'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义模板名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '行驶证',
- ],
+ 'schema' => ['description' => '自定义模板名称。', 'type' => 'string', 'required' => true, 'example' => '行驶证'],
],
[
'name' => 'ImgUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'image/upload/12345678/001.jpg',
- ],
+ 'schema' => ['description' => '图片地址', 'type' => 'string', 'required' => true, 'example' => 'image/upload/12345678/001.jpg'],
],
[
'name' => 'ReferArea',
'in' => 'query',
- 'schema' => [
- 'description' => '区域封面。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"height":83,"name":"name","width":473,"x":525,"y":185}]',
- ],
+ 'schema' => ['description' => '区域封面。', 'type' => 'string', 'required' => false, 'example' => '[{"height":83,"name":"name","width":473,"x":525,"y":185}]'],
],
[
'name' => 'RecognizeArea',
'in' => 'query',
- 'schema' => [
- 'description' => '识别区域。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"height":83,"name":"name","width":473,"x":525,"y":185}]',
- ],
+ 'schema' => ['description' => '识别区域。', 'type' => 'string', 'required' => false, 'example' => '[{"height":83,"name":"name","width":473,"x":525,"y":185}]'],
],
],
'responses' => [
@@ -193,11 +63,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -207,14 +73,8 @@
],
'CreateBizType' => [
'summary' => '创建业务场景。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -225,60 +85,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102641',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'recommend_test',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'recommend_test'],
],
[
'name' => 'BizTypeImport',
'in' => 'query',
- 'schema' => [
- 'description' => '从现有导入。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'recommend_standard',
- ],
+ 'schema' => ['description' => '从现有导入。', 'type' => 'string', 'required' => false, 'example' => 'recommend_standard'],
],
[
'name' => 'IndustryInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '行业分类。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '社交-注册信息-昵称'."\n",
- ],
+ 'schema' => ['description' => '行业分类。', 'type' => 'string', 'required' => false, 'example' => '社交-注册信息-昵称'."\n"],
],
[
'name' => 'CiteTemplate',
'in' => 'query',
- 'schema' => [
- 'description' => '使用行业模板。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '使用行业模板。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '依据法律法规和相关政策,由内容安全专家推荐的标准检测配置',
- ],
+ 'schema' => ['description' => '描述。', 'type' => 'string', 'required' => false, 'example' => '依据法律法规和相关政策,由内容安全专家推荐的标准检测配置'],
],
],
'responses' => [
@@ -287,11 +120,7 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -301,14 +130,8 @@
],
'CreateImageLib' => [
'summary' => '创建图库。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -319,82 +142,45 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102645',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.26',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '140.***.11.26'],
],
[
'name' => 'ServiceModule',
'in' => 'query',
- 'schema' => [
- 'description' => '图库适用的服务模块。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'open_api',
- ],
+ 'schema' => ['description' => '图库适用的服务模块。', 'type' => 'string', 'required' => true, 'example' => 'open_api'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '图库1',
- ],
+ 'schema' => ['description' => '图库名称。', 'type' => 'string', 'required' => true, 'example' => '图库1'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '使用场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PORN',
- ],
+ 'schema' => ['description' => '使用场景。', 'type' => 'string', 'required' => true, 'example' => 'PORN'],
],
[
'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'description' => '识别结果。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'BLACK',
- ],
+ 'schema' => ['description' => '识别结果。', 'type' => 'string', 'required' => true, 'example' => 'BLACK'],
],
[
'name' => 'BizTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["recommend_test"]',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => '["recommend_test"]'],
],
[
'name' => 'Enable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否启用图库。取值:'."\n"
- .'- **true**:启用'."\n"
- .'- **false**:禁用',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否启用图库。取值:'."\n"
+ .'- **true**:启用'."\n"
+ .'- **false**:禁用', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -402,17 +188,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15212',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '15212'],
],
],
],
@@ -422,14 +199,8 @@
],
'CreateKeyword' => [
'summary' => '新增关键词。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -440,51 +211,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102646',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '171.***.241.61',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '171.***.241.61'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'KeywordLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '词库ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '22290',
- ],
+ 'schema' => ['description' => '词库ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '22290'],
],
[
'name' => 'Keywords',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["测试"]',
- ],
+ 'schema' => ['description' => '关键词。', 'type' => 'string', 'required' => true, 'example' => '["测试"]'],
],
],
'responses' => [
@@ -492,25 +240,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SuccessCount' => [
- 'description' => '成功个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '17',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'SuccessCount' => ['description' => '成功个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '17'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'InvalidKeywordList' => [
'description' => '关键字列表。',
'type' => 'array',
- 'items' => [
- 'description' => '关键字列表。',
- 'type' => 'string',
- 'example' => '非法词',
- ],
+ 'items' => ['description' => '关键字列表。', 'type' => 'string', 'example' => '非法词'],
],
'validKeywordList' => [
'description' => '关键字列表。',
@@ -519,17 +254,8 @@
'description' => '关键字列表。',
'type' => 'object',
'properties' => [
- 'keyword' => [
- 'description' => '关键词。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60850',
- ],
+ 'keyword' => ['description' => '关键词。', 'type' => 'string', 'example' => '测试'],
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '60850'],
],
],
],
@@ -542,14 +268,8 @@
],
'CreateKeywordLib' => [
'summary' => '创建文本库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -560,120 +280,63 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102647',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '42.***.73.61',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '42.***.73.61'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'ServiceModule',
'in' => 'query',
- 'schema' => [
- 'description' => '关联的服务模块。取值:-**open_api**:内容检测api-**website**:站点检测',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'open_api',
- ],
+ 'schema' => ['description' => '关联的服务模块。取值:-**open_api**:内容检测api-**website**:站点检测', 'type' => 'string', 'required' => true, 'example' => 'open_api'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词库名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '风险库',
- ],
+ 'schema' => ['description' => '关键词库名称。', 'type' => 'string', 'required' => true, 'example' => '风险库'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'LibType',
'in' => 'query',
- 'schema' => [
- 'description' => '词库类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'textKeyword',
- ],
+ 'schema' => ['description' => '词库类型。', 'type' => 'string', 'required' => false, 'example' => 'textKeyword'],
],
[
'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'description' => '识别结果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BLACK',
- ],
+ 'schema' => ['description' => '识别结果。', 'type' => 'string', 'required' => false, 'example' => 'BLACK'],
],
[
'name' => 'BizTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["recommend_test"]',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => '["recommend_test"]'],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'MatchMode',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词的搜索模式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'precise',
- ],
+ 'schema' => ['description' => '关键词的搜索模式。', 'type' => 'string', 'required' => false, 'example' => 'precise'],
],
[
'name' => 'Enable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否开启关闭,取值:-true:开启-false:关闭',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否开启关闭,取值:-true:开启-false:关闭', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -681,16 +344,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'string',
- 'example' => '22014',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Id' => ['description' => '主键ID。', 'type' => 'string', 'example' => '22014'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -700,14 +355,8 @@
],
'CreateWebsiteIndexPageBaseline' => [
'summary' => '创建站点首页基线',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -718,40 +367,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102649',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '171.***.241.61',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '171.***.241.61'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisite*******z001',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cdisite*******z001'],
],
],
'responses' => [
@@ -759,11 +391,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -773,14 +401,8 @@
],
'DeleteBizType' => [
'summary' => '删除业务场景',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -791,20 +413,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102652',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'recommend_oxm_stock',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'recommend_oxm_stock'],
],
],
'responses' => [
@@ -812,11 +427,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -826,14 +437,8 @@
],
'DeleteCustomOcrTemplate' => [
'summary' => '删除ocr模板',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -844,20 +449,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102655',
- 'abilityTreeNodes' => [
- 'FEATURElvwangG3RW9T',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangG3RW9T'],
],
'parameters' => [
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => 'ID列表。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[1739]',
- ],
+ 'schema' => ['description' => 'ID列表。', 'type' => 'string', 'required' => true, 'example' => '[1739]'],
],
],
'responses' => [
@@ -865,11 +463,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -879,14 +473,8 @@
],
'DeleteImageFromLib' => [
'summary' => '从图库删除图片',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -897,30 +485,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102656',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.250',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '140.***.11.250'],
],
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => 'ID列表。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[\\"36\\"]',
- ],
+ 'schema' => ['description' => 'ID列表。', 'type' => 'string', 'required' => true, 'example' => '[\\"36\\"]'],
],
],
'responses' => [
@@ -929,11 +505,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -943,14 +515,8 @@
],
'DeleteImageLib' => [
'summary' => '删除图库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -962,31 +528,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102657',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.26',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '140.***.11.26'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '15114',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '15114'],
],
],
'responses' => [
@@ -994,11 +547,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1008,14 +557,8 @@
],
'DeleteKeyword' => [
'summary' => '删除关键词',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1026,60 +569,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102658',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '112.22.***.147',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '112.22.***.147'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => 'ID列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[14888736,14888735]',
- ],
+ 'schema' => ['description' => 'ID列表。', 'type' => 'string', 'required' => false, 'example' => '[14888736,14888735]'],
],
[
'name' => 'Keywords',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["xdf"]',
- ],
+ 'schema' => ['description' => '关键词。', 'type' => 'string', 'required' => false, 'example' => '["xdf"]'],
],
[
'name' => 'KeywordLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '词库ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '17820',
- ],
+ 'schema' => ['description' => '词库ID。', 'type' => 'string', 'required' => true, 'example' => '17820'],
],
],
'responses' => [
@@ -1087,11 +603,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1101,14 +613,8 @@
],
'DeleteKeywordLib' => [
'summary' => '删除文本库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1119,41 +625,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102659',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.250',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '140.***.11.250'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '21989',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '21989'],
],
],
'responses' => [
@@ -1161,11 +649,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1175,14 +659,8 @@
],
'DescribeAppInfo' => [
'summary' => '查询一个应用的信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1193,73 +671,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102661',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源ip地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '应用的语言类型。取值:-zh:中文-en:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '应用的语言类型。取值:-zh:中文-en:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '511',
- ],
+ 'schema' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '511'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Platform',
'in' => 'query',
- 'schema' => [
- 'description' => 'package类型。取值:ANDROID、IOS',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANDROID',
- ],
+ 'schema' => ['description' => 'package类型。取值:ANDROID、IOS', 'type' => 'string', 'required' => false, 'example' => 'ANDROID'],
],
],
'responses' => [
@@ -1267,29 +710,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'PageSize' => [
- 'description' => '每页显示条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '513',
- ],
+ 'CurrentPage' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'PageSize' => ['description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '513'],
'AppInfoList' => [
'description' => '应用信息列表。',
'type' => 'array',
@@ -1297,63 +721,25 @@
'description' => '应用信息列表。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '应用类型。取值:-**0**:表示android应用。-**1**:表示ios应用。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'custom_llm_template',
- ],
- 'EndDate' => [
- 'description' => '应用到期日期。',
- 'type' => 'string',
- 'example' => '2025-09-05 10:13:44',
- ],
- 'PackageName' => [
- 'description' => '应用包名。',
- 'type' => 'string',
- 'example' => 'com.haibukeji.app',
- ],
- 'Icon' => [
- 'description' => '应用图标。',
- 'type' => 'string',
- 'example' => '@lADPDetfgMsFFUvNAkjNAkg',
- ],
- 'StartDate' => [
- 'description' => '应用上线开始时间。',
- 'type' => 'string',
- 'example' => '2024-08-01 00:00:00 +0800',
- ],
- 'Name' => [
- 'description' => '应用名称。',
- 'type' => 'string',
- 'example' => 'test007_',
- ],
- 'Id' => [
- 'description' => '应用id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16478',
- ],
+ 'Type' => ['description' => '应用类型。取值:-**0**:表示android应用。-**1**:表示ios应用。', 'type' => 'integer', 'format' => 'int32', 'example' => 'custom_llm_template'],
+ 'EndDate' => ['description' => '应用到期日期。格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'example' => '2025-09-05 10:13:44'],
+ 'PackageName' => ['description' => '应用包名。', 'type' => 'string', 'example' => 'com.haibukeji.app'],
+ 'Icon' => ['description' => '应用图标。', 'type' => 'string', 'example' => '@lADPDetfgMsFFUvNAkjNAkg'],
+ 'StartDate' => ['description' => '应用上线开始时间。', 'type' => 'string', 'example' => '2024-08-01 00:00:00 +0800'],
+ 'Name' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'test007_'],
+ 'Id' => ['description' => '应用id。', 'type' => 'integer', 'format' => 'int64', 'example' => '16478'],
'PackageInfo' => [
'description' => '应用包信息。',
'type' => 'object',
'properties' => [
- 'Version' => [
- 'description' => '应用包版本。',
- 'type' => 'string',
- 'example' => '4',
- ],
+ 'Version' => ['description' => '应用包版本。', 'type' => 'string', 'example' => '4'],
],
],
'DebugPackageInfo' => [
'description' => '调试版本信息。',
'type' => 'object',
'properties' => [
- 'Version' => [
- 'description' => '调试版本。',
- 'type' => 'string',
- 'example' => '4',
- ],
+ 'Version' => ['description' => '调试版本。', 'type' => 'string', 'example' => '4'],
],
],
],
@@ -1371,14 +757,8 @@
],
'DescribeAuditCallback' => [
'summary' => '查询回调配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1389,9 +769,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102662',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [],
'responses' => [
@@ -1399,27 +777,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'CryptType' => [
- 'description' => '加密算法。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'SHA256',
- ],
- 'Seed' => [
- 'description' => 'seed值,随机生成。',
- 'type' => 'string',
- 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf',
- ],
- 'Callback' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'example' => 'https://gatewaysit.jrdaimao.com/dw-hercules-center/smartApi/callBack/voiceReview',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'CryptType' => ['description' => '加密算法。', 'type' => 'integer', 'format' => 'int32', 'example' => 'SHA256'],
+ 'Seed' => ['description' => 'seed值,随机生成。', 'type' => 'string', 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf'],
+ 'Callback' => ['description' => '回调地址。', 'type' => 'string', 'example' => 'https://gatewaysit.jrdaimao.com/dw-hercules-center/smartApi/callBack/voiceReview'],
],
],
],
@@ -1429,14 +790,8 @@
],
'DescribeAuditContent' => [
'summary' => '自助审核列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1448,193 +803,98 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102664',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '14.145.***.79',
- ],
+ 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '14.145.***.79'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示的条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页显示的条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-04-13 00:00:00 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-04-13 00:00:00 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-05-05 23:59:59 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-05-05 23:59:59 +0800'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '使用场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'porn',
- ],
+ 'schema' => ['description' => '使用场景。', 'type' => 'string', 'required' => false, 'example' => 'porn'],
],
[
'name' => 'Suggestion',
'in' => 'query',
- 'schema' => [
- 'description' => '处理建议。可取值:pass:通过 review:人工重审 block:拦截',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pass',
- ],
+ 'schema' => ['description' => '处理建议。可取值:pass:通过 review:人工重审 block:拦截', 'type' => 'string', 'required' => false, 'example' => 'pass'],
],
[
'name' => 'Label',
'in' => 'query',
- 'schema' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'terrorism',
- ],
+ 'schema' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'terrorism'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'img5owu4zBQk*****6UZHP5t5-1yR@3j',
- ],
+ 'schema' => ['description' => '任务id。', 'type' => 'string', 'required' => false, 'example' => 'img5owu4zBQk*****6UZHP5t5-1yR@3j'],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5cb170f7689247e6a58b156b4fbc8476',
- ],
+ 'schema' => ['description' => '数据ID。', 'type' => 'string', 'required' => false, 'example' => '5cb170f7689247e6a58b156b4fbc8476'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'recommend_social_template_01',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'recommend_social_template_01'],
],
[
'name' => 'AuditResult',
'in' => 'query',
- 'schema' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'noAudit',
- ],
+ 'schema' => ['description' => '审核结果。', 'type' => 'string', 'required' => false, 'example' => 'noAudit'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'ImageId',
'in' => 'query',
- 'schema' => [
- 'description' => '图片ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '图片ID。', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'KeywordId',
'in' => 'query',
- 'schema' => [
- 'description' => '关键字。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '关键字。', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'LibType',
'in' => 'query',
- 'schema' => [
- 'description' => '词库类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'textKeyword',
- ],
+ 'schema' => ['description' => '词库类型。', 'type' => 'string', 'required' => false, 'example' => 'textKeyword'],
],
],
'responses' => [
@@ -1642,29 +902,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求的ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'PageSize' => [
- 'description' => '每页显示的条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '24',
- ],
+ 'CurrentPage' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求的ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'PageSize' => ['description' => '每页显示的条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '24'],
'AuditContentList' => [
'description' => '审核信息列表。',
'type' => 'array',
@@ -1672,73 +913,19 @@
'description' => '审核信息列表。',
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '审核建议。取值:-**block**:违规。-**review**:疑似。-**pass**:通过。',
- 'type' => 'string',
- 'example' => 'block',
- ],
- 'Url' => [
- 'description' => '任务URL',
- 'type' => 'string',
- 'example' => 'https://www.xxx.com/xxx.jpg',
- ],
- 'DataId' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'example' => '5cb170f7689247e6a58b156b4fbc8476',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'recommend_social_template_01',
- ],
- 'NewUrl' => [
- 'description' => '转存后的URL。',
- 'type' => 'string',
- 'example' => 'https://www.xxx.com/xxx.jpg'."\n",
- ],
- 'ScanFinishedTime' => [
- 'description' => '扫描结束时间。',
- 'type' => 'string',
- 'example' => '2023-05-05 23:59:59 +0800'."\n",
- ],
- 'AuditResult' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'example' => 'noAudit',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'img5VB@6A****5HNUkpBXyoy-1zvats',
- ],
- 'Content' => [
- 'description' => '审核内容。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Thumbnail' => [
- 'description' => '缩略图 URL',
- 'type' => 'string',
- 'example' => 'https://www.xxx.com/xxx.jpg'."\n",
- ],
- 'Audit' => [
- 'description' => '审核状态。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22136',
- ],
- 'RequestTime' => [
- 'description' => '请求时间。',
- 'type' => 'string',
- 'example' => '1710293064524',
- ],
+ 'Suggestion' => ['description' => '审核建议。取值:-**block**:违规。-**review**:疑似。-**pass**:通过。', 'type' => 'string', 'example' => 'block'],
+ 'Url' => ['description' => '任务URL', 'type' => 'string', 'example' => 'https://www.xxx.com/xxx.jpg'],
+ 'DataId' => ['description' => '数据ID。', 'type' => 'string', 'example' => '5cb170f7689247e6a58b156b4fbc8476'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'recommend_social_template_01'],
+ 'NewUrl' => ['description' => '转存后的URL。', 'type' => 'string', 'example' => 'https://www.xxx.com/xxx.jpg'."\n"],
+ 'ScanFinishedTime' => ['description' => '扫描结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-05-05 23:59:59 +0800'."\n"],
+ 'AuditResult' => ['description' => '审核结果。', 'type' => 'string', 'example' => 'noAudit'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'img5VB@6A****5HNUkpBXyoy-1zvats'],
+ 'Content' => ['description' => '审核内容。', 'type' => 'string', 'example' => 'xxx'],
+ 'Thumbnail' => ['description' => '缩略图 URL', 'type' => 'string', 'example' => 'https://www.xxx.com/xxx.jpg'."\n"],
+ 'Audit' => ['description' => '审核状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '22136'],
+ 'RequestTime' => ['description' => '请求时间。使用 Unix/POSIX 时间戳表示,单位为毫秒。', 'type' => 'string', 'example' => '1710293064524'],
'Results' => [
'description' => '审核结果。',
'type' => 'array',
@@ -1746,21 +933,9 @@
'description' => '审核结果。',
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '审核建议。取值:-**block**:违规。-**review**:疑似。-**pass**:通过。',
- 'type' => 'string',
- 'example' => 'block',
- ],
- 'Label' => [
- 'description' => '标签',
- 'type' => 'string',
- 'example' => 'bloody',
- ],
- 'Scene' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'example' => 'political',
- ],
+ 'Suggestion' => ['description' => '审核建议。取值:-**block**:违规。-**review**:疑似。-**pass**:通过。', 'type' => 'string', 'example' => 'block'],
+ 'Label' => ['description' => '标签', 'type' => 'string', 'example' => 'bloody'],
+ 'Scene' => ['description' => '审核场景。', 'type' => 'string', 'example' => 'political'],
],
],
],
@@ -1771,33 +946,16 @@
'description' => '结果集。',
'type' => 'object',
'properties' => [
- 'Offset' => [
- 'description' => '截帧偏移值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Url' => [
- 'description' => 'URL。',
- 'type' => 'string',
- 'example' => 'https://www.xxx.com/xxx.jpg'."\n",
- ],
- 'Label' => [
- 'description' => '标签',
- 'type' => 'string',
- 'example' => 'weapon',
- ],
+ 'Offset' => ['description' => '截帧偏移值。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Url' => ['description' => 'URL。', 'type' => 'string', 'example' => 'https://www.xxx.com/xxx.jpg'."\n"],
+ 'Label' => ['description' => '标签', 'type' => 'string', 'example' => 'weapon'],
],
],
],
'AuditIllegalReasons' => [
'description' => '审核备注。',
'type' => 'array',
- 'items' => [
- 'description' => '审核备注。',
- 'type' => 'string',
- 'example' => '[\\"terrorism\\"]',
- ],
+ 'items' => ['description' => '审核备注。', 'type' => 'string', 'example' => '[\\"terrorism\\"]'],
],
],
],
@@ -1811,14 +969,8 @@
],
'DescribeAuditContentItem' => [
'summary' => '查询审核结果详情。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1829,83 +981,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102665',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源ip地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123.124.142.194',
- ],
+ 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '123.124.142.194'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言配置信息。-**cn**:中文-**en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '语言配置信息。-**cn**:中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '13',
- ],
+ 'schema' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '13'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxx-xxx'."\n",
- ],
+ 'schema' => ['description' => '任务id。', 'type' => 'string', 'required' => true, 'example' => 'xxxx-xxx'."\n"],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '模态类型。取值:-**text**:文本。-**image**:图片。-**video**:视频。-**voice**:语音。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '模态类型。取值:-**text**:文本。-**image**:图片。-**video**:视频。-**voice**:语音。', 'type' => 'string', 'required' => true, 'example' => 'image'],
],
],
'responses' => [
@@ -1913,29 +1025,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '13',
- ],
+ 'CurrentPage' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'],
'AuditContentItemList' => [
'description' => '审核配置列表。',
'type' => 'array',
@@ -1943,62 +1036,19 @@
'description' => '审核配置列表。',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2025-09-26T02:17:00Z',
- ],
- 'StartTime' => [
- 'description' => '生效时间。',
- 'type' => 'string',
- 'example' => '2025-10-11 10:01:47',
- ],
- 'Suggestion' => [
- 'description' => '审核建议。取值:-**block**:违规。-**review**:疑似。-**pass**:通过。',
- 'type' => 'string',
- 'example' => 'block',
- ],
- 'Sn' => [
- 'description' => 'sn。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ParentTaskId' => [
- 'description' => '父任务id。',
- 'type' => 'string',
- 'example' => 'P_L28N43',
- ],
- 'AuditResult' => [
- 'description' => '审核结果。取值:-**normal**:正常。-**blocked**:屏蔽。',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'Audit' => [
- 'description' => '审核状态。取值:-**0**:未审核。-**1**:已审核。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Content' => [
- 'description' => '审核内容。',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Id' => [
- 'description' => '审核id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2244',
- ],
+ 'EndTime' => ['description' => '结束时间。格式:YYYY-MM-DDTHH:mm:ssZ', 'type' => 'string', 'example' => '2025-09-26T02:17:00Z'],
+ 'StartTime' => ['description' => '生效时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2025-10-11 10:01:47'],
+ 'Suggestion' => ['description' => '审核建议。取值:-**block**:违规。-**review**:疑似。-**pass**:通过。', 'type' => 'string', 'example' => 'block'],
+ 'Sn' => ['description' => 'sn。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ParentTaskId' => ['description' => '父任务id。', 'type' => 'string', 'example' => 'P_L28N43'],
+ 'AuditResult' => ['description' => '审核结果。取值:-**normal**:正常。-**blocked**:屏蔽。', 'type' => 'string', 'example' => 'normal'],
+ 'Audit' => ['description' => '审核状态。取值:-**0**:未审核。-**1**:已审核。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Content' => ['description' => '审核内容。', 'type' => 'string', 'example' => 'xxxx'],
+ 'Id' => ['description' => '审核id。', 'type' => 'integer', 'format' => 'int64', 'example' => '2244'],
'AuditIllegalReasons' => [
'description' => '违规原因。',
'type' => 'array',
- 'items' => [
- 'description' => '违规原因。',
- 'type' => 'string',
- 'example' => 'terrorism',
- ],
+ 'items' => ['description' => '违规原因。', 'type' => 'string', 'example' => 'terrorism'],
],
],
],
@@ -2012,14 +1062,8 @@
],
'DescribeAuditRange' => [
'summary' => '查询审核范围。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2030,9 +1074,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102666',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [],
'responses' => [
@@ -2040,27 +1082,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '本次请求的id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'AuditRange' => [
'description' => '审核范围详情。',
'type' => 'object',
'properties' => [
- 'pass' => [
- 'description' => '是否审核suggesstion = pass的内容。-**true**:审核-**false**:不审核',
- 'type' => 'boolean',
- ],
- 'block' => [
- 'description' => '是否审核suggesstion = block的内容。-**true**:审核-**false**:不审核',
- 'type' => 'boolean',
- ],
- 'review' => [
- 'description' => '是否审核suggesstion = review的内容。-**true**:审核-**false**:不审核',
- 'type' => 'boolean',
- ],
+ 'pass' => ['description' => '是否审核suggesstion = pass的内容。-**true**:审核-**false**:不审核', 'type' => 'boolean'],
+ 'block' => ['description' => '是否审核suggesstion = block的内容。-**true**:审核-**false**:不审核', 'type' => 'boolean'],
+ 'review' => ['description' => '是否审核suggesstion = review的内容。-**true**:审核-**false**:不审核', 'type' => 'boolean'],
],
],
],
@@ -2073,14 +1102,8 @@
],
'DescribeAuditSetting' => [
'summary' => '查询审核配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2091,30 +1114,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102667',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '指定请求的来源ip地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '指定请求的来源ip地址。', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言配置,支持多种语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言配置,支持多种语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -2122,37 +1133,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Seed' => [
- 'description' => '回调seed。',
- 'type' => 'string',
- 'example' => 'aaaabbbbccccdddd',
- ],
- 'Callback' => [
- 'description' => '回调url。',
- 'type' => 'string',
- 'example' => 'http://xxx.com/xxx',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Seed' => ['description' => '回调seed。', 'type' => 'string', 'example' => 'aaaabbbbccccdddd'],
+ 'Callback' => ['description' => '回调url。', 'type' => 'string', 'example' => 'http://xxx.com/xxx'],
'AuditRange' => [
'description' => '审核范围。',
'type' => 'object',
'properties' => [
- 'pass' => [
- 'description' => '是否审核pass的内容。-**true**:审核。-**false**:不审核。',
- 'type' => 'boolean',
- ],
- 'block' => [
- 'description' => '是否审核block的内容。-**true**:审核。-**false**:不审核。',
- 'type' => 'boolean',
- ],
- 'review' => [
- 'description' => '是否审核review的内容。-**true**:审核。-**false**:不审核。',
- 'type' => 'boolean',
- ],
+ 'pass' => ['description' => '是否审核pass的内容。-**true**:审核。-**false**:不审核。', 'type' => 'boolean'],
+ 'block' => ['description' => '是否审核block的内容。-**true**:审核。-**false**:不审核。', 'type' => 'boolean'],
+ 'review' => ['description' => '是否审核review的内容。-**true**:审核。-**false**:不审核。', 'type' => 'boolean'],
],
],
],
@@ -2164,14 +1154,8 @@
],
'DescribeBizTypeSetting' => [
'summary' => '查询业务场景机审标准',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2182,30 +1166,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102672',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'recommend_standard_template_01',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'recommend_standard_template_01'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
],
'responses' => [
@@ -2213,11 +1185,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Terrorism' => [
'description' => '暴恐。',
'type' => 'object',
@@ -2225,11 +1193,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2240,11 +1204,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2255,11 +1215,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2270,11 +1226,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2285,11 +1237,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2302,14 +1250,8 @@
],
'DescribeBizTypes' => [
'summary' => '查询业务场景Biztype列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2320,20 +1262,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102671',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'ImportFlag',
'in' => 'query',
- 'schema' => [
- 'description' => '使用标准输出还是自定义输出。默认值为**false**。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '使用标准输出还是自定义输出。默认值为**false**。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -2341,25 +1276,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'BizTypeList' => [
'description' => '业务场景列表。',
'type' => 'array',
- 'items' => [
- 'description' => '业务场景信息。',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'items' => ['description' => '业务场景信息。', 'type' => 'string', 'example' => 'default'],
],
],
],
@@ -2370,14 +1292,8 @@
],
'DescribeCloudMonitorServices' => [
'summary' => '获取并发检测服务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2388,40 +1304,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102678',
- 'abilityTreeNodes' => [
- 'FEATURElvwangQ4BOUA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangQ4BOUA'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59.82.***.165',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '59.82.***.165'],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。默认值:1。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '页码。默认值:1。', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'string', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -2429,25 +1328,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
- 'items' => [
- 'description' => '当前页数据。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '当前页数据。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2458,14 +1344,8 @@
],
'DescribeCustomOcrTemplate' => [
'summary' => '查询用户OCR模板',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2476,20 +1356,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102679',
- 'abilityTreeNodes' => [
- 'FEATURElvwang82NHPF',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang82NHPF'],
],
'parameters' => [
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["1605"]',
- ],
+ 'schema' => ['description' => '数据ID。', 'type' => 'string', 'required' => false, 'example' => '["1605"]'],
],
],
'responses' => [
@@ -2497,17 +1370,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '24',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '24'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'OcrTemplateList' => [
'description' => 'OCR模板列表。',
'type' => 'array',
@@ -2515,28 +1379,10 @@
'description' => 'OCR模板列表。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '模板状态。取值:-**1**:启用-**0**:禁用',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'ImgUrl' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'example' => 'https://aligreen-shanghai.oss-cn-shanghai.aliyuncs.com/x/custom_ocr_template/1546886714089278/9e188bfa-b0e9-42a0.jpg',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1750',
- ],
+ 'Status' => ['description' => '模板状态。取值:-**1**:启用-**0**:禁用', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Name' => ['description' => '模板名称。', 'type' => 'string', 'example' => 'xx'],
+ 'ImgUrl' => ['description' => '图片地址', 'type' => 'string', 'example' => 'https://aligreen-shanghai.oss-cn-shanghai.aliyuncs.com/x/custom_ocr_template/1546886714089278/9e188bfa-b0e9-42a0.jpg'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1750'],
'ReferArea' => [
'description' => '参考字段。',
'type' => 'array',
@@ -2544,35 +1390,11 @@
'description' => '参考字段。',
'type' => 'object',
'properties' => [
- 'Y' => [
- 'description' => '文本框左上角y坐标',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'Name' => [
- 'description' => '文本框名称',
- 'type' => 'string',
- 'example' => 'referKey1',
- ],
- 'Width' => [
- 'description' => '文本框宽度',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '220',
- ],
- 'Height' => [
- 'description' => '文本框高度',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '229',
- ],
- 'X' => [
- 'description' => '文本框左上角x坐标',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'Y' => ['description' => '文本框左上角y坐标', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'Name' => ['description' => '文本框名称', 'type' => 'string', 'example' => 'referKey1'],
+ 'Width' => ['description' => '文本框宽度', 'type' => 'integer', 'format' => 'int32', 'example' => '220'],
+ 'Height' => ['description' => '文本框高度', 'type' => 'integer', 'format' => 'int32', 'example' => '229'],
+ 'X' => ['description' => '文本框左上角x坐标', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
@@ -2583,35 +1405,11 @@
'description' => '识别字段。',
'type' => 'object',
'properties' => [
- 'Y' => [
- 'description' => '文本框左上角y坐标',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Name' => [
- 'description' => '文本框名称',
- 'type' => 'string',
- 'example' => 'referKey2',
- ],
- 'Width' => [
- 'description' => '文本框宽度',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Height' => [
- 'description' => '文本框高度',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'X' => [
- 'description' => '文本框左上角x坐标',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '55',
- ],
+ 'Y' => ['description' => '文本框左上角y坐标', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Name' => ['description' => '文本框名称', 'type' => 'string', 'example' => 'referKey2'],
+ 'Width' => ['description' => '文本框宽度', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Height' => ['description' => '文本框高度', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'X' => ['description' => '文本框左上角x坐标', 'type' => 'integer', 'format' => 'int32', 'example' => '55'],
],
],
],
@@ -2627,14 +1425,8 @@
],
'DescribeImageFromLib' => [
'summary' => '库维度图片列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2645,106 +1437,53 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102680',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '114.84.0.***',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '114.84.0.***'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '52',
- ],
+ 'schema' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '52'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前分页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前分页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ImageLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '图库id。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '13776',
- ],
+ 'schema' => ['description' => '图库id。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '13776'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1791',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1791'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-01-01 00:00:00 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-01-01 00:00:00 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-11-18 10:21:32 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-11-18 10:21:32 +0800'],
],
[
'name' => 'ModelId',
'in' => 'query',
- 'schema' => [
- 'description' => '模型ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '21981',
- ],
+ 'schema' => ['description' => '模型ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '21981'],
],
],
'responses' => [
@@ -2752,29 +1491,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前分页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '52',
- ],
+ 'CurrentPage' => ['description' => '当前分页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '52'],
'ImageFromLibList' => [
'description' => '图库信息列表。',
'type' => 'array',
@@ -2782,39 +1502,12 @@
'description' => '图库信息列表。',
'type' => 'object',
'properties' => [
- 'ImageHitCount' => [
- 'description' => '图库中的图片命中数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22',
- ],
- 'Image' => [
- 'description' => '图片地址。',
- 'type' => 'string',
- 'example' => 'https://xxxx.png'."\n",
- ],
- 'CreateTime' => [
- 'description' => '图库的创建时间。',
- 'type' => 'string',
- 'example' => '2022-11-04 16:09:51 +0800',
- ],
- 'VideoHitCount' => [
- 'description' => '视频中的图片命中数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11',
- ],
- 'Thumbnail' => [
- 'description' => '缩略图url。',
- 'type' => 'string',
- 'example' => 'https://xxxx.png',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1697',
- ],
+ 'ImageHitCount' => ['description' => '图库中的图片命中数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '22'],
+ 'Image' => ['description' => '图片地址。', 'type' => 'string', 'example' => 'https://xxxx.png'."\n"],
+ 'CreateTime' => ['description' => '图库的创建时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2022-11-04 16:09:51 +0800'],
+ 'VideoHitCount' => ['description' => '视频中的图片命中数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '11'],
+ 'Thumbnail' => ['description' => '缩略图url。', 'type' => 'string', 'example' => 'https://xxxx.png'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1697'],
],
],
],
@@ -2827,14 +1520,8 @@
],
'DescribeImageLib' => [
'summary' => '查询自定义图库信息列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2845,20 +1532,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102681',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '125.121.36.***',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '125.121.36.***'],
],
[
'name' => 'ServiceModule',
@@ -2867,10 +1547,7 @@
'description' => '图库适用的服务模块。取值:-**open_api**:用于内容检测api-**website**:用于站点检测',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'website' => 'website',
- 'open_api' => 'open_api',
- ],
+ 'enumValueTitles' => ['website' => 'website', 'open_api' => 'open_api'],
'example' => 'open_api',
],
],
@@ -2880,17 +1557,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '请求的ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RequestId' => ['description' => '请求的ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'ImageLibList' => [
'description' => '图库信息列表。',
'type' => 'array',
@@ -2898,71 +1566,25 @@
'description' => '图库信息列表。',
'type' => 'object',
'properties' => [
- 'ModifiedTime' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2018-03-19 10:45:44 +0800',
- ],
- 'Code' => [
- 'description' => '图库编码。',
- 'type' => 'string',
- 'example' => '808003055',
- ],
- 'ImageCount' => [
- 'description' => '图库中的图片数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Category' => [
- 'description' => '图库的用途。取值:-**black**:黑名单-**white**:白名单',
- 'type' => 'string',
- 'example' => 'BLACK',
- ],
- 'ServiceModule' => [
- 'description' => '图库适用的服务模块。取值:'."\n"
- .'- **open_api**:用于内容检测API'."\n"
- .'- **website**:用于站点检测',
- 'type' => 'string',
- 'example' => 'open_api',
- ],
- 'Source' => [
- 'description' => '图库的来源。取值:-**manual**:手动创建-**feedback**:根据用户反馈的结果自动创建',
- 'type' => 'string',
- 'example' => 'MANUAL',
- ],
- 'Name' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'example' => '测试a',
- ],
- 'Scene' => [
- 'description' => '图库的使用场景。取值:'."\n"
- .'- **PORN**:智能鉴黄'."\n"
- .'- **AD**:广告识别'."\n"
- .'- **ILLEGAL**:暴恐涉政识别',
- 'type' => 'string',
- 'example' => 'PORN',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1279',
- ],
- 'Enable' => [
- 'description' => '是否启用图库。取值:-**true**:启用-**false**:禁用',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'ModifiedTime' => ['description' => '修改时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2018-03-19 10:45:44 +0800'],
+ 'Code' => ['description' => '图库编码。', 'type' => 'string', 'example' => '808003055'],
+ 'ImageCount' => ['description' => '图库中的图片数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Category' => ['description' => '图库的用途。取值:-**black**:黑名单-**white**:白名单', 'type' => 'string', 'example' => 'BLACK'],
+ 'ServiceModule' => ['description' => '图库适用的服务模块。取值:'."\n"
+ .'- **open_api**:用于内容检测API'."\n"
+ .'- **website**:用于站点检测', 'type' => 'string', 'example' => 'open_api'],
+ 'Source' => ['description' => '图库的来源。取值:-**manual**:手动创建-**feedback**:根据用户反馈的结果自动创建', 'type' => 'string', 'example' => 'MANUAL'],
+ 'Name' => ['description' => '图库名称。', 'type' => 'string', 'example' => '测试a'],
+ 'Scene' => ['description' => '图库的使用场景。取值:'."\n"
+ .'- **PORN**:智能鉴黄'."\n"
+ .'- **AD**:广告识别'."\n"
+ .'- **ILLEGAL**:暴恐涉政识别', 'type' => 'string', 'example' => 'PORN'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1279'],
+ 'Enable' => ['description' => '是否启用图库。取值:-**true**:启用-**false**:禁用', 'type' => 'string', 'example' => 'true'],
'BizTypes' => [
'description' => '业务类型',
'type' => 'array',
- 'items' => [
- 'description' => '业务类型',
- 'type' => 'string',
- 'example' => '[\\"default\\",\\"xinxifabu\\"]',
- ],
+ 'items' => ['description' => '业务类型', 'type' => 'string', 'example' => '[\\"default\\",\\"xinxifabu\\"]'],
],
],
],
@@ -2976,14 +1598,8 @@
],
'DescribeImageUploadInfo' => [
'summary' => '获取图片上传设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2994,20 +1610,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102682',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59.82.****.165',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '59.82.****.165'],
],
],
'responses' => [
@@ -3015,42 +1624,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Signature' => [
- 'description' => '上传文件到OSS使用的签名。',
- 'type' => 'string',
- 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
- ],
- 'Host' => [
- 'description' => 'OSS Endpoint。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Policy' => [
- 'description' => 'OSS上传文件的Policy。',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Accessid' => [
- 'description' => 'oss上传所需accesskeyid信息。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Folder' => [
- 'description' => '文件名称。',
- 'type' => 'string',
- 'example' => 'image/upload/xxx'."\n",
- ],
- 'Expire' => [
- 'description' => '过期时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '900',
- ],
+ 'Signature' => ['description' => '上传文件到OSS使用的签名。', 'type' => 'string', 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw='],
+ 'Host' => ['description' => 'OSS Endpoint。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Policy' => ['description' => 'OSS上传文件的Policy。', 'type' => 'string', 'example' => 'xxxx'],
+ 'Accessid' => ['description' => 'oss上传所需accesskeyid信息。', 'type' => 'string', 'example' => 'xxx'],
+ 'Folder' => ['description' => '文件名称。', 'type' => 'string', 'example' => 'image/upload/xxx'."\n"],
+ 'Expire' => ['description' => '过期时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '900'],
],
],
],
@@ -3060,98 +1640,49 @@
],
'DescribeKeyword' => [
'summary' => '查询关键词列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '113.109.***.132',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '113.109.***.132'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '364',
- ],
+ 'schema' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '364'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'KeywordLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '22220',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '22220'],
],
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '查询关键字。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '盯',
- ],
+ 'schema' => ['description' => '查询关键字。', 'type' => 'string', 'required' => false, 'example' => '盯'],
],
],
'responses' => [
@@ -3159,29 +1690,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '364',
- ],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '364'],
'KeywordList' => [
'description' => '关键字列表。',
'type' => 'array',
@@ -3189,28 +1701,10 @@
'description' => '关键字列表。',
'type' => 'object',
'properties' => [
- 'HitCount' => [
- 'description' => '命中次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Keyword' => [
- 'description' => '关键字。',
- 'type' => 'string',
- 'example' => '盯链',
- ],
- 'Id' => [
- 'description' => '主键id',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '211',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:58:07 +0800',
- ],
+ 'HitCount' => ['description' => '命中次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Keyword' => ['description' => '关键字。', 'type' => 'string', 'example' => '盯链'],
+ 'Id' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int32', 'example' => '211'],
+ 'CreateTime' => ['description' => '创建时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:58:07 +0800'],
],
],
],
@@ -3223,14 +1717,8 @@
],
'DescribeKeywordLib' => [
'summary' => '查询文本库列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3241,40 +1729,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102684',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '58.***.97.190',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '58.***.97.190'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'ServiceModule',
'in' => 'query',
- 'schema' => [
- 'description' => '关联的服务模块。取值:-**open_api**:内容检测api-**website**:站点检测',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'open_api',
- ],
+ 'schema' => ['description' => '关联的服务模块。取值:-**open_api**:内容检测api-**website**:站点检测', 'type' => 'string', 'required' => true, 'example' => 'open_api'],
],
],
'responses' => [
@@ -3282,17 +1753,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'KeywordLibList' => [
'description' => '关键字列表。',
'type' => 'array',
@@ -3300,87 +1762,29 @@
'description' => '关键字列表。',
'type' => 'object',
'properties' => [
- 'Source' => [
- 'description' => '词库的来源。取值:'."\n"
- .'- **MANUAL**:手动创建'."\n"
- .'- **FEEDBACK**:根据用户反馈的结果自动创建',
- 'type' => 'string',
- 'example' => 'MANUAL',
- ],
- 'Count' => [
- 'description' => '关键字个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '16',
- ],
- 'Language' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'example' => 'zh',
- ],
- 'ModifiedTime' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:59:17 +0800',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'TEXT',
- ],
- 'LibType' => [
- 'description' => '词库类型。',
- 'type' => 'string',
- 'example' => 'textKeyword',
- ],
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '12200013',
- ],
- 'Category' => [
- 'description' => '词库的用途。取值:'."\n"
- .'- **BLACK**:黑名单'."\n"
- .'- **WHITE**:白名单',
- 'type' => 'string',
- 'example' => 'BLACK',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'ServiceModule' => [
- 'description' => '要查询的服务模块。取值:'."\n"
- .'- **open_api**:表示内容检测API'."\n"
- .'- **website**:表示站点检测'."\n",
- 'type' => 'string',
- 'example' => 'open_api',
- ],
- 'MatchMode' => [
- 'description' => '匹配方式。',
- 'type' => 'string',
- 'example' => 'precise',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '21732',
- ],
- 'Enable' => [
- 'description' => '是否启用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Source' => ['description' => '词库的来源。取值:'."\n"
+ .'- **MANUAL**:手动创建'."\n"
+ .'- **FEEDBACK**:根据用户反馈的结果自动创建', 'type' => 'string', 'example' => 'MANUAL'],
+ 'Count' => ['description' => '关键字个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '16'],
+ 'Language' => ['description' => '语言。', 'type' => 'string', 'example' => 'zh'],
+ 'ModifiedTime' => ['description' => '修改时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:59:17 +0800'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'TEXT'],
+ 'LibType' => ['description' => '词库类型。', 'type' => 'string', 'example' => 'textKeyword'],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '12200013'],
+ 'Category' => ['description' => '词库的用途。取值:'."\n"
+ .'- **BLACK**:黑名单'."\n"
+ .'- **WHITE**:白名单', 'type' => 'string', 'example' => 'BLACK'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '测试'],
+ 'ServiceModule' => ['description' => '要查询的服务模块。取值:'."\n"
+ .'- **open_api**:表示内容检测API'."\n"
+ .'- **website**:表示站点检测'."\n", 'type' => 'string', 'example' => 'open_api'],
+ 'MatchMode' => ['description' => '匹配方式。', 'type' => 'string', 'example' => 'precise'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '21732'],
+ 'Enable' => ['description' => '是否启用。', 'type' => 'boolean', 'example' => 'true'],
'BizTypes' => [
'description' => '业务类型',
'type' => 'array',
- 'items' => [
- 'description' => '业务类型',
- 'type' => 'string',
- 'example' => '[\\"default\\"]',
- ],
+ 'items' => ['description' => '业务类型', 'type' => 'string', 'example' => '[\\"default\\"]'],
],
],
],
@@ -3394,14 +1798,8 @@
],
'DescribeNotificationSetting' => [
'summary' => '查询站点检测消息通知设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3412,30 +1810,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102685',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源ip地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59.82.****.165',
- ],
+ 'schema' => ['description' => '访问者源ip地址', 'type' => 'string', 'required' => false, 'example' => '59.82.****.165'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -3443,50 +1829,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ScheduleMessageTime' => [
- 'description' => '定时消息通知时间',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'Email' => [
- 'description' => '邮箱',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ScheduleMessageTimeZone' => [
- 'description' => '定时消息通知时区',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'Phone' => [
- 'description' => '电话。',
- 'type' => 'string',
- 'example' => '1*******334',
- ],
+ 'ScheduleMessageTime' => ['description' => '定时消息通知时间,格式为整数类型', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
+ 'Email' => ['description' => '邮箱', 'type' => 'string', 'example' => 'xxx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ScheduleMessageTimeZone' => ['description' => '定时消息通知时区', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'Phone' => ['description' => '电话。', 'type' => 'string', 'example' => '1*******334'],
'RealtimeMessageList' => [
'description' => '需实时通知的消息',
'type' => 'array',
- 'items' => [
- 'description' => '需实时通知的消息',
- 'type' => 'string',
- 'example' => '["websiteIndexRisk"]',
- ],
+ 'items' => ['description' => '需实时通知的消息', 'type' => 'string', 'example' => '["websiteIndexRisk"]'],
],
'ReminderModeList' => [
'description' => '需提醒通知的消息',
'type' => 'array',
- 'items' => [
- 'description' => '需提醒通知的消息',
- 'type' => 'string',
- 'example' => '["mail","message","stationLetter"]',
- ],
+ 'items' => ['description' => '需提醒通知的消息', 'type' => 'string', 'example' => '["mail","message","stationLetter"]'],
],
],
],
@@ -3497,14 +1853,8 @@
],
'DescribeOpenApiRcpStats' => [
'summary' => '人审数据统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3515,50 +1865,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102688',
- 'abilityTreeNodes' => [
- 'FEATURElvwangLV54EY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangLV54EY'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-10-01 00:00:00 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-10-01 00:00:00 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-12-12 10:16:48 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-12-12 10:16:48 +0800'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
],
'responses' => [
@@ -3566,17 +1894,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'TotalCount' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'StatList' => [
'description' => '数据列表。',
'type' => 'array',
@@ -3584,46 +1903,13 @@
'description' => '数据列表。',
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'IMAGE',
- ],
- 'PassCount' => [
- 'description' => '通过数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Date' => [
- 'description' => '日期。',
- 'type' => 'string',
- 'example' => '20231009',
- ],
- 'TotalCount' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '命中数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalDuration' => [
- 'description' => '总使用时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'IMAGE'],
+ 'PassCount' => ['description' => '通过数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Date' => ['description' => '日期。具体格式为 `YYYYMMDD`', 'type' => 'string', 'example' => '20231009'],
+ 'TotalCount' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'BlockCount' => ['description' => '命中数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalDuration' => ['description' => '总使用时长', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -3636,14 +1922,8 @@
],
'DescribeOpenApiUsage' => [
'summary' => '机审数据统计。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3654,60 +1934,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102689',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源ip地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.***.210.253',
- ],
+ 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '183.***.210.253'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-03-05 00:00:00 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-03-05 00:00:00 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-12-15 10:22:45 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-12-15 10:22:45 +0800'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
],
'responses' => [
@@ -3715,17 +1968,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '364',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '364'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'OpenApiUsageList' => [
'description' => '返回的列表。',
'type' => 'array',
@@ -3733,81 +1977,19 @@
'description' => '返回的列表。',
'type' => 'object',
'properties' => [
- 'PassDuration' => [
- 'description' => '通过时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ReviewDuration' => [
- 'description' => '疑似时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Date' => [
- 'description' => '日期。',
- 'type' => 'string',
- 'example' => '20240712',
- ],
- 'OuterTotalCount' => [
- 'description' => '外部用户视频截帧数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InnerTotalCount' => [
- 'description' => '内部系统视频截帧数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'IMAGE',
- ],
- 'PassCount' => [
- 'description' => '通过数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'BlockDuration' => [
- 'description' => '命中时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Scene' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'BlockCount' => [
- 'description' => '命中数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'TotalDuration' => [
- 'description' => '总使用时长',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
+ 'PassDuration' => ['description' => '通过时长', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ReviewDuration' => ['description' => '疑似时长', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Date' => ['description' => '日期。具体格式为 `YYYYMMDD`', 'type' => 'string', 'example' => '20240712'],
+ 'OuterTotalCount' => ['description' => '外部用户视频截帧数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'ReviewCount' => ['description' => '疑似数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InnerTotalCount' => ['description' => '内部系统视频截帧数量', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'IMAGE'],
+ 'PassCount' => ['description' => '通过数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'BlockDuration' => ['description' => '命中时长', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Scene' => ['description' => '审核场景。', 'type' => 'string', 'example' => 'porn'],
+ 'BlockCount' => ['description' => '命中数量', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'TotalDuration' => ['description' => '总使用时长', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
],
],
],
@@ -3820,14 +2002,8 @@
],
'DescribeOssCallbackSetting' => [
'summary' => '查询oss增量扫描回调配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3838,9 +2014,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102690',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [],
'responses' => [
@@ -3848,46 +2022,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AuditCallback' => [
- 'description' => '是否开启自助审核回调。取值:-**true**:已开启。-**false**:未开启。',
- 'type' => 'boolean',
- ],
- 'CallbackUrl' => [
- 'description' => '回调url。',
- 'type' => 'string',
- 'example' => 'http://xxx/callback',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ScanCallback' => [
- 'description' => '是否开启机审回调。取值:-**true**:已开启。-**false**:未开启。',
- 'type' => 'boolean',
- ],
- 'CallbackSeed' => [
- 'description' => '回调seed。',
- 'type' => 'string',
- 'example' => 'aaaabbbbccccddd',
- ],
+ 'AuditCallback' => ['description' => '是否开启自助审核回调。取值:-**true**:已开启。-**false**:未开启。', 'type' => 'boolean'],
+ 'CallbackUrl' => ['description' => '回调url。', 'type' => 'string', 'example' => 'http://xxx/callback'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ScanCallback' => ['description' => '是否开启机审回调。取值:-**true**:已开启。-**false**:未开启。', 'type' => 'boolean'],
+ 'CallbackSeed' => ['description' => '回调seed。', 'type' => 'string', 'example' => 'aaaabbbbccccddd'],
'ScanCallbackSuggestions' => [
'description' => '回调的suggestion。',
'type' => 'array',
- 'items' => [
- 'description' => '回调的suggestion。',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'items' => ['description' => '回调的suggestion。', 'type' => 'string', 'example' => 'block'],
],
'ServiceModules' => [
'description' => '服务模块。',
'type' => 'array',
- 'items' => [
- 'description' => '服务模块。',
- 'type' => 'string',
- 'example' => 'oss_inc_scan',
- ],
+ 'items' => ['description' => '服务模块。', 'type' => 'string', 'example' => 'oss_inc_scan'],
],
],
],
@@ -3898,14 +2046,8 @@
],
'DescribeOssIncrementOverview' => [
'summary' => '查询待开票对象信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3916,30 +2058,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102692',
- 'abilityTreeNodes' => [
- 'FEATURElvwangSIW14U',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangSIW14U'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源ip地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言配置,支持多种语言。包括zh_cn和en_us。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言配置,支持多种语言。包括zh_cn和en_us。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -3947,65 +2077,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'VideoCount' => [
- 'description' => '当天的视频总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'AdUnhandleCount' => [
- 'description' => '广告图片、视频违规数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'VoiceAntispamUnhandleCount' => [
- 'description' => '语音违规数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'VideoFrameCount' => [
- 'description' => '当天视频帧总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'AudioCount' => [
- 'description' => '当天的语音总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'PornUnhandleCount' => [
- 'description' => '涉黄图片、视频违规数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'ImageCount' => [
- 'description' => '当天图片总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'TerrorismUnhandleCount' => [
- 'description' => '暴恐图片、视频 违规数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LiveUnhandleCount' => [
- 'description' => '不良场景图片、视频违规数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'VideoCount' => ['description' => '当天的视频总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'AdUnhandleCount' => ['description' => '广告图片、视频违规数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'VoiceAntispamUnhandleCount' => ['description' => '语音违规数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'VideoFrameCount' => ['description' => '当天视频帧总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'AudioCount' => ['description' => '当天的语音总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'PornUnhandleCount' => ['description' => '涉黄图片、视频违规数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'ImageCount' => ['description' => '当天图片总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'TerrorismUnhandleCount' => ['description' => '暴恐图片、视频 违规数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LiveUnhandleCount' => ['description' => '不良场景图片、视频违规数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
@@ -4018,14 +2099,8 @@
],
'DescribeOssIncrementCheckSetting' => [
'summary' => 'OSS增量扫描设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4036,30 +2111,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102691',
- 'abilityTreeNodes' => [
- 'FEATURElvwang82NHPF',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang82NHPF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '218.17.***.226',
- ],
+ 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '218.17.***.226'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -4067,210 +2130,71 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CallbackName' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'ImageScanLimit' => [
- 'description' => '每日图片扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10000',
- ],
- 'VideoScanLimit' => [
- 'description' => '每日视频扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'AudioAutoFreezeOpened' => [
- 'description' => '音频需要冻结',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'VideoMaxSize' => [
- 'description' => '单视频大小上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'ImageEnableLimit' => [
- 'description' => '开启图片上限',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2023-10-21 16:08:38 +0800',
- ],
- 'ImageAutoFreezeOpened' => [
- 'description' => '图片需要冻结',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'VideoMaxFrames' => [
- 'description' => '单视频截帧上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2023-08-21 16:08:38 +0800'."\n",
- ],
- 'CallbackId' => [
- 'description' => '回调通知ID',
- 'type' => 'string',
- 'example' => '1664',
- ],
- 'ScanImageNoFileType' => [
- 'description' => '检测无后缀文件',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AutoFreezeType' => [
- 'description' => '冻结方式',
- 'type' => 'string',
- 'example' => 'acl',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'VideoAutoFreezeOpened' => [
- 'description' => '视频需要冻结',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'VideoFrameInterval' => [
- 'description' => '截帧频率',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AudioScanLimit' => [
- 'description' => '每日语音扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'AudioMaxSize' => [
- 'description' => '单音频大小上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'CallbackName' => ['description' => '回调名称。', 'type' => 'string', 'example' => 'xx'],
+ 'ImageScanLimit' => ['description' => '每日图片扫描上限', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
+ 'VideoScanLimit' => ['description' => '每日视频扫描上限', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'AudioAutoFreezeOpened' => ['description' => '音频需要冻结', 'type' => 'boolean', 'example' => 'false'],
+ 'VideoMaxSize' => ['description' => '单视频大小上限', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'ImageEnableLimit' => ['description' => '开启图片上限', 'type' => 'boolean', 'example' => 'true'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'default'],
+ 'EndTime' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-21 16:08:38 +0800'],
+ 'ImageAutoFreezeOpened' => ['description' => '图片需要冻结', 'type' => 'boolean', 'example' => 'true'],
+ 'VideoMaxFrames' => ['description' => '单视频截帧上限', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'StartTime' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-08-21 16:08:38 +0800'."\n"],
+ 'CallbackId' => ['description' => '回调通知ID', 'type' => 'string', 'example' => '1664'],
+ 'ScanImageNoFileType' => ['description' => '检测无后缀文件', 'type' => 'boolean', 'example' => 'true'],
+ 'AutoFreezeType' => ['description' => '冻结方式', 'type' => 'string', 'example' => 'acl'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'VideoAutoFreezeOpened' => ['description' => '视频需要冻结', 'type' => 'boolean', 'example' => 'true'],
+ 'VideoFrameInterval' => ['description' => '截帧频率', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AudioScanLimit' => ['description' => '每日语音扫描上限', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'AudioMaxSize' => ['description' => '单音频大小上限', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'AudioSceneList' => [
'description' => '音频场景列表。',
'type' => 'array',
- 'items' => [
- 'description' => '音频场景列表。',
- 'type' => 'string',
- 'example' => '[\\"antispam\\"]',
- ],
+ 'items' => ['description' => '音频场景列表。', 'type' => 'string', 'example' => '[\\"antispam\\"]'],
],
'VideoAutoFreezeSceneList' => [
'description' => '视频冻结场景列表。',
'type' => 'array',
- 'items' => [
- 'description' => '视频冻结场景列表。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '视频冻结场景列表。', 'type' => 'string', 'example' => '[]'],
],
'VideoSceneList' => [
'description' => '视频场景列表。',
'type' => 'array',
- 'items' => [
- 'description' => '视频场景列表。',
- 'type' => 'string',
- 'example' => '[\\"porn\\",\\"terrorism\\",\\"ad\\",\\"live\\"]',
- ],
+ 'items' => ['description' => '视频场景列表。', 'type' => 'string', 'example' => '[\\"porn\\",\\"terrorism\\",\\"ad\\",\\"live\\"]'],
],
'ImageSceneList' => [
'description' => '图片场景列表。',
'type' => 'array',
- 'items' => [
- 'description' => '图片场景列表。',
- 'type' => 'string',
- 'example' => '[\\"porn\\"]',
- ],
+ 'items' => ['description' => '图片场景列表。', 'type' => 'string', 'example' => '[\\"porn\\"]'],
],
'ImageAutoFreeze' => [
'description' => '图片自动冻结配置',
'type' => 'object',
'properties' => [
- 'Live' => [
- 'description' => '不良场景。',
- 'type' => 'string',
- 'example' => '99.01'."\n",
- ],
- 'Porn' => [
- 'description' => '鉴黄。',
- 'type' => 'string',
- 'example' => '99.01'."\n",
- ],
- 'Ad' => [
- 'description' => '广告。',
- 'type' => 'string',
- 'example' => '99.01'."\n",
- ],
- 'Terrorism' => [
- 'description' => '暴恐。',
- 'type' => 'string',
- 'example' => '99.01'."\n",
- ],
- 'Enabled' => [
- 'description' => '是否开启',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'Live' => ['description' => '不良场景。', 'type' => 'string', 'example' => '99.01'."\n"],
+ 'Porn' => ['description' => '鉴黄。', 'type' => 'string', 'example' => '99.01'."\n"],
+ 'Ad' => ['description' => '广告。', 'type' => 'string', 'example' => '99.01'."\n"],
+ 'Terrorism' => ['description' => '暴恐。', 'type' => 'string', 'example' => '99.01'."\n"],
+ 'Enabled' => ['description' => '是否开启', 'type' => 'boolean', 'example' => 'True'],
],
],
'AudioAntispamFreezeConfig' => [
'description' => '音频冻结场景列表',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'BizTypeTemplate' => [
'description' => '业务场景模板',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => 'test88899',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => 'created by eventbridge',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'test88899'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => 'created by eventbridge'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'default'],
'ImageConfig' => [
'description' => '图片配置。',
'type' => 'object',
@@ -4282,11 +2206,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4297,11 +2217,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4312,11 +2228,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4327,11 +2239,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4348,11 +2256,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4363,11 +2267,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4378,11 +2278,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4393,11 +2289,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4414,166 +2306,85 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
],
],
- 'IncludeChannel' => [
- 'description' => '是否包含三方渠道的算法-0:不包含-1:包含',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'false',
- ],
+ 'IncludeChannel' => ['description' => '是否包含三方渠道的算法-0:不包含-1:包含', 'type' => 'integer', 'format' => 'int32', 'example' => 'false'],
],
],
'ImagePornFreezeConfig' => [
'description' => '图片鉴黄冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'ImageTerrorismFreezeConfig' => [
'description' => '图片暴恐冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'ImageAdFreezeConfig' => [
'description' => '图片广告冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'ImageLiveFreezeConfig' => [
'description' => '图片不良场景冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoPornFreezeConfig' => [
'description' => '视频鉴黄冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoTerrorismFreezeConfig' => [
'description' => '视频暴恐冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoAdFreezeConfig' => [
'description' => '视频广告冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoLiveFreezeConfig' => [
'description' => '视频不良场景冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoVoiceAntispamFreezeConfig' => [
'description' => '视频语音发垃圾冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'BucketConfigList' => [
@@ -4583,29 +2394,13 @@
'description' => 'ossbucket的配置信息列表。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '过滤条件类型',
- 'type' => 'string',
- 'example' => 'include',
- ],
- 'Selected' => [
- 'description' => '是否被选中。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => 'gj-bucket1',
- ],
+ 'Type' => ['description' => '过滤条件类型', 'type' => 'string', 'example' => 'include'],
+ 'Selected' => ['description' => '是否被选中。', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'gj-bucket1'],
'Prefixes' => [
'description' => '前缀',
'type' => 'array',
- 'items' => [
- 'description' => '前缀',
- 'type' => 'string',
- 'example' => '["img/test_"]',
- ],
+ 'items' => ['description' => '前缀', 'type' => 'string', 'example' => '["img/test_"]'],
],
],
],
@@ -4619,14 +2414,8 @@
],
'DescribeOssIncrementStats' => [
'summary' => 'Oss增量扫描数据统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4637,70 +2426,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102693',
- 'abilityTreeNodes' => [
- 'FEATURElvwangSIW14U',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangSIW14U'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '58.17.***.197',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '58.17.***.197'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'porn',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => true, 'example' => 'porn'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-04-29 00:00:00 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-04-29 00:00:00 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-07-27 10:13:00 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-07-27 10:13:00 +0800'],
],
],
'responses' => [
@@ -4708,17 +2465,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'StatList' => [
'description' => '数据列表。',
'type' => 'array',
@@ -4726,45 +2474,13 @@
'description' => '数据列表。',
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'IMAGE',
- ],
- 'PassCount' => [
- 'description' => '通过数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Date' => [
- 'description' => '日期。',
- 'type' => 'string',
- 'example' => '202311',
- ],
- 'TotalCount' => [
- 'description' => '总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '命中数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Scene' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'example' => 'terrorism',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'IMAGE'],
+ 'PassCount' => ['description' => '通过数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Date' => ['description' => '日期。具体格式为 `YYYYMMDD`', 'type' => 'string', 'example' => '202311'],
+ 'TotalCount' => ['description' => '总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'BlockCount' => ['description' => '命中数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Scene' => ['description' => '审核场景。', 'type' => 'string', 'example' => 'terrorism'],
+ 'ReviewCount' => ['description' => '疑似数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -4777,14 +2493,8 @@
],
'DescribeOssResultItems' => [
'summary' => 'Oss扫描结果查询',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4795,186 +2505,93 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102694',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '访问源IP地址。', 'type' => 'string', 'required' => false, 'example' => '117.139.***.244'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-07-12 10:06:20 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-07-12 10:06:20 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-27 10:07:52 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-08-27 10:07:52 +0800'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'porn',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => false, 'example' => 'porn'],
],
[
'name' => 'Suggestion',
'in' => 'query',
- 'schema' => [
- 'description' => '处理建议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'block',
- ],
+ 'schema' => ['description' => '处理建议。', 'type' => 'string', 'required' => false, 'example' => 'block'],
],
[
'name' => 'Stock',
'in' => 'query',
- 'schema' => [
- 'description' => '是否查询存量扫描结果。',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否查询存量扫描结果。', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
],
[
'name' => 'MinScore',
'in' => 'query',
- 'schema' => [
- 'description' => '(仅适用于图片对象)要查询的结果的最低风险分值。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '99.01',
- ],
+ 'schema' => ['description' => '(仅适用于图片对象)要查询的结果的最低风险分值。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '99.01'],
],
[
'name' => 'MaxScore',
'in' => 'query',
- 'schema' => [
- 'description' => '(仅适用于图片对象)要查询的结果的最高风险分值。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '99.01',
- ],
+ 'schema' => ['description' => '(仅适用于图片对象)要查询的结果的最高风险分值。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '99.01'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VIDEO',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'VIDEO'],
],
[
'name' => 'Bucket',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的OSS的Bucket名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '要查询的OSS的Bucket名称。', 'type' => 'string', 'required' => false, 'example' => '123'],
],
[
'name' => 'QueryId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的检测请求ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '@guid ',
- ],
+ 'schema' => ['description' => '要查询的检测请求ID。', 'type' => 'string', 'required' => false, 'example' => '@guid '],
],
[
'name' => 'Object',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS Object名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'post/image/eae1722368b6951ac05cfb68b1cdeb03.jpg',
- ],
+ 'schema' => ['description' => 'OSS Object名称。', 'type' => 'string', 'required' => false, 'example' => 'post/image/eae1722368b6951ac05cfb68b1cdeb03.jpg'],
],
[
'name' => 'StockTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '存量扫描任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3482',
- ],
+ 'schema' => ['description' => '存量扫描任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3482'],
],
],
'responses' => [
@@ -4982,140 +2599,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'QueryId' => [
- 'description' => '检测请求ID。',
- 'type' => 'string',
- 'example' => '@guid '."\n",
- ],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'QueryId' => ['description' => '检测请求ID。', 'type' => 'string', 'example' => '@guid '."\n"],
'ScanResultList' => [
'description' => '扫描结果列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '处理建议。',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'CreateTime' => [
- 'description' => '扫描时间。',
- 'type' => 'string',
- 'example' => '1527410977000',
- ],
- 'Score' => [
- 'description' => '资源的风险分值,取值:0~100。分值越高,违规可能越大。',
- 'type' => 'string',
- 'example' => '90.9 ',
- ],
- 'DataId' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'example' => '4faded38970c41628f7dced832072af8',
- ],
- 'Object' => [
- 'description' => 'OSS Object名称。',
- 'type' => 'string',
- 'example' => 'post/image/eae1722368b6951ac05cfb68b1cdeb03.jpg ',
- ],
- 'NewUrl' => [
- 'description' => '原始文件链接地址。',
- 'type' => 'string',
- 'example' => 'https://example.com/bao/uploaded/LB1Q7lIoIbI8KJjy1zdXXbe1VXa.mp4 ',
- ],
- 'ScanFinishedTime' => [
- 'description' => '扫描完成时间。',
- 'type' => 'string',
- 'example' => '1527410977000 ',
- ],
- 'HandleStatus' => [
- 'description' => '资源的处理状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Content' => [
- 'description' => '审核内容。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Thumbnail' => [
- 'description' => '缩略图地址。',
- 'type' => 'string',
- 'example' => 'https://example.com/tfs/TB1HPS9qb9YBuNjy0FgXXcxcXXa-200-200.png ',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1739',
- ],
- 'ResourceStatus' => [
- 'description' => '资源的状态',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'RequestTime' => [
- 'description' => '请求时间。',
- 'type' => 'string',
- 'example' => '1527410977000',
- ],
- 'Bucket' => [
- 'description' => '资源所在的OSS Bucket。',
- 'type' => 'string',
- 'example' => 'uc-image ',
- ],
+ 'Suggestion' => ['description' => '处理建议。', 'type' => 'string', 'example' => 'pass'],
+ 'CreateTime' => ['description' => '扫描时间。使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1527410977000'],
+ 'Score' => ['description' => '资源的风险分值,取值:0~100。分值越高,违规可能越大。', 'type' => 'string', 'example' => '90.9 '],
+ 'DataId' => ['description' => '数据ID。', 'type' => 'string', 'example' => '4faded38970c41628f7dced832072af8'],
+ 'Object' => ['description' => 'OSS Object名称。', 'type' => 'string', 'example' => 'post/image/eae1722368b6951ac05cfb68b1cdeb03.jpg '],
+ 'NewUrl' => ['description' => '原始文件链接地址。', 'type' => 'string', 'example' => 'https://example.com/bao/uploaded/LB1Q7lIoIbI8KJjy1zdXXbe1VXa.mp4 '],
+ 'ScanFinishedTime' => ['description' => '扫描完成时间。使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1527410977000 '],
+ 'HandleStatus' => ['description' => '资源的处理状态', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Content' => ['description' => '审核内容。', 'type' => 'string', 'example' => 'xxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxx'],
+ 'Thumbnail' => ['description' => '缩略图地址。', 'type' => 'string', 'example' => 'https://example.com/tfs/TB1HPS9qb9YBuNjy0FgXXcxcXXa-200-200.png '],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1739'],
+ 'ResourceStatus' => ['description' => '资源的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'RequestTime' => ['description' => '请求时间。使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1527410977000'],
+ 'Bucket' => ['description' => '资源所在的OSS Bucket。', 'type' => 'string', 'example' => 'uc-image '],
'FrameResults' => [
'description' => '(仅使用视频对象)存在风险的问题帧。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Offset' => [
- 'description' => '该帧的位置,即距离视频开头的偏移量,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Url' => [
- 'description' => '该帧的链接。',
- 'type' => 'string',
- 'example' => 'https://example.com/tfs/TB1HPS9qb9YBuNjy0FgXXcxcXXa-200-200.png ',
- ],
- 'Thumbnail' => [
- 'description' => '该帧的缩略图链接。',
- 'type' => 'string',
- 'example' => 'https://example.com/tfs/TB1HPS9qb9YBuNjy0FgXXcxcXXa-200-200.png ',
- ],
+ 'Offset' => ['description' => '该帧的位置,即距离视频开头的偏移量,单位为秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Url' => ['description' => '该帧的链接。', 'type' => 'string', 'example' => 'https://example.com/tfs/TB1HPS9qb9YBuNjy0FgXXcxcXXa-200-200.png '],
+ 'Thumbnail' => ['description' => '该帧的缩略图链接。', 'type' => 'string', 'example' => 'https://example.com/tfs/TB1HPS9qb9YBuNjy0FgXXcxcXXa-200-200.png '],
],
],
],
@@ -5125,28 +2643,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '分段结束时间(秒)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'StartTime' => [
- 'description' => '分段开始时间(秒)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Text' => [
- 'description' => '文本内容。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'politics',
- ],
+ 'EndTime' => ['description' => '分段结束时间(秒)。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'StartTime' => ['description' => '分段开始时间(秒)。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Text' => ['description' => '文本内容。', 'type' => 'string', 'example' => 'xx'],
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'],
],
],
],
@@ -5162,14 +2662,8 @@
],
'DescribeOssStockStatus' => [
'summary' => '获取oss存量检测状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5180,41 +2674,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102698',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '124.74.***.90',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '124.74.***.90'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'StockTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '存量扫描任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1664',
- ],
+ 'schema' => ['description' => '存量扫描任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1664'],
],
],
'responses' => [
@@ -5222,117 +2698,31 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'VideoLiveCount' => [
- 'description' => '视频不良场景检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageTotalCount' => [
- 'description' => '图片总量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'VideoPornCount' => [
- 'description' => '视频鉴黄检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageLiveCount' => [
- 'description' => '图片不良场景检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AudioTotalCount' => [
- 'description' => '语音总量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageAdCount' => [
- 'description' => '图文违规检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImagePornCount' => [
- 'description' => '图片鉴黄检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'VideoVoiceAntispamCount' => [
- 'description' => '视频语音反垃圾检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'VideoTerrorismCount' => [
- 'description' => '视频暴恐检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AudioAntispamCount' => [
- 'description' => '语音反垃圾检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'StockStatus' => [
- 'description' => '存量任务状态。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'FinishedTime' => [
- 'description' => '完成时间。',
- 'type' => 'string',
- 'example' => '2023-12-21T02:17Z',
- ],
- 'VideoAdCount' => [
- 'description' => '视频图文检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageTerrorismCount' => [
- 'description' => '图片暴恐检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'VideoTotalCount' => [
- 'description' => '视频检测量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'VideoLiveCount' => ['description' => '视频不良场景检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ImageTotalCount' => ['description' => '图片总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'VideoPornCount' => ['description' => '视频鉴黄检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ImageLiveCount' => ['description' => '图片不良场景检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AudioTotalCount' => ['description' => '语音总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ImageAdCount' => ['description' => '图文违规检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ImagePornCount' => ['description' => '图片鉴黄检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'VideoVoiceAntispamCount' => ['description' => '视频语音反垃圾检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'VideoTerrorismCount' => ['description' => '视频暴恐检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AudioAntispamCount' => ['description' => '语音反垃圾检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'StockStatus' => ['description' => '存量任务状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'FinishedTime' => ['description' => '完成时间。格式:YYYY-MM-DDTHH:mm:ssZ', 'type' => 'string', 'example' => '2023-12-21T02:17Z'],
+ 'VideoAdCount' => ['description' => '视频图文检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ImageTerrorismCount' => ['description' => '图片暴恐检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'VideoTotalCount' => ['description' => '视频检测量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'SceneList' => [
'description' => '场景信息列表。',
'type' => 'array',
- 'items' => [
- 'description' => '场景信息列表。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '场景信息列表。', 'type' => 'string', 'example' => '[]'],
],
'ResouceTypeList' => [
'description' => '资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '资源类型列表。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '资源类型列表。', 'type' => 'string', 'example' => '[]'],
],
'BucketList' => [
'description' => 'oss存储bucket列表。',
@@ -5341,24 +2731,12 @@
'description' => 'oss存储bucket列表。',
'type' => 'object',
'properties' => [
- 'Selected' => [
- 'description' => '是否选中',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => 'gj-bucket1',
- ],
+ 'Selected' => ['description' => '是否选中', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'gj-bucket1'],
'Prefixes' => [
'description' => '前缀',
'type' => 'array',
- 'items' => [
- 'description' => '前缀',
- 'type' => 'string',
- 'example' => '["img/test_"]'."\n",
- ],
+ 'items' => ['description' => '前缀', 'type' => 'string', 'example' => '["img/test_"]'."\n"],
],
],
],
@@ -5372,14 +2750,8 @@
],
'DescribeUploadInfo' => [
'summary' => '文本库上传信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5390,40 +2762,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102703',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '111.207.***.245',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '111.207.***.245'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Biz',
'in' => 'query',
- 'schema' => [
- 'description' => '业务类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'customKeywordLib',
- ],
+ 'schema' => ['description' => '业务类型', 'type' => 'string', 'required' => true, 'example' => 'customKeywordLib'],
],
],
'responses' => [
@@ -5431,42 +2786,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Signature' => [
- 'description' => '上传的osssignature。',
- 'type' => 'string',
- 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
- ],
- 'Host' => [
- 'description' => 'OSS Endpoint。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Policy' => [
- 'description' => 'OSS上传文件的Policy。',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Accessid' => [
- 'description' => 'oss上传所需accesskeyid信息。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Folder' => [
- 'description' => '上传文件的路径。',
- 'type' => 'string',
- 'example' => 'image/upload/xxx'."\n",
- ],
- 'Expire' => [
- 'description' => '过期时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '900',
- ],
+ 'Signature' => ['description' => '上传的osssignature。', 'type' => 'string', 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw='],
+ 'Host' => ['description' => 'OSS Endpoint。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Policy' => ['description' => 'OSS上传文件的Policy。', 'type' => 'string', 'example' => 'xxxx'],
+ 'Accessid' => ['description' => 'oss上传所需accesskeyid信息。', 'type' => 'string', 'example' => 'xxx'],
+ 'Folder' => ['description' => '上传文件的路径。', 'type' => 'string', 'example' => 'image/upload/xxx'."\n"],
+ 'Expire' => ['description' => '过期时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '900'],
],
],
],
@@ -5476,77 +2802,39 @@
],
'DescribeUsageBill' => [
'summary' => '查询用户的计费类型',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '类型:-**overall**:总体查询。-**details**:详情查询。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'overall',
- ],
+ 'schema' => ['description' => '类型:-**overall**:总体查询。-**details**:详情查询。', 'type' => 'string', 'required' => true, 'example' => 'overall'],
],
[
'name' => 'Day',
'in' => 'query',
- 'schema' => [
- 'description' => '日期',
- 'type' => 'string',
- 'required' => true,
- 'example' => '20210401',
- ],
+ 'schema' => ['description' => '日期', 'type' => 'string', 'required' => true, 'example' => '20210401'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -5554,29 +2842,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'PageSize' => [
- 'description' => '每页数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '13',
- ],
+ 'CurrentPage' => ['description' => '当前页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'PageSize' => ['description' => '每页数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '13'],
'BillList' => [
'description' => '用户账号信息列表。',
'type' => 'array',
@@ -5584,55 +2853,15 @@
'description' => '用户账号信息列表。',
'type' => 'object',
'properties' => [
- 'Day' => [
- 'description' => '时间。',
- 'type' => 'string',
- 'example' => '2021-04-01',
- ],
- 'SubUid' => [
- 'description' => '子账号id',
- 'type' => 'string',
- 'example' => '1087252759921515',
- ],
- 'Region' => [
- 'description' => '调用地域。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'ConfirmCount' => [
- 'description' => '确定数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Scene' => [
- 'description' => '计费场景。',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'BizType' => [
- 'description' => '业务类型。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'FreeCount' => [
- 'description' => '免费数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '80',
- ],
+ 'Day' => ['description' => '时间。', 'type' => 'string', 'example' => '2021-04-01'],
+ 'SubUid' => ['description' => '子账号id', 'type' => 'string', 'example' => '1087252759921515'],
+ 'Region' => ['description' => '调用地域。', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'ConfirmCount' => ['description' => '确定数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'Scene' => ['description' => '计费场景。', 'type' => 'string', 'example' => 'porn'],
+ 'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'default'],
+ 'FreeCount' => ['description' => '免费数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '80'],
],
],
],
@@ -5646,14 +2875,8 @@
],
'DescribeUserBizTypes' => [
'summary' => '获取用户业务场景',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5664,20 +2887,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102705',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'Customized',
'in' => 'query',
- 'schema' => [
- 'description' => '是否自定义:-true:是-false:否',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否自定义:-true:是-false:否', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -5685,56 +2901,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'BizTypeList' => [
'description' => '所有业务场景列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'IndustryInfo' => [
- 'description' => '行业信息。',
- 'type' => 'string',
- 'example' => '教育-论坛社区-主贴',
- ],
- 'Description' => [
- 'description' => '业务场景描述。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'CiteTemplate' => [
- 'description' => '是否引入行业模板配置。取值:'."\n"
- .'true:表示引入了行业模板配置。'."\n"
- .'false:表示没有引入行业模板配置。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SourceBizType' => [
- 'description' => '原始BizType,如无特殊需求请忽略该字段。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Gray' => [
- 'description' => '是否灰度。取值:-true:是-false:否',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Source' => [
- 'description' => '业务场景来源。取值:'."\n"
- .'custom:您自定义的信息。'."\n"
- .'system:内容安全服务默认配置。',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'IndustryInfo' => ['description' => '行业信息。', 'type' => 'string', 'example' => '教育-论坛社区-主贴'],
+ 'Description' => ['description' => '业务场景描述。', 'type' => 'string', 'example' => 'xxx'],
+ 'CiteTemplate' => ['description' => '是否引入行业模板配置。取值:'."\n"
+ .'true:表示引入了行业模板配置。'."\n"
+ .'false:表示没有引入行业模板配置。', 'type' => 'boolean', 'example' => 'false'],
+ 'SourceBizType' => ['description' => '原始BizType,如无特殊需求请忽略该字段。', 'type' => 'string', 'example' => 'default'],
+ 'Gray' => ['description' => '是否灰度。取值:-true:是-false:否', 'type' => 'boolean', 'example' => 'false'],
+ 'Source' => ['description' => '业务场景来源。取值:'."\n"
+ .'custom:您自定义的信息。'."\n"
+ .'system:内容安全服务默认配置。', 'type' => 'string', 'example' => 'custom'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'default'],
],
],
],
@@ -5744,43 +2928,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'IndustryInfo' => [
- 'description' => '行业信息。',
- 'type' => 'string',
- 'example' => '社交-注册信息-昵称',
- ],
- 'Description' => [
- 'description' => '业务场景描述。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'CiteTemplate' => [
- 'description' => '是否引入行业模板配置。取值:'."\n"
- .'true:表示引入了行业模板配置。'."\n"
- .'false:表示没有引入行业模板配置。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SourceBizType' => [
- 'description' => '原始BizType,如无特殊需求请忽略该字段。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Gray' => [
- 'description' => '是否灰度。取值:-**true**:是-**false**:否',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Source' => [
- 'description' => '业务场景来源。取值: custom:您自定义的信息。 system:内容安全服务默认配置。',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'IndustryInfo' => ['description' => '行业信息。', 'type' => 'string', 'example' => '社交-注册信息-昵称'],
+ 'Description' => ['description' => '业务场景描述。', 'type' => 'string', 'example' => 'xxx'],
+ 'CiteTemplate' => ['description' => '是否引入行业模板配置。取值:'."\n"
+ .'true:表示引入了行业模板配置。'."\n"
+ .'false:表示没有引入行业模板配置。', 'type' => 'boolean', 'example' => 'false'],
+ 'SourceBizType' => ['description' => '原始BizType,如无特殊需求请忽略该字段。', 'type' => 'string', 'example' => 'default'],
+ 'Gray' => ['description' => '是否灰度。取值:-**true**:是-**false**:否', 'type' => 'boolean', 'example' => 'false'],
+ 'Source' => ['description' => '业务场景来源。取值: custom:您自定义的信息。 system:内容安全服务默认配置。', 'type' => 'string', 'example' => 'custom'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'default'],
],
],
],
@@ -5793,14 +2949,8 @@
],
'DescribeUserStatus' => [
'summary' => '获取用户状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5811,30 +2961,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102707',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '114.***.42.109',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '114.***.42.109'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -5842,53 +2980,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'OssVideoSizeLimit' => [
- 'description' => 'oss视频大小配置上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'OssCheckStatus' => [
- 'description' => 'oss检测服务状态。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'InDept' => [
- 'description' => '是否欠费',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'OpenApiBeginTime' => [
- 'description' => '第一次调用时间',
- 'type' => 'string',
- 'example' => '2023-04-04 09:19:38 +0800',
- ],
- 'Buyed' => [
- 'description' => '是否已订阅',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'OpenApiUsed' => [
- 'description' => '是否已调用API',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '17726*****370735',
- ],
- 'AgreeChannel' => [
- 'description' => '是否同意三方渠道',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'OssVideoSizeLimit' => ['description' => 'oss视频大小配置上限', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'OssCheckStatus' => ['description' => 'oss检测服务状态。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'InDept' => ['description' => '是否欠费', 'type' => 'boolean', 'example' => 'true'],
+ 'OpenApiBeginTime' => ['description' => '第一次调用时间具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-04-04 09:19:38 +0800'],
+ 'Buyed' => ['description' => '是否已订阅', 'type' => 'boolean', 'example' => 'true'],
+ 'OpenApiUsed' => ['description' => '是否已调用API', 'type' => 'boolean', 'example' => 'true'],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '17726*****370735'],
+ 'AgreeChannel' => ['description' => '是否同意三方渠道', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -5898,14 +2998,8 @@
],
'DescribeViewContent' => [
'summary' => '获取检测结果列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5916,183 +3010,93 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102708',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-10-25 15:59:17 +0800'."\n",
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-10-25 15:59:17 +0800'."\n"],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-10-25 15:59:17 +0800'."\n",
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-10-25 15:59:17 +0800'."\n"],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'porn',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => false, 'example' => 'porn'],
],
[
'name' => 'Suggestion',
'in' => 'query',
- 'schema' => [
- 'description' => '建议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'block',
- ],
+ 'schema' => ['description' => '建议。', 'type' => 'string', 'required' => false, 'example' => 'block'],
],
[
'name' => 'Label',
'in' => 'query',
- 'schema' => [
- 'description' => '标签',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abuse',
- ],
+ 'schema' => ['description' => '标签', 'type' => 'string', 'required' => false, 'example' => 'abuse'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxx-xxx'."\n",
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'xxxx-xxx'."\n"],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4f3fa36f77174c0985e400c1a02a8f4c',
- ],
+ 'schema' => ['description' => '数据ID。', 'type' => 'string', 'required' => false, 'example' => '4f3fa36f77174c0985e400c1a02a8f4c'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ext',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'ext'],
],
[
'name' => 'AuditResult',
'in' => 'query',
- 'schema' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'noAudit',
- ],
+ 'schema' => ['description' => '审核结果。', 'type' => 'string', 'required' => false, 'example' => 'noAudit'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'ImageId',
'in' => 'query',
- 'schema' => [
- 'description' => '图片ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '图片ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'KeywordId',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '14341124',
- ],
+ 'schema' => ['description' => '关键词id。', 'type' => 'string', 'required' => false, 'example' => '14341124'],
],
[
'name' => 'LibType',
'in' => 'query',
- 'schema' => [
- 'description' => '词库类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'textKeyword',
- ],
+ 'schema' => ['description' => '词库类型。', 'type' => 'string', 'required' => false, 'example' => 'textKeyword'],
],
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '关键字。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '关键字。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -6100,117 +3104,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '75',
- ],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '75'],
'ViewContentList' => [
'description' => '视频检测内容列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '处理建议。',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'ScanResult' => [
- 'description' => '结果详情。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'Url' => [
- 'description' => '任务URL。',
- 'type' => 'string',
- 'example' => 'https://www.xx.com',
- ],
- 'DataId' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'example' => '4f3fa36f77174c0985e400c1a02a8f4c',
- ],
- 'BizType' => [
- 'description' => '业务类型。',
- 'type' => 'string',
- 'example' => 'recommend_standard_template_01',
- ],
- 'NewUrl' => [
- 'description' => '原始文件链接地址。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'ScanFinishedTime' => [
- 'description' => '扫描结束时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:59:17 +0800'."\n",
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'xxx-xx',
- ],
- 'Content' => [
- 'description' => '文本内容。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Thumbnail' => [
- 'description' => '缩略图 URL',
- 'type' => 'string',
- 'example' => 'https://xxx.png',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3744',
- ],
- 'RequestTime' => [
- 'description' => '请求时间。',
- 'type' => 'string',
- 'example' => '1708911502123',
- ],
+ 'Suggestion' => ['description' => '处理建议。', 'type' => 'string', 'example' => 'pass'],
+ 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'],
+ 'Url' => ['description' => '任务URL。', 'type' => 'string', 'example' => 'https://www.xx.com'],
+ 'DataId' => ['description' => '数据ID。', 'type' => 'string', 'example' => '4f3fa36f77174c0985e400c1a02a8f4c'],
+ 'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'recommend_standard_template_01'],
+ 'NewUrl' => ['description' => '原始文件链接地址。', 'type' => 'string', 'example' => 'xx'],
+ 'ScanFinishedTime' => ['description' => '扫描结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:59:17 +0800'."\n"],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxx-xx'],
+ 'Content' => ['description' => '文本内容。', 'type' => 'string', 'example' => 'xx'],
+ 'Thumbnail' => ['description' => '缩略图 URL', 'type' => 'string', 'example' => 'https://xxx.png'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3744'],
+ 'RequestTime' => ['description' => '请求时间。使用 Unix/POSIX 时间戳表示,单位为毫秒。', 'type' => 'string', 'example' => '1708911502123'],
'Results' => [
'description' => '检测结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '处理建议。',
- 'type' => 'string',
- 'example' => 'block',
- ],
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'abuse',
- ],
- 'Scene' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'Suggestion' => ['description' => '处理建议。', 'type' => 'string', 'example' => 'block'],
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'abuse'],
+ 'Scene' => ['description' => '审核场景。', 'type' => 'string', 'example' => 'porn'],
],
],
],
@@ -6220,22 +3144,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Offset' => [
- 'description' => '截帧偏移值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Url' => [
- 'description' => '该帧的链接。',
- 'type' => 'string',
- 'example' => 'https://xxx.jpg',
- ],
- 'Label' => [
- 'description' => '视频截帧标签。',
- 'type' => 'string',
- 'example' => 'politics',
- ],
+ 'Offset' => ['description' => '截帧偏移值。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Url' => ['description' => '该帧的链接。', 'type' => 'string', 'example' => 'https://xxx.jpg'],
+ 'Label' => ['description' => '视频截帧标签。', 'type' => 'string', 'example' => 'politics'],
],
],
],
@@ -6245,242 +3156,105 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Bualified' => [
- 'description' => '是否修改成功。取值:-**true**:成功-**false**:失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Bualified' => ['description' => '是否修改成功。取值:-**true**:成功-**false**:失败', 'type' => 'boolean', 'example' => 'true'],
'Location' => [
'description' => '位置信息',
'type' => 'object',
'properties' => [
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'W' => [
- 'description' => '文字区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'H' => [
- 'description' => '文字区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'X' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
+ 'Y' => ['description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'W' => ['description' => '文字区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'H' => ['description' => '文字区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '33'],
+ 'X' => ['description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '44'],
],
],
'Gender' => [
'description' => '性别。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '性别值。取值:-**female**:女性-**male**:男性',
- 'type' => 'string',
- 'example' => 'female',
- ],
- 'Rate' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.01',
- ],
+ 'Value' => ['description' => '性别值。取值:-**female**:女性-**male**:男性', 'type' => 'string', 'example' => 'female'],
+ 'Rate' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '99.01'],
],
],
'Glasses' => [
'description' => '眼镜类型',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '分值。',
- 'type' => 'string',
- 'example' => 'None',
- ],
- 'Rate' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.99',
- ],
+ 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => 'None'],
+ 'Rate' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '0.99'],
],
],
'Age' => [
'description' => '年龄。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '年龄值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '35',
- ],
- 'Rate' => [
- 'description' => '年龄段置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.99',
- ],
+ 'Value' => ['description' => '年龄值。', 'type' => 'integer', 'format' => 'int32', 'example' => '35'],
+ 'Rate' => ['description' => '年龄段置信度。', 'type' => 'number', 'format' => 'float', 'example' => '0.99'],
],
],
'Smile' => [
'description' => '笑脸信息。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '笑脸分值。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'Rate' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.99',
- ],
+ 'Value' => ['description' => '笑脸分值。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'Rate' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '0.99'],
],
],
'Quality' => [
'description' => '质量分数。',
'type' => 'object',
'properties' => [
- 'Roll' => [
- 'description' => '平面旋转角度',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'Pitch' => [
- 'description' => '抬头角度',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'Yaw' => [
- 'description' => '摇头角度',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'Blur' => [
- 'description' => '人脸模糊度',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
+ 'Roll' => ['description' => '平面旋转角度', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'Pitch' => ['description' => '抬头角度', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'Yaw' => ['description' => '摇头角度', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'Blur' => ['description' => '人脸模糊度', 'type' => 'number', 'format' => 'float', 'example' => '1'],
],
],
'Respirator' => [
'description' => '摄像头信息。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '分值。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Rate' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.99',
- ],
+ 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => '1'],
+ 'Rate' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '0.99'],
],
],
'Hat' => [
'description' => '帽子信息。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '分值。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Rate' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.99'."\n",
- ],
+ 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => '1'],
+ 'Rate' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '0.99'."\n"],
],
],
'Mustache' => [
'description' => '笑脸分组信息。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '分值。',
- 'type' => 'string',
- 'example' => 'None',
- ],
- 'Rate' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.99',
- ],
+ 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => 'None'],
+ 'Rate' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '0.99'],
],
],
'Bang' => [
'description' => '图片的分数。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '分值。',
- 'type' => 'string',
- 'example' => 'None',
- ],
- 'Rate' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.99'."\n",
- ],
+ 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => 'None'],
+ 'Rate' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '0.99'."\n"],
],
],
'Hairstyle' => [
'description' => '发型信息。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '分值。',
- 'type' => 'string',
- 'example' => 'None',
- ],
- 'Rate' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.99',
- ],
+ 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => 'None'],
+ 'Rate' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '0.99'],
],
],
'Image' => [
'description' => '图片信息。',
'type' => 'object',
'properties' => [
- 'Width' => [
- 'description' => '图片宽度。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '720',
- ],
- 'Height' => [
- 'description' => '图片高度。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '720',
- ],
+ 'Width' => ['description' => '图片宽度。', 'type' => 'integer', 'format' => 'int32', 'example' => '720'],
+ 'Height' => ['description' => '图片高度。', 'type' => 'integer', 'format' => 'int32', 'example' => '720'],
],
],
],
@@ -6498,14 +3272,8 @@
],
'DescribeWebsiteIndexPageBaseline' => [
'summary' => '获取站点首页基线',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6516,40 +3284,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102709',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '访问源的IP地址。'."\n", 'type' => 'string', 'required' => false, 'example' => '117.139.***.244'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -6557,26 +3308,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'BaseLineStatus' => [
- 'description' => 'baseline基线状态,取值:-**normal**:正常。-**abnormal**:异常。',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:59:17 +0800',
- ],
- 'Snapshot' => [
- 'description' => '快照。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'BaseLineStatus' => ['description' => 'baseline基线状态,取值:-**normal**:正常。-**abnormal**:异常。', 'type' => 'string', 'example' => 'normal'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'CreateTime' => ['description' => '创建时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:59:17 +0800'],
+ 'Snapshot' => ['description' => '快照。', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -6586,14 +3321,8 @@
],
'DescribeWebsiteInstance' => [
'summary' => '查询站点检测实例',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6604,73 +3333,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102710',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.63.***.131',
- ],
+ 'schema' => ['description' => '访问源IP地址。', 'type' => 'string', 'required' => false, 'example' => '183.63.***.131'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -6678,82 +3372,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'WebsiteInstanceList' => [
'description' => '网站实例列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '网站业务状态。取值:-**normal**:正常。-**financiallocked**:欠费锁定。',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'Domain' => [
- 'description' => '网站域名。',
- 'type' => 'string',
- 'example' => 'nfnews.com',
- ],
- 'IndexPage' => [
- 'description' => '首页地址',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'ExpiredTime' => [
- 'description' => '过期时间。',
- 'type' => 'string',
- 'example' => '1716393600000',
- ],
- 'WebsiteScanInterval' => [
- 'description' => 'website扫描间隔,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Protocol' => [
- 'description' => '协议类型。',
- 'type' => 'string',
- 'example' => 'TCP',
- ],
- 'BuyTime' => [
- 'description' => '购买时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:59:17 +0800'."\n",
- ],
- 'InstanceId' => [
- 'description' => '实例id',
- 'type' => 'string',
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
- 'IndexPageScanInterval' => [
- 'description' => '首页扫描间隔,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Status' => ['description' => '网站业务状态。取值:-**normal**:正常。-**financiallocked**:欠费锁定。', 'type' => 'string', 'example' => 'normal'],
+ 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'nfnews.com'],
+ 'IndexPage' => ['description' => '首页地址', 'type' => 'string', 'example' => 'xx'],
+ 'ExpiredTime' => ['description' => '过期时间。使用 Unix/POSIX 时间戳表示,单位为毫秒。', 'type' => 'string', 'example' => '1716393600000'],
+ 'WebsiteScanInterval' => ['description' => 'website扫描间隔,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Protocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'TCP'],
+ 'BuyTime' => ['description' => '购买时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:59:17 +0800'."\n"],
+ 'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => 'cdisitecheck-cn-nif20glmz001'],
+ 'IndexPageScanInterval' => ['description' => '首页扫描间隔,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -6766,14 +3403,8 @@
],
'DescribeWebsiteInstanceId' => [
'summary' => '获取websiteinstanceid。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6784,30 +3415,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102711',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源ip地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -6815,25 +3434,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '查询到的实例总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '52',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '查询到的实例总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '52'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'WebsiteInstanceIdList' => [
'description' => '网站实例id列表。',
'type' => 'array',
- 'items' => [
- 'description' => '网站实例id列表。',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
+ 'items' => ['description' => '网站实例id列表。', 'type' => 'string', 'example' => 'xxxx'],
],
],
],
@@ -6845,14 +3451,8 @@
],
'DescribeWebsiteInstanceKeyUrl' => [
'summary' => '获取站点实例url',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6863,40 +3463,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102712',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '117.139.***.244'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -6904,25 +3487,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'WebsiteInstanceKeyUrlList' => [
'description' => '网站业务的密钥url列表。',
'type' => 'array',
- 'items' => [
- 'description' => '网站业务的密钥url列表。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'items' => ['description' => '网站业务的密钥url列表。', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -6933,127 +3503,64 @@
],
'DescribeWebsiteScanResult' => [
'summary' => '查询站点扫描结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.250',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '140.***.11.250'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'SubServiceModule',
'in' => 'query',
- 'schema' => [
- 'description' => '子模块描述。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'website_index_page',
- ],
+ 'schema' => ['description' => '子模块描述。', 'type' => 'string', 'required' => true, 'example' => 'website_index_page'],
],
[
'name' => 'Label',
'in' => 'query',
- 'schema' => [
- 'description' => '标签',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abuse',
- ],
+ 'schema' => ['description' => '标签', 'type' => 'string', 'required' => false, 'example' => 'abuse'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nfnews.com',
- ],
+ 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'nfnews.com'],
],
[
'name' => 'SiteUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '站点URL',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nfnews.com'."\n",
- ],
+ 'schema' => ['description' => '站点URL', 'type' => 'string', 'required' => false, 'example' => 'nfnews.com'."\n"],
],
[
'name' => 'HandleStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '处理状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '处理状态。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
@@ -7061,98 +3568,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'WebsiteScanResultList' => [
'description' => '网站业务扫描结果列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ScanTime' => [
- 'description' => '扫描时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:59:17 +0800'."\n",
- ],
- 'Domain' => [
- 'description' => '网站域名。',
- 'type' => 'string',
- 'example' => 'nfnews.com',
- ],
- 'SourceRiskCount' => [
- 'description' => '源网站数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageRiskCount' => [
- 'description' => '当前页显示的图片中包含图片的概率。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Url' => [
- 'description' => '网站的访问地址。',
- 'type' => 'string',
- 'example' => 'https://www.xxx.com',
- ],
- 'TextRiskCount' => [
- 'description' => '文本风险等级**高**的文本数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'HandleStatus' => [
- 'description' => '处理状态。取值:-**0**:未处理-**1**:已处理',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1480',
- ],
+ 'ScanTime' => ['description' => '扫描时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:59:17 +0800'."\n"],
+ 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'nfnews.com'],
+ 'SourceRiskCount' => ['description' => '源网站数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ImageRiskCount' => ['description' => '当前页显示的图片中包含图片的概率。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Url' => ['description' => '网站的访问地址。', 'type' => 'string', 'example' => 'https://www.xxx.com'],
+ 'TextRiskCount' => ['description' => '文本风险等级**高**的文本数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'HandleStatus' => ['description' => '处理状态。取值:-**0**:未处理-**1**:已处理', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'cdisitecheck-cn-nif20glmz001'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xx'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1480'],
'Labels' => [
'description' => '标签。',
'type' => 'array',
- 'items' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'sapm',
- ],
+ 'items' => ['description' => '标签。', 'type' => 'string', 'example' => 'sapm'],
],
],
],
@@ -7166,14 +3605,8 @@
],
'DescribeWebsiteStat' => [
'summary' => '获取站点检测状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7184,30 +3617,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102715',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***11.250',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '140.***11.250'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -7215,46 +3636,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'WebsiteStatList' => [
'description' => '网站统计信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ScanCount' => [
- 'description' => '扫描数据总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RiskCount' => [
- 'description' => '您网站存在的风险项总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SubServiceModule' => [
- 'description' => '子服务模块。取值:-**default**:默认模块。-**virtual**:虚拟模块。',
- 'type' => 'string',
- 'example' => 'website_index_page',
- ],
- 'InstanceCount' => [
- 'description' => '实例数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'ScanCount' => ['description' => '扫描数据总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RiskCount' => ['description' => '您网站存在的风险项总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SubServiceModule' => ['description' => '子服务模块。取值:-**default**:默认模块。-**virtual**:虚拟模块。', 'type' => 'string', 'example' => 'website_index_page'],
+ 'InstanceCount' => ['description' => '实例数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
@@ -7267,14 +3660,8 @@
],
'DescribeWebsiteVerifyInfo' => [
'summary' => '获取网站验证信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7285,40 +3672,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102716',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '117.139.***.244'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '实例id。', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -7326,41 +3696,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'nfnews.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'VerifyMethod' => [
- 'description' => '验证方法。',
- 'type' => 'string',
- 'example' => 'aliyunAccount',
- ],
- 'IndexPage' => [
- 'description' => '主页。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Protocol' => [
- 'description' => '协议。',
- 'type' => 'string',
- 'example' => 'https',
- ],
- 'Cname' => [
- 'description' => 'cname接入域名。',
- 'type' => 'string',
- 'example' => 'ack',
- ],
- 'HostFile' => [
- 'description' => 'hostfile文件信息。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'nfnews.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'VerifyMethod' => ['description' => '验证方法。', 'type' => 'string', 'example' => 'aliyunAccount'],
+ 'IndexPage' => ['description' => '主页。', 'type' => 'string', 'example' => 'xx'],
+ 'Protocol' => ['description' => '协议。', 'type' => 'string', 'example' => 'https'],
+ 'Cname' => ['description' => 'cname接入域名。', 'type' => 'string', 'example' => 'ack'],
+ 'HostFile' => ['description' => 'hostfile文件信息。', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -7370,13 +3712,8 @@
],
'ExportKeywords' => [
'summary' => '导出关键词',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7387,21 +3724,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102717',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'KeywordLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1841104421405081600'],
],
],
'responses' => [
@@ -7409,16 +3738,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '导出文件下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxx.xlsx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'DownloadUrl' => ['description' => '导出文件下载地址。', 'type' => 'string', 'example' => 'https://xxx.xlsx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7428,14 +3749,8 @@
],
'ExportOpenApiRcpStats' => [
'summary' => '导出OpenAPI调用统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7446,50 +3761,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102718',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-10-25 15:59:17 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-10-25 15:59:17 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-10-25 15:59:17 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-10-25 15:59:17 +0800'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
],
'responses' => [
@@ -7497,16 +3790,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxx.xlsx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'DownloadUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https://xxx.xlsx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -7516,14 +3801,8 @@
],
'ExportOssResult' => [
'summary' => '导出Oss扫描结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7534,167 +3813,83 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102720',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYI9A19',
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYI9A19', 'FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '115.231.***.52',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '115.231.***.52'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'TotalCount',
'in' => 'query',
- 'schema' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-07-20 09:00:13 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-07-20 09:00:13 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-17 10:00:05 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-10-17 10:00:05 +0800'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'porn',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => false, 'example' => 'porn'],
],
[
'name' => 'Suggestion',
'in' => 'query',
- 'schema' => [
- 'description' => '处理建议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'block',
- ],
+ 'schema' => ['description' => '处理建议。', 'type' => 'string', 'required' => false, 'example' => 'block'],
],
[
'name' => 'Stock',
'in' => 'query',
- 'schema' => [
- 'description' => '是否查询存量扫描结果。',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'False',
- ],
+ 'schema' => ['description' => '是否查询存量扫描结果。', 'type' => 'boolean', 'required' => true, 'example' => 'False'],
],
[
'name' => 'MinScore',
'in' => 'query',
- 'schema' => [
- 'description' => '最低审核分数。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '最低审核分数。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '10'],
],
[
'name' => 'MaxScore',
'in' => 'query',
- 'schema' => [
- 'description' => '最高审核分数。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '最高审核分数。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '100'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'IMAGE'],
],
[
'name' => 'Bucket',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS文件存储的空间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gj-bucket1',
- ],
+ 'schema' => ['description' => 'OSS文件存储的空间。', 'type' => 'string', 'required' => false, 'example' => 'gj-bucket1'],
],
[
'name' => 'StockTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '存量扫描任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3751',
- ],
+ 'schema' => ['description' => '存量扫描任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3751'],
],
],
'responses' => [
@@ -7702,16 +3897,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'FileUrl' => [
- 'description' => '文件下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxx.xlsx'."\n",
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'FileUrl' => ['description' => '文件下载地址。', 'type' => 'string', 'example' => 'https://xxx.xlsx'."\n"],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7721,13 +3908,8 @@
],
'ImportKeywords' => [
'summary' => '导入关键词',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7739,31 +3921,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102721',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'KeywordLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '9543',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '9543'],
],
[
'name' => 'KeywordsObject',
'in' => 'query',
- 'schema' => [
- 'description' => '导入文件的oss object名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'x/custom_text_lib/59-b42f-9ad473aefceb',
- ],
+ 'schema' => ['description' => '导入文件的oss object名称', 'type' => 'string', 'required' => true, 'example' => 'x/custom_text_lib/59-b42f-9ad473aefceb'],
],
],
'responses' => [
@@ -7771,34 +3940,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '318',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '318'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'InvalidKeywordList' => [
'description' => '无效的关键字列表。',
'type' => 'array',
- 'items' => [
- 'description' => '无效的关键字列表。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '无效的关键字列表。', 'type' => 'string', 'example' => '[]'],
],
'validKeywordList' => [
'description' => '有效的关键字列表。',
'type' => 'array',
- 'items' => [
- 'description' => '有效的关键字列表。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '有效的关键字列表。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -7809,14 +3961,8 @@
],
'MarkAuditContent' => [
'summary' => '自助审核结果打标记。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7828,60 +3974,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102722',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => '数据ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[9230817]',
- ],
+ 'schema' => ['description' => '数据ID', 'type' => 'string', 'required' => true, 'example' => '[9230817]'],
],
[
'name' => 'AuditResult',
'in' => 'query',
- 'schema' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'illegal',
- ],
+ 'schema' => ['description' => '审核结果。', 'type' => 'string', 'required' => false, 'example' => 'illegal'],
],
[
'name' => 'AuditIllegalReasons',
'in' => 'query',
- 'schema' => [
- 'description' => '违规原因。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'porn',
- ],
+ 'schema' => ['description' => '违规原因。', 'type' => 'string', 'required' => false, 'example' => 'porn'],
],
[
'name' => 'BizTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '业务类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[\\"book\\"]',
- ],
+ 'schema' => ['description' => '业务类型', 'type' => 'string', 'required' => true, 'example' => '[\\"book\\"]'],
],
],
'responses' => [
@@ -7889,11 +4008,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7903,14 +4018,8 @@
],
'MarkOssResult' => [
'summary' => '标记oss检测结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7922,80 +4031,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102724',
- 'abilityTreeNodes' => [
- 'FEATURElvwangSIW14U',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangSIW14U'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.159.***.138',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '183.159.***.138'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => '数据ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[66657226873]',
- ],
+ 'schema' => ['description' => '数据ID', 'type' => 'string', 'required' => true, 'example' => '[66657226873]'],
],
[
'name' => 'Operation',
'in' => 'query',
- 'schema' => [
- 'description' => '操作类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'unfreeze',
- ],
+ 'schema' => ['description' => '操作类型。', 'type' => 'string', 'required' => true, 'example' => 'unfreeze'],
],
[
'name' => 'Stock',
'in' => 'query',
- 'schema' => [
- 'description' => '是否查询存量扫描结果。',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否查询存量扫描结果。', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'terrorism',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => true, 'example' => 'terrorism'],
],
],
'responses' => [
@@ -8003,11 +4075,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8017,14 +4085,8 @@
],
'UpdateAuditCallback' => [
'summary' => '更新回调配置信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8035,41 +4097,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102736',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'Seed',
'in' => 'query',
- 'schema' => [
- 'description' => '回调seed。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aaaabbbbccccdddd',
- ],
+ 'schema' => ['description' => '回调seed。', 'type' => 'string', 'required' => false, 'example' => 'aaaabbbbccccdddd'],
],
[
'name' => 'Callback',
'in' => 'query',
- 'schema' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://xxx/callback',
- ],
+ 'schema' => ['description' => '回调地址。', 'type' => 'string', 'required' => false, 'example' => 'http://xxx/callback'],
],
[
'name' => 'CryptType',
'in' => 'query',
- 'schema' => [
- 'description' => '加密类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'SHA256',
- ],
+ 'schema' => ['description' => '加密类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
],
'responses' => [
@@ -8077,11 +4121,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8091,14 +4131,8 @@
],
'UpdateAuditRange' => [
'summary' => '更新审核范围',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8109,20 +4143,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102737',
- 'abilityTreeNodes' => [
- 'FEATURElvwangIBEW89',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangIBEW89'],
],
'parameters' => [
[
'name' => 'AuditRange',
'in' => 'query',
- 'schema' => [
- 'description' => '审核范围。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pass',
- ],
+ 'schema' => ['description' => '审核范围。', 'type' => 'string', 'required' => false, 'example' => 'pass'],
],
],
'responses' => [
@@ -8130,11 +4157,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8148,14 +4171,8 @@
],
'UpdateBizTypeImageLib' => [
'summary' => '自定义场景保存关联图库配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8166,70 +4183,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102741',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景名称。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'porn',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => true, 'example' => 'porn'],
],
[
'name' => 'Black',
'in' => 'query',
- 'schema' => [
- 'description' => '黑名单库信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"selected\\":[{\\"code\\":\\"565501\\"}]}',
- ],
+ 'schema' => ['description' => '黑名单库信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"selected\\":[{\\"code\\":\\"565501\\"}]}'],
],
[
'name' => 'Review',
'in' => 'query',
- 'schema' => [
- 'description' => '疑似样本库信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"selected\\":[]}',
- ],
+ 'schema' => ['description' => '疑似样本库信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"selected\\":[]}'],
],
[
'name' => 'White',
'in' => 'query',
- 'schema' => [
- 'description' => '白样本库信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"selected\\":[{\\"code\\":\\"552701\\"}]}',
- ],
+ 'schema' => ['description' => '白样本库信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"selected\\":[{\\"code\\":\\"552701\\"}]}'],
],
],
'responses' => [
@@ -8238,11 +4223,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8252,14 +4233,8 @@
],
'UpdateBizTypeSetting' => [
'summary' => '修改业务场景机审标准',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8270,80 +4245,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102743',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景名称。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'Porn',
'in' => 'query',
- 'schema' => [
- 'description' => '鉴黄。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '鉴黄。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Terrorism',
'in' => 'query',
- 'schema' => [
- 'description' => '暴恐。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '暴恐。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Antispam',
'in' => 'query',
- 'schema' => [
- 'description' => '文本反垃圾。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '文本反垃圾。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Ad',
'in' => 'query',
- 'schema' => [
- 'description' => '广告。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '广告。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Live',
'in' => 'query',
- 'schema' => [
- 'description' => '不良场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '不良场景。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -8351,11 +4289,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8365,14 +4299,8 @@
],
'UpdateBizTypeTextLib' => [
'summary' => '修改业务场景关联文本库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8383,80 +4311,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102744',
- 'abilityTreeNodes' => [
- 'FEATURElvwang77FCDN',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang77FCDN'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景名称。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'TEXT',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'TEXT'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'antispam',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => true, 'example' => 'antispam'],
],
[
'name' => 'Black',
'in' => 'query',
- 'schema' => [
- 'description' => '黑名单库信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"selected\\":[{\\"code\\":\\"13236007\\"}]}',
- ],
+ 'schema' => ['description' => '黑名单库信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"selected\\":[{\\"code\\":\\"13236007\\"}]}'],
],
[
'name' => 'Review',
'in' => 'query',
- 'schema' => [
- 'description' => '疑似样本库信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"selected\\":[]}',
- ],
+ 'schema' => ['description' => '疑似样本库信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"selected\\":[]}'],
],
[
'name' => 'Ignore',
'in' => 'query',
- 'schema' => [
- 'description' => '忽略样本库列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"selected\\":[{\\"code\\":\\"12546010\\"}]}',
- ],
+ 'schema' => ['description' => '忽略样本库列表。', 'type' => 'string', 'required' => false, 'example' => '{\\"selected\\":[{\\"code\\":\\"12546010\\"}]}'],
],
[
'name' => 'White',
'in' => 'query',
- 'schema' => [
- 'description' => '白样本库信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"selected\\":[{\\"code\\":\\"90810716002\\"}]}',
- ],
+ 'schema' => ['description' => '白样本库信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"selected\\":[{\\"code\\":\\"90810716002\\"}]}'],
],
],
'responses' => [
@@ -8464,11 +4355,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8482,14 +4369,8 @@
],
'UpdateCustomOcrTemplate' => [
'summary' => '编辑ocr模板',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8500,51 +4381,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102747',
- 'abilityTreeNodes' => [
- 'FEATURElvwangG3RW9T',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangG3RW9T'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1791',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1791'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '方案名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '方案名称。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'ReferArea',
'in' => 'query',
- 'schema' => [
- 'description' => '参考字段。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '参考字段。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'RecognizeArea',
'in' => 'query',
- 'schema' => [
- 'description' => '识别字段。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '识别字段。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
],
'responses' => [
@@ -8552,11 +4410,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8566,14 +4420,8 @@
],
'UpdateImageLib' => [
'summary' => '更新自定义图片库的名称及适用的bizTypes参数。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8585,83 +4433,45 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102748',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '117.139.***.244'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '15111',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '15111'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test8888',
- ],
+ 'schema' => ['description' => '图库名称。', 'type' => 'string', 'required' => true, 'example' => 'test8888'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PORN',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => true, 'example' => 'PORN'],
],
[
'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'description' => '词库的用途。取值:'."\n"
- .'- **BLACK**:黑名单'."\n"
- .'- **WHITE**:白名单',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'BLACK',
- ],
+ 'schema' => ['description' => '词库的用途。取值:'."\n"
+ .'- **BLACK**:黑名单'."\n"
+ .'- **WHITE**:白名单', 'type' => 'string', 'required' => true, 'example' => 'BLACK'],
],
[
'name' => 'BizTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '业务类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"chenyin\\"]',
- ],
+ 'schema' => ['description' => '业务类型', 'type' => 'string', 'required' => false, 'example' => '[\\"chenyin\\"]'],
],
[
'name' => 'Enable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否启用图库,取值:-**true**:启用-**false**:不启用',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否启用图库,取值:-**true**:启用-**false**:不启用', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -8669,11 +4479,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8683,14 +4489,8 @@
],
'UpdateKeywordLib' => [
'summary' => '编辑词库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8701,81 +4501,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102749',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36.249.***.181',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '36.249.***.181'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '18135',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '18135'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词库名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test222333',
- ],
+ 'schema' => ['description' => '关键词库名称。', 'type' => 'string', 'required' => true, 'example' => 'test222333'],
],
[
'name' => 'BizTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '业务类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"default\\"]',
- ],
+ 'schema' => ['description' => '业务类型', 'type' => 'string', 'required' => false, 'example' => '[\\"default\\"]'],
],
[
'name' => 'MatchMode',
'in' => 'query',
- 'schema' => [
- 'description' => '匹配方式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'precise',
- ],
+ 'schema' => ['description' => '匹配方式。', 'type' => 'string', 'required' => false, 'example' => 'precise'],
],
[
'name' => 'Enable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否开启,取值:-**true**:开启-**false**:关闭',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否开启,取值:-**true**:开启-**false**:关闭', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -8783,11 +4545,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8797,14 +4555,8 @@
],
'UpdateNotificationSetting' => [
'summary' => '更新通知设置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8815,72 +4567,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102750',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问者源ip地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'RealtimeMessageList',
'in' => 'query',
- 'schema' => [
- 'description' => '需实时通知的消息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["websiteIndexRisk"]',
- ],
+ 'schema' => ['description' => '需实时通知的消息。', 'type' => 'string', 'required' => false, 'example' => '["websiteIndexRisk"]'],
],
[
'name' => 'ReminderModeList',
'in' => 'query',
- 'schema' => [
- 'description' => '提示消息。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[\\"mail\\",\\"message\\",\\"stationLetter\\"]',
- ],
+ 'schema' => ['description' => '提示消息。', 'type' => 'string', 'required' => true, 'example' => '[\\"mail\\",\\"message\\",\\"stationLetter\\"]'],
],
[
'name' => 'ScheduleMessageTime',
'in' => 'query',
- 'schema' => [
- 'description' => '定时消息通知时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '8',
- ],
+ 'schema' => ['description' => '定时消息通知时间。格式为整数类型', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8'],
],
[
'name' => 'ScheduleMessageTimeZone',
'in' => 'query',
- 'schema' => [
- 'description' => '定时消息通知时区。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '8',
- ],
+ 'schema' => ['description' => '定时消息通知时区。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8'],
],
],
'responses' => [
@@ -8888,11 +4606,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'E20A0DC5-1B4F-5796-BAB5-73F29B67CEDC',
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'E20A0DC5-1B4F-5796-BAB5-73F29B67CEDC'],
],
],
],
@@ -8903,14 +4617,8 @@
],
'UpdateOssIncrementCheckSetting' => [
'summary' => '更新增量扫描配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8921,336 +4629,168 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102753',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '115.199.***.250',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '115.199.***.250'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'BucketConfigList',
'in' => 'query',
- 'schema' => [
- 'description' => 'ossbucket的配置信息列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"type\\":\\"include\\",\\"bucket\\":\\"flychat\\",\\"selected\\":true,\\"prefixes\\":[\\"test\\"],\\"id\\":0}]',
- ],
+ 'schema' => ['description' => 'ossbucket的配置信息列表。', 'type' => 'string', 'required' => false, 'example' => '[{\\"type\\":\\"include\\",\\"bucket\\":\\"flychat\\",\\"selected\\":true,\\"prefixes\\":[\\"test\\"],\\"id\\":0}]'],
],
[
'name' => 'ImageScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '每日图片扫描上限',
- 'type' => 'string',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '每日图片扫描上限', 'type' => 'string', 'required' => false, 'example' => '100'],
],
[
'name' => 'ScanImageNoFileType',
'in' => 'query',
- 'schema' => [
- 'description' => '检测无后缀文件',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '检测无后缀文件', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ImageSceneList',
'in' => 'query',
- 'schema' => [
- 'description' => '图片场景列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"porn\\",\\"terrorism\\",\\"ad\\",\\"live\\"]',
- ],
+ 'schema' => ['description' => '图片场景列表。', 'type' => 'string', 'required' => false, 'example' => '[\\"porn\\",\\"terrorism\\",\\"ad\\",\\"live\\"]'],
],
[
'name' => 'VideoSceneList',
'in' => 'query',
- 'schema' => [
- 'description' => '视频场景列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"porn\\",\\"terrorism\\"]',
- ],
+ 'schema' => ['description' => '视频场景列表。', 'type' => 'string', 'required' => false, 'example' => '[\\"porn\\",\\"terrorism\\"]'],
],
[
'name' => 'ImageAutoFreeze',
'in' => 'query',
- 'schema' => [
- 'description' => '图片自动冻结配置',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '图片自动冻结配置', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'VideoAutoFreezeSceneList',
'in' => 'query',
- 'schema' => [
- 'description' => '视频冻结场景列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '视频冻结场景列表。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'VideoFrameInterval',
'in' => 'query',
- 'schema' => [
- 'description' => '截帧频率',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '截帧频率', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'VideoMaxFrames',
'in' => 'query',
- 'schema' => [
- 'description' => '单视频截帧上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '单视频截帧上限', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
[
'name' => 'VideoMaxSize',
'in' => 'query',
- 'schema' => [
- 'description' => '单视频大小上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '单视频大小上限', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
[
'name' => 'AutoFreezeType',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结方式',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acl',
- ],
+ 'schema' => ['description' => '冻结方式', 'type' => 'string', 'required' => false, 'example' => 'acl'],
],
[
'name' => 'CallbackId',
'in' => 'query',
- 'schema' => [
- 'description' => '回调通知ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1755',
- ],
+ 'schema' => ['description' => '回调通知ID', 'type' => 'string', 'required' => false, 'example' => '1755'],
],
[
'name' => 'AudioSceneList',
'in' => 'query',
- 'schema' => [
- 'description' => '音频场景列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '音频场景列表。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'AudioAntispamFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '音频冻结场景列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}',
- ],
+ 'schema' => ['description' => '音频冻结场景列表', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}'],
],
[
'name' => 'AudioMaxSize',
'in' => 'query',
- 'schema' => [
- 'description' => '单音频大小上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '200',
- ],
+ 'schema' => ['description' => '单音频大小上限', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'],
],
[
'name' => 'AudioAutoFreezeOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '音频需要冻结',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '音频需要冻结', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'recommend_social_template_01',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'recommend_social_template_01'],
],
[
'name' => 'VideoScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '每日视频扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '每日视频扫描上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'AudioScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '每日语音扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1000',
- ],
+ 'schema' => ['description' => '每日语音扫描上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
],
[
'name' => 'ImageAutoFreezeOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '图片需要冻结',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '图片需要冻结', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'VideoAutoFreezeOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '视频需要冻结',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '视频需要冻结', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ImageAdFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '图片广告冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '图片广告冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'ImageLiveFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '图片不良场景冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '图片不良场景冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'ImageTerrorismFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '图片暴恐冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '图片暴恐冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'ImagePornFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '图片鉴黄冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '图片鉴黄冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'VideoVoiceAntispamFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频语音发垃圾冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '视频语音发垃圾冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'VideoPornFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频鉴黄冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '视频鉴黄冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'VideoAdFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频广告冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '视频广告冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'VideoTerrorismFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频暴恐冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '视频暴恐冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'VideoLiveFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频不良场景冻结配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '视频不良场景冻结配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -9258,11 +4798,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9272,14 +4808,8 @@
],
'UpdateWebsiteInstance' => [
'summary' => '更新实例',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9290,92 +4820,48 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102757',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.159.***.138',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '183.159.***.138'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'SiteProtocol',
'in' => 'query',
- 'schema' => [
- 'description' => '插件的协议类型。取值:-**http**:http协议-**https**:https协议',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https',
- ],
+ 'schema' => ['description' => '插件的协议类型。取值:-**http**:http协议-**https**:https协议', 'type' => 'string', 'required' => true, 'example' => 'https'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
[
'name' => 'WebsiteScanInterval',
'in' => 'query',
- 'schema' => [
- 'description' => '站点扫描间隔,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '站点扫描间隔,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'nfnews.com',
- ],
+ 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => true, 'example' => 'nfnews.com'],
],
[
'name' => 'IndexPageScanInterval',
'in' => 'query',
- 'schema' => [
- 'description' => '首页扫描间隔,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '首页扫描间隔,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'IndexPage',
'in' => 'query',
- 'schema' => [
- 'description' => '主页。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '主页。', 'type' => 'string', 'required' => true, 'example' => 'xx'],
],
],
'responses' => [
@@ -9383,11 +4869,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9397,14 +4879,8 @@
],
'UpdateWebsiteInstanceKeyUrl' => [
'summary' => '更新网站实例url',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9415,50 +4891,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102758',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***11.250',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '140.***11.250'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Urls',
'in' => 'query',
- 'schema' => [
- 'description' => '链接列表',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '链接列表', 'type' => 'string', 'required' => true, 'example' => '[]'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -9466,11 +4920,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9480,14 +4930,8 @@
],
'UpdateWebsiteInstanceStatus' => [
'summary' => '更新实例状态,即解绑定,停止、运行等状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9498,50 +4942,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102759',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.159.***.138',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '183.159.***.138'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '实例状态',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'running',
- ],
+ 'schema' => ['description' => '实例状态', 'type' => 'string', 'required' => true, 'example' => 'running'],
],
],
'responses' => [
@@ -9549,11 +4971,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9563,14 +4981,8 @@
],
'UploadImageToLib' => [
'summary' => '上传图片到图库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9583,51 +4995,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102761',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '111.207.**.245',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '111.207.**.245'],
],
[
'name' => 'ImageLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '图库ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '13776',
- ],
+ 'schema' => ['description' => '图库ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '13776'],
],
[
'name' => 'Images',
'in' => 'query',
- 'schema' => [
- 'description' => '图片列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '图片列表', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'Urls',
'in' => 'query',
- 'schema' => [
- 'description' => '链接列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '链接列表', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
],
'responses' => [
@@ -9635,11 +5024,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9649,14 +5034,8 @@
],
'VerifyCustomOcrTemplate' => [
'summary' => 'ocr模板测试',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9668,31 +5047,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102762',
- 'abilityTreeNodes' => [
- 'FEATURElvwangG3RW9T',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangG3RW9T'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '969',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '969'],
],
[
'name' => 'TestImgUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '测试模板图片url',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '测试模板图片url', 'type' => 'string', 'required' => true, 'example' => 'xx'],
],
],
'responses' => [
@@ -9700,21 +5066,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'RecognizeInfo' => [
- 'description' => '认证结果。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'RecognizeInfo' => ['description' => '认证结果。', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => '图片地址', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -9724,14 +5078,8 @@
],
'VerifyWebsiteInstance' => [
'summary' => '验证域名所有权。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9743,50 +5091,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102765',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36.249.***.181',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '36.249.***.181'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
[
'name' => 'VerifyMethod',
'in' => 'query',
- 'schema' => [
- 'description' => '验证方法。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'aliyunAccount',
- ],
+ 'schema' => ['description' => '验证方法。', 'type' => 'string', 'required' => true, 'example' => 'aliyunAccount'],
],
],
'responses' => [
@@ -9794,11 +5120,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9808,14 +5130,8 @@
],
'DescribeBizTypeImageLib' => [
'summary' => '自定义场景关联图库列表查询',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9826,40 +5142,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102669',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'recommend_social_template_01',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'recommend_social_template_01'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'porn',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => true, 'example' => 'porn'],
],
],
'responses' => [
@@ -9868,11 +5167,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Black' => [
'description' => '黑名单库信息。',
'type' => 'object',
@@ -9884,16 +5179,8 @@
'description' => '已选择的列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '图库编码。',
- 'type' => 'string',
- 'example' => '324317',
- ],
- 'Name' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'example' => '图库1',
- ],
+ 'Code' => ['description' => '图库编码。', 'type' => 'string', 'example' => '324317'],
+ 'Name' => ['description' => '图库名称。', 'type' => 'string', 'example' => '图库1'],
],
],
],
@@ -9904,16 +5191,8 @@
'description' => '全量黑名单库列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '图库编码。',
- 'type' => 'string',
- 'example' => '324317',
- ],
- 'Name' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'example' => '图库1'."\n",
- ],
+ 'Code' => ['description' => '图库编码。', 'type' => 'string', 'example' => '324317'],
+ 'Name' => ['description' => '图库名称。', 'type' => 'string', 'example' => '图库1'."\n"],
],
],
],
@@ -9930,16 +5209,8 @@
'description' => '已选择的列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '图库编码。',
- 'type' => 'string',
- 'example' => '3243177',
- ],
- 'Name' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'example' => '图库2',
- ],
+ 'Code' => ['description' => '图库编码。', 'type' => 'string', 'example' => '3243177'],
+ 'Name' => ['description' => '图库名称。', 'type' => 'string', 'example' => '图库2'],
],
],
],
@@ -9950,16 +5221,8 @@
'description' => '全量疑似样本库列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '图库编码。',
- 'type' => 'string',
- 'example' => '3243177',
- ],
- 'Name' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'example' => '图库2'."\n",
- ],
+ 'Code' => ['description' => '图库编码。', 'type' => 'string', 'example' => '3243177'],
+ 'Name' => ['description' => '图库名称。', 'type' => 'string', 'example' => '图库2'."\n"],
],
],
],
@@ -9976,16 +5239,8 @@
'description' => '已选择的列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '图库编码。',
- 'type' => 'string',
- 'example' => '5123',
- ],
- 'Name' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'example' => '图库3',
- ],
+ 'Code' => ['description' => '图库编码。', 'type' => 'string', 'example' => '5123'],
+ 'Name' => ['description' => '图库名称。', 'type' => 'string', 'example' => '图库3'],
],
],
],
@@ -9996,16 +5251,8 @@
'description' => '全量白样本库列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '图库编码。',
- 'type' => 'string',
- 'example' => '5123',
- ],
- 'Name' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'example' => '图库3'."\n",
- ],
+ 'Code' => ['description' => '图库编码。', 'type' => 'string', 'example' => '5123'],
+ 'Name' => ['description' => '图库名称。', 'type' => 'string', 'example' => '图库3'."\n"],
],
],
],
@@ -10020,14 +5267,8 @@
],
'DescribeBizTypeTextLib' => [
'summary' => '业务场景关联文本库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10038,40 +5279,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102674',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'TEXT',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'TEXT'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'antispam',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => true, 'example' => 'antispam'],
],
],
'responses' => [
@@ -10079,11 +5303,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Black' => [
'description' => '黑名单库信息。',
'type' => 'object',
@@ -10095,16 +5315,8 @@
'description' => '已选择的列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '314317',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '黑样本库',
- ],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '314317'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '黑样本库'],
],
],
],
@@ -10115,16 +5327,8 @@
'description' => '全量黑名单库列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '314317',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '黑样本库',
- ],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '314317'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '黑样本库'],
],
],
],
@@ -10141,16 +5345,8 @@
'description' => '已选择的列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '3143127',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '疑似样本库',
- ],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '3143127'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '疑似样本库'],
],
],
],
@@ -10161,16 +5357,8 @@
'description' => '全量疑似样本库列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '3143127',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '疑似样本库',
- ],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '3143127'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '疑似样本库'],
],
],
],
@@ -10187,16 +5375,8 @@
'description' => '已选择的列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '3343223',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '忽略样本库',
- ],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '3343223'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '忽略样本库'],
],
],
],
@@ -10207,16 +5387,8 @@
'description' => '全量忽略样本库列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '3343223',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '忽略样本库',
- ],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '3343223'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '忽略样本库'],
],
],
],
@@ -10233,16 +5405,8 @@
'description' => '已选择的列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '65467',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '白样本库',
- ],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '65467'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '白样本库'],
],
],
],
@@ -10253,16 +5417,8 @@
'description' => '全量白样本库列表。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '词库编码。',
- 'type' => 'string',
- 'example' => '65467',
- ],
- 'Name' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'example' => '白样本库',
- ],
+ 'Code' => ['description' => '词库编码。', 'type' => 'string', 'example' => '65467'],
+ 'Name' => ['description' => '词库名称。', 'type' => 'string', 'example' => '白样本库'],
],
],
],
@@ -10277,14 +5433,8 @@
],
'UpdateBizType' => [
'summary' => '编辑业务场景信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10295,30 +5445,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102739',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'BizTypeName',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景名称。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '业务类型描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '业务类型描述信息。', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
],
'responses' => [
@@ -10326,11 +5464,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10340,14 +5474,8 @@
],
'CreateAuditCallback' => [
'summary' => '创建回调方式、回调地址、事件类型',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10358,40 +5486,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102640',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '回调配置名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'green-test',
- ],
+ 'schema' => ['description' => '回调配置名称。', 'type' => 'string', 'required' => true, 'example' => 'green-test'],
],
[
'name' => 'Url',
'in' => 'query',
- 'schema' => [
- 'description' => '回调url。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://console.aliyun.com/',
- ],
+ 'schema' => ['description' => '回调url。', 'type' => 'string', 'required' => true, 'example' => 'https://console.aliyun.com/'],
],
[
'name' => 'CryptType',
'in' => 'query',
- 'schema' => [
- 'description' => '加密算法。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SHA256',
- ],
+ 'schema' => ['description' => '加密算法。', 'type' => 'string', 'required' => false, 'example' => 'SHA256'],
],
[
'name' => 'CallbackTypes',
@@ -10400,22 +5511,14 @@
'description' => '通知类型。',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'selfAudit' => '自助审核结果',
- 'aliyunAudit' => '阿里云人审结果',
- ],
+ 'enumValueTitles' => ['selfAudit' => '自助审核结果', 'aliyunAudit' => '阿里云人审结果'],
'example' => 'selfAudit',
],
],
[
'name' => 'CallbackSuggestions',
'in' => 'query',
- 'schema' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["block","pass","review"]',
- ],
+ 'schema' => ['description' => '审核结果。', 'type' => 'string', 'required' => true, 'example' => '["block","pass","review"]'],
],
],
'responses' => [
@@ -10423,64 +5526,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifiedTime' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-09-14 19:09:44',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-09-14 19:09:44'."\n",
- ],
- 'Seed' => [
- 'description' => 'Seed。',
- 'type' => 'string',
- 'example' => 'cb3qgXi0iqApy79smStqT@LT-1zMiFd"',
- ],
- 'Url' => [
- 'description' => '回调url。',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Name' => [
- 'description' => '方案名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'CryptType' => [
- 'description' => '加密算法。',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '969',
- ],
+ 'ModifiedTime' => ['description' => '修改时间。格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'example' => '2023-09-14 19:09:44'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'CreateTime' => ['description' => '创建时间。格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'example' => '2023-09-14 19:09:44'."\n"],
+ 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb3qgXi0iqApy79smStqT@LT-1zMiFd"'],
+ 'Url' => ['description' => '回调url。', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Name' => ['description' => '方案名称。', 'type' => 'string', 'example' => '测试'],
+ 'CryptType' => ['description' => '加密算法。', 'type' => 'string', 'example' => 'SHA256'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '969'],
'CallbackTypes' => [
'description' => '通知类型。',
'type' => 'array',
- 'items' => [
- 'description' => '通知类型。',
- 'type' => 'string',
- 'example' => '["selfAudit"]',
- ],
+ 'items' => ['description' => '通知类型。', 'type' => 'string', 'example' => '["selfAudit"]'],
],
'CallbackSuggestions' => [
'description' => '审核结果。',
'type' => 'array',
- 'items' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'example' => '["block"]',
- ],
+ 'items' => ['description' => '审核结果。', 'type' => 'string', 'example' => '["block"]'],
],
],
],
@@ -10491,14 +5553,8 @@
],
'DescribeAuditCallbackList' => [
'summary' => '查询指定查询条件下的回调配置列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10509,9 +5565,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102663',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [],
'responses' => [
@@ -10519,17 +5573,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'CallbackList' => [
'description' => '回调配置列表。',
'type' => 'array',
@@ -10537,59 +5582,22 @@
'description' => '回调配置对象',
'type' => 'object',
'properties' => [
- 'ModifiedTime' => [
- 'description' => '最近修改时间。',
- 'type' => 'string',
- 'example' => '2023-06-27 15:19:50 +0800',
- ],
- 'Seed' => [
- 'description' => '回调seed。',
- 'type' => 'string',
- 'example' => 'cb78DMIGhiAcA6ouvVC5wiU0-1yqXjT',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-06-27 15:19:50 +0800',
- ],
- 'Url' => [
- 'description' => '回调url。',
- 'type' => 'string',
- 'example' => 'https://www.test123.com',
- ],
- 'Name' => [
- 'description' => '回调配置名称。',
- 'type' => 'string',
- 'example' => 'green-test',
- ],
- 'CryptType' => [
- 'description' => '回调加密算法。',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '回调配置ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '233',
- ],
+ 'ModifiedTime' => ['description' => '最近修改时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-06-27 15:19:50 +0800'],
+ 'Seed' => ['description' => '回调seed。', 'type' => 'string', 'example' => 'cb78DMIGhiAcA6ouvVC5wiU0-1yqXjT'],
+ 'CreateTime' => ['description' => '创建时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-06-27 15:19:50 +0800'],
+ 'Url' => ['description' => '回调url。', 'type' => 'string', 'example' => 'https://www.test123.com'],
+ 'Name' => ['description' => '回调配置名称。', 'type' => 'string', 'example' => 'green-test'],
+ 'CryptType' => ['description' => '回调加密算法。', 'type' => 'string', 'example' => 'SHA256'],
+ 'Id' => ['description' => '回调配置ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '233'],
'CallbackTypes' => [
'description' => '通知内容类型列表',
'type' => 'array',
- 'items' => [
- 'description' => '回调通知类型。',
- 'type' => 'string',
- 'example' => '[\\"aliyunAudit\\",\\"selfAudit\\"]',
- ],
+ 'items' => ['description' => '回调通知类型。', 'type' => 'string', 'example' => '[\\"aliyunAudit\\",\\"selfAudit\\"]'],
],
'CallbackSuggestions' => [
'description' => '回调审核列表',
'type' => 'array',
- 'items' => [
- 'description' => '回调审核结果。',
- 'type' => 'string',
- 'example' => '[\\"pass\\",\\"review\\",\\"block\\"]',
- ],
+ 'items' => ['description' => '回调审核结果。', 'type' => 'string', 'example' => '[\\"pass\\",\\"review\\",\\"block\\"]'],
],
],
],
@@ -10604,14 +5612,8 @@
],
'CreateCallback' => [
'summary' => '创建消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10622,62 +5624,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102642',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '方案名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '回调方案1',
- ],
+ 'schema' => ['description' => '方案名称。', 'type' => 'string', 'required' => true, 'example' => '回调方案1'],
],
[
'name' => 'CallbackUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://yundun.console.aliyun.com/',
- ],
+ 'schema' => ['description' => '回调地址。', 'type' => 'string', 'required' => true, 'example' => 'https://yundun.console.aliyun.com/'],
],
[
'name' => 'CryptType',
'in' => 'query',
- 'schema' => [
- 'description' => '加密算法',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'SHA256',
- ],
+ 'schema' => ['description' => '加密算法', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'SHA256'],
],
[
'name' => 'CallbackTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '通知类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => ' '."\n"
- .'["selfAudit", "aliyunAudit"]',
- ],
+ 'schema' => ['description' => '通知类型', 'type' => 'string', 'required' => true, 'example' => ' '."\n"
+ .'["selfAudit", "aliyunAudit"]'],
],
[
'name' => 'CallbackSuggestions',
'in' => 'query',
- 'schema' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["block"]',
- ],
+ 'schema' => ['description' => '审核结果。', 'type' => 'string', 'required' => true, 'example' => '["block"]'],
],
],
'responses' => [
@@ -10685,65 +5659,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CallbackUrl' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'example' => 'https://yundun.console.aliyun.com/',
- ],
- 'ModifiedTime' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-09-14 19:09:44',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-09-14 19:09:44'."\n",
- ],
- 'Seed' => [
- 'description' => 'Seed。',
- 'type' => 'string',
- 'example' => 'cb3IpyPAMp4Zs7gLIpoZypRr-1A4QSP',
- ],
- 'Name' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'example' => '回调方案1',
- ],
- 'CryptType' => [
- 'description' => '加密算法',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1791',
- ],
+ 'CallbackUrl' => ['description' => '回调地址。', 'type' => 'string', 'example' => 'https://yundun.console.aliyun.com/'],
+ 'ModifiedTime' => ['description' => '修改时间。格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'example' => '2023-09-14 19:09:44'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'CreateTime' => ['description' => '创建时间。格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'example' => '2023-09-14 19:09:44'."\n"],
+ 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb3IpyPAMp4Zs7gLIpoZypRr-1A4QSP'],
+ 'Name' => ['description' => '回调名称。', 'type' => 'string', 'example' => '回调方案1'],
+ 'CryptType' => ['description' => '加密算法', 'type' => 'integer', 'format' => 'int32', 'example' => 'SHA256'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1791'],
'CallbackTypes' => [
'description' => '通知类型。',
'type' => 'array',
- 'items' => [
- 'description' => '通知类型。',
- 'type' => 'string',
- 'example' => '["selfAudit"]',
- ],
+ 'items' => ['description' => '通知类型。', 'type' => 'string', 'example' => '["selfAudit"]'],
],
'CallbackSuggestions' => [
'description' => '审核结果。',
'type' => 'array',
- 'items' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'example' => '["block"]',
- ],
+ 'items' => ['description' => '审核结果。', 'type' => 'string', 'example' => '["block"]'],
],
],
],
@@ -10754,14 +5686,8 @@
],
'CreateOssStockTask' => [
'summary' => '创建存量扫描任务。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10772,350 +5698,173 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102648',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- 'FEATURElvwangD22DKJ',
- 'FEATURElvwangF6WBQ5',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7', 'FEATURElvwangD22DKJ', 'FEATURElvwangF6WBQ5'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2000-01-01 00:00:00 ',
- ],
+ 'schema' => ['description' => '开始时间。格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2000-01-01 00:00:00 '],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-11-29 10:04:39 ',
- ],
+ 'schema' => ['description' => '结束时间。格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2023-11-29 10:04:39 '],
],
[
'name' => 'Buckets',
'in' => 'query',
- 'schema' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]',
- ],
+ 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]'],
],
[
'name' => 'ImageOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '是否扫描图片。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否扫描图片。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ImageScenes',
'in' => 'query',
- 'schema' => [
- 'description' => '图片场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"porn\\",\\"terrorism\\"]',
- ],
+ 'schema' => ['description' => '图片场景。', 'type' => 'string', 'required' => false, 'example' => '[\\"porn\\",\\"terrorism\\"]'],
],
[
'name' => 'ScanImageNoFileType',
'in' => 'query',
- 'schema' => [
- 'description' => '检测无后缀文件。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '检测无后缀文件。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'VideoOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '是否扫描视频。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否扫描视频。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'VideoScenes',
'in' => 'query',
- 'schema' => [
- 'description' => '视频场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]',
- ],
+ 'schema' => ['description' => '视频场景。', 'type' => 'string', 'required' => false, 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]'],
],
[
'name' => 'AudioOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '是否扫描音频。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否扫描音频。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'AudioScenes',
'in' => 'query',
- 'schema' => [
- 'description' => '音频场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"antispam\\"]',
- ],
+ 'schema' => ['description' => '音频场景。', 'type' => 'string', 'required' => false, 'example' => '[\\"antispam\\"]'],
],
[
'name' => 'ImageAutoFreezeOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '图片需要自动冻结。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '图片需要自动冻结。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ImagePornFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '图片自动冻结涉黄场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}',
- ],
+ 'schema' => ['description' => '图片自动冻结涉黄场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}'],
],
[
'name' => 'ImageTerrorismFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '图片自动冻结暴恐场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"review,block\\"}',
- ],
+ 'schema' => ['description' => '图片自动冻结暴恐场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"review,block\\"}'],
],
[
'name' => 'ImageAdFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '图片自动冻结广告场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"review,block\\"}',
- ],
+ 'schema' => ['description' => '图片自动冻结广告场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"review,block\\"}'],
],
[
'name' => 'ImageLiveFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '图片自动冻结不良场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}',
- ],
+ 'schema' => ['description' => '图片自动冻结不良场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}'],
],
[
'name' => 'VideoFrameInterval',
'in' => 'query',
- 'schema' => [
- 'description' => '视频帧间隔,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '视频帧间隔,单位为秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'VideoMaxFrames',
'in' => 'query',
- 'schema' => [
- 'description' => '视频最大帧数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '视频最大帧数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'VideoMaxSize',
'in' => 'query',
- 'schema' => [
- 'description' => '单视频大小上限。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '500MB',
- ],
+ 'schema' => ['description' => '单视频大小上限。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '500MB'],
],
[
'name' => 'VideoAutoFreezeOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '视频需要自动冻结。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '视频需要自动冻结。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'VideoPornFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频自动冻结涉黄场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block,review\\"}',
- ],
+ 'schema' => ['description' => '视频自动冻结涉黄场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block,review\\"}'],
],
[
'name' => 'VideoTerrorismFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频自动冻结暴恐场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"review,block\\"}',
- ],
+ 'schema' => ['description' => '视频自动冻结暴恐场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"review,block\\"}'],
],
[
'name' => 'VideoAdFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频自动冻结广告场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"review,block\\"}',
- ],
+ 'schema' => ['description' => '视频自动冻结广告场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"review,block\\"}'],
],
[
'name' => 'VideoLiveFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频自动冻结不良场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block,review\\"}',
- ],
+ 'schema' => ['description' => '视频自动冻结不良场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block,review\\"}'],
],
[
'name' => 'VideoVoiceAntispamFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '视频自动冻结语音违规场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}',
- ],
+ 'schema' => ['description' => '视频自动冻结语音违规场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}'],
],
[
'name' => 'AudioAutoFreezeOpened',
'in' => 'query',
- 'schema' => [
- 'description' => '音频需要自动冻结。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '音频需要自动冻结。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'AudioMaxSize',
'in' => 'query',
- 'schema' => [
- 'description' => '单音频大小上限。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '200MB',
- ],
+ 'schema' => ['description' => '单音频大小上限。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200MB'],
],
[
'name' => 'AudioAntispamFreezeConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '自动冻结语音反垃圾场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}',
- ],
+ 'schema' => ['description' => '自动冻结语音反垃圾场景。', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"suggestion\\",\\"value\\":\\"block\\"}'],
],
[
'name' => 'AutoFreezeType',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结方式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acl',
- ],
+ 'schema' => ['description' => '冻结方式。', 'type' => 'string', 'required' => false, 'example' => 'acl'],
],
[
'name' => 'CallbackId',
'in' => 'query',
- 'schema' => [
- 'description' => '回调任务id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1764',
- ],
+ 'schema' => ['description' => '回调任务id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1764'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'recommend_reading_template_01',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'recommend_reading_template_01'],
],
[
'name' => 'ImageScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '图片扫描上限。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1000',
- ],
+ 'schema' => ['description' => '图片扫描上限。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
],
[
'name' => 'VideoScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '单视频截帧上限。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '200',
- ],
+ 'schema' => ['description' => '单视频截帧上限。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '200'],
],
[
'name' => 'AudioScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '语音扫描上限。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '语音扫描上限。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
],
'responses' => [
@@ -11123,17 +5872,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Id' => [
- 'description' => '检测任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5122',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Id' => ['description' => '检测任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '5122'],
],
],
],
@@ -11143,14 +5883,8 @@
],
'DeleteAuditCallback' => [
'summary' => '删除自助审核消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11161,20 +5895,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102651',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '方案名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '方案名称。', 'type' => 'string', 'required' => true, 'example' => 'xxx'],
],
],
'responses' => [
@@ -11182,16 +5909,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -11201,14 +5920,8 @@
],
'DeleteCallback' => [
'summary' => '删除消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11219,21 +5932,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102653',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1666',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1666'],
],
],
'responses' => [
@@ -11241,11 +5946,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -11255,14 +5956,8 @@
],
'DescribeBizTypeAuditRange' => [
'summary' => '流入自助审核的数据类型',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11273,20 +5968,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102668',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'biz_complaint',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'biz_complaint'],
],
],
'responses' => [
@@ -11294,19 +5982,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'AuditRange' => [
'description' => '审核范围列表。',
'type' => 'array',
- 'items' => [
- 'description' => '审核范围列表。',
- 'type' => 'string',
- 'example' => 'normal',
- ],
+ 'items' => ['description' => '审核范围列表。', 'type' => 'string', 'example' => 'normal'],
],
],
],
@@ -11317,14 +5997,8 @@
],
'DescribeBizTypeResultBackupSetting' => [
'summary' => '获取证据转存设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11335,20 +6009,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102670',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
],
'responses' => [
@@ -11356,105 +6023,38 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Voice' => [
'description' => '音频。',
'type' => 'object',
'properties' => [
- 'Path' => [
- 'description' => '转存目录。',
- 'type' => 'string',
- 'example' => '/path',
- ],
- 'ExpireSeconds' => [
- 'description' => '过期时间,单位秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
- 'Suggestions' => [
- 'description' => '转存范围。',
- 'type' => 'string',
- 'example' => '["pass"]',
- ],
- 'Enable' => [
- 'description' => '规则是否开启。取值:-true:开启-false:关闭',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => 'OSS的Bucket名称。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'Path' => ['description' => '转存目录。', 'type' => 'string', 'example' => '/path'],
+ 'ExpireSeconds' => ['description' => '过期时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
+ 'Suggestions' => ['description' => '转存范围。', 'type' => 'string', 'example' => '["pass"]'],
+ 'Enable' => ['description' => '规则是否开启。取值:-true:开启-false:关闭', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => 'OSS的Bucket名称。', 'type' => 'string', 'example' => 'xxx'],
],
],
'Video' => [
'description' => '视频。',
'type' => 'object',
'properties' => [
- 'Path' => [
- 'description' => '转存目录。',
- 'type' => 'string',
- 'example' => '/path'."\n",
- ],
- 'ExpireSeconds' => [
- 'description' => '过期时间,单位秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
- 'Suggestions' => [
- 'description' => '转存范围。',
- 'type' => 'string',
- 'example' => '["pass"]'."\n",
- ],
- 'Enable' => [
- 'description' => '规则是否开启。取值:-true:开启-false:关闭',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bucket' => [
- 'description' => 'OSS的Bucket名称。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'Path' => ['description' => '转存目录。', 'type' => 'string', 'example' => '/path'."\n"],
+ 'ExpireSeconds' => ['description' => '过期时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
+ 'Suggestions' => ['description' => '转存范围。', 'type' => 'string', 'example' => '["pass"]'."\n"],
+ 'Enable' => ['description' => '规则是否开启。取值:-true:开启-false:关闭', 'type' => 'boolean', 'example' => 'False'],
+ 'Bucket' => ['description' => 'OSS的Bucket名称。', 'type' => 'string', 'example' => 'xxx'],
],
],
'Image' => [
'description' => '图片。',
'type' => 'object',
'properties' => [
- 'Path' => [
- 'description' => '转存目录。',
- 'type' => 'string',
- 'example' => '/path'."\n",
- ],
- 'ExpireSeconds' => [
- 'description' => '过期时间,单位秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
- 'Suggestions' => [
- 'description' => '转存范围。',
- 'type' => 'string',
- 'example' => '["pass"]'."\n",
- ],
- 'Enable' => [
- 'description' => '规则是否开启。取值:-true:开启-false:关闭',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bucket' => [
- 'description' => 'OSS的Bucket名称。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'Path' => ['description' => '转存目录。', 'type' => 'string', 'example' => '/path'."\n"],
+ 'ExpireSeconds' => ['description' => '过期时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
+ 'Suggestions' => ['description' => '转存范围。', 'type' => 'string', 'example' => '["pass"]'."\n"],
+ 'Enable' => ['description' => '规则是否开启。取值:-true:开启-false:关闭', 'type' => 'boolean', 'example' => 'False'],
+ 'Bucket' => ['description' => 'OSS的Bucket名称。', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -11466,14 +6066,8 @@
],
'DescribeCallbackBind' => [
'summary' => '获取消息通知配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11484,20 +6078,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102676',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
],
'responses' => [
@@ -11505,16 +6092,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'example' => '回调方案1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Name' => ['description' => '回调名称。', 'type' => 'string', 'example' => '回调方案1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11524,14 +6103,8 @@
],
'DescribeCallbackList' => [
'summary' => '获取消息通知列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11542,9 +6115,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102677',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [],
'responses' => [
@@ -11552,17 +6123,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '13',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'CallbackList' => [
'description' => '回调列表。',
'type' => 'array',
@@ -11570,60 +6132,22 @@
'description' => '回调列表。',
'type' => 'object',
'properties' => [
- 'CallbackUrl' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'example' => 'https://yundun.console.aliyun.com/',
- ],
- 'ModifiedTime' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2024-04-24 14:33:31 +0800',
- ],
- 'Seed' => [
- 'description' => 'Seed。',
- 'type' => 'string',
- 'example' => 'cb3ugu72*****$bwl8MmclV-1yI@gP',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:58:07 +0800',
- ],
- 'Name' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'example' => '违规通知',
- ],
- 'CryptType' => [
- 'description' => '加密算法。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15212',
- ],
+ 'CallbackUrl' => ['description' => '回调地址。', 'type' => 'string', 'example' => 'https://yundun.console.aliyun.com/'],
+ 'ModifiedTime' => ['description' => '修改时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2024-04-24 14:33:31 +0800'],
+ 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb3ugu72*****$bwl8MmclV-1yI@gP'],
+ 'CreateTime' => ['description' => '创建时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:58:07 +0800'],
+ 'Name' => ['description' => '回调名称。', 'type' => 'string', 'example' => '违规通知'],
+ 'CryptType' => ['description' => '加密算法。', 'type' => 'integer', 'format' => 'int32', 'example' => 'SHA256'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '15212'],
'CallbackTypes' => [
'description' => '通知类型。',
'type' => 'array',
- 'items' => [
- 'description' => '通知类型。',
- 'type' => 'string',
- 'example' => '["selfAudit"]',
- ],
+ 'items' => ['description' => '通知类型。', 'type' => 'string', 'example' => '["selfAudit"]'],
],
'CallbackSuggestions' => [
'description' => '审核结果。',
'type' => 'array',
- 'items' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'example' => '["block"]',
- ],
+ 'items' => ['description' => '审核结果。', 'type' => 'string', 'example' => '["block"]'],
],
],
],
@@ -11637,14 +6161,8 @@
],
'DescribeOpenApiMonitorAlarmSetting' => [
'summary' => '实时监控报警设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11655,20 +6173,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102686',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
],
'responses' => [
@@ -11676,36 +6187,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'QpsAlarmOpend' => [
- 'description' => '告警开关。取值:-**true**:开启-**false**:关闭',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'IMAGE',
- ],
- 'RtAlarmConf' => [
- 'description' => '告警配置。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'RtAlarmOpend' => [
- 'description' => '告警是否通知。取值:-true:通知。-false:不通知。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'QpsAlarmConf' => [
- 'description' => '告警配置。',
- 'type' => 'string',
- 'example' => '{}',
- ],
+ 'QpsAlarmOpend' => ['description' => '告警开关。取值:-**true**:开启-**false**:关闭', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'IMAGE'],
+ 'RtAlarmConf' => ['description' => '告警配置。', 'type' => 'string', 'example' => '{}'],
+ 'RtAlarmOpend' => ['description' => '告警是否通知。取值:-true:通知。-false:不通知。', 'type' => 'boolean', 'example' => 'true'],
+ 'QpsAlarmConf' => ['description' => '告警配置。', 'type' => 'string', 'example' => '{}'],
],
],
],
@@ -11715,14 +6202,8 @@
],
'DescribeOpenApiMonitorData' => [
'summary' => '机审实时监控',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11733,70 +6214,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102687',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'ReportName',
'in' => 'query',
- 'schema' => [
- 'description' => '报告名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'qps',
- ],
+ 'schema' => ['description' => '报告名称。', 'type' => 'string', 'required' => true, 'example' => 'qps'],
],
[
'name' => 'Scene',
'in' => 'query',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'terrorism',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => false, 'example' => 'terrorism'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-08-07 09:22:41 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-08-07 09:22:41 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-12-02 09:59:53 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-12-02 09:59:53 +0800'],
],
],
'responses' => [
@@ -11804,11 +6253,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'RtItemList' => [
'description' => '返回的结果数据内容。',
'type' => 'array',
@@ -11816,11 +6261,7 @@
'description' => '返回的结果数据内容。',
'type' => 'object',
'properties' => [
- 'Scene' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'example' => 'terrorism',
- ],
+ 'Scene' => ['description' => '审核场景。', 'type' => 'string', 'example' => 'terrorism'],
'ItemList' => [
'description' => '返回数据列表。',
'type' => 'array',
@@ -11828,17 +6269,8 @@
'description' => '返回数据列表。',
'type' => 'object',
'properties' => [
- 'Rt' => [
- 'description' => 'Rt。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'Minute' => [
- 'description' => '分钟。',
- 'type' => 'string',
- 'example' => '2023-07-13 10:26:00',
- ],
+ 'Rt' => ['description' => 'Rt。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'Minute' => ['description' => '分钟。', 'type' => 'string', 'example' => '2023-07-13 10:26:00'],
],
],
],
@@ -11852,11 +6284,7 @@
'description' => '图片每秒访问次数。',
'type' => 'object',
'properties' => [
- 'Scene' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'Scene' => ['description' => '审核场景。', 'type' => 'string', 'example' => 'porn'],
'ItemList' => [
'description' => '返回数据列表。',
'type' => 'array',
@@ -11864,17 +6292,8 @@
'description' => '返回数据列表。',
'type' => 'object',
'properties' => [
- 'Qps' => [
- 'description' => 'QPS数据。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Minute' => [
- 'description' => '分钟。',
- 'type' => 'string',
- 'example' => '2023-07-13 10:26:00',
- ],
+ 'Qps' => ['description' => 'QPS数据。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Minute' => ['description' => '分钟。', 'type' => 'string', 'example' => '2023-07-13 10:26:00'],
],
],
],
@@ -11888,17 +6307,8 @@
'description' => '返回结果的路径列表。',
'type' => 'object',
'properties' => [
- 'Path' => [
- 'description' => '路径。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Minute' => [
- 'description' => '分钟。',
- 'type' => 'string',
- 'example' => '2023-07-13 10:26:00',
- ],
+ 'Path' => ['description' => '路径。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Minute' => ['description' => '分钟。', 'type' => 'string', 'example' => '2023-07-13 10:26:00'],
],
],
],
@@ -11911,14 +6321,8 @@
],
'DescribeOssStockScanTaskStatData' => [
'summary' => 'Oss存量扫描结果数据',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11929,21 +6333,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102696',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3751',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3751'],
],
],
'responses' => [
@@ -11951,411 +6347,137 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'AudioDurations' => [
- 'description' => '语音总时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22',
- ],
- 'VideoTotalFrameCount' => [
- 'description' => '视频总截帧数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'AudioDurations' => ['description' => '语音总时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '22'],
+ 'VideoTotalFrameCount' => ['description' => '视频总截帧数。', 'type' => 'integer', 'format' => 'int64', 'example' => '11'],
'ImageSum' => [
'description' => '图片检测数量。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ImagePorn' => [
'description' => '图片鉴黄场景检测量',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ImageTerrorism' => [
'description' => '图片暴恐涉政场景检测量。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ImageAd' => [
'description' => '图文违规场景检测量。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ImageLive' => [
'description' => '图片不良场景检测量。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoSum' => [
'description' => '视频总量。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoPorn' => [
'description' => '鉴黄场景视频量',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoTerrorism' => [
'description' => '暴恐涉政场景视频量',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoAd' => [
'description' => '视频图文违规场景检测量',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoLive' => [
'description' => '视频不良场景检测量',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoVoiceAntispam' => [
'description' => '视频语音反垃圾检测量',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'AudioSum' => [
'description' => '语音总量',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'AudioAntispam' => [
'description' => '语音反垃圾检测量',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'BlockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'ReviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'BlockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'NormalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ReviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -12367,14 +6489,8 @@
],
'DescribeOssStockScanTasks' => [
'summary' => 'Oss存量扫描任务列表查询',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12385,54 +6501,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102695',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- 'FEATURElvwangD22DKJ',
- 'FEATURElvwangF6WBQ5',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7', 'FEATURElvwangD22DKJ', 'FEATURElvwangF6WBQ5'],
],
'parameters' => [
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-11-12 10:26:57 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-11-12 10:26:57 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-12 10:26:57 +0800'."\n",
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-12-12 10:26:57 +0800'."\n"],
],
],
'responses' => [
@@ -12440,143 +6530,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '当前页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'CurrentPage' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TaskList' => [
'description' => '扫描任务列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ImageScanLimit' => [
- 'description' => '图片扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'VideoScanLimit' => [
- 'description' => '视频扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-09-26 11:38:08 +0800',
- ],
- 'VideoResultFileDownloadUrl' => [
- 'description' => '视频审核文件下载地址。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'ResultFileStatus' => [
- 'description' => '文件状态。',
- 'type' => 'string',
- 'example' => 'finished',
- ],
- 'ImageResultFileDownloadUrl' => [
- 'description' => '结果文件下载地址。',
- 'type' => 'string',
- 'example' => 'oss_result_file/img/result_xx.txt',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'recommend_social_template_01',
- ],
- 'FinishedTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2023-10-12 18:15:00 +0800',
- ],
- 'AudioResultFileDownloadUrl' => [
- 'description' => '音频下载地址。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Name' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => 'test889',
- ],
- 'AudioScanLimit' => [
- 'description' => '语音扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'taskScanStatus' => [
- 'description' => '任务状态。',
- 'type' => 'string',
- 'example' => 'finished',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1769',
- ],
- 'ModifyTime' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-10-11 18:15:00 +0800'."\n",
- ],
- 'BizTypeName' => [
- 'description' => '业务类型名称。',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'ImageScanLimit' => ['description' => '图片扫描上限', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'VideoScanLimit' => ['description' => '视频扫描上限', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'CreateTime' => ['description' => '创建时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-09-26 11:38:08 +0800'],
+ 'VideoResultFileDownloadUrl' => ['description' => '视频审核文件下载地址。', 'type' => 'string', 'example' => 'xx'],
+ 'ResultFileStatus' => ['description' => '文件状态。', 'type' => 'string', 'example' => 'finished'],
+ 'ImageResultFileDownloadUrl' => ['description' => '结果文件下载地址。', 'type' => 'string', 'example' => 'oss_result_file/img/result_xx.txt'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'recommend_social_template_01'],
+ 'FinishedTime' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-12 18:15:00 +0800'],
+ 'AudioResultFileDownloadUrl' => ['description' => '音频下载地址。', 'type' => 'string', 'example' => 'xx'],
+ 'Name' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'test889'],
+ 'AudioScanLimit' => ['description' => '语音扫描上限', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'taskScanStatus' => ['description' => '任务状态。', 'type' => 'string', 'example' => 'finished'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1769'],
+ 'ModifyTime' => ['description' => '修改时间。具体为 YYYY-MM-DD HH:mm:ss ±HHMM(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-11 18:15:00 +0800'."\n"],
+ 'BizTypeName' => ['description' => '业务类型名称。', 'type' => 'string', 'example' => 'default'],
'Buckets' => [
'description' => '存储空间。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '过滤条件类型',
- 'type' => 'string',
- 'example' => 'include',
- ],
- 'Selected' => [
- 'description' => '是否选中',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => 'gj-bucket1',
- ],
+ 'Type' => ['description' => '过滤条件类型', 'type' => 'string', 'example' => 'include'],
+ 'Selected' => ['description' => '是否选中', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'gj-bucket1'],
'Prefixes' => [
'description' => '前缀',
'type' => 'array',
- 'items' => [
- 'description' => '前缀',
- 'type' => 'string',
- 'example' => '["img/test_"]'."\n",
- ],
+ 'items' => ['description' => '前缀', 'type' => 'string', 'example' => '["img/test_"]'."\n"],
],
],
],
@@ -12584,472 +6575,165 @@
'ImageScenes' => [
'description' => '图片场景列表',
'type' => 'array',
- 'items' => [
- 'description' => '图片场景列表',
- 'type' => 'string',
- 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]',
- ],
+ 'items' => ['description' => '图片场景列表', 'type' => 'string', 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]'],
],
'VideoScenes' => [
'description' => '视频场景列表',
'type' => 'array',
- 'items' => [
- 'description' => '视频场景列表',
- 'type' => 'string',
- 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]',
- ],
+ 'items' => ['description' => '视频场景列表', 'type' => 'string', 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]'],
],
'AudioScenes' => [
'description' => '音频场景列表',
'type' => 'array',
- 'items' => [
- 'description' => '音频场景列表',
- 'type' => 'string',
- 'example' => '[\\"antispam\\"]',
- ],
+ 'items' => ['description' => '音频场景列表', 'type' => 'string', 'example' => '[\\"antispam\\"]'],
],
'StatData' => [
'description' => '统计数据',
'type' => 'object',
'properties' => [
- 'VideoTotalFrameCount' => [
- 'description' => '视频总截帧数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11',
- ],
- 'AudioDurations' => [
- 'description' => '语音总时长,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22',
- ],
+ 'VideoTotalFrameCount' => ['description' => '视频总截帧数。', 'type' => 'integer', 'format' => 'int64', 'example' => '11'],
+ 'AudioDurations' => ['description' => '语音总时长,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '22'],
'ImageSum' => [
'description' => '图片总量。',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ImagePorn' => [
'description' => '鉴黄场景检测量',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ImageTerrorism' => [
'description' => '图片暴恐涉政场景检测量。',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ImageAd' => [
'description' => '图文违规场景检测量。',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'ImageLive' => [
'description' => '图片不良场景检测量。',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoSum' => [
'description' => '视频总量。',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoPorn' => [
'description' => '鉴黄场景视频量',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoTerrorism' => [
'description' => '暴恐涉政场景视频量',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoAd' => [
'description' => '视频图文违规场景检测量',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoLive' => [
'description' => '视频不良场景检测量',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VoiceSum' => [
'description' => '语音总量。',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'VideoVoiceAntispam' => [
'description' => '视频语音反垃圾检测量',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'AudioSum' => [
'description' => '语音总量',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
'AudioAntispam' => [
'description' => '语音反垃圾检测量',
'type' => 'object',
'properties' => [
- 'totalCount' => [
- 'description' => '总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'blockCount' => [
- 'description' => '违规数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'normalCount' => [
- 'description' => '正常数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'reviewCount' => [
- 'description' => '疑似数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'totalCount' => ['description' => '总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'blockCount' => ['description' => '违规数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'normalCount' => ['description' => '正常数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'reviewCount' => ['description' => '疑似数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
- 'ScanFileSum' => [
- 'description' => '扫描文件数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
+ 'ScanFileSum' => ['description' => '扫描文件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
],
],
],
@@ -13064,14 +6748,8 @@
],
'DescribeOssStockTaskSetting' => [
'summary' => '获取存量扫描任务配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13082,23 +6760,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102699',
- 'abilityTreeNodes' => [
- 'FEATURElvwangF6WBQ5',
- 'FEATURElvwangD22DKJ',
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangF6WBQ5', 'FEATURElvwangD22DKJ', 'FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3744',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3744'],
],
],
'responses' => [
@@ -13106,320 +6774,128 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CallbackName' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'videoScanLimit' => [
- 'description' => '视频扫描的最大数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'AudioAutoFreezeOpened' => [
- 'description' => '音频需要冻结',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'EndDate' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2023-10-21 16:08:38 +0800'."\n",
- ],
- 'VideoOpened' => [
- 'description' => '是否扫描视频,取值:-**true**:开启。-**false**:关闭。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AudioOpened' => [
- 'description' => '是否扫描音频。取值:-**true**:开启-**false**:不开启',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'audioScanLimit' => [
- 'description' => '音频扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11',
- ],
- 'StartDate' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2023-08-21 16:08:38 +0800'."\n",
- ],
- 'ImageOpened' => [
- 'description' => '是否扫描图片。取值:-true:开启-false:不开启',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ImageAutoFreezeOpened' => [
- 'description' => '图片需要冻结',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'VideoMaxFrames' => [
- 'description' => '单视频截帧上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'CallbackId' => [
- 'description' => '回调通知ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1664',
- ],
- 'ScanImageNoFileType' => [
- 'description' => '检测无后缀文件',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AutoFreezeType' => [
- 'description' => '冻结方式',
- 'type' => 'string',
- 'example' => 'acl',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'VideoAutoFreezeOpened' => [
- 'description' => '视频需要冻结',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'VideoFrameInterval' => [
- 'description' => '截帧频率',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'videoMaxSize' => [
- 'description' => '单视频大小上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'imageScanLimit' => [
- 'description' => '图片扫描上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'AudioMaxSize' => [
- 'description' => '单音频大小上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'CallbackName' => ['description' => '回调名称。', 'type' => 'string', 'example' => 'xx'],
+ 'videoScanLimit' => ['description' => '视频扫描的最大数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'AudioAutoFreezeOpened' => ['description' => '音频需要冻结', 'type' => 'boolean', 'example' => 'false'],
+ 'EndDate' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-21 16:08:38 +0800'."\n"],
+ 'VideoOpened' => ['description' => '是否扫描视频,取值:-**true**:开启。-**false**:关闭。', 'type' => 'boolean', 'example' => 'true'],
+ 'AudioOpened' => ['description' => '是否扫描音频。取值:-**true**:开启-**false**:不开启', 'type' => 'boolean', 'example' => 'true'],
+ 'audioScanLimit' => ['description' => '音频扫描上限', 'type' => 'integer', 'format' => 'int64', 'example' => '11'],
+ 'StartDate' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-08-21 16:08:38 +0800'."\n"],
+ 'ImageOpened' => ['description' => '是否扫描图片。取值:-true:开启-false:不开启', 'type' => 'boolean', 'example' => 'true'],
+ 'ImageAutoFreezeOpened' => ['description' => '图片需要冻结', 'type' => 'boolean', 'example' => 'true'],
+ 'VideoMaxFrames' => ['description' => '单视频截帧上限', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'CallbackId' => ['description' => '回调通知ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1664'],
+ 'ScanImageNoFileType' => ['description' => '检测无后缀文件', 'type' => 'boolean', 'example' => 'true'],
+ 'AutoFreezeType' => ['description' => '冻结方式', 'type' => 'string', 'example' => 'acl'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'VideoAutoFreezeOpened' => ['description' => '视频需要冻结', 'type' => 'boolean', 'example' => 'true'],
+ 'VideoFrameInterval' => ['description' => '截帧频率', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'videoMaxSize' => ['description' => '单视频大小上限', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'imageScanLimit' => ['description' => '图片扫描上限', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'AudioMaxSize' => ['description' => '单音频大小上限', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'ImageScenes' => [
'description' => '图片场景列表。',
'type' => 'array',
- 'items' => [
- 'description' => '图片场景列表。',
- 'type' => 'string',
- 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]',
- ],
+ 'items' => ['description' => '图片场景列表。', 'type' => 'string', 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]'],
],
'VideoScenes' => [
'description' => '视频场景列表。',
'type' => 'array',
- 'items' => [
- 'description' => '视频场景列表。',
- 'type' => 'string',
- 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]',
- ],
+ 'items' => ['description' => '视频场景列表。', 'type' => 'string', 'example' => '[\\"ad\\",\\"terrorism\\",\\"live\\",\\"porn\\"]'],
],
'AudioScenes' => [
'description' => '音频场景列表。',
'type' => 'array',
- 'items' => [
- 'description' => '音频场景列表。',
- 'type' => 'string',
- 'example' => '[\\"antispam\\"]',
- ],
+ 'items' => ['description' => '音频场景列表。', 'type' => 'string', 'example' => '[\\"antispam\\"]'],
],
'ImagePornFreezeConfig' => [
'description' => '图片鉴黄冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'ImageTerrorismFreezeConfig' => [
'description' => '图片暴恐冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'ImageAdFreezeConfig' => [
'description' => '图片广告冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'ImageLiveFreezeConfig' => [
'description' => '图片不良场景冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoPornFreezeConfig' => [
'description' => '视频鉴黄冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoTerrorismFreezeConfig' => [
'description' => '视频暴恐冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoAdFreezeConfig' => [
'description' => '视频广告冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoLiveFreezeConfig' => [
'description' => '视频不良场景冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'VideoVoiceAntispamFreezeConfig' => [
'description' => '视频语音发垃圾冻结配置。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'AudioAntispamFreezeConfig' => [
'description' => '音频冻结场景列表',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'suggestion',
- ],
- 'Value' => [
- 'description' => '值',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'suggestion'],
+ 'Value' => ['description' => '值', 'type' => 'string', 'example' => 'block'],
],
],
'BizTypeTemplate' => [
'description' => '业务场景模板',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => 'mgst',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'test'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => 'mgst'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'default'],
'ImageConfig' => [
'description' => '图片配置。',
'type' => 'object',
@@ -13431,11 +6907,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13446,11 +6918,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13461,11 +6929,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13476,11 +6940,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13497,11 +6957,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13512,11 +6968,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13527,11 +6979,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13542,11 +6990,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13563,11 +7007,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13582,29 +7022,13 @@
'description' => '存储空间。',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '过滤条件类型',
- 'type' => 'string',
- 'example' => 'include',
- ],
- 'Selected' => [
- 'description' => '是否选中该ossbucket。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => 'tctest',
- ],
+ 'Type' => ['description' => '过滤条件类型', 'type' => 'string', 'example' => 'include'],
+ 'Selected' => ['description' => '是否选中该ossbucket。', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'tctest'],
'Prefixes' => [
'description' => '前缀',
'type' => 'array',
- 'items' => [
- 'description' => '前缀',
- 'type' => 'string',
- 'example' => '["img/test_"]'."\n",
- ],
+ 'items' => ['description' => '前缀', 'type' => 'string', 'example' => '["img/test_"]'."\n"],
],
],
],
@@ -13618,14 +7042,8 @@
],
'DescribeUserOssBuckets' => [
'summary' => '获取用户oss桶列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13636,9 +7054,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102706',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [],
'responses' => [
@@ -13646,24 +7062,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AuthStatus' => [
- 'description' => '授权状态',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'AuthStatus' => ['description' => '授权状态', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Buckets' => [
'description' => '存储空间。',
'type' => 'array',
- 'items' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]',
- ],
+ 'items' => ['description' => '存储空间。', 'type' => 'string', 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]'],
],
],
],
@@ -13674,14 +7078,8 @@
],
'ExportOpenApiUsage' => [
'summary' => '导出基线检查、资源占用、负载均衡状态等检测结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13692,50 +7090,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102719',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-08-02 00:00:00 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-08-02 00:00:00 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-12-31 10:05:26 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => true, 'example' => '2023-12-31 10:05:26 +0800'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IMAGE',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'IMAGE'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
],
'responses' => [
@@ -13743,16 +7119,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxx.xlsx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'DownloadUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https://xxx.xlsx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -13763,14 +7131,8 @@
],
'ModifyAuditCallback' => [
'summary' => '修改人审回调通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13782,71 +7144,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102726',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '939',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '939'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '回调方案1',
- ],
+ 'schema' => ['description' => '回调名称。', 'type' => 'string', 'required' => true, 'example' => '回调方案1'],
],
[
'name' => 'Url',
'in' => 'query',
- 'schema' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://www.xxx.com',
- ],
+ 'schema' => ['description' => '回调地址。', 'type' => 'string', 'required' => true, 'example' => 'https://www.xxx.com'],
],
[
'name' => 'CryptType',
'in' => 'query',
- 'schema' => [
- 'description' => '加密算法。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SHA256',
- ],
+ 'schema' => ['description' => '加密算法。', 'type' => 'string', 'required' => false, 'example' => 'SHA256'],
],
[
'name' => 'CallbackTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '通知类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'selfAudit',
- ],
+ 'schema' => ['description' => '通知类型。', 'type' => 'string', 'required' => true, 'example' => 'selfAudit'],
],
[
'name' => 'CallbackSuggestions',
'in' => 'query',
- 'schema' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["block"]',
- ],
+ 'schema' => ['description' => '审核结果。', 'type' => 'string', 'required' => true, 'example' => '["block"]'],
],
],
'responses' => [
@@ -13854,64 +7183,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifiedTime' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:59:17 +0800',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-10-25 15:58:07 +0800',
- ],
- 'Seed' => [
- 'description' => 'Seed。',
- 'type' => 'string',
- 'example' => 'cb62$JswztQB$7swUrN7qP2t-1ySnok',
- ],
- 'Url' => [
- 'description' => '回调url。',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Name' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'example' => '回调方案1',
- ],
- 'CryptType' => [
- 'description' => '加密算法。',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '938',
- ],
+ 'ModifiedTime' => ['description' => '修改时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:59:17 +0800'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'CreateTime' => ['description' => '创建时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-10-25 15:58:07 +0800'],
+ 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb62$JswztQB$7swUrN7qP2t-1ySnok'],
+ 'Url' => ['description' => '回调url。', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Name' => ['description' => '回调名称。', 'type' => 'string', 'example' => '回调方案1'],
+ 'CryptType' => ['description' => '加密算法。', 'type' => 'string', 'example' => 'SHA256'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '938'],
'CallbackTypes' => [
'description' => '通知类型。',
'type' => 'array',
- 'items' => [
- 'description' => '通知类型。',
- 'type' => 'string',
- 'example' => '["selfAudit"]',
- ],
+ 'items' => ['description' => '通知类型。', 'type' => 'string', 'example' => '["selfAudit"]'],
],
'CallbackSuggestions' => [
'description' => '审核结果。',
'type' => 'array',
- 'items' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'example' => '["block"]',
- ],
+ 'items' => ['description' => '审核结果。', 'type' => 'string', 'example' => '["block"]'],
],
],
],
@@ -13922,14 +7210,8 @@
],
'UpdateBizTypeAuditRange' => [
'summary' => '修改流入自助审核的数据类型',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13940,30 +7222,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102740',
- 'abilityTreeNodes' => [
- 'FEATURElvwangIBEW89',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangIBEW89'],
],
'parameters' => [
[
'name' => 'AuditRange',
'in' => 'query',
- 'schema' => [
- 'description' => '审核范围列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["block","review"]',
- ],
+ 'schema' => ['description' => '审核范围列表。', 'type' => 'string', 'required' => false, 'example' => '["block","review"]'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
],
'responses' => [
@@ -13971,11 +7241,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -13985,14 +7251,8 @@
],
'UpdateBizTypeResultBackupSetting' => [
'summary' => '修改证据转存设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14003,50 +7263,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102742',
- 'abilityTreeNodes' => [
- 'FEATURElvwang68YS95',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang68YS95'],
],
'parameters' => [
[
'name' => 'Video',
'in' => 'query',
- 'schema' => [
- 'description' => '视频。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '视频。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Voice',
'in' => 'query',
- 'schema' => [
- 'description' => '音频。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '音频。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Image',
'in' => 'query',
- 'schema' => [
- 'description' => '图片。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '图片。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
],
'responses' => [
@@ -14054,11 +7292,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -14068,14 +7302,8 @@
],
'UpdateCallback' => [
'summary' => '更新消息回调',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14086,72 +7314,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102745',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1384',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1384'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '回调名称。', 'type' => 'string', 'required' => true, 'example' => 'xx'],
],
[
'name' => 'CallbackUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://www.xx.com',
- ],
+ 'schema' => ['description' => '回调地址。', 'type' => 'string', 'required' => true, 'example' => 'https://www.xx.com'],
],
[
'name' => 'CryptType',
'in' => 'query',
- 'schema' => [
- 'description' => '加密算法',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'SHA256',
- ],
+ 'schema' => ['description' => '加密算法', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'CallbackTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '通知类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["selfAudit"]',
- ],
+ 'schema' => ['description' => '通知类型。', 'type' => 'string', 'required' => true, 'example' => '["selfAudit"]'],
],
[
'name' => 'CallbackSuggestions',
'in' => 'query',
- 'schema' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["block", "pass", "review"]',
- ],
+ 'schema' => ['description' => '审核结果。', 'type' => 'string', 'required' => true, 'example' => '["block", "pass", "review"]'],
],
],
'responses' => [
@@ -14159,65 +7353,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CallbackUrl' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'example' => 'http://xxx/verify/callback',
- ],
- 'ModifiedTime' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-09-14 19:09:44 +0800',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2022-09-16 17:09:39 +0800',
- ],
- 'Seed' => [
- 'description' => 'Seed。',
- 'type' => 'string',
- 'example' => 'cb44AJrGJWbft5syoh87q5Au-1zLn3i',
- ],
- 'Name' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'example' => '违规检测通知',
- ],
- 'CryptType' => [
- 'description' => '加密算法。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1180',
- ],
+ 'CallbackUrl' => ['description' => '回调地址。', 'type' => 'string', 'example' => 'http://xxx/verify/callback'],
+ 'ModifiedTime' => ['description' => '修改时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2023-09-14 19:09:44 +0800'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'CreateTime' => ['description' => '创建时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'example' => '2022-09-16 17:09:39 +0800'],
+ 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb44AJrGJWbft5syoh87q5Au-1zLn3i'],
+ 'Name' => ['description' => '回调名称。', 'type' => 'string', 'example' => '违规检测通知'],
+ 'CryptType' => ['description' => '加密算法。', 'type' => 'integer', 'format' => 'int32', 'example' => 'SHA256'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1180'],
'CallbackTypes' => [
'description' => '通知类型。',
'type' => 'array',
- 'items' => [
- 'description' => '通知类型。',
- 'type' => 'string',
- 'example' => '["selfAudit"]',
- ],
+ 'items' => ['description' => '通知类型。', 'type' => 'string', 'example' => '["selfAudit"]'],
],
'CallbackSuggestions' => [
'description' => '审核结果。',
'type' => 'array',
- 'items' => [
- 'description' => '审核结果。',
- 'type' => 'string',
- 'example' => '["block","review","pass"]',
- ],
+ 'items' => ['description' => '审核结果。', 'type' => 'string', 'example' => '["block","review","pass"]'],
],
],
],
@@ -14228,14 +7380,8 @@
],
'UpdateCallbackBind' => [
'summary' => '更新回调设置绑定关系',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14246,30 +7392,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102746',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHBD2RF',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHBD2RF'],
],
'parameters' => [
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '回调名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '测试',
- ],
+ 'schema' => ['description' => '回调名称。', 'type' => 'string', 'required' => true, 'example' => '测试'],
],
],
'responses' => [
@@ -14277,11 +7411,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -14291,14 +7421,8 @@
],
'UpdateOssStockTask' => [
'summary' => '更新oss存量任务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14309,31 +7433,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102755',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3527',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3527'],
],
[
'name' => 'Operation',
'in' => 'query',
- 'schema' => [
- 'description' => '操作类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'stop',
- ],
+ 'schema' => ['description' => '操作类型。', 'type' => 'string', 'required' => true, 'example' => 'stop'],
],
],
'responses' => [
@@ -14341,11 +7452,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -14355,14 +7462,8 @@
],
'DescribeOssStockScanUserStatus' => [
'summary' => 'OSS存量扫描用户状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14373,9 +7474,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102697',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [],
'responses' => [
@@ -14383,21 +7482,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'hasStockTasks' => [
- 'description' => '是否有存量检测任务。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'HasBuckets' => [
- 'description' => '是否已开通ossbucket服务。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'hasStockTasks' => ['description' => '是否有存量检测任务。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'HasBuckets' => ['description' => '是否已开通ossbucket服务。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -14407,14 +7494,8 @@
],
'DescribeBizTypeTemplates' => [
'summary' => 'OSS扫描用户可选模板列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14425,9 +7506,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102673',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [],
'responses' => [
@@ -14435,11 +7514,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Templates' => [
'description' => '模板列表。',
'type' => 'array',
@@ -14447,21 +7522,9 @@
'description' => '模板列表。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '社区内容安全',
- ],
- 'Description' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'recommend_social_template_01',
- ],
+ 'Name' => ['description' => '模板名称。', 'type' => 'string', 'example' => '社区内容安全'],
+ 'Description' => ['description' => '模板描述。', 'type' => 'string', 'example' => 'xxx'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'recommend_social_template_01'],
'ImageConfig' => [
'description' => '图片配置。',
'type' => 'object',
@@ -14473,11 +7536,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["politicsPositivePerson","politicsNegativePerson","taintedStars","violationPerson","violationFlag","chineseFlag","violentIncident","march","bloodySick","policeUniform","combatUniform","rmb"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["politicsPositivePerson","politicsNegativePerson","taintedStars","violationPerson","violationFlag","chineseFlag","violentIncident","march","bloodySick","policeUniform","combatUniform","rmb"]'],
],
],
],
@@ -14488,11 +7547,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["porn"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["porn"]'],
],
],
],
@@ -14503,11 +7558,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["strictlyPorn","positivePolitics","negativePolitics","politicsPublicOpinion","strictRude"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["strictlyPorn","positivePolitics","negativePolitics","politicsPublicOpinion","strictRude"]'],
],
],
],
@@ -14518,11 +7569,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["drug","gamble","sick"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["drug","gamble","sick"]'],
],
],
],
@@ -14539,11 +7586,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["politicsPositivePerson","politicsNegativePerson","taintedStars","violationPerson","violationFlag","chineseFlag","violentIncident","march","bloodySick","policeUniform","combatUniform","rmb"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["politicsPositivePerson","politicsNegativePerson","taintedStars","violationPerson","violationFlag","chineseFlag","violentIncident","march","bloodySick","policeUniform","combatUniform","rmb"]'],
],
],
],
@@ -14554,11 +7597,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["porn"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["porn"]'],
],
],
],
@@ -14569,11 +7608,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["strictlyPorn","positivePolitics","negativePolitics","politicsPublicOpinion","strictRude"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["strictlyPorn","positivePolitics","negativePolitics","politicsPublicOpinion","strictRude"]'],
],
],
],
@@ -14584,11 +7619,7 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["drug","gamble","sick"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["drug","gamble","sick"]'],
],
],
],
@@ -14605,22 +7636,13 @@
'Categories' => [
'description' => '类别。',
'type' => 'array',
- 'items' => [
- 'description' => '类别。',
- 'type' => 'string',
- 'example' => '["strictlyPorn","positivePolitics","negativePolitics","politicsPublicOpinion","strictRude"]',
- ],
+ 'items' => ['description' => '类别。', 'type' => 'string', 'example' => '["strictlyPorn","positivePolitics","negativePolitics","politicsPublicOpinion","strictRude"]'],
],
],
],
],
],
- 'IncludeChannel' => [
- 'description' => '是否包含三方渠道的算法-0:不包含-1:包含',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'IncludeChannel' => ['description' => '是否包含三方渠道的算法-0:不包含-1:包含', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
],
@@ -14633,14 +7655,8 @@
],
'StopOssIncrementCheck' => [
'summary' => '停止增量扫描任务。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14652,9 +7668,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102734',
- 'abilityTreeNodes' => [
- 'FEATURElvwangSIW14U',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangSIW14U'],
],
'parameters' => [],
'responses' => [
@@ -14662,11 +7676,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -14676,14 +7686,8 @@
],
'GetAuditItemDetail' => [
'summary' => '机审结果详情',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14695,30 +7699,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '118733',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '媒体类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '媒体类型。', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxx-xxx',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'xxxx-xxx'],
],
],
'responses' => [
@@ -14726,31 +7718,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ApiTs' => [
- 'description' => '机审时间',
- 'type' => 'string',
- 'example' => '2023-07-20 09:00:13 +0800'."\n",
- ],
- 'ApiResult' => [
- 'description' => '机审结果',
- 'type' => 'string',
- 'example' => 'block',
- ],
- 'ApiRiskType' => [
- 'description' => '机审命中详情',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'NewUrl' => [
- 'description' => '原始文件链接地址。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ApiTs' => ['description' => '机审时间', 'type' => 'string', 'example' => '2023-07-20 09:00:13 +0800'."\n"],
+ 'ApiResult' => ['description' => '机审结果', 'type' => 'string', 'example' => 'block'],
+ 'ApiRiskType' => ['description' => '机审命中详情', 'type' => 'string', 'example' => 'xx'],
+ 'NewUrl' => ['description' => '原始文件链接地址。', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -14760,13 +7732,8 @@
],
'AuditItemSubmit' => [
'summary' => '提交复审的结果。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14779,9 +7746,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '118738',
- 'abilityTreeNodes' => [
- 'FEATURElvwangIBEW89',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangIBEW89'],
],
'parameters' => [
[
@@ -14796,25 +7761,9 @@
'description' => '请求数据。',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '人审结果id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '11234',
- ],
- 'CustomResult' => [
- 'description' => '复审结果:-normal:正常 -illegal:违规',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'illegal',
- ],
- 'CustomRiskType' => [
- 'description' => '违规类型:涉政、涉黄、暴恐、图文违规',
- 'type' => 'string',
- 'required' => false,
- 'example' => '涉政',
- ],
+ 'Id' => ['description' => '人审结果id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11234'],
+ 'CustomResult' => ['description' => '复审结果:-normal:正常 -illegal:违规', 'type' => 'string', 'required' => false, 'example' => 'illegal'],
+ 'CustomRiskType' => ['description' => '违规类型:涉政、涉黄、暴恐、图文违规', 'type' => 'string', 'required' => false, 'example' => '涉政'],
],
'required' => false,
],
@@ -14828,16 +7777,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的id。',
- 'type' => 'string',
- 'example' => 'E1677098-XXXX-XXXX-XXXX-XX850C31980E',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'RequestId' => ['description' => '本次请求的id。', 'type' => 'string', 'example' => 'E1677098-XXXX-XXXX-XXXX-XX850C31980E'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'True'],
],
],
],
@@ -14850,14 +7791,8 @@
],
'GetAuditUserConf' => [
'summary' => '人审等控制台配置信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14869,9 +7804,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '118683',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [],
'responses' => [
@@ -14879,26 +7812,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'CustomAudit' => [
- 'description' => '是否开启内容人审功能',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'CustomAudit' => ['description' => '是否开启内容人审功能', 'type' => 'boolean', 'example' => 'True'],
'UserLabels' => [
'description' => '复审标签',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => '[]',
- 'description' => '复审标签',
- ],
+ 'items' => ['type' => 'string', 'example' => '[]', 'description' => '复审标签'],
'description' => '复审标签',
],
],
@@ -14907,11 +7828,7 @@
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'description' => '人审标签',
- 'example' => '[]',
- ],
+ 'items' => ['type' => 'string', 'description' => '人审标签', 'example' => '[]'],
'description' => '人审标签',
],
],
@@ -14924,14 +7841,8 @@
],
'GetAuditItemList' => [
'summary' => '人审结果列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14943,132 +7854,68 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '118727',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '媒体类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '媒体类型。', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-07-13 00:00:00 +0800',
- ],
+ 'schema' => ['description' => '开始时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-07-13 00:00:00 +0800'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-21 16:08:38 +0800',
- ],
+ 'schema' => ['description' => '结束时间。具体为 YYYY-MM-DD HH:mm:ss(默认时区 UTC+08:00)', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38 +0800'],
],
[
'name' => 'BizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '业务场景。', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
'name' => 'RcpResult',
'in' => 'query',
- 'schema' => [
- 'description' => '人审结果',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'noAudit',
- ],
+ 'schema' => ['description' => '人审结果', 'type' => 'string', 'required' => false, 'example' => 'noAudit'],
],
[
'name' => 'RcpRiskType',
'in' => 'query',
- 'schema' => [
- 'description' => '人审违规类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '人审违规类型', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'CustomResult',
'in' => 'query',
- 'schema' => [
- 'description' => '复审结果',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'noAudit',
- ],
+ 'schema' => ['description' => '复审结果', 'type' => 'string', 'required' => false, 'example' => 'noAudit'],
],
[
'name' => 'CustomRiskType',
'in' => 'query',
- 'schema' => [
- 'description' => '复审违规类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '复审违规类型', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4f3fa36f77174c0985e400c1a02a8f4c',
- ],
+ 'schema' => ['description' => '数据ID。', 'type' => 'string', 'required' => false, 'example' => '4f3fa36f77174c0985e400c1a02a8f4c'],
],
],
'responses' => [
@@ -15076,126 +7923,34 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1697',
- ],
- 'Create' => [
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2023-07-13 00:00:00 +0800'."\n",
- ],
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '104813*****2399',
- ],
- 'SubUid' => [
- 'description' => '子账号ID',
- 'type' => 'string',
- 'example' => '20252***0827833349',
- ],
- 'BizType' => [
- 'description' => '业务场景。',
- 'type' => 'string',
- 'example' => 'recommend_social_template_01',
- ],
- 'RcpTs' => [
- 'description' => '人审时间',
- 'type' => 'string',
- 'example' => '2023-07-13 00:00:00 +0800'."\n",
- ],
- 'RcpResult' => [
- 'description' => '人审结果',
- 'type' => 'string',
- 'example' => 'noAudit',
- ],
- 'RcpRiskType' => [
- 'description' => '人审违规类型',
- 'type' => 'string',
- 'example' => 'politics',
- ],
- 'CustomTs' => [
- 'description' => '复审时间',
- 'type' => 'string',
- 'example' => '2023-07-13 00:00:00 +0800'."\n",
- ],
- 'CustomResult' => [
- 'description' => '复审结果',
- 'type' => 'string',
- 'example' => 'noAudit',
- ],
- 'CustomRiskType' => [
- 'description' => '复审违规类型',
- 'type' => 'string',
- 'example' => 'politics',
- ],
- 'Operator' => [
- 'description' => '审核员的用户名。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'DataId' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'example' => '4f3fa36f77174c0985e400c1a02a8f4c',
- ],
- 'Type' => [
- 'description' => '检测类型。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'Content' => [
- 'description' => '审核内容。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Url' => [
- 'description' => '任务URL。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Thumbnail' => [
- 'description' => '缩略图地址。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1697'],
+ 'Create' => ['description' => '创建时间', 'type' => 'string', 'example' => '2023-07-13 00:00:00 +0800'."\n"],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '104813*****2399'],
+ 'SubUid' => ['description' => '子账号ID', 'type' => 'string', 'example' => '20252***0827833349'],
+ 'BizType' => ['description' => '业务场景。', 'type' => 'string', 'example' => 'recommend_social_template_01'],
+ 'RcpTs' => ['description' => '人审时间', 'type' => 'string', 'example' => '2023-07-13 00:00:00 +0800'."\n"],
+ 'RcpResult' => ['description' => '人审结果', 'type' => 'string', 'example' => 'noAudit'],
+ 'RcpRiskType' => ['description' => '人审违规类型', 'type' => 'string', 'example' => 'politics'],
+ 'CustomTs' => ['description' => '复审时间', 'type' => 'string', 'example' => '2023-07-13 00:00:00 +0800'."\n"],
+ 'CustomResult' => ['description' => '复审结果', 'type' => 'string', 'example' => 'noAudit'],
+ 'CustomRiskType' => ['description' => '复审违规类型', 'type' => 'string', 'example' => 'politics'],
+ 'Operator' => ['description' => '审核员的用户名。', 'type' => 'string', 'example' => 'xx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xx'],
+ 'DataId' => ['description' => '数据ID。', 'type' => 'string', 'example' => '4f3fa36f77174c0985e400c1a02a8f4c'],
+ 'Type' => ['description' => '检测类型。', 'type' => 'string', 'example' => '0'],
+ 'Content' => ['description' => '审核内容。', 'type' => 'string', 'example' => 'xx'],
+ 'Url' => ['description' => '任务URL。', 'type' => 'string', 'example' => 'xx'],
+ 'Thumbnail' => ['description' => '缩略图地址。', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -15208,14 +7963,8 @@
],
'DescribeOssConfiguration' => [
'summary' => '获取oss检测配置',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15228,9 +7977,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '200286',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [],
'responses' => [
@@ -15240,31 +7987,14 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'InvalidTaskIds' => [
- 'description' => '无效的任务ID',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'InvalidTaskIds' => ['description' => '无效的任务ID', 'type' => 'string', 'example' => 'xxx'],
'ValidIncScanUsers' => [
'description' => '有效的用户扫描配置列表',
'type' => 'array',
@@ -15272,125 +8002,57 @@
'description' => '扫描配置对象',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => '用户uid',
- 'type' => 'string',
- 'example' => '123xxxxxxxx',
- ],
+ 'Uid' => ['description' => '用户uid', 'type' => 'string', 'example' => '123xxxxxxxx'],
'Buckets' => [
'description' => 'buckt列表',
'type' => 'array',
- 'items' => [
- 'description' => 'bucket名称',
- 'type' => 'string',
- 'example' => 'test_bucket',
- ],
+ 'items' => ['description' => 'bucket名称', 'type' => 'string', 'example' => 'test_bucket'],
],
'Scenes' => [
'description' => '扫描场景列表',
'type' => 'array',
- 'items' => [
- 'description' => '扫描场景',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'items' => ['description' => '扫描场景', 'type' => 'string', 'example' => 'porn'],
],
'ImageScenes' => [
'description' => '图片扫描场景',
'type' => 'array',
- 'items' => [
- 'description' => '图片扫描场景',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'items' => ['description' => '图片扫描场景', 'type' => 'string', 'example' => 'porn'],
],
'ImageConf' => [
'description' => '图片扫描配置',
'type' => 'object',
'properties' => [
- 'Interval' => [
- 'description' => '截帧间隔',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MaxFrames' => [
- 'description' => '最大帧数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'ScanImageNoFileType' => [
- 'description' => '扫描无后缀图片文件',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Interval' => ['description' => '截帧间隔', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MaxFrames' => ['description' => '最大帧数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'ScanImageNoFileType' => ['description' => '扫描无后缀图片文件', 'type' => 'boolean', 'example' => 'true'],
],
],
'VideoScenes' => [
'description' => '视频扫描场景',
'type' => 'array',
- 'items' => [
- 'description' => '视频扫描场景',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'items' => ['description' => '视频扫描场景', 'type' => 'string', 'example' => 'porn'],
],
'VideoConf' => [
'description' => '视频扫描配置',
'type' => 'object',
'properties' => [
- 'Interval' => [
- 'description' => '截帧频率,单位:秒/帧',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'MaxFrames' => [
- 'description' => '单视频截帧上限',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '999',
- ],
- 'MaxSize' => [
- 'description' => '单视频大小上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '104857600',
- ],
+ 'Interval' => ['description' => '截帧频率,单位:秒/帧', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'MaxFrames' => ['description' => '单视频截帧上限', 'type' => 'integer', 'format' => 'int32', 'example' => '999'],
+ 'MaxSize' => ['description' => '单视频大小上限', 'type' => 'integer', 'format' => 'int64', 'example' => '104857600'],
],
],
'AudioScenes' => [
'description' => '语音扫描场景列表',
'type' => 'array',
- 'items' => [
- 'description' => '语音扫描场景',
- 'type' => 'string',
- 'example' => 'antispam',
- ],
+ 'items' => ['description' => '语音扫描场景', 'type' => 'string', 'example' => 'antispam'],
],
'AudioConf' => [
'description' => '语音检测配置',
'type' => 'object',
'properties' => [
- 'Interval' => [
- 'description' => '截帧间隔',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MaxFrames' => [
- 'description' => '最大帧数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MaxSize' => [
- 'description' => '单音频大小上限',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10485760',
- ],
+ 'Interval' => ['description' => '截帧间隔', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MaxFrames' => ['description' => '最大帧数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MaxSize' => ['description' => '单音频大小上限', 'type' => 'integer', 'format' => 'int64', 'example' => '10485760'],
],
],
'BucketInfos' => [
@@ -15400,55 +8062,29 @@
'description' => 'bucket信息对象',
'type' => 'object',
'properties' => [
- 'BucketName' => [
- 'description' => 'Bucket名称',
- 'type' => 'string',
- 'example' => 'test_bucket',
- ],
+ 'BucketName' => ['description' => 'Bucket名称', 'type' => 'string', 'example' => 'test_bucket'],
'Prefixes' => [
'description' => '前缀匹配配置',
'type' => 'array',
- 'items' => [
- 'description' => '前缀',
- 'type' => 'string',
- 'example' => 'test/',
- ],
- ],
- 'Region' => [
- 'description' => '区域',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'Type' => [
- 'description' => '前缀匹配规则,exclude:不包含,include:包含',
- 'type' => 'string',
- 'example' => 'include',
+ 'items' => ['description' => '前缀', 'type' => 'string', 'example' => 'test/'],
],
+ 'Region' => ['description' => '区域', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'Type' => ['description' => '前缀匹配规则,exclude:不包含,include:包含', 'type' => 'string', 'example' => 'include'],
],
],
],
- 'BizType' => [
- 'description' => 'bizType',
- 'type' => 'string',
- 'example' => 'recommend_standard_template_01',
- ],
+ 'BizType' => ['description' => 'bizType', 'type' => 'string', 'example' => 'recommend_standard_template_01'],
],
],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"Data\\": {\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"InvalidTaskIds\\": \\"xxx\\",\\n \\"ValidIncScanUsers\\": [\\n {\\n \\"Uid\\": \\"123xxxxxxxx\\",\\n \\"Buckets\\": [\\n \\"test_bucket\\"\\n ],\\n \\"Scenes\\": [\\n \\"porn\\"\\n ],\\n \\"ImageScenes\\": [\\n \\"porn\\"\\n ],\\n \\"ImageConf\\": {\\n \\"Interval\\": 1,\\n \\"MaxFrames\\": 3,\\n \\"ScanImageNoFileType\\": true\\n },\\n \\"VideoScenes\\": [\\n \\"porn\\"\\n ],\\n \\"VideoConf\\": {\\n \\"Interval\\": 3,\\n \\"MaxFrames\\": 999,\\n \\"MaxSize\\": 104857600\\n },\\n \\"AudioScenes\\": [\\n \\"antispam\\"\\n ],\\n \\"AudioConf\\": {\\n \\"Interval\\": 10,\\n \\"MaxFrames\\": 10,\\n \\"MaxSize\\": 10485760\\n },\\n \\"BucketInfos\\": [\\n {\\n \\"BucketName\\": \\"test_bucket\\",\\n \\"Prefixes\\": [\\n \\"test/\\"\\n ],\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"Type\\": \\"include\\"\\n }\\n ],\\n \\"BizType\\": \\"recommend_standard_template_01\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => 'Describe Oss Task Configuration',
'description' => '- 计费信息:该接口不计费。'."\n"
@@ -15457,21 +8093,13 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'green-cip.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'green-cip.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'green-cip.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'green-cip.cn-hangzhou.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/green/2018-05-09/api-docs.php b/data/zh_cn/green/2018-05-09/api-docs.php
index fcd3a76..360aaf9 100644
--- a/data/zh_cn/green/2018-05-09/api-docs.php
+++ b/data/zh_cn/green/2018-05-09/api-docs.php
@@ -1,165 +1,84 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'Green',
- 'version' => '2018-05-09',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'Green', 'version' => '2018-05-09'],
'directories' => [
[
'id' => 82105,
'title' => '公共',
'type' => 'directory',
- 'children' => [
- 'GetGroups',
- 'UploadCredentials',
- ],
+ 'children' => ['GetGroups', 'UploadCredentials'],
],
[
'id' => 82108,
'title' => '人脸',
'type' => 'directory',
- 'children' => [
- 'AddFaces',
- 'DeleteFaces',
- 'DetectFace',
- ],
+ 'children' => ['AddFaces', 'DeleteFaces', 'DetectFace'],
],
[
'id' => 82112,
'title' => '图像',
'type' => 'directory',
- 'children' => [
- 'ListSimilarityImages',
- 'ImageAsyncScan',
- 'ImageAsyncScanResults',
- 'ImageSyncScan',
- 'ImageAsyncManualScan',
- 'ImageAsyncManualScanResults',
- 'ImageScanFeedback',
- ],
+ 'children' => ['ListSimilarityImages', 'ImageAsyncScan', 'ImageAsyncScanResults', 'ImageSyncScan', 'ImageAsyncManualScan', 'ImageAsyncManualScanResults', 'ImageScanFeedback'],
],
[
'id' => 82120,
'title' => '相似图',
'type' => 'directory',
- 'children' => [
- 'AddSimilarityImage',
- 'AddSimilarityLibrary',
- 'DeleteSimilarityImage',
- 'DeleteSimilarityLibrary',
- 'GetSimilarityImage',
- 'GetSimilarityLibrary',
- 'ListSimilarityLibraries',
- ],
+ 'children' => ['AddSimilarityImage', 'AddSimilarityLibrary', 'DeleteSimilarityImage', 'DeleteSimilarityLibrary', 'GetSimilarityImage', 'GetSimilarityLibrary', 'ListSimilarityLibraries'],
],
[
'id' => 82128,
'title' => '视频',
'type' => 'directory',
- 'children' => [
- 'VideoAsyncScan',
- 'VideoAsyncScanResults',
- 'VideoCancelScan',
- 'VideoFeedback',
- 'VideoSyncScan',
- 'VideoAsyncManualScan',
- 'VideoAsyncManualScanResults',
- ],
+ 'children' => ['VideoAsyncScan', 'VideoAsyncScanResults', 'VideoCancelScan', 'VideoFeedback', 'VideoSyncScan', 'VideoAsyncManualScan', 'VideoAsyncManualScanResults'],
],
[
'id' => 82136,
'title' => '直播流',
'type' => 'directory',
- 'children' => [
- 'LiveStreamAsyncScan',
- 'LiveStreamAsyncScanResults',
- 'LiveStreamCancelScan',
- ],
+ 'children' => ['LiveStreamAsyncScan', 'LiveStreamAsyncScanResults', 'LiveStreamCancelScan'],
],
[
'id' => 82140,
'title' => '视频点播',
'type' => 'directory',
- 'children' => [
- 'VodAsyncScan',
- 'VodAsyncScanResults',
- ],
+ 'children' => ['VodAsyncScan', 'VodAsyncScanResults'],
],
[
'id' => 82143,
'title' => '音频',
'type' => 'directory',
- 'children' => [
- 'VoiceAsyncScan',
- 'VoiceAsyncScanResults',
- 'VoiceCancelScan',
- 'VoiceSyncScan',
- 'VoiceAsyncManualScan',
- 'VoiceAsyncManualScanResults',
- ],
+ 'children' => ['VoiceAsyncScan', 'VoiceAsyncScanResults', 'VoiceCancelScan', 'VoiceSyncScan', 'VoiceAsyncManualScan', 'VoiceAsyncManualScanResults'],
],
[
'id' => 82150,
'title' => '文本',
'type' => 'directory',
- 'children' => [
- 'TextAsyncManualScan',
- 'TextAsyncManualScanResults',
- 'TextFeedback',
- 'TextScan',
- ],
+ 'children' => ['TextAsyncManualScan', 'TextAsyncManualScanResults', 'TextFeedback', 'TextScan'],
],
[
'id' => 82155,
'title' => '文件',
'type' => 'directory',
- 'children' => [
- 'FileAsyncScan',
- 'FileAsyncScanResults',
- ],
+ 'children' => ['FileAsyncScan', 'FileAsyncScanResults'],
],
[
'id' => 82158,
'title' => '网页',
'type' => 'directory',
- 'children' => [
- 'WebpageAsyncScan',
- 'WebpageAsyncScanResults',
- 'WebpageSyncScan',
- ],
+ 'children' => ['WebpageAsyncScan', 'WebpageAsyncScanResults', 'WebpageSyncScan'],
],
[
'id' => 82162,
'title' => '个体',
'type' => 'directory',
- 'children' => [
- 'AddGroups',
- 'AddPerson',
- 'DeleteGroups',
- 'DeletePerson',
- 'SetPerson',
- 'GetFaces',
- 'GetPerson',
- 'GetPersons',
- ],
+ 'children' => ['AddGroups', 'AddPerson', 'DeleteGroups', 'DeletePerson', 'SetPerson', 'GetFaces', 'GetPerson', 'GetPersons'],
],
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'AddVideoDna',
- 'AddVideoDnaGroup',
- 'DeleteVideoDnaGroup',
- 'DeleteVideoDna',
- 'VoiceIdentityCheck',
- 'VoiceIdentityRegister',
- 'VoiceIdentityStartCheck',
- 'VoiceIdentityStartRegister',
- 'VoiceIdentityUnregister',
- 'FileAsyncScanV2',
- ],
+ 'children' => ['AddVideoDna', 'AddVideoDnaGroup', 'DeleteVideoDnaGroup', 'DeleteVideoDna', 'VoiceIdentityCheck', 'VoiceIdentityRegister', 'VoiceIdentityStartCheck', 'VoiceIdentityStartRegister', 'VoiceIdentityUnregister', 'FileAsyncScanV2'],
],
],
'components' => [
@@ -169,13 +88,8 @@
'GetGroups' => [
'summary' => '获取一个账号下的所有个体分组信息。',
'path' => '/green/sface/groups',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -186,30 +100,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102565',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -217,18 +119,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -239,13 +135,8 @@
'UploadCredentials' => [
'summary' => '文件上传前需要生成上传凭证。',
'path' => '/green/credentials/uploadcredentials',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -256,30 +147,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102588',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXDSBJQ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXDSBJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -287,11 +166,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -306,13 +181,8 @@
'AddFaces' => [
'summary' => '向个体中增加人脸图片,用于检索,需要提前创建个体。',
'path' => '/green/sface/face/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -323,30 +193,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102546',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxxxx\\"}'],
],
],
'responses' => [
@@ -354,18 +212,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -377,13 +229,8 @@
'DeleteFaces' => [
'summary' => '从一个个体库中删除一张或者多张指定个体对应的人脸图片。',
'path' => '/green/sface/face/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -394,30 +241,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102553',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -425,18 +260,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -447,13 +276,8 @@
'DetectFace' => [
'summary' => '检测一个指定人脸图像的属性内容(比如是否微笑、是否戴眼镜)。',
'path' => '/green/face/detect',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -465,20 +289,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102560',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -486,31 +303,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '27A1595D-E049-5589-9A19-49B823B42363',
- ],
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '27A1595D-E049-5589-9A19-49B823B42363'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"27A1595D-E049-5589-9A19-49B823B42363\\"\\n}","type":"json"}]',
'title' => '人脸检测定位',
],
'ListSimilarityImages' => [
'summary' => '查询指定图库下的所有图片样本及其元信息。',
'path' => '/green/similarity/image/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -521,20 +327,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102576',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -542,11 +341,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -561,13 +356,8 @@
'ImageAsyncScan' => [
'summary' => '对图片进行多个风险场景的识别,包括色情、暴恐敏感、文字、人脸、广告、二维码识别。',
'path' => '/green/image/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -578,20 +368,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102572',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -599,18 +382,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -621,13 +398,8 @@
'ImageAsyncScanResults' => [
'summary' => '获取异步图片检测结果。',
'path' => '/green/image/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -638,20 +410,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102573',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -659,18 +424,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -681,13 +440,8 @@
'ImageSyncScan' => [
'summary' => '检测图片中是否包含风险内容。',
'path' => '/green/image/scan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -698,20 +452,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102575',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -719,11 +466,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -734,13 +477,8 @@
'ImageAsyncManualScan' => [
'summary' => '提交图像人工审核请求。',
'path' => '/green/image/manual/asyncScan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -753,20 +491,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102570',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHBD2RF',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHBD2RF'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -774,31 +505,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => '图片人工审核',
],
'ImageAsyncManualScanResults' => [
'summary' => '获取图片人工审核结果。',
'path' => '/green/image/manual/scan/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -811,20 +531,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102571',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHBD2RF',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHBD2RF'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -832,31 +545,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => '获取图片人工审核结果',
],
'ImageScanFeedback' => [
'summary' => '反馈机器识别不准确的图像。',
'path' => '/green/image/feedback',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -868,20 +570,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102574',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -889,18 +584,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -911,13 +600,8 @@
'AddSimilarityImage' => [
'summary' => '向一个图库中添加一张或者多张图像用于检索。',
'path' => '/green/similarity/image/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -928,20 +612,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102549',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -949,31 +626,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => '增加相似图样本',
],
'AddSimilarityLibrary' => [
'summary' => '一个账号(uid)下可以创建一个或者多个相似图库,用于检索图像。',
'path' => '/green/similarity/library/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -984,20 +650,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102550',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1005,31 +664,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => '新增一个相似图样本图库',
],
'DeleteSimilarityImage' => [
'summary' => '删除相似图库中的一张或者多张图片。',
'path' => '/green/similarity/image/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1040,20 +688,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102556',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1061,31 +702,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => '移除相似图样本',
],
'DeleteSimilarityLibrary' => [
'summary' => '删除一个账号下的一个或者多个相似图库。',
'path' => '/green/similarity/library/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1096,20 +726,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102557',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1117,31 +740,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => '删除指定的相似图库',
],
'GetSimilarityImage' => [
'summary' => '查询指定相似图库中样本图片的元信息。',
'path' => '/green/similarity/image/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1152,20 +764,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102568',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1173,18 +778,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -1195,13 +794,8 @@
'GetSimilarityLibrary' => [
'summary' => '查询一个账号下的所有图库信息。',
'path' => '/green/similarity/library/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1212,20 +806,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102569',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1233,18 +820,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -1255,13 +836,8 @@
'ListSimilarityLibraries' => [
'summary' => '查询一个账号下所有相似图库及其元信息。',
'path' => '/green/similarity/library/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1272,20 +848,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102577',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1293,11 +862,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1312,13 +877,8 @@
'VideoAsyncScan' => [
'summary' => '提交视频文件异步风险检测请求。',
'path' => '/green/video/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1329,20 +889,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102591',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE94J2O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE94J2O'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1350,11 +903,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1365,13 +914,8 @@
'VideoAsyncScanResults' => [
'summary' => '获取视频文件的人工审核结果,结果以json形式返回。',
'path' => '/green/video/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1382,20 +926,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102592',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE94J2O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE94J2O'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1403,11 +940,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1422,13 +955,8 @@
'VideoCancelScan' => [
'summary' => '停止视频风险检测。',
'path' => '/green/video/cancelscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1439,20 +967,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102593',
- 'abilityTreeNodes' => [
- 'FEATURElvwang3N7S58',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang3N7S58'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端请求。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端请求。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1460,11 +981,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1479,13 +996,8 @@
'VideoFeedback' => [
'summary' => '反馈机器识别不准确的视频信息。',
'path' => '/green/video/feedback',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1497,20 +1009,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102594',
- 'abilityTreeNodes' => [
- 'FEATURElvwangUIZ18F',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangUIZ18F'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1518,11 +1023,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1533,13 +1034,8 @@
'VideoSyncScan' => [
'summary' => '检测视频中是否含有风险内容。',
'path' => '/green/video/syncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1550,20 +1046,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102595',
- 'abilityTreeNodes' => [
- 'FEATURElvwangEXUNDN',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangEXUNDN'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1571,11 +1060,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1590,13 +1075,8 @@
'VideoAsyncManualScan' => [
'summary' => '提交异步视频文件人工审核请求。',
'path' => '/green/video/manual/asyncScan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1609,20 +1089,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102589',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPHE82O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPHE82O'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1630,11 +1103,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1645,13 +1114,8 @@
'VideoAsyncManualScanResults' => [
'summary' => '获取视频文件的人工审核结果,结果以json形式返回。',
'path' => '/green/video/manual/scan/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1664,20 +1128,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102590',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPHE82O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPHE82O'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1685,11 +1142,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1700,13 +1153,8 @@
'LiveStreamAsyncScan' => [
'summary' => '提交直播流异步检测请求,检测直播中的风险内容。',
'path' => '/green/livestream/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1717,20 +1165,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102578',
- 'abilityTreeNodes' => [
- 'FEATURElvwangVSDW81',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangVSDW81'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1738,11 +1179,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1757,13 +1194,8 @@
'LiveStreamAsyncScanResults' => [
'summary' => '获取直播流异步检测结果。',
'path' => '/green/livestream/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1774,20 +1206,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102579',
- 'abilityTreeNodes' => [
- 'FEATURElvwangEXUNDN',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangEXUNDN'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1795,11 +1220,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1814,13 +1235,8 @@
'LiveStreamCancelScan' => [
'summary' => '取消正在检测的直播流任务。',
'path' => '/green/livestream/cancelscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1831,20 +1247,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102581',
- 'abilityTreeNodes' => [
- 'FEATURElvwangEXUNDN',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangEXUNDN'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1852,11 +1261,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1872,13 +1277,8 @@
'VodAsyncScan' => [
'summary' => '检测点播视频中是否含有风险内容。',
'path' => '/green/vod/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1889,20 +1289,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102596',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYATUIY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYATUIY'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1910,11 +1303,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1929,13 +1318,8 @@
'VodAsyncScanResults' => [
'summary' => '获取点播视频异步扫描结果。',
'path' => '/green/vod/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1946,20 +1330,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102597',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYATUIY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYATUIY'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -1967,11 +1344,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求的ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求的ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1986,13 +1359,8 @@
'VoiceAsyncScan' => [
'summary' => '提交语音异步检测任务,检测语音文件或者语音流中的风险。',
'path' => '/green/voice/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2003,20 +1371,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102600',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYATUIY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYATUIY'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2024,11 +1385,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2043,13 +1400,8 @@
'VoiceAsyncScanResults' => [
'summary' => '查询语音流或语音文件的检测结果。',
'path' => '/green/voice/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2060,20 +1412,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102601',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2NXRK3',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2NXRK3'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2081,11 +1426,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2100,13 +1441,8 @@
'VoiceCancelScan' => [
'summary' => '取消已经提交并正在检测中的语音检测任务。',
'path' => '/green/voice/cancelscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2117,20 +1453,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102602',
- 'abilityTreeNodes' => [
- 'FEATURElvwangKSNO5H',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangKSNO5H'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2138,11 +1467,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2157,13 +1482,8 @@
'VoiceSyncScan' => [
'summary' => '检测实时语音流或语音文件中的垃圾内容。',
'path' => '/green/voice/syncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2176,31 +1496,18 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102608',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2B2SWY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2B2SWY'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2208,11 +1515,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2227,13 +1530,8 @@
'VoiceAsyncManualScan' => [
'summary' => '提交语音文件到内容安全服务进行人工审核,结果需要异步获取。',
'path' => '/green/voice/manual/asyncScan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2246,20 +1544,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102598',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYI9A19',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYI9A19'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2267,11 +1558,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2286,13 +1573,8 @@
'VoiceAsyncManualScanResults' => [
'summary' => '查询语音人工审核的结果,结果以json格式返回。',
'path' => '/green/voice/manual/scan/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2305,20 +1587,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102599',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYATUIY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYATUIY'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2326,11 +1601,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2345,13 +1616,8 @@
'TextAsyncManualScan' => [
'summary' => '提交文本异步人工审核请求。',
'path' => '/green/text/manual/asyncScan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2364,20 +1630,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102584',
- 'abilityTreeNodes' => [
- 'FEATURElvwangEJSWOI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangEJSWOI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2385,11 +1644,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2404,13 +1659,8 @@
'TextAsyncManualScanResults' => [
'summary' => '获取文本人工审核结果,结果以json形式返回。',
'path' => '/green/text/manual/scan/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2423,20 +1673,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102585',
- 'abilityTreeNodes' => [
- 'FEATURElvwangEJSWOI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangEJSWOI'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2444,11 +1687,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2463,13 +1702,8 @@
'TextFeedback' => [
'summary' => '反馈机器识别不准确的文本内容。',
'path' => '/green/text/feedback',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2481,20 +1715,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102586',
- 'abilityTreeNodes' => [
- 'FEATURElvwangUHMJJS',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangUHMJJS'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2502,11 +1729,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2521,13 +1744,8 @@
'TextScan' => [
'summary' => '文本垃圾检测和文本关键词检测。',
'path' => '/green/text/scan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2539,20 +1757,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102587',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2560,31 +1771,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => '文本扫描',
],
'FileAsyncScan' => [
'summary' => '异步检测pdf、word等文档文件中的风险内容。',
'path' => '/green/file/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2595,20 +1795,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102561',
- 'abilityTreeNodes' => [
- 'FEATURElvwang99KFOP',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang99KFOP'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2616,18 +1809,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -2638,13 +1825,8 @@
'FileAsyncScanResults' => [
'summary' => '查询异步文件扫描的检测结果。',
'path' => '/green/file/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2655,20 +1837,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102562',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYVRTEV',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYVRTEV'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2676,18 +1851,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -2698,13 +1867,8 @@
'WebpageAsyncScan' => [
'summary' => '提交HTML网页的异步风险扫描请求,结果需要异步获取。',
'path' => '/green/webpage/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2715,20 +1879,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102609',
- 'abilityTreeNodes' => [
- 'FEATURElvwangQYU7PN',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangQYU7PN'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2736,11 +1893,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2751,13 +1904,8 @@
'WebpageAsyncScanResults' => [
'summary' => '查询HTML页面的风险检测结果,结果以json格式返回。',
'path' => '/green/webpage/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2768,20 +1916,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102610',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2789,11 +1930,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2804,13 +1941,8 @@
'WebpageSyncScan' => [
'summary' => '同步检测html页面中的内容风险。',
'path' => '/green/webpage/scan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2821,20 +1953,13 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102611',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2842,31 +1967,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => '网页同步检测内容审核',
],
'AddGroups' => [
'summary' => '将一个个体添加到一个指定的分组中,检索个体时必须指定分组。',
'path' => '/green/sface/person/groups/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2877,30 +1991,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102547',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxx\\"}'],
],
],
'responses' => [
@@ -2908,18 +2010,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -2930,13 +2026,8 @@
'AddPerson' => [
'summary' => '创建一个个体,个体有姓名、id等可选属性。',
'path' => '/green/sface/person/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2947,30 +2038,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102548',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -2978,18 +2057,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3001,13 +2074,8 @@
'DeleteGroups' => [
'summary' => '删除一个或者多个个体分组。',
'path' => '/green/sface/person/groups/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3018,30 +2086,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102554',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3049,18 +2105,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3071,13 +2121,8 @@
'DeletePerson' => [
'summary' => '从一个个体库中删除一个或者多个个体。',
'path' => '/green/sface/person/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3088,30 +2133,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102555',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3119,18 +2152,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3141,13 +2168,8 @@
'SetPerson' => [
'summary' => '设置个体的姓名、id等信息。',
'path' => '/green/sface/person/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3158,30 +2180,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102583',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3189,11 +2199,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3208,13 +2214,8 @@
'GetFaces' => [
'summary' => '个体名称、关联的人脸图片ID和所属个体组ID等。',
'path' => '/green/sface/faces',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3226,30 +2227,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102564',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3257,18 +2246,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3280,13 +2263,8 @@
'GetPerson' => [
'summary' => '获取指定个体的属性信息。',
'path' => '/green/sface/person',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3297,30 +2275,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102566',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3328,18 +2294,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3350,13 +2310,8 @@
'GetPersons' => [
'summary' => '获取指定个体分组中的个体信息。',
'path' => '/green/sface/group/persons',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3367,30 +2322,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102567',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3398,18 +2341,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3420,13 +2357,8 @@
'AddVideoDna' => [
'summary' => '添加视频dna。',
'path' => '/green/video/dna/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3437,20 +2369,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102551',
- 'abilityTreeNodes' => [
- 'FEATURElvwangUCGUEA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangUCGUEA'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3458,18 +2383,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3480,13 +2399,8 @@
'AddVideoDnaGroup' => [
'summary' => '添加视频dna分组',
'path' => '/green/video/dna/group/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3497,20 +2411,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102552',
- 'abilityTreeNodes' => [
- 'FEATURElvwangUCGUEA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangUCGUEA'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3518,18 +2425,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3540,13 +2441,8 @@
'DeleteVideoDnaGroup' => [
'summary' => '删除视频dna分组。',
'path' => '/green/video/dna/group/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3557,20 +2453,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102559',
- 'abilityTreeNodes' => [
- 'FEATURElvwangUCGUEA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangUCGUEA'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3578,18 +2467,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3600,13 +2483,8 @@
'DeleteVideoDna' => [
'summary' => '删除视频dna。',
'path' => '/green/video/dna/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3617,20 +2495,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102558',
- 'abilityTreeNodes' => [
- 'FEATURElvwangUCGUEA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangUCGUEA'],
],
'parameters' => [
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3638,18 +2509,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3661,13 +2526,8 @@
'VoiceIdentityCheck' => [
'summary' => '设置语音人工审核状态',
'path' => '/green/voice/auth/check',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3678,30 +2538,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102603',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3709,11 +2557,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3728,13 +2572,8 @@
'VoiceIdentityRegister' => [
'summary' => '新增语音个体识别。',
'path' => '/green/voice/auth/register',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3745,30 +2584,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102604',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3776,11 +2603,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -3795,13 +2618,8 @@
'VoiceIdentityStartCheck' => [
'summary' => '设置实体语音识别算法。',
'path' => '/green/voice/auth/start/check',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3812,30 +2630,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102605',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3843,11 +2649,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3862,13 +2664,8 @@
'VoiceIdentityStartRegister' => [
'summary' => '启动实体语音识别算法。',
'path' => '/green/voice/auth/start/register',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3879,30 +2676,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102606',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3910,11 +2695,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3930,13 +2711,8 @@
'VoiceIdentityUnregister' => [
'summary' => '注销语音注册人脸。',
'path' => '/green/voice/auth/unregister',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3947,30 +2723,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102607',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ClientInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"userId\\":\\"xxxxxx\\"}',
- ],
+ 'schema' => ['description' => '客户端信息。', 'type' => 'string', 'required' => false, 'example' => '{\\"userId\\":\\"xxxxxx\\"}'],
],
],
'responses' => [
@@ -3978,11 +2742,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -3997,13 +2757,8 @@
'FileAsyncScanV2' => [
'summary' => '文件检测新版本。支持常见的office文档格式。',
'path' => '/green/file/asyncscanv2',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4015,9 +2770,7 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '159604',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYVRTEV',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYVRTEV'],
],
'parameters' => [],
'responses' => [
@@ -4027,38 +2780,24 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'DA36A1DA-C466-538D-AD52-E64D75597750',
- ],
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'DA36A1DA-C466-538D-AD52-E64D75597750'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DA36A1DA-C466-538D-AD52-E64D75597750\\"\\n}","type":"json"}]',
'title' => '文档检测新版本',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'green-cip.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'green-cip.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'green-cip.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'green-cip.cn-hangzhou.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/green/2022-03-02/api-docs.php b/data/zh_cn/green/2022-03-02/api-docs.php
index 2691a0f..ac1ced1 100644
--- a/data/zh_cn/green/2022-03-02/api-docs.php
+++ b/data/zh_cn/green/2022-03-02/api-docs.php
@@ -1,10 +1,6 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Green',
- 'version' => '2022-03-02',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Green', 'version' => '2022-03-02'],
'directories' => [
'TextModerationPlus',
'TextModeration',
@@ -20,90 +16,45 @@
'FileModeration',
'DescribeFileModerationResult',
[
- 'id' => 188835,
- 'title' => '其他',
- 'type' => 'directory',
- 'children' => [
- 'DescribeImageResultExt',
- 'UrlAsyncModeration',
- 'DescribeUrlModerationResult',
- 'DescribeUploadToken',
- 'ImageBatchModeration',
- 'ManualCallback',
- 'ManualModeration',
- 'ManualModerationResult',
- ],
- ],
- [
- 'id' => 0,
- 'title' => '其它',
+ 'children' => ['DescribeImageResultExt', 'UrlAsyncModeration', 'DescribeUrlModerationResult', 'DescribeUploadToken', 'ImageBatchModeration', 'ManualCallback', 'ManualModeration', 'ManualModerationResult', 'DescribeMultimodalModerationResult', 'MultiModalAgent', 'MultiModalGuard', 'MultiModalGuardAsync', 'MultiModalGuardAsyncResult', 'MultiModalGuardForBase64', 'MultiModalGuardWs', 'MultimodalAsyncModeration'],
'type' => 'directory',
- 'children' => [
- 'MultiModalGuard',
- 'MultiModalAgent',
- ],
+ 'title' => '其他',
+ 'id' => 35011,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'TextModerationPlus' => [
- 'summary' => '文本审核增强版升级PLUS服务,面向大语言模型的输入指令和生成文字分别提供审核服务,特定的模型输入指令支持检索标准回答,同时开放审核标签的开启和关闭功能。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeFileModerationResult' => [
+ 'summary' => '文档审核结果',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '207632',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXYAQ5C',
- ],
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '205895',
+ 'abilityTreeNodes' => ['FEATURElvwang6CEZ66'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务类型',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'chat_detection_pro' => '私聊互动内容检测_专业版',
- 'llm_response_moderation' => '大语言模型生成文字检测',
- 'llm_query_moderation' => '大语言模型输入文字检测',
- 'aigc_moderation_byllm' => 'AIGC场景文本审核大模型服务',
- 'nickname_detection_pro' => '用户昵称检测_专业版',
- 'comment_detection_pro' => '公聊评论内容检测_专业版',
- 'ugc_moderation_byllm' => 'UGC场景文本审核大模型服务',
- 'ad_compliance_detection_pro' => '广告法合规检测_专业版',
- ],
- 'example' => 'ugc_moderation_byllm',
- ],
+ 'schema' => ['description' => '文件检测增强版支持的服务', 'type' => 'string', 'required' => false, 'example' => 'document_detection'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务需要的参数集。JSON字符串格式',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "content": "测试内容"'."\n"
- .' }',
- ],
+ 'schema' => ['description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
+ .'- taskId:必填,待检测对象的URL,请确保该URL能通过公网访问到。', 'type' => 'string', 'required' => false, 'example' => '{\\"taskId\\":\\"vi_f_hPgx9PFIQISdlfA888hOFG-1yJq8v\\"}'],
],
],
'responses' => [
@@ -113,98 +64,124 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'OK'],
'Data' => [
- 'description' => '审核结果数据。',
+ 'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Result' => [
- 'description' => '结果',
+ 'DataId' => ['description' => '数据ID。', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9'],
+ 'Url' => ['description' => '文件下载URL路径。', 'type' => 'string', 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf'],
+ 'DocType' => ['description' => '可选,文档类型', 'type' => 'string', 'example' => 'doc'],
+ 'PageResult' => [
+ 'description' => '检测结果列表',
'type' => 'array',
'items' => [
- 'description' => '返回集合。',
+ 'description' => '结果内容',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '标签',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'RiskWords' => [
- 'description' => '命中风险关键词',
- 'type' => 'string',
- 'example' => 'XXX',
- ],
- 'CustomizedHit' => [
- 'description' => '自定义关键词命中',
+ 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ImageUrl' => ['description' => '图片地址', 'type' => 'string', 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.jpg'],
+ 'TextUrl' => ['description' => '文本内容保存地址', 'type' => 'string', 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.txt'],
+ 'ImageResult' => [
+ 'description' => '图片检测结果',
'type' => 'array',
'items' => [
- 'description' => '自定义命中',
+ 'description' => '结果内容',
'type' => 'object',
'properties' => [
- 'LibName' => [
- 'description' => '库名称',
- 'type' => 'string',
- 'example' => '测试词库',
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '这个是标题'],
+ 'Service' => ['description' => '调用的服务', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'Location' => [
+ 'description' => '位置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => '坐标点的X值。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Y' => ['description' => '坐标点的Y值。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'W' => ['description' => '坐标点的W值。', 'type' => 'integer', 'format' => 'int32', 'example' => '33'],
+ 'H' => ['description' => '坐标点的H值。', 'type' => 'integer', 'format' => 'int32', 'example' => '44'],
+ ],
],
- 'KeyWords' => [
- 'description' => '命中的关键词,逗号分隔',
- 'type' => 'string',
- 'example' => 'xxx',
+ 'LabelResult' => [
+ 'description' => '标签信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '标签', 'type' => 'string', 'example' => 'nonlabel'],
+ 'Confidence' => ['description' => '分险分', 'type' => 'number', 'format' => 'float', 'example' => '25.0'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '这个是标题'."\n"],
+ ],
+ ],
],
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
],
],
],
- 'Description' => [
- 'description' => '标签描述',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
- 'RiskPositions' => [
- 'description' => '风险词位置信息。',
+ 'TextResult' => [
+ 'description' => '文本审核结果。',
'type' => 'array',
'items' => [
- 'description' => '风险词位置信息。',
+ 'description' => '结果内容',
'type' => 'object',
'properties' => [
- 'RiskWord' => [
- 'description' => '违规关键词。',
- 'type' => 'string',
- 'example' => '词A',
- ],
- 'StartPos' => [
- 'description' => '敏感词的开始位置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '这是一个标题'],
+ 'Service' => ['description' => '服务', 'type' => 'string', 'example' => 'chat_detection'],
+ 'Text' => ['description' => '文本内容', 'type' => 'string', 'example' => '吧啦吧啦'],
+ 'TextSegment' => ['description' => '文本分段信息', 'type' => 'string', 'example' => '[0,999]'],
+ 'Labels' => ['description' => '标签的值。', 'type' => 'string', 'example' => 'porn'],
+ 'Descriptions' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似广告内容'],
+ 'RiskWords' => ['description' => '命中风险关键词', 'type' => 'string', 'example' => 'xxx'],
+ 'RiskTips' => ['description' => '命中风险详情', 'type' => 'string', 'example' => 'xxx'],
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'PageSummary' => [
+ 'description' => '汇总信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSum' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ImageSummary' => [
+ 'description' => '图片汇总信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ 'ImageLabels' => [
+ 'description' => '图片标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'contraband'],
+ 'LabelSum' => ['description' => '标签出现次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Description' => ['description' => '标签描述', 'type' => 'string', 'example' => 'test'],
],
- 'EndPos' => [
- 'description' => '敏感词的结束位置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
+ ],
+ ],
+ ],
+ ],
+ 'TextSummary' => [
+ 'description' => '文本汇总信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ 'TextLabels' => [
+ 'description' => '文本标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'contraband'],
+ 'LabelSum' => ['description' => '标签出现次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '未检测出风险'],
],
],
],
@@ -212,158 +189,529 @@
],
],
],
- 'Advice' => [
- 'description' => '建议',
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ 'AccountId' => ['description' => '客户入参AccountId', 'type' => 'string', 'example' => 'accountIdtest123'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\",\\n \\"Url\\": \\"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf\\",\\n \\"DocType\\": \\"doc\\",\\n \\"PageResult\\": [\\n {\\n \\"PageNum\\": 1,\\n \\"ImageUrl\\": \\"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.jpg\\",\\n \\"TextUrl\\": \\"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.txt\\",\\n \\"ImageResult\\": [\\n {\\n \\"Description\\": \\"这个是标题\\",\\n \\"Service\\": \\"baselineCheck\\",\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 33,\\n \\"H\\": 44\\n },\\n \\"LabelResult\\": [\\n {\\n \\"Label\\": \\"nonlabel\\",\\n \\"Confidence\\": 25,\\n \\"Description\\": \\"这个是标题\\\\n\\"\\n }\\n ],\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"TextResult\\": [\\n {\\n \\"Description\\": \\"这是一个标题\\",\\n \\"Service\\": \\"chat_detection\\",\\n \\"Text\\": \\"吧啦吧啦\\",\\n \\"TextSegment\\": \\"[0,999]\\",\\n \\"Labels\\": \\"porn\\",\\n \\"Descriptions\\": \\"疑似广告内容\\",\\n \\"RiskWords\\": \\"xxx\\",\\n \\"RiskTips\\": \\"xxx\\",\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ]\\n }\\n ],\\n \\"PageSummary\\": {\\n \\"PageSum\\": 1,\\n \\"ImageSummary\\": {\\n \\"RiskLevel\\": \\"high\\",\\n \\"ImageLabels\\": [\\n {\\n \\"Label\\": \\"contraband\\",\\n \\"LabelSum\\": 1,\\n \\"Description\\": \\"test\\"\\n }\\n ]\\n },\\n \\"TextSummary\\": {\\n \\"RiskLevel\\": \\"high\\",\\n \\"TextLabels\\": [\\n {\\n \\"Label\\": \\"contraband\\",\\n \\"LabelSum\\": 1,\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ]\\n }\\n },\\n \\"RiskLevel\\": \\"high\\",\\n \\"AccountId\\": \\"accountIdtest123\\"\\n }\\n}","type":"json"}]',
+ 'title' => '查询文档检测结果',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFileModerationResult'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeFileModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeImageModerationResult' => [
+ 'summary' => '获取图片审核增强版审核任务结果。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '198839',
+ 'abilityTreeNodes' => ['FEATURElvwangLRLIH6'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReqId',
+ 'in' => 'query',
+ 'schema' => ['description' => '图片异步审核增强版API返回的ReqId字段', 'type' => 'string', 'required' => false, 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '2881AD4F-638B-52A3-BA20-F74C5B1CEAE3'],
+ 'Code' => ['description' => '错误码,和HTTP状态码一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'],
+ 'Data' => [
+ 'description' => '图片内容检测后的结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => '2a5389eb-4ff8-4584-ac99-644e2a539aa1'],
+ 'Result' => [
+ 'description' => '图片检测的风险标签、置信分等参数结果。',
'type' => 'array',
'items' => [
- 'description' => '代答内容',
+ 'description' => '返回集合。',
'type' => 'object',
'properties' => [
- 'Answer' => [
- 'description' => '回答',
- 'type' => 'string',
- 'example' => 'XXX',
- ],
- 'HitLabel' => [
- 'description' => '命中标签',
- 'type' => 'string',
- 'example' => 'XXX',
- ],
- 'HitLibName' => [
- 'description' => '命中库名称',
- 'type' => 'string',
- 'example' => 'XXX',
- ],
+ 'Label' => ['description' => '图片内容检测运算后返回的标签。', 'type' => 'string', 'example' => 'violent_explosion'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '81.22'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '未检测出风险'],
+ 'RiskLevel' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'high'],
],
],
],
- 'Score' => [
- 'description' => '分数。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
+ 'FrameNum' => ['description' => '结果帧数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Frame' => ['description' => '图片截帧信息。', 'type' => 'string', 'example' => '[{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]'],
+ 'ReqId' => ['description' => '图片异步审核增强版API返回的reqId字段。', 'type' => 'string', 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'."\n"],
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ 'ManualTaskId' => ['description' => '人审任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'AccountId' => ['description' => '客户入参AccountId', 'type' => 'string', 'example' => '123456789'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2881AD4F-638B-52A3-BA20-F74C5B1CEAE3\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"2a5389eb-4ff8-4584-ac99-644e2a539aa1\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Confidence\\": 81.22,\\n \\"Description\\": \\"未检测出风险\\",\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"FrameNum\\": 1,\\n \\"Frame\\": \\"[{\\\\\\"result\\\\\\":[{\\\\\\"confidence\\\\\\":81.22,\\\\\\"label\\\\\\":\\\\\\"violent_explosion\\\\\\"}]}]\\",\\n \\"ReqId\\": \\"B0963D30-BAB4-562F-9ED0-7A23AEC51C7C\\\\n\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"AccountId\\": \\"123456789\\"\\n }\\n}","type":"json"}]',
+ 'title' => '查询图片异步检测结果',
+ 'description' => '- 计费信息:该接口不计费。'."\n"
+ .'- QPS限流:本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。',
+ 'responseParamsDescription' => '以下为接口返回code的含义说明,系统仅对code返回为200的请求计量计费,其他code不会计费。'."\n"
+ ."\n"
+ .'| **Code** | **说明** |'."\n"
+ .'| --- | --- |'."\n"
+ .'| 200 | 请求正常。 |'."\n"
+ .'| 280 | 检测中。 |'."\n"
+ .'| 400 | 请求参数为空。 |'."\n"
+ .'| 401 | 请求参数错误。 |'."\n"
+ .'| 402 | 请求参数长度不符合接口规定,请检查并修改。 |'."\n"
+ .'| 403 | 请求超过QPS限制,请检查并调整并发。 |'."\n"
+ .'| 404 | 传入的图片下载遇到错误,请检查或重试。 |'."\n"
+ .'| 405 | 传入的图片下载超时,可能是因为图片无法访问,请检查调整后重试。 |'."\n"
+ .'| 406 | 传入的图片过大,请检查调整图片大小后再重试。 |'."\n"
+ .'| 407 | 传入的图片格式暂不支持,请检查调整后重试。 |'."\n"
+ .'| 408 | 该账号无权限调用该接口,可能是账号未开通或者已欠费,或者调用账号未被授权访问。 |'."\n"
+ .'| 409 | 传入的reqId不存在,可能是查询间隔过快,或者已经超过30天有效期。 |'."\n"
+ .'| 500 | 系统异常。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeImageModerationResult'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeImageModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeImageResultExt' => [
+ 'summary' => '图片审核增强版辅助信息API用于获取图片审核增强版API接口识别的更多辅助信息,包含图片文字识别结果、自定义图库命中信息等。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '178655',
+ 'abilityTreeNodes' => ['FEATURElvwangLRLIH6'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReqId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '图片审核增强版API返回的requestId字段', 'type' => 'string', 'required' => false, 'example' => '638EDDC65C82AB39319A9F60'],
+ ],
+ [
+ 'name' => 'InfoType',
+ 'in' => 'formData',
+ 'schema' => ['description' => '需要获取的信息内容,多个值使用英文逗号隔开,取值:'."\n"
+ .'- customImage:自定义图库命中信息'."\n"
+ .'- textInImage:图片中文字信息', 'type' => 'string', 'required' => false, 'example' => 'customImage,textInImage'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'],
+ 'Code' => ['description' => '状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '请求信息的响应信息。', 'type' => 'string', 'example' => 'success'],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CustomImage' => [
+ 'description' => '自定义图库命中信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义图库命中信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageId' => ['description' => '图片ID。', 'type' => 'string', 'example' => '123456'],
+ 'LibName' => ['description' => '图库名。', 'type' => 'string', 'example' => '图库123'],
+ 'LibId' => ['description' => '图库ID。', 'type' => 'string', 'example' => '123456'],
+ ],
+ ],
],
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
+ 'TextInImage' => [
+ 'description' => '返回命中的图片中文字信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'OcrDatas' => [
+ 'description' => '返回识别到的图片中的文字信息。',
+ 'type' => 'array',
+ 'items' => ['description' => '文字信息。', 'type' => 'string', 'example' => 'abcd'],
+ ],
+ 'RiskWords' => [
+ 'description' => '命中风险关键词',
+ 'type' => 'array',
+ 'items' => ['description' => '文字信息。', 'type' => 'string', 'example' => 'abcd'],
+ ],
+ 'CustomTexts' => [
+ 'description' => '当命中自定义文本库时,返回自定义库ID、自定义库名称和自定义词。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => '自定义库ID', 'type' => 'string', 'example' => '123456'],
+ 'LibName' => ['description' => '自定义库名称。', 'type' => 'string', 'example' => '自定义库1'],
+ 'KeyWords' => ['description' => '自定义词,多个词用逗号分隔。', 'type' => 'string', 'example' => '自定义词1,自定义词2'],
+ ],
+ ],
+ ],
+ ],
],
- 'DataId' => [
- 'description' => '检测对象对应的数据ID。'."\n"
- .'> 如果在检测请求参数中传入了dataId,则此处返回对应的dataId。',
- 'type' => 'string',
- 'example' => 'text1234',
+ 'PublicFigure' => [
+ 'description' => '人物信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '人物信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FigureId' => ['description' => '人物ID。', 'type' => 'string', 'example' => 'yzazhzou'],
+ ],
+ ],
],
- 'SensitiveResult' => [
- 'description' => '敏感数据检测结果',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '图片辅助信息获取接口',
+ 'description' => '本接口需要配合图片审核增强版API使用,在调用图片审核增强版API接口之后,可以调用本接口,获取更多的接口检测信息。此接口免费。',
+ 'requestParamsDescription' => '建议调用图片审核增强版接口5秒钟之后查询,辅助信息存储最长时间为30天,建议您需要时及时获取辅助信息,并做好日志存储。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeImageResultExt'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeImageResultExt',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"CustomImage\\": [\\n {\\n \\"ImageId\\": \\"123456\\",\\n \\"LibName\\": \\"图库123\\",\\n \\"LibId\\": \\"123456\\"\\n }\\n ],\\n \\"TextInImage\\": {\\n \\"OcrDatas\\": [\\n \\"abcd\\"\\n ],\\n \\"RiskWords\\": [\\n \\"abcd\\"\\n ],\\n \\"CustomTexts\\": [\\n {\\n \\"LibId\\": \\"123456\\",\\n \\"LibName\\": \\"自定义库1\\",\\n \\"KeyWords\\": \\"自定义词1,自定义词2\\"\\n }\\n ]\\n },\\n \\"PublicFigure\\": [\\n {\\n \\"FigureId\\": \\"yzazhzou\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeMultimodalModerationResult' => [
+ 'summary' => '查询异步多模态检测结果',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '198839',
+ 'abilityTreeNodes' => ['FEATURElvwangLRLIH6'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReqId',
+ 'in' => 'query',
+ 'schema' => ['description' => '异步检测接口返回的ReqId字段', 'type' => 'string', 'required' => false, 'example' => 'AAAAA-BBBBB-AIXI-1314-CCCCC'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => '错误码,和HTTP状态码一致。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'OK'],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CommentDatas' => [
+ 'description' => '评论检测结果。',
'type' => 'array',
'items' => [
- 'description' => '敏感数据检测结果',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => '1234',
- ],
- 'SensitiveLevel' => [
- 'description' => '敏感等级',
- 'type' => 'string',
- 'example' => 'S1',
+ 'CommentDatas' => [
+ 'description' => '检测结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Results' => [
+ 'description' => '评论检测结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => '对 Labal 字段的说明。', 'type' => 'string', 'example' => '疑似含有烟火类内容元素'],
+ 'Label' => ['description' => '风险标签。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'violent_explosion'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
],
- 'SensitiveData' => [
- 'description' => '敏感数据列表',
+ 'Results' => [
+ 'description' => '评论检测结果。',
'type' => 'array',
'items' => [
- 'description' => '敏感数据',
- 'type' => 'string',
- 'example' => '上海',
+ 'description' => '图片审核服务类型',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => '对Labal字段的说明。', 'type' => 'string', 'example' => '疑似含有烟火类内容元素'],
+ 'Label' => ['description' => '风险标签。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'violent_explosion'],
+ ],
],
],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '省份',
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'MainData' => [
+ 'description' => '主帖检测结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Results' => [
+ 'description' => '主帖检测结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => '对 Labal 字段的说明。', 'type' => 'string', 'example' => '疑似含有烟火类内容元素'],
+ 'Label' => ['description' => '风险标签。', 'type' => 'string', 'example' => 'violent_explosion'],
+ ],
],
],
],
],
- 'AttackResult' => [
- 'description' => '提示词攻击检测结果',
+ 'ReqId' => ['description' => '异步检测接口返回的ReqId字段', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => 'data1234'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询异步多模态检测结果',
+ 'description' => '- 计费信息:该接口不计费。'."\n"
+ .'- 查询超时:建议您将查询间隔设置为30秒(即在提交异步检测任务30秒后查询结果),最长不能超出24小时,否则结果将会自动删除。'."\n"
+ .'- 本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"Data\\": {\\n \\"CommentDatas\\": [\\n {\\n \\"CommentDatas\\": [\\n {\\n \\"Results\\": [\\n {\\n \\"Description\\": \\"疑似含有烟火类内容元素\\",\\n \\"Label\\": \\"violent_explosion\\"\\n }\\n ]\\n }\\n ],\\n \\"Results\\": [\\n {\\n \\"Description\\": \\"疑似含有烟火类内容元素\\",\\n \\"Label\\": \\"violent_explosion\\"\\n }\\n ]\\n }\\n ],\\n \\"MainData\\": {\\n \\"Results\\": [\\n {\\n \\"Description\\": \\"疑似含有烟火类内容元素\\",\\n \\"Label\\": \\"violent_explosion\\"\\n }\\n ]\\n },\\n \\"ReqId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"DataId\\": \\"data1234\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeUploadToken' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '186981',
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'OK'],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessKeyId' => ['description' => '文件上传临时凭证的AccessKeyId。', 'type' => 'string', 'example' => 'STS.NUEUjvDqMuvH6oQA1TXxxH4wVR'],
+ 'AccessKeySecret' => ['description' => '临时授权secret。', 'type' => 'string', 'example' => 'xxxx'],
+ 'SecurityToken' => ['description' => '文件上传临时凭证的安全令牌。', 'type' => 'string', 'example' => 'xxxx'],
+ 'FileNamePrefix' => ['description' => '文件前缀。', 'type' => 'string', 'example' => 'upload/1xxb89/'],
+ 'OssInternalEndPoint' => ['description' => 'oss内网地址。', 'type' => 'string', 'example' => 'https://oss-cn-shanghai-internal.aliyuncs.com'],
+ 'OssInternetEndPoint' => ['description' => 'oss公网地址。', 'type' => 'string', 'example' => 'https://oss-cn-shanghai.aliyuncs.com'],
+ 'BucketName' => ['description' => '存储空间名称。', 'type' => 'string', 'example' => 'oss-cip-shanghai'],
+ 'Expiration' => ['description' => '失效时间点。', 'type' => 'integer', 'format' => 'int32', 'example' => '1720577200'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询上传token',
+ 'summary' => '查询上传token',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUploadToken'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeUploadToken',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"Data\\": {\\n \\"AccessKeyId\\": \\"STS.NUEUjvDqMuvH6oQA1TXxxH4wVR\\",\\n \\"AccessKeySecret\\": \\"xxxx\\",\\n \\"SecurityToken\\": \\"xxxx\\",\\n \\"FileNamePrefix\\": \\"upload/1xxb89/\\",\\n \\"OssInternalEndPoint\\": \\"https://oss-cn-shanghai-internal.aliyuncs.com\\",\\n \\"OssInternetEndPoint\\": \\"https://oss-cn-shanghai.aliyuncs.com\\",\\n \\"BucketName\\": \\"oss-cip-shanghai\\",\\n \\"Expiration\\": 1720577200\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeUrlModerationResult' => [
+ 'summary' => '根据 URL 异步检测返回的 ReqId查询检测结果。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '211720',
+ 'abilityTreeNodes' => ['FEATURElvwang7UL554'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReqId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'URL异步检测接口返回的ReqId字段', 'type' => 'string', 'required' => false, 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '01F9144A-2088-5D87-935B-2DB865284B1A'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9'],
+ 'ReqId' => ['description' => 'URL异步检测接口返回的ReqId字段', 'type' => 'string', 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'."\n"],
+ 'Result' => [
+ 'description' => '返回集合。',
'type' => 'array',
'items' => [
- 'description' => '提示词攻击检测结果',
+ 'description' => '返回集合。',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '标签',
- 'type' => 'string',
- 'example' => 'safe',
- ],
- 'Confidence' => [
- 'description' => '置信分',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'AttackLevel' => [
- 'description' => '攻击等级',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => 'safe',
- ],
+ 'Label' => ['description' => 'URL检测运算后返回的标签。', 'type' => 'string', 'example' => 'sexual_url'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '81.22'],
],
],
],
- 'SensitiveLevel' => [
- 'description' => '敏感等级',
- 'type' => 'string',
- 'example' => 'S0',
- ],
- 'AttackLevel' => [
- 'description' => '攻击等级',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'ManualTaskId' => [
- 'description' => '人审任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'DetectedLanguage' => [
- 'description' => '识别语种',
- 'type' => 'string',
- 'example' => 'en',
- ],
- 'TranslatedContent' => [
- 'description' => '翻译后内容',
- 'type' => 'string',
- 'example' => 'hello',
- ],
- 'AccountId' => [
- 'description' => '客户入参AccountId',
- 'type' => 'string',
- 'example' => '123456789',
- ],
- 'Ext' => [
- 'description' => '文本辅助参考信息。',
+ 'ExtraInfo' => [
+ 'description' => '补充信息。',
'type' => 'object',
'properties' => [
- 'LlmContent' => [
- 'description' => '大模型输出内容',
- 'type' => 'object',
- 'properties' => [
- 'OutputText' => [
- 'description' => '输出内容。',
- 'type' => 'string',
- 'example' => '正常。文本中无风险内容。',
- ],
- ],
- ],
+ 'IcpType' => ['description' => 'ICP备案类型。', 'type' => 'string', 'example' => '企业'],
+ 'IcpNo' => ['description' => 'ICP备案号。', 'type' => 'string', 'example' => 'ICP备123456789'],
+ 'SiteType' => ['description' => '网站类型', 'type' => 'string', 'example' => 'game'],
],
],
],
@@ -372,19 +720,36 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"porn\\",\\n \\"Confidence\\": 81.22,\\n \\"RiskWords\\": \\"XXX\\",\\n \\"CustomizedHit\\": [\\n {\\n \\"LibName\\": \\"测试词库\\",\\n \\"KeyWords\\": \\"xxx\\"\\n }\\n ],\\n \\"Description\\": \\"未检测出风险\\",\\n \\"RiskPositions\\": [\\n {\\n \\"RiskWord\\": \\"词A\\",\\n \\"StartPos\\": 4,\\n \\"EndPos\\": 6\\n }\\n ]\\n }\\n ],\\n \\"Advice\\": [\\n {\\n \\"Answer\\": \\"XXX\\",\\n \\"HitLabel\\": \\"XXX\\",\\n \\"HitLibName\\": \\"XXX\\"\\n }\\n ],\\n \\"Score\\": 1,\\n \\"RiskLevel\\": \\"high\\",\\n \\"DataId\\": \\"text1234\\",\\n \\"SensitiveResult\\": [\\n {\\n \\"Label\\": \\"1234\\",\\n \\"SensitiveLevel\\": \\"S1\\",\\n \\"SensitiveData\\": [\\n \\"上海\\"\\n ],\\n \\"Description\\": \\"省份\\"\\n }\\n ],\\n \\"AttackResult\\": [\\n {\\n \\"Label\\": \\"safe\\",\\n \\"Confidence\\": 0,\\n \\"AttackLevel\\": \\"none\\",\\n \\"Description\\": \\"safe\\"\\n }\\n ],\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"DetectedLanguage\\": \\"en\\",\\n \\"TranslatedContent\\": \\"hello\\",\\n \\"AccountId\\": \\"123456789\\",\\n \\"Ext\\": {\\n \\"LlmContent\\": {\\n \\"OutputText\\": \\"正常。文本中无风险内容。\\"\\n }\\n }\\n }\\n}","type":"json"}]',
- 'title' => '文本审核Plus版',
- 'description' => '请确保在使用该接口前,已[开通内容安全增强版服务](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn)且充分了解文本审核增强PLUS版产品的[收费方式和价格](https://help.aliyun.com/document_detail/2671445.html?#section-6od-32j-99n)。',
- ],
- 'TextModeration' => [
- 'summary' => '采用动态策略和模型强化变异对抗性,提供多种业务场景的审核服务,识别出多种违规风险。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询URL异步检测结果',
+ 'description' => '- 计费信息:该接口不计费。'."\n"
+ .'- 查询超时:建议您将查询间隔设置为480秒(即在提交异步检测任务480秒之后查询结果),最长不能超出3天,否则结果将会自动删除。'."\n"
+ .'- 本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUrlModerationResult'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeUrlModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"01F9144A-2088-5D87-935B-2DB865284B1A\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\",\\n \\"ReqId\\": \\"B0963D30-BAB4-562F-9ED0-7A23AEC51C7C\\\\n\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"sexual_url\\",\\n \\"Confidence\\": 81.22\\n }\\n ],\\n \\"ExtraInfo\\": {\\n \\"IcpType\\": \\"企业\\",\\n \\"IcpNo\\": \\"ICP备123456789\\",\\n \\"SiteType\\": \\"game\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'FileModeration' => [
+ 'summary' => '文档检测',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -393,169 +758,471 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'paid',
- 'abilityTreeCode' => '128601',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeCode' => '204033',
+ 'abilityTreeNodes' => ['FEATURElvwangCXKRID'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
+ 'schema' => ['description' => '文件检测增强版支持的服务', 'type' => 'string', 'required' => false, 'example' => 'document_detection'],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
+ .'- url:必填,待检测对象的URL,请确保该URL能通过公网访问到。'."\n"
+ .'- dataId:选填,检测对象对应的数据ID。', 'type' => 'string', 'required' => false, 'example' => '{"url":"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '审核服务类型,包括:'."\n"
- .'nickname_detection:用户昵称'."\n"
- .'chat_detection:聊天互动'."\n"
- .'comment_detection:动态评论'."\n"
- .'pgc_detection:教学物料PGC',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'enumValueTitles' => [
- 'pgc_detection' => 'PGC通用物料检测',
- 'nickname_detection' => '用户昵称检测',
- 'comment_multilingual_pro' => '国际业务多语言检测',
- 'chat_detection' => '私聊互动内容检测',
- 'ad_compliance_detection' => '广告法合规检测',
- 'comment_detection' => '公聊评论内容检测',
- 'ai_art_detection' => 'AIGC类文字检测',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '错误码,和HTTP状态码一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => ['description' => '任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ ],
+ ],
],
- 'example' => 'nickname_detection',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '文档检测任务提交',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FileModeration'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:FileModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ImageAsyncModeration' => [
+ 'summary' => '图片异步检测接口,异步检测任务不会实时返回检测结果,您需要通过callback或者轮询的方式获取检测结果。检测结果最长保留3天。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '197491',
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Service',
+ 'in' => 'query',
+ 'schema' => ['description' => '图片检测增强版支持的检测服务。取值:'."\n"
+ .'- baselineCheck:通用基线检测'."\n"
+ .'- baselineCheck_pro:通用基线检测_专业版'."\n"
+ .'- baselineCheck_cb:通用基线检测_海外版'."\n"
+ .'- tonalityImprove:内容治理检测'."\n"
+ .'- aigcCheck:AIGC图片检测'."\n"
+ .'- profilePhotoCheck:头像图片检测'."\n"
+ .'- advertisingCheck:营销素材检测'."\n"
+ .'- liveStreamCheck:视频\\直播截图检测', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
+ ],
[
'name' => 'ServiceParameters',
- 'in' => 'formData',
+ 'in' => 'query',
+ 'schema' => ['description' => '内容检测对象的相关参数集。JSON字符串格式。', 'type' => 'string', 'required' => false, 'example' => '{"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img123****"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '审核服务需要的参数集。JSON字符串格式,关于每个字符串的描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"content":"地图还是黑的"}',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '4A926AE2-4C96-573F-824F-0532960799F8'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'],
+ 'Data' => [
+ 'description' => '图片异步检测后的结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReqId' => ['description' => '图片异步审核增强版API返回的reqId字段,可用此字段查询检测结果。', 'type' => 'string', 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => 'fb5ffab1-993b-449f-b8d6-b97d5e3331f2'],
+ ],
+ ],
+ ],
],
],
],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '图片异步检测',
+ 'description' => '- 图片支持以下格式:PNG、JPG、JPEG、BMP、WEBP、TIFF、ICO、HEIC、SVG。'."\n"
+ ."\n"
+ .' - 图片大小限制在10MB以内,像素建议大于200*200(px),像素过低会影响内容安全检测算法的效果。'."\n"
+ ."\n"
+ .'- 图片下载时间限制为3秒内,如果下载时间超过3秒,返回下载超时。',
+ 'responseParamsDescription' => '以下为接口返回code的含义说明。'."\n"
+ ."\n"
+ .'| **Code** | **说明** |'."\n"
+ .'| --- | --- |'."\n"
+ .'| 200 | 请求正常。 |'."\n"
+ .'| 400 | 请求参数为空。 |'."\n"
+ .'| 401 | 请求参数错误。 |'."\n"
+ .'| 402 | 请求参数长度不符合接口规定,请检查并修改。 |'."\n"
+ .'| 403 | 请求超过QPS限制,请检查并调整并发。 |'."\n"
+ .'| 408 | 该账号无权限调用该接口,可能是账号未开通或者已欠费,或者调用账号未被授权访问。 |'."\n"
+ .'| 500 | 系统异常。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImageAsyncModeration'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A926AE2-4C96-573F-824F-0532960799F8\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"ReqId\\": \\"A07B3DB9-D762-5C56-95B1-8EC55CF176D2\\",\\n \\"DataId\\": \\"fb5ffab1-993b-449f-b8d6-b97d5e3331f2\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ImageBatchModeration' => [
+ 'summary' => '图片批量调用',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '214644',
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ', 'FEATURElvwangRPPHPG', 'FEATURElvwangRBUEEU', 'FEATURElvwang7UTKSK', 'FEATURElvwangYHRCHH', 'FEATURElvwang8B97ZG', 'FEATURElvwangT9BDZM'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Service',
+ 'in' => 'query',
+ 'schema' => ['description' => '图片审核增强版支持的检测类型,多个使用英文逗号隔开。取值:'."\n"
+ ."\n"
+ .'- baselineCheck:通用基线检测'."\n"
+ .'- baselineCheck_pro:通用基线检测_专业版'."\n"
+ .'- tonalityImprove:内容治理检测'."\n"
+ .'- aigcCheck:AIGC图片检测', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck,tonalityImprove'],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'query',
+ 'schema' => ['description' => '内容检测对象的相关参数集。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "imageUrl": "https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png",'."\n"
+ .' "dataId": "img123****"'."\n"
+ .' }'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => '响应体',
+ 'description' => 'Body返回值',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '请求消息的响应消息。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'."\n"],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'],
'Data' => [
- 'description' => '审核结果数据。',
+ 'description' => '图片内容检测后的结果。',
'type' => 'object',
'properties' => [
- 'labels' => [
- 'description' => '标签,多个用英文逗号分隔。包括:'."\n"
- .'ad:广告'."\n"
- .'profanity:辱骂'."\n"
- .'contraband:违禁品'."\n"
- .'sexual_content:色情'."\n"
- .'violence:暴恐'."\n"
- .'nonsense:灌水'."\n"
- .'spam:垃圾信息'."\n"
- .'negative_content:不良场景'."\n"
- .'cyberbullying:网络暴力'."\n"
- .'C_customized:用户库命中',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'reason' => [
- 'description' => '原因定位的JSON字符串,包含以下字段:'."\n"
- .'1. riskTips:细分标签'."\n"
- .'2. riskWords:命中风险词'."\n"
- .'3. adNums:命中广告号'."\n"
- .'4. customizedWords:命中用户词'."\n"
- .'5. customizedLibs:命中用户词库名'."\n"
- .'6. riskLevel:风险等级,根据系统推荐的风险等级返回,返回值包括:'."\n"
- .'- high:高风险'."\n"
- .'- medium:中风险'."\n"
- .'- low:低风险',
- 'type' => 'string',
- 'example' => '{\\"riskLevel\\":\\"high\\",\\"riskTips\\":\\"色情_低俗词\\",\\"riskWords\\":\\"色情服务\\"}',
- ],
- 'accountId' => [
- 'description' => '客户入参传入的accountId',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'deviceId' => [
- 'description' => '客户入参传入的deviceId',
- 'type' => 'string',
- 'example' => 'xxxxxx',
- ],
- 'dataId' => [
- 'description' => '检测对象对应的数据ID。'."\n"
- .'> 如果在检测请求参数中传入了dataId,则此处返回对应的dataId。',
- 'type' => 'string',
- 'example' => 'text1234',
- ],
- 'descriptions' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '疑似广告内容',
- ],
- 'manualTaskId' => [
- 'description' => '人审任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'ext' => [
- 'description' => '文本辅助参考信息。',
- 'type' => 'object',
- 'properties' => [
- 'llmContent' => [
- 'description' => '大模型输出内容。',
- 'type' => 'object',
- 'properties' => [
- 'outputText' => [
- 'description' => '输出内容。',
- 'type' => 'string',
- 'example' => '正常。文本中无风险内容。',
+ 'DataId' => ['description' => '检测对象对应的数据ID。', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9'],
+ 'Results' => [
+ 'description' => '每个Service图片检测的风险标签、置信分等参数结果,数组结构。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Service' => ['description' => '图片检测增强版支持的检测服务。', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'Result' => [
+ 'description' => '图片检测的风险标签、置信分等参数结果,数组结构。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '图片内容检测运算后返回的标签。同一张图片可能会检出多个标签和分值。', 'type' => 'string', 'example' => 'violent_explosion'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。部分标签无置信分。', 'type' => 'number', 'format' => 'float', 'example' => '81.22'],
+ 'Description' => ['description' => '描述。', 'type' => 'string', 'example' => '未检测出风险'],
+ ],
+ ],
+ ],
+ 'Ext' => [
+ 'description' => '图片辅助参考信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TextInImage' => [
+ 'description' => '返回命中的图片中文字信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'OcrResult' => [
+ 'description' => '返回识别到的图片中的每行文字信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构',
+ 'type' => 'object',
+ 'properties' => [
+ 'Text' => ['description' => '文字信息。', 'type' => 'string', 'example' => 'abcd'],
+ 'Location' => [
+ 'description' => '文字行坐标信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Y' => ['description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'H' => ['description' => '文字区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '33'],
+ 'W' => ['description' => '文字区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '44'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RiskWord' => [
+ 'description' => '命中风险关键词。',
+ 'type' => 'array',
+ 'items' => ['description' => '文字信息。', 'type' => 'string', 'example' => '火箭'],
+ ],
+ 'CustomText' => [
+ 'description' => '当命中自定义文本库时,返回自定义库ID、自定义库名称和自定义词。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => '自定义库ID。', 'type' => 'string', 'example' => '123456'],
+ 'LibName' => ['description' => '自定义库名称。', 'type' => 'string', 'example' => '自定义库1'],
+ 'KeyWords' => ['description' => '自定义词,多个词用逗号分隔。', 'type' => 'string', 'example' => '自定义词1,自定义词2'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CustomImage' => [
+ 'description' => '自定义图库命中信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => '自定义库ID', 'type' => 'string', 'example' => '1965304870002'],
+ 'ImageId' => ['description' => '命中的自定义图片ID。', 'type' => 'string', 'example' => '1965304870002'],
+ 'LibName' => ['description' => '命中的自定义图库名。', 'type' => 'string', 'example' => '白名单'],
+ ],
+ ],
+ ],
+ 'PublicFigure' => [
+ 'description' => '人物信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FigureName' => ['description' => '识别出的人物名称信息。', 'type' => 'string', 'example' => 'xxxxx'],
+ 'FigureId' => ['description' => '识别出的人物编码信息。', 'type' => 'string', 'example' => '12324222'],
+ 'Location' => [
+ 'description' => '标识的位置信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Y' => ['description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'W' => ['description' => '文字区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '330'],
+ 'H' => ['description' => '文字区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '440'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'LogoData' => [
+ 'description' => 'Logo标识信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Location' => [
+ 'description' => '标识的位置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Y' => ['description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'W' => ['description' => 'Logo区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '330'],
+ 'H' => ['description' => 'Logo区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '440'],
+ ],
+ ],
+ 'Logo' => [
+ 'description' => '标识信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '标识类别。', 'type' => 'string', 'example' => 'logo_sns'],
+ 'Name' => ['description' => '标识名。', 'type' => 'string', 'example' => '阿里云'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '99.1'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'RiskLevel' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'high'],
+ ],
+ ],
+ ],
+ 'Result' => [
+ 'description' => '图片检测的风险标签、置信分等参数结果,数组结构。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '图片内容检测运算后返回的标签。同一张图片可能会检出多个标签和分值。', 'type' => 'string', 'example' => 'violent_explosion'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。部分标签无置信分。', 'type' => 'number', 'format' => 'float', 'example' => '81.22'],
+ 'Description' => ['description' => '描述。', 'type' => 'string', 'example' => '未检测出风险'],
],
],
],
+ 'RiskLevel' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'high'],
+ 'ManualTaskId' => ['description' => '人审任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"labels\\": \\"porn\\",\\n \\"reason\\": \\"{\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"high\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskTips\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"色情_低俗词\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskWords\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"色情服务\\\\\\\\\\\\\\"}\\",\\n \\"accountId\\": \\"123456\\",\\n \\"deviceId\\": \\"xxxxxx\\",\\n \\"dataId\\": \\"text1234\\",\\n \\"descriptions\\": \\"疑似广告内容\\",\\n \\"manualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"ext\\": {\\n \\"llmContent\\": {\\n \\"outputText\\": \\"正常。文本中无风险内容。\\"\\n }\\n }\\n }\\n}","type":"json"}]',
- 'title' => '文本审核增强版',
- 'description' => '请确保在使用该接口前,已充分了解文本审核增强版产品的[收费方式和价格](https://help.aliyun.com/document_detail/464388.html?#section-itm-m2s-ugq)。',
- ],
- 'ImageModeration' => [
- 'summary' => '图片审核。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '图片多Service同步检测',
+ 'requestParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "Service": "baselineCheck,tonalityImprove",'."\n"
+ .' "ServiceParameters": {'."\n"
+ .' "imageUrl": "https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png",'."\n"
+ .' "dataId": "img123****"'."\n"
+ .' }'."\n"
+ .'}'."\n"
+ ."\n"
+ .'```',
+ 'responseParamsDescription' => '```'."\n"
+ .'{'."\n"
+ .' "Msg": "success",'."\n"
+ .' "Code": 200,'."\n"
+ .' "Data": {'."\n"
+ .' "DataId": "img123****",'."\n"
+ .' "Result": ['."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion",'."\n"
+ .' "Confidence": 70,'."\n"
+ .' "Description": "烟火类内容"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion_lib",'."\n"
+ .' "Confidence": 81,'."\n"
+ .' "Description": "烟火类内容_命中自定义库"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "RiskLevel": "high",'."\n"
+ .' "Results": ['."\n"
+ .' {'."\n"
+ .' "Result": ['."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion",'."\n"
+ .' "Confidence": 70,'."\n"
+ .' "Description": "烟火类内容"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "RiskLevel": "high",'."\n"
+ .' "Service": "baselineCheck_pro"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Result": ['."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion_lib",'."\n"
+ .' "Confidence": 81,'."\n"
+ .' "Description": "烟火类内容_命中自定义库"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "RiskLevel": "high",'."\n"
+ .' "Service": "baselineCheck"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "RequestId": "ABCD1234-1234-1234-1234-1234XYZ"'."\n"
+ .'}'."\n"
+ .'```',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImageBatchModeration'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageBatchModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\\\n\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\",\\n \\"Results\\": [\\n {\\n \\"Service\\": \\"baselineCheck\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Confidence\\": 81.22,\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"Ext\\": {\\n \\"TextInImage\\": {\\n \\"OcrResult\\": [\\n {\\n \\"Text\\": \\"abcd\\",\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"H\\": 33,\\n \\"W\\": 44\\n }\\n }\\n ],\\n \\"RiskWord\\": [\\n \\"火箭\\"\\n ],\\n \\"CustomText\\": [\\n {\\n \\"LibId\\": \\"123456\\",\\n \\"LibName\\": \\"自定义库1\\",\\n \\"KeyWords\\": \\"自定义词1,自定义词2\\"\\n }\\n ]\\n },\\n \\"CustomImage\\": [\\n {\\n \\"LibId\\": \\"1965304870002\\",\\n \\"ImageId\\": \\"1965304870002\\",\\n \\"LibName\\": \\"白名单\\"\\n }\\n ],\\n \\"PublicFigure\\": [\\n {\\n \\"FigureName\\": \\"xxxxx\\",\\n \\"FigureId\\": \\"12324222\\",\\n \\"Location\\": [\\n {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 330,\\n \\"H\\": 440\\n }\\n ]\\n }\\n ],\\n \\"LogoData\\": {\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 330,\\n \\"H\\": 440\\n },\\n \\"Logo\\": [\\n {\\n \\"Label\\": \\"logo_sns\\",\\n \\"Name\\": \\"阿里云\\",\\n \\"Confidence\\": 99.1\\n }\\n ]\\n }\\n },\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Confidence\\": 81.22,\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ImageModeration' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -568,9 +1235,7 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '142557',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
],
'parameters' => [
[
@@ -597,22 +1262,8 @@
'type' => 'string',
'required' => false,
'enumValueTitles' => [
- 'liveStreamCheck' => '视频截图检测',
- 'generalOcr' => '通用图文OCR',
- 'postImageCheck' => '帖子评论图片检测',
- 'postImageCheckByVL_cb' => '大小模型融合图片审核服务_出海版',
- 'baselineCheck_pro' => '通用基线检测_专业版',
- 'advertisingCheck' => '营销素材检测',
- 'baselineCheck_cb' => '通用基线检测_出海版',
- 'tonalityImprove' => '内容治理检测',
- 'profilePhotoCheck' => '头像图片检测',
- 'baselineCheck' => '通用基线检测',
- 'postImageCheckByVL' => '大小模型融合图片审核服务',
- 'generalRecognition' => '图片万物识别',
- 'aigcCheck' => 'AIGC图片检测',
- 'aigcViolationDetection' => 'AIGC图片侵权检测',
- 'baselineCheckByVL' => '通用图片审核大模型服务',
- 'aigcDetector' => '图片是否AIGC生成判定',
+ 'liveStreamCheck' => '视频截图检测', 'generalOcr' => '通用图文OCR', 'postImageCheck' => '帖子评论图片检测', 'postImageCheckByVL_cb' => '大小模型融合图片审核服务_出海版', 'baselineCheck_pro' => '通用基线检测_专业版', 'advertisingCheck' => '营销素材检测', 'baselineCheck_cb' => '通用基线检测_出海版', 'tonalityImprove' => '内容治理检测', 'profilePhotoCheck' => '头像图片检测', 'baselineCheck' => '通用基线检测',
+ 'postImageCheckByVL' => '大小模型融合图片审核服务', 'generalRecognition' => '图片万物识别', 'aigcCheck' => 'AIGC图片检测', 'aigcViolationDetection' => 'AIGC图片侵权检测', 'baselineCheckByVL' => '通用图片审核大模型服务', 'aigcDetector' => '图片是否AIGC生成判定',
],
'example' => 'baselineCheck',
],
@@ -620,15 +1271,10 @@
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '内容检测对象的相关参数集。JSON字符串格式。'."\n"
- .'- imageUrl:待检测对象的URL,必填。'."\n"
- .'- dataId:检测对象对应的数据ID,可选。'."\n"
- .'- referer:referer请求头,用于防盗链等场景,可选。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img1234567"}',
- ],
+ 'schema' => ['description' => '内容检测对象的相关参数集。JSON字符串格式。'."\n"
+ .'- imageUrl:待检测对象的URL,必填。'."\n"
+ .'- dataId:检测对象对应的数据ID,可选。'."\n"
+ .'- referer:referer请求头,用于防盗链等场景,可选。', 'type' => 'string', 'required' => false, 'example' => '{"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img1234567"}'],
],
],
'responses' => [
@@ -637,33 +1283,16 @@
'description' => 'Body返回值。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '图片内容检测后的结果。',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => '检测对象对应的数据ID。'."\n"
- ."\n"
- .'> 如果在检测请求参数中传入了dataId,则此处返回对应的dataId。',
- 'type' => 'string',
- 'example' => 'fb5ffab1-993b-449f-b8d6-b97d5e3331f2',
- ],
+ 'DataId' => ['description' => '检测对象对应的数据ID。'."\n"
+ ."\n"
+ .'> 如果在检测请求参数中传入了dataId,则此处返回对应的dataId。', 'type' => 'string', 'example' => 'fb5ffab1-993b-449f-b8d6-b97d5e3331f2'],
'Result' => [
'description' => '图片检测的风险标签、置信分等参数结果,数组结构。',
'type' => 'array',
@@ -671,27 +1300,10 @@
'description' => '数据结构。',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '图片内容检测运算后返回的标签。同一张图片可能会检出多个标签和分值。',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。部分标签无置信分。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'Description' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级。',
- 'type' => 'string',
- 'example' => 'high',
- ],
+ 'Label' => ['description' => '图片内容检测运算后返回的标签。同一张图片可能会检出多个标签和分值。', 'type' => 'string', 'example' => 'violent_explosion'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。部分标签无置信分。', 'type' => 'number', 'format' => 'float', 'example' => '81.22'],
+ 'Description' => ['description' => '描述。', 'type' => 'string', 'example' => '未检测出风险'],
+ 'RiskLevel' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'high'],
],
],
],
@@ -705,19 +1317,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Classification' => [
- 'description' => '图片万物识别的类别。',
- 'type' => 'string',
- 'example' => '办公大楼'."\n",
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。返回nonLabel时无置信分。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22'."\n"
- ."\n",
- ],
+ 'Classification' => ['description' => '图片万物识别的类别。', 'type' => 'string', 'example' => '办公大楼'."\n"],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。返回nonLabel时无置信分。', 'type' => 'number', 'format' => 'float', 'example' => '81.22'."\n"
+ ."\n"],
],
+ 'description' => '',
],
],
'OcrResult' => [
@@ -726,42 +1330,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Text' => [
- 'description' => '识别出来的单条文本信息。',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
+ 'Text' => ['description' => '识别出来的单条文本信息。', 'type' => 'string', 'example' => 'abcd'],
'Location' => [
'description' => '文字行及坐标信息。',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => '文字区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'H' => [
- 'description' => '文字区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
+ 'X' => ['description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Y' => ['description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'W' => ['description' => '文字区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '33'],
+ 'H' => ['description' => '文字区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '44'],
],
],
],
+ 'description' => '',
],
],
'TextInImage' => [
@@ -774,52 +1355,25 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Text' => [
- 'description' => '文字信息。',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
+ 'Text' => ['description' => '文字信息。', 'type' => 'string', 'example' => 'abcd'],
'Location' => [
'description' => '文字行及坐标信息。',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'H' => [
- 'description' => '文字区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'W' => [
- 'description' => '文字区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
+ 'X' => ['description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Y' => ['description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'H' => ['description' => '文字区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '33'],
+ 'W' => ['description' => '文字区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '44'],
],
],
],
+ 'description' => '',
],
],
'RiskWord' => [
'description' => '命中风险关键词',
'type' => 'array',
- 'items' => [
- 'description' => '文字信息。',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
+ 'items' => ['description' => '文字信息。', 'type' => 'string', 'example' => 'abcd'],
],
'CustomText' => [
'description' => '当命中自定义文本库时,返回自定义库ID、自定义库名称和自定义词。',
@@ -827,22 +1381,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '自定义库ID',
- 'type' => 'string',
- 'example' => '123456'."\n",
- ],
- 'LibName' => [
- 'description' => '自定义库名称。',
- 'type' => 'string',
- 'example' => '自定义库1'."\n",
- ],
- 'KeyWords' => [
- 'description' => '自定义词,多个词用逗号分隔。',
- 'type' => 'string',
- 'example' => '自定义词1,自定义词2'."\n",
- ],
+ 'LibId' => ['description' => '自定义库ID', 'type' => 'string', 'example' => '123456'."\n"],
+ 'LibName' => ['description' => '自定义库名称。', 'type' => 'string', 'example' => '自定义库1'."\n"],
+ 'KeyWords' => ['description' => '自定义词,多个词用逗号分隔。', 'type' => 'string', 'example' => '自定义词1,自定义词2'."\n"],
],
+ 'description' => '',
],
],
],
@@ -853,22 +1396,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '命中的自定义图库ID。',
- 'type' => 'string',
- 'example' => '图库123'."\n",
- ],
- 'ImageId' => [
- 'description' => '命中的自定义图片ID。',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => '命中的自定义图库名。',
- 'type' => 'string',
- 'example' => '图库123'."\n",
- ],
+ 'LibId' => ['description' => '命中的自定义图库ID。', 'type' => 'string', 'example' => '图库123'."\n"],
+ 'ImageId' => ['description' => '命中的自定义图片ID。', 'type' => 'string', 'example' => '123456'],
+ 'LibName' => ['description' => '命中的自定义图库名。', 'type' => 'string', 'example' => '图库123'."\n"],
],
+ 'description' => '',
],
],
'PublicFigure' => [
@@ -877,50 +1409,24 @@
'items' => [
'type' => 'object',
'properties' => [
- 'FigureName' => [
- 'description' => '识别出的人物名称信息。',
- 'type' => 'string',
- 'example' => 'yzazhzou',
- ],
- 'FigureId' => [
- 'description' => '识别出的人物编码信息。',
- 'type' => 'string',
- 'example' => 'xxx001',
- ],
+ 'FigureName' => ['description' => '识别出的人物名称信息。', 'type' => 'string', 'example' => 'yzazhzou'],
+ 'FigureId' => ['description' => '识别出的人物编码信息。', 'type' => 'string', 'example' => 'xxx001'],
'Location' => [
'description' => '标识的位置信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,识别区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,识别区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => '识别区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '330',
- ],
- 'H' => [
- 'description' => '识别区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '440',
- ],
+ 'X' => ['description' => '以图片左上角为坐标原点,识别区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Y' => ['description' => '以图片左上角为坐标原点,识别区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'W' => ['description' => '识别区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '330'],
+ 'H' => ['description' => '识别区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '440'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
'LogoData' => [
@@ -933,30 +1439,10 @@
'description' => '标识的位置信息。',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,识别区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,识别区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => '识别区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '330',
- ],
- 'H' => [
- 'description' => '识别区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '440',
- ],
+ 'X' => ['description' => '以图片左上角为坐标原点,识别区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Y' => ['description' => '以图片左上角为坐标原点,识别区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'W' => ['description' => '识别区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '330'],
+ 'H' => ['description' => '识别区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '440'],
],
],
'Logo' => [
@@ -965,26 +1451,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '标识类别。',
- 'type' => 'string',
- 'example' => 'logo_sns',
- ],
- 'Name' => [
- 'description' => '标识名。',
- 'type' => 'string',
- 'example' => '钉钉',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.1',
- ],
+ 'Label' => ['description' => '标识类别。', 'type' => 'string', 'example' => 'logo_sns'],
+ 'Name' => ['description' => '标识名。', 'type' => 'string', 'example' => '钉钉'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '99.1'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
'FaceData' => [
@@ -993,248 +1468,132 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Age' => [
- 'description' => '年龄识别结果。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '18',
- ],
+ 'Age' => ['description' => '年龄识别结果。', 'type' => 'integer', 'format' => 'int32', 'example' => '18'],
'Bang' => [
'description' => '是否有刘海的识别结果。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '是否有刘海的识别结果,取值:'."\n"
- .'- Has:有刘海。'."\n"
- .'- None:无刘海。',
- 'type' => 'string',
- 'example' => 'Has',
- ],
- 'Confidence' => [
- 'description' => '刘海识别结果的置信度,取值范围:0~100。取值越高表示结果越可信。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.88'."\n",
- ],
+ 'Value' => ['description' => '是否有刘海的识别结果,取值:'."\n"
+ .'- Has:有刘海。'."\n"
+ .'- None:无刘海。', 'type' => 'string', 'example' => 'Has'],
+ 'Confidence' => ['description' => '刘海识别结果的置信度,取值范围:0~100。取值越高表示结果越可信。', 'type' => 'number', 'format' => 'float', 'example' => '81.88'."\n"],
],
],
'Gender' => [
'description' => '性别识别结果。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '性别识别结果,取值:'."\n"
- ."\n"
- .'- Male:男性。'."\n"
- ."\n"
- .'- FeMale:女性。',
- 'type' => 'string',
- 'example' => 'FeMale',
- ],
- 'Confidence' => [
- 'description' => '性别识别结果的置信度,取值范围:0~100。取值越高表示结果越可信。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.88',
- ],
+ 'Value' => ['description' => '性别识别结果,取值:'."\n"
+ ."\n"
+ .'- Male:男性。'."\n"
+ ."\n"
+ .'- FeMale:女性。', 'type' => 'string', 'example' => 'FeMale'],
+ 'Confidence' => ['description' => '性别识别结果的置信度,取值范围:0~100。取值越高表示结果越可信。', 'type' => 'number', 'format' => 'float', 'example' => '81.88'],
],
],
- 'Glasses' => [
- 'description' => '是否佩戴眼镜的识别结果,取值:'."\n"
- ."\n"
- .'- None:未佩戴眼镜。'."\n"
- ."\n"
- .'- Common:佩戴普通眼镜。'."\n"
- ."\n"
- .'- Sunglass:佩戴太阳镜。',
- 'type' => 'string',
- 'example' => 'Common',
- ],
+ 'Glasses' => ['description' => '是否佩戴眼镜的识别结果,取值:'."\n"
+ ."\n"
+ .'- None:未佩戴眼镜。'."\n"
+ ."\n"
+ .'- Common:佩戴普通眼镜。'."\n"
+ ."\n"
+ .'- Sunglass:佩戴太阳镜。', 'type' => 'string', 'example' => 'Common'],
'Hairstyle' => [
'description' => '发型识别结果。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '发型识别结果,取值:'."\n"
- ."\n"
- .'- Bald:光头。'."\n"
- ."\n"
- .'- Long:长发。'."\n"
- ."\n"
- .'- Short:短发。',
- 'type' => 'string',
- 'example' => 'Short',
- ],
- 'Confidence' => [
- 'description' => '发型识别结果的置信度,取值范围:0~100。取值越高表示结果越可信。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.88'."\n"
- ."\n",
- ],
+ 'Value' => ['description' => '发型识别结果,取值:'."\n"
+ ."\n"
+ .'- Bald:光头。'."\n"
+ ."\n"
+ .'- Long:长发。'."\n"
+ ."\n"
+ .'- Short:短发。', 'type' => 'string', 'example' => 'Short'],
+ 'Confidence' => ['description' => '发型识别结果的置信度,取值范围:0~100。取值越高表示结果越可信。', 'type' => 'number', 'format' => 'float', 'example' => '81.88'."\n"
+ ."\n"],
],
],
'Hat' => [
'description' => '是否佩戴帽子的识别结果。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '是否佩戴帽子的识别结果,取值:'."\n"
- ."\n"
- .'- Wear:佩戴帽子。'."\n"
- ."\n"
- .'- None:未佩戴帽子。',
- 'type' => 'string',
- 'example' => 'Wear',
- ],
- 'Confidence' => [
- 'description' => '佩戴帽子结果的置信度,取值范围:0~100。取值越高表示结果越可信。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '88.88'."\n"
- ."\n",
- ],
+ 'Value' => ['description' => '是否佩戴帽子的识别结果,取值:'."\n"
+ ."\n"
+ .'- Wear:佩戴帽子。'."\n"
+ ."\n"
+ .'- None:未佩戴帽子。', 'type' => 'string', 'example' => 'Wear'],
+ 'Confidence' => ['description' => '佩戴帽子结果的置信度,取值范围:0~100。取值越高表示结果越可信。', 'type' => 'number', 'format' => 'float', 'example' => '88.88'."\n"
+ ."\n"],
],
],
'Location' => [
'description' => '人脸位置信息。',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,人脸区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '41'."\n"
- ."\n",
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,人脸区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '84',
- ],
- 'W' => [
- 'description' => '人脸区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '83',
- ],
- 'H' => [
- 'description' => '人脸区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '26',
- ],
+ 'X' => ['description' => '以图片左上角为坐标原点,人脸区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '41'."\n"
+ ."\n"],
+ 'Y' => ['description' => '以图片左上角为坐标原点,人脸区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '84'],
+ 'W' => ['description' => '人脸区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '83'],
+ 'H' => ['description' => '人脸区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '26'],
],
],
'Mask' => [
'description' => '是否佩戴口罩的识别结果。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '是否佩戴口罩的识别结果,取值:'."\n"
- ."\n"
- .'- Wear:佩戴口罩。'."\n"
- ."\n"
- .'- None:未佩戴口罩。',
- 'type' => 'string',
- 'example' => 'Wear',
- ],
- 'Confidence' => [
- 'description' => '佩戴口罩结果的置信度,取值范围:0~100。取值越高表示结果越可信。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.99',
- ],
+ 'Value' => ['description' => '是否佩戴口罩的识别结果,取值:'."\n"
+ ."\n"
+ .'- Wear:佩戴口罩。'."\n"
+ ."\n"
+ .'- None:未佩戴口罩。', 'type' => 'string', 'example' => 'Wear'],
+ 'Confidence' => ['description' => '佩戴口罩结果的置信度,取值范围:0~100。取值越高表示结果越可信。', 'type' => 'number', 'format' => 'float', 'example' => '99.99'],
],
],
'Mustache' => [
'description' => '是否有胡须的识别结果。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '是否有胡须的识别结果,取值:'."\n"
- ."\n"
- .'- Has:有胡须。'."\n"
- ."\n"
- .'- None:无胡须。',
- 'type' => 'string',
- 'example' => 'Has',
- ],
- 'Confidence' => [
- 'description' => '胡须识别结果的置信度,取值范围:0~100。取值越高表示结果越可信。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.99',
- ],
+ 'Value' => ['description' => '是否有胡须的识别结果,取值:'."\n"
+ ."\n"
+ .'- Has:有胡须。'."\n"
+ ."\n"
+ .'- None:无胡须。', 'type' => 'string', 'example' => 'Has'],
+ 'Confidence' => ['description' => '胡须识别结果的置信度,取值范围:0~100。取值越高表示结果越可信。', 'type' => 'number', 'format' => 'float', 'example' => '99.99'],
],
],
'Quality' => [
'description' => '人脸图片的质量信息。',
'type' => 'object',
'properties' => [
- 'Blur' => [
- 'description' => '人脸图片的模糊度,取值范围:0~100。分数越高表示越模糊。'."\n"
- ."\n"
- .'建议取值范围:0~25。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5.88'."\n"
- ."\n",
- ],
- 'Integrity' => [
- 'description' => '人脸的完整度,取值范围:0~100。分数越高表示越完整。'."\n"
- ."\n"
- .'建议取值范围:80~100。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '100.0',
- ],
- 'Pitch' => [
- 'description' => '人脸的抬头或低头角度。'."\n"
- ."\n"
- .'建议取值范围:-30~30。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5.88',
- ],
- 'Roll' => [
- 'description' => '人脸的平面旋转角度。'."\n"
- ."\n"
- .'建议取值范围:-30~30。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5.18',
- ],
- 'Yaw' => [
- 'description' => '人脸的左右摇头角度。'."\n"
- ."\n"
- .'建议取值范围:-30~30。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5.18',
- ],
+ 'Blur' => ['description' => '人脸图片的模糊度,取值范围:0~100。分数越高表示越模糊。'."\n"
+ ."\n"
+ .'建议取值范围:0~25。', 'type' => 'number', 'format' => 'float', 'example' => '5.88'."\n"
+ ."\n"],
+ 'Integrity' => ['description' => '人脸的完整度,取值范围:0~100。分数越高表示越完整。'."\n"
+ ."\n"
+ .'建议取值范围:80~100。', 'type' => 'number', 'format' => 'float', 'example' => '100.0'],
+ 'Pitch' => ['description' => '人脸的抬头或低头角度。'."\n"
+ ."\n"
+ .'建议取值范围:-30~30。', 'type' => 'number', 'format' => 'float', 'example' => '5.88'],
+ 'Roll' => ['description' => '人脸的平面旋转角度。'."\n"
+ ."\n"
+ .'建议取值范围:-30~30。', 'type' => 'number', 'format' => 'float', 'example' => '5.18'],
+ 'Yaw' => ['description' => '人脸的左右摇头角度。'."\n"
+ ."\n"
+ .'建议取值范围:-30~30。', 'type' => 'number', 'format' => 'float', 'example' => '5.18'],
],
],
- 'Smile' => [
- 'description' => '人脸的微笑程度。取值范围:0~100。分数越高表示微笑程度越大。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '85.88'."\n"
- ."\n",
- ],
+ 'Smile' => ['description' => '人脸的微笑程度。取值范围:0~100。分数越高表示微笑程度越大。', 'type' => 'number', 'format' => 'float', 'example' => '85.88'."\n"
+ ."\n"],
],
+ 'description' => '',
],
],
'VlContent' => [
'description' => '输出内容。',
'type' => 'object',
'properties' => [
- 'OutputText' => [
- 'description' => '输出内容。',
- 'type' => 'string',
- 'example' => '这是一段描述',
- ],
+ 'OutputText' => ['description' => '输出内容。', 'type' => 'string', 'example' => '这是一段描述'],
],
],
'AigcData' => [
@@ -1245,81 +1604,41 @@
'description' => 'AIGC隐式标识检测信息。',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '表示内容是否由AI生成,取值:'."\n"
- ."\n"
- .'- 1:属于人工智能内容生成合成的。'."\n"
- ."\n"
- .'- 2:(仅传播平台)可能为人工智能生成合成内容的。'."\n"
- ."\n"
- .'- 3:(仅传播平台)疑似人工智能内容生成合成的。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'ContentProducer' => [
- 'description' => '服务提供者的编码或名称,用于标识内容的生产者。',
- 'type' => 'string',
- 'example' => '001191******M000100Y43',
- ],
- 'ProduceID' => [
- 'description' => '内容制作编号,用于制作平台溯源合成内容的唯一识别编号。',
- 'type' => 'string',
- 'example' => '123******456'."\n"
- ."\n",
- ],
- 'ReservedCode1' => [
- 'description' => '预留字段。'."\n"
- ."\n"
- .'可存储用于生成合成服务提供者自主开展安全防护,保护内容、标识完整性的信息,可通过基于 ContentProducer 与 ProduceID 的哈希机制,实现关键信息的安全存储与校验。',
- 'type' => 'string',
- 'example' => 'd41d**********427e'."\n",
- ],
- 'ContentPropagator' => [
- 'description' => '传播平台名称,编号或代码,针对提供人工智能生成合成内容服务,可保持与ContentProducer一致。',
- 'type' => 'string',
- 'example' => '001191******M000100Y43',
- ],
- 'PropagateID' => [
- 'description' => '内容传播编号,是传播平台对所传播生成合成内容的唯一编号。',
- 'type' => 'string',
- 'example' => '123******456'."\n",
- ],
- 'ReservedCode2' => [
- 'description' => '预留字段。'."\n"
- ."\n"
- .'可用于内容传播服务提供者企业自主开展安全防护,保护内容、标识完整性的信息,可通过基于 ContentProducer 与 ProduceID 的哈希机制,实现关键信息的安全存储与校验。',
- 'type' => 'string',
- 'example' => 'd41d**********427e',
- ],
+ 'Label' => ['description' => '表示内容是否由AI生成,取值:'."\n"
+ ."\n"
+ .'- 1:属于人工智能内容生成合成的。'."\n"
+ ."\n"
+ .'- 2:(仅传播平台)可能为人工智能生成合成内容的。'."\n"
+ ."\n"
+ .'- 3:(仅传播平台)疑似人工智能内容生成合成的。', 'type' => 'string', 'example' => '1'],
+ 'ContentProducer' => ['description' => '服务提供者的编码或名称,用于标识内容的生产者。', 'type' => 'string', 'example' => '001191******M000100Y43'],
+ 'ProduceID' => ['description' => '内容制作编号,用于制作平台溯源合成内容的唯一识别编号。', 'type' => 'string', 'example' => '123******456'."\n"
+ ."\n"],
+ 'ReservedCode1' => ['description' => '预留字段。'."\n"
+ ."\n"
+ .'可存储用于生成合成服务提供者自主开展安全防护,保护内容、标识完整性的信息,可通过基于 ContentProducer 与 ProduceID 的哈希机制,实现关键信息的安全存储与校验。', 'type' => 'string', 'example' => 'd41d**********427e'."\n"],
+ 'ContentPropagator' => ['description' => '传播平台名称,编号或代码,针对提供人工智能生成合成内容服务,可保持与ContentProducer一致。', 'type' => 'string', 'example' => '001191******M000100Y43'],
+ 'PropagateID' => ['description' => '内容传播编号,是传播平台对所传播生成合成内容的唯一编号。', 'type' => 'string', 'example' => '123******456'."\n"],
+ 'ReservedCode2' => ['description' => '预留字段。'."\n"
+ ."\n"
+ .'可用于内容传播服务提供者企业自主开展安全防护,保护内容、标识完整性的信息,可通过基于 ContentProducer 与 ProduceID 的哈希机制,实现关键信息的安全存储与校验。', 'type' => 'string', 'example' => 'd41d**********427e'],
],
],
],
],
],
],
- 'RiskLevel' => [
- 'description' => '风险等级。',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'description' => '人审任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'AccountId' => [
- 'description' => '客户入参AccountId',
- 'type' => 'string',
- 'example' => 'testaccountid123',
- ],
+ 'RiskLevel' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'high'],
+ 'ManualTaskId' => ['description' => '人审任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'AccountId' => ['description' => '客户入参AccountId', 'type' => 'string', 'example' => 'testaccountid123'],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"fb5ffab1-993b-449f-b8d6-b97d5e3331f2\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Confidence\\": 81.22,\\n \\"Description\\": \\"未检测出风险\\",\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"Ext\\": {\\n \\"Recognition\\": [\\n {\\n \\"Classification\\": \\"办公大楼\\\\n\\",\\n \\"Confidence\\": 81.22\\n }\\n ],\\n \\"OcrResult\\": [\\n {\\n \\"Text\\": \\"abcd\\",\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 33,\\n \\"H\\": 44\\n }\\n }\\n ],\\n \\"TextInImage\\": {\\n \\"OcrResult\\": [\\n {\\n \\"Text\\": \\"abcd\\",\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"H\\": 33,\\n \\"W\\": 44\\n }\\n }\\n ],\\n \\"RiskWord\\": [\\n \\"abcd\\"\\n ],\\n \\"CustomText\\": [\\n {\\n \\"LibId\\": \\"123456\\\\n\\",\\n \\"LibName\\": \\"自定义库1\\\\n\\",\\n \\"KeyWords\\": \\"自定义词1,自定义词2\\\\n\\"\\n }\\n ]\\n },\\n \\"CustomImage\\": [\\n {\\n \\"LibId\\": \\"图库123\\\\n\\",\\n \\"ImageId\\": \\"123456\\",\\n \\"LibName\\": \\"图库123\\\\n\\"\\n }\\n ],\\n \\"PublicFigure\\": [\\n {\\n \\"FigureName\\": \\"yzazhzou\\",\\n \\"FigureId\\": \\"xxx001\\",\\n \\"Location\\": [\\n {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 330,\\n \\"H\\": 440\\n }\\n ]\\n }\\n ],\\n \\"LogoData\\": [\\n {\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 330,\\n \\"H\\": 440\\n },\\n \\"Logo\\": [\\n {\\n \\"Label\\": \\"logo_sns\\",\\n \\"Name\\": \\"钉钉\\",\\n \\"Confidence\\": 99.1\\n }\\n ]\\n }\\n ],\\n \\"FaceData\\": [\\n {\\n \\"Age\\": 18,\\n \\"Bang\\": {\\n \\"Value\\": \\"Has\\",\\n \\"Confidence\\": 81.88\\n },\\n \\"Gender\\": {\\n \\"Value\\": \\"FeMale\\",\\n \\"Confidence\\": 81.88\\n },\\n \\"Glasses\\": \\"Common\\",\\n \\"Hairstyle\\": {\\n \\"Value\\": \\"Short\\",\\n \\"Confidence\\": 81.88\\n },\\n \\"Hat\\": {\\n \\"Value\\": \\"Wear\\",\\n \\"Confidence\\": 88.88\\n },\\n \\"Location\\": {\\n \\"X\\": 41,\\n \\"Y\\": 84,\\n \\"W\\": 83,\\n \\"H\\": 26\\n },\\n \\"Mask\\": {\\n \\"Value\\": \\"Wear\\",\\n \\"Confidence\\": 99.99\\n },\\n \\"Mustache\\": {\\n \\"Value\\": \\"Has\\",\\n \\"Confidence\\": 99.99\\n },\\n \\"Quality\\": {\\n \\"Blur\\": 5.88,\\n \\"Integrity\\": 100,\\n \\"Pitch\\": 5.88,\\n \\"Roll\\": 5.18,\\n \\"Yaw\\": 5.18\\n },\\n \\"Smile\\": 85.88\\n }\\n ],\\n \\"VlContent\\": {\\n \\"OutputText\\": \\"这是一段描述\\"\\n },\\n \\"AigcData\\": {\\n \\"AIGC\\": {\\n \\"Label\\": \\"1\\",\\n \\"ContentProducer\\": \\"001191******M000100Y43\\",\\n \\"ProduceID\\": \\"123******456\\\\n\\\\n\\",\\n \\"ReservedCode1\\": \\"d41d**********427e\\\\n\\",\\n \\"ContentPropagator\\": \\"001191******M000100Y43\\",\\n \\"PropagateID\\": \\"123******456\\\\n\\",\\n \\"ReservedCode2\\": \\"d41d**********427e\\"\\n }\\n }\\n },\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"AccountId\\": \\"testaccountid123\\"\\n }\\n}","type":"json"}]',
'title' => '图片审核增强版',
+ 'summary' => '图片审核',
'description' => '请确保在使用该接口前完成以下操作:'."\n"
.'1. 已[开通内容安全增强版](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn)。'."\n"
.'2. 充分了解图片审核增强版产品的[收费方式和价格](https://help.aliyun.com/document_detail/467826.html?#section-h06-qz6-1pt)。'."\n"
@@ -1370,58 +1689,80 @@
.'}'."\n"
.'```',
'extraInfo' => '无',
- ],
- 'ImageAsyncModeration' => [
- 'summary' => '图片异步检测接口,异步检测任务不会实时返回检测结果,您需要通过callback或者轮询的方式获取检测结果。检测结果最长保留3天。',
- 'methods' => [
- 'post',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImageModeration'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"fb5ffab1-993b-449f-b8d6-b97d5e3331f2\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Confidence\\": 81.22,\\n \\"Description\\": \\"未检测出风险\\",\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"Ext\\": {\\n \\"Recognition\\": [\\n {\\n \\"Classification\\": \\"办公大楼\\\\n\\",\\n \\"Confidence\\": 81.22\\n }\\n ],\\n \\"OcrResult\\": [\\n {\\n \\"Text\\": \\"abcd\\",\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 33,\\n \\"H\\": 44\\n }\\n }\\n ],\\n \\"TextInImage\\": {\\n \\"OcrResult\\": [\\n {\\n \\"Text\\": \\"abcd\\",\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"H\\": 33,\\n \\"W\\": 44\\n }\\n }\\n ],\\n \\"RiskWord\\": [\\n \\"abcd\\"\\n ],\\n \\"CustomText\\": [\\n {\\n \\"LibId\\": \\"123456\\\\n\\",\\n \\"LibName\\": \\"自定义库1\\\\n\\",\\n \\"KeyWords\\": \\"自定义词1,自定义词2\\\\n\\"\\n }\\n ]\\n },\\n \\"CustomImage\\": [\\n {\\n \\"LibId\\": \\"图库123\\\\n\\",\\n \\"ImageId\\": \\"123456\\",\\n \\"LibName\\": \\"图库123\\\\n\\"\\n }\\n ],\\n \\"PublicFigure\\": [\\n {\\n \\"FigureName\\": \\"yzazhzou\\",\\n \\"FigureId\\": \\"xxx001\\",\\n \\"Location\\": [\\n {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 330,\\n \\"H\\": 440\\n }\\n ]\\n }\\n ],\\n \\"LogoData\\": [\\n {\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 330,\\n \\"H\\": 440\\n },\\n \\"Logo\\": [\\n {\\n \\"Label\\": \\"logo_sns\\",\\n \\"Name\\": \\"钉钉\\",\\n \\"Confidence\\": 99.1\\n }\\n ]\\n }\\n ],\\n \\"FaceData\\": [\\n {\\n \\"Age\\": 18,\\n \\"Bang\\": {\\n \\"Value\\": \\"Has\\",\\n \\"Confidence\\": 81.88\\n },\\n \\"Gender\\": {\\n \\"Value\\": \\"FeMale\\",\\n \\"Confidence\\": 81.88\\n },\\n \\"Glasses\\": \\"Common\\",\\n \\"Hairstyle\\": {\\n \\"Value\\": \\"Short\\",\\n \\"Confidence\\": 81.88\\n },\\n \\"Hat\\": {\\n \\"Value\\": \\"Wear\\",\\n \\"Confidence\\": 88.88\\n },\\n \\"Location\\": {\\n \\"X\\": 41,\\n \\"Y\\": 84,\\n \\"W\\": 83,\\n \\"H\\": 26\\n },\\n \\"Mask\\": {\\n \\"Value\\": \\"Wear\\",\\n \\"Confidence\\": 99.99\\n },\\n \\"Mustache\\": {\\n \\"Value\\": \\"Has\\",\\n \\"Confidence\\": 99.99\\n },\\n \\"Quality\\": {\\n \\"Blur\\": 5.88,\\n \\"Integrity\\": 100,\\n \\"Pitch\\": 5.88,\\n \\"Roll\\": 5.18,\\n \\"Yaw\\": 5.18\\n },\\n \\"Smile\\": 85.88\\n }\\n ],\\n \\"VlContent\\": {\\n \\"OutputText\\": \\"这是一段描述\\"\\n },\\n \\"AigcData\\": {\\n \\"AIGC\\": {\\n \\"Label\\": \\"1\\",\\n \\"ContentProducer\\": \\"001191******M000100Y43\\",\\n \\"ProduceID\\": \\"123******456\\\\n\\\\n\\",\\n \\"ReservedCode1\\": \\"d41d**********427e\\\\n\\",\\n \\"ContentPropagator\\": \\"001191******M000100Y43\\",\\n \\"PropagateID\\": \\"123******456\\\\n\\",\\n \\"ReservedCode2\\": \\"d41d**********427e\\"\\n }\\n }\\n },\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"AccountId\\": \\"testaccountid123\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ManualCallback' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '197491',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '264346',
+ 'abilityTreeNodes' => ['FEATURElvwangIBEW89', 'FEATURElvwangU90H4V', 'FEATURElvwangBBY7QM', 'FEATURElvwang870NMI'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'Service',
- 'in' => 'query',
- 'schema' => [
- 'description' => '图片检测增强版支持的检测服务。取值:'."\n"
- .'- baselineCheck:通用基线检测'."\n"
- .'- baselineCheck_pro:通用基线检测_专业版'."\n"
- .'- baselineCheck_cb:通用基线检测_海外版'."\n"
- .'- tonalityImprove:内容治理检测'."\n"
- .'- aigcCheck:AIGC图片检测'."\n"
- .'- profilePhotoCheck:头像图片检测'."\n"
- .'- advertisingCheck:营销素材检测'."\n"
- .'- liveStreamCheck:视频\\直播截图检测',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'name' => 'Code',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'code码', 'type' => 'string', 'required' => false, 'example' => '200'],
],
[
- 'name' => 'ServiceParameters',
- 'in' => 'query',
+ 'name' => 'Msg',
+ 'in' => 'formData',
+ 'schema' => ['description' => '提示信息', 'type' => 'string', 'required' => false, 'example' => 'OK'],
+ ],
+ [
+ 'name' => 'Checksum',
+ 'in' => 'formData',
+ 'schema' => ['description' => '校验码。', 'type' => 'string', 'required' => false, 'example' => 'abc'],
+ ],
+ [
+ 'name' => 'ReqId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '平台请求id,用于辅助排查问题', 'type' => 'string', 'required' => false, 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'],
+ ],
+ [
+ 'name' => 'Data',
+ 'in' => 'formData',
+ 'schema' => ['description' => '返回数据。', 'type' => 'string', 'required' => false, 'example' => '{\'Result\': [{\'Confidence\': 100.0, \'CustomizedHit\': [{\'KeyWords\': u\'\\u4fdd\\u969c,\\u6700\\u5927,\\u9ad8\\u7ea7\', \'LibName\': u\'\\u4f18\\u8def\\u654f\\u611f\\u8bcd\'}], \'Label\': \'customized\'}]}'],
+ ],
+ [
+ 'name' => 'Channel',
+ 'in' => 'formData',
'schema' => [
- 'description' => '内容检测对象的相关参数集。JSON字符串格式。',
+ 'description' => '渠道字段',
'type' => 'string',
'required' => false,
- 'example' => '{"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img123****"}',
+ 'enumValueTitles' => ['ant' => 'ant'],
+ 'example' => 'ant',
],
],
],
@@ -1432,99 +1773,67 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '4A926AE2-4C96-573F-824F-0532960799F8',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Data' => [
- 'description' => '图片异步检测后的结果。',
- 'type' => 'object',
- 'properties' => [
- 'ReqId' => [
- 'description' => '图片异步审核增强版API返回的reqId字段,可用此字段查询检测结果。',
- 'type' => 'string',
- 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2',
- ],
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => 'fb5ffab1-993b-449f-b8d6-b97d5e3331f2',
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Message' => ['description' => 'message信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A926AE2-4C96-573F-824F-0532960799F8\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"ReqId\\": \\"A07B3DB9-D762-5C56-95B1-8EC55CF176D2\\",\\n \\"DataId\\": \\"fb5ffab1-993b-449f-b8d6-b97d5e3331f2\\"\\n }\\n}","type":"json"}]',
- 'title' => '图片异步检测',
- 'description' => '- 图片支持以下格式:PNG、JPG、JPEG、BMP、WEBP、TIFF、ICO、HEIC、SVG。'."\n"
- ."\n"
- .' - 图片大小限制在10MB以内,像素建议大于200*200(px),像素过低会影响内容安全检测算法的效果。'."\n"
- ."\n"
- .'- 图片下载时间限制为3秒内,如果下载时间超过3秒,返回下载超时。',
- 'responseParamsDescription' => '以下为接口返回code的含义说明。'."\n"
- ."\n"
- .'| **Code** | **说明** |'."\n"
- .'| --- | --- |'."\n"
- .'| 200 | 请求正常。 |'."\n"
- .'| 400 | 请求参数为空。 |'."\n"
- .'| 401 | 请求参数错误。 |'."\n"
- .'| 402 | 请求参数长度不符合接口规定,请检查并修改。 |'."\n"
- .'| 403 | 请求超过QPS限制,请检查并调整并发。 |'."\n"
- .'| 408 | 该账号无权限调用该接口,可能是账号未开通或者已欠费,或者调用账号未被授权访问。 |'."\n"
- .'| 500 | 系统异常。 |',
- ],
- 'DescribeImageModerationResult' => [
- 'summary' => '获取图片审核增强版审核任务结果。',
- 'methods' => [
- 'post',
+ 'title' => '人审渠道回调接口',
+ 'summary' => '内容安全人审结果渠道回调接口',
+ 'extraInfo' => '无',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManualCallback'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualCallback',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200\\n}","type":"json"}]',
+ ],
+ 'ManualModeration' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '198839',
- 'abilityTreeNodes' => [
- 'FEATURElvwangLRLIH6',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '264342',
+ 'abilityTreeNodes' => ['FEATURElvwangIBEW89', 'FEATURElvwangU90H4V', 'FEATURElvwangBBY7QM', 'FEATURElvwang870NMI'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'ReqId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '图片异步审核增强版API返回的ReqId字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C',
- ],
+ 'name' => 'Service',
+ 'in' => 'formData',
+ 'schema' => ['description' => '服务。', 'type' => 'string', 'required' => false, 'example' => 'imageManualCheck'],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
+ .'- url:待检测对象的URL,请确保该URL能通过公网访问到。'."\n"
+ .'- dataId:选填,检测对象对应的数据ID。', 'type' => 'string', 'required' => false, 'example' => '{"url": "https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}'],
],
],
'responses' => [
@@ -1534,173 +1843,70 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '2881AD4F-638B-52A3-BA20-F74C5B1CEAE3',
- ],
- 'Code' => [
- 'description' => '错误码,和HTTP状态码一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'Data' => [
- 'description' => '图片内容检测后的结果。',
+ 'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => '2a5389eb-4ff8-4584-ac99-644e2a539aa1',
- ],
- 'Result' => [
- 'description' => '图片检测的风险标签、置信分等参数结果。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回集合。',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '图片内容检测运算后返回的标签。',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级。',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- ],
- ],
- 'FrameNum' => [
- 'description' => '结果帧数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Frame' => [
- 'description' => '图片截帧信息。',
- 'type' => 'string',
- 'example' => '[{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]',
- ],
- 'ReqId' => [
- 'description' => '图片异步审核增强版API返回的reqId字段。',
- 'type' => 'string',
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'."\n",
- ],
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'description' => '人审任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'AccountId' => [
- 'description' => '客户入参AccountId',
- 'type' => 'string',
- 'example' => '123456789',
- ],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => '2a5389eb-4ff8-4584-ac99-644e2a539aa1'],
+ 'TaskId' => ['description' => '任务Id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2881AD4F-638B-52A3-BA20-F74C5B1CEAE3\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"2a5389eb-4ff8-4584-ac99-644e2a539aa1\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Confidence\\": 81.22,\\n \\"Description\\": \\"未检测出风险\\",\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"FrameNum\\": 1,\\n \\"Frame\\": \\"[{\\\\\\"result\\\\\\":[{\\\\\\"confidence\\\\\\":81.22,\\\\\\"label\\\\\\":\\\\\\"violent_explosion\\\\\\"}]}]\\",\\n \\"ReqId\\": \\"B0963D30-BAB4-562F-9ED0-7A23AEC51C7C\\\\n\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"AccountId\\": \\"123456789\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询图片异步检测结果',
- 'description' => '- 计费信息:该接口不计费。'."\n"
- .'- QPS限流:本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。',
- 'responseParamsDescription' => '以下为接口返回code的含义说明,系统仅对code返回为200的请求计量计费,其他code不会计费。'."\n"
- ."\n"
- .'| **Code** | **说明** |'."\n"
- .'| --- | --- |'."\n"
- .'| 200 | 请求正常。 |'."\n"
- .'| 280 | 检测中。 |'."\n"
- .'| 400 | 请求参数为空。 |'."\n"
- .'| 401 | 请求参数错误。 |'."\n"
- .'| 402 | 请求参数长度不符合接口规定,请检查并修改。 |'."\n"
- .'| 403 | 请求超过QPS限制,请检查并调整并发。 |'."\n"
- .'| 404 | 传入的图片下载遇到错误,请检查或重试。 |'."\n"
- .'| 405 | 传入的图片下载超时,可能是因为图片无法访问,请检查调整后重试。 |'."\n"
- .'| 406 | 传入的图片过大,请检查调整图片大小后再重试。 |'."\n"
- .'| 407 | 传入的图片格式暂不支持,请检查调整后重试。 |'."\n"
- .'| 408 | 该账号无权限调用该接口,可能是账号未开通或者已欠费,或者调用账号未被授权访问。 |'."\n"
- .'| 409 | 传入的reqId不存在,可能是查询间隔过快,或者已经超过30天有效期。 |'."\n"
- .'| 500 | 系统异常。 |',
- ],
- 'VoiceModeration' => [
- 'summary' => '提交语音审核增强版检测任务。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '内容安全人审提交任务',
+ 'summary' => '内容安全人审提交请求接口',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManualModeration'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"DataId\\": \\"2a5389eb-4ff8-4584-ac99-644e2a539aa1\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ManualModerationResult' => [
+ 'summary' => '获取人审结果',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '162159',
- 'abilityTreeNodes' => [
- 'FEATURElvwang6QCU1H',
- 'FEATURElvwangPAXR7J',
- ],
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '264414',
+ 'abilityTreeNodes' => ['FEATURElvwangIBEW89', 'FEATURElvwangU90H4V', 'FEATURElvwangBBY7QM', 'FEATURElvwang870NMI'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'Service',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '语音审核ServiceCode',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'audio_media_detection',
- ],
- ],
- [
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
- ."\n"
- .'url:必填,待检测对象的URL,请确保该URL能通过公网访问到。'."\n"
- .'dataId:选填,检测对象对应的数据ID。'."\n"
- .'更多信息,请参见ServiceParameter。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"url": "http://aliyundoc.com/test.flv", "dataId": "data1234"}',
- ],
+ 'schema' => ['description' => '服务需要的参数集,JSON字符串格式。'."\n"
+ .'- TaskId:提交任务时返回的任务id', 'type' => 'string', 'required' => false, 'example' => '{\\"TaskId\\":\\"e5f2d886-4c23-440d-999c-bd98acde11b6\\"}'],
],
],
'responses' => [
@@ -1710,36 +1916,34 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => '错误代码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'Data' => [
- 'description' => '返回任务信息数据结构',
+ 'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '任务Id',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => 'data1234',
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => 'data1234'],
+ 'TaskId' => ['description' => '任务Id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'ReviewCount' => ['title' => '审核次数', 'description' => '审核次数', 'type' => 'string', 'example' => '1'],
+ 'Result' => [
+ 'description' => '返回详细标签结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签项结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '风险标签', 'type' => 'string', 'example' => 'violent_explosion'],
+ 'Description' => ['description' => '标签描述', 'type' => 'string', 'example' => '未检测出风险'],
+ ],
+ ],
],
],
],
@@ -1747,63 +1951,57 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"DataId\\": \\"data1234\\"\\n }\\n}","type":"json"}]',
- 'title' => '语音审核增强版任务提交',
- ],
- 'VoiceModerationResult' => [
- 'summary' => '语音审核增强版检测结果获取接口。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"RiskLevel\\": \\"high\\",\\n \\"DataId\\": \\"data1234\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"ReviewCount\\": \\"1\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '内容安全人审结果获取接口',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManualModerationResult'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'MultiModalAgent' => [
+ 'summary' => '多模态AgentAPI同步检测接口',
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '162180',
- 'abilityTreeNodes' => [
- 'FEATURElvwang6QCU1H',
- 'FEATURElvwangPAXR7J',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATURElvwang828K27'],
],
'parameters' => [
[
- 'name' => 'Service',
+ 'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务类型,包括:'."\n"
- .'nickname_detection:用户昵称'."\n"
- .'待定',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => '审核服务需要的参数集。taskId,即要查询的检测任务的taskId,每次支持输入一个taskId。', 'type' => 'string', 'required' => false, 'example' => '{"content":"测试文本","dataId":"img1234567"}'],
],
[
- 'name' => 'ServiceParameters',
+ 'name' => 'AppID',
'in' => 'formData',
- 'schema' => [
- 'description' => '网关向后端服务发送API请求的参数描述。'."\n"
- ."\n"
- .'更多信息,请参见[ServiceParameter](~~43988~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '暂无',
- ],
+ 'schema' => ['description' => '白板应用唯一标识符。获取白板应用ID,请参见[CreateApp](~~204234~~)。', 'type' => 'string', 'required' => false, 'example' => 'txt_check_agent_01'],
],
],
'responses' => [
@@ -1813,156 +2011,52 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '2881AD4F-638B-52A3-BA20-F74C5B1CEAE3',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '请求消息的响应消息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'SUCCESS'],
'Data' => [
- 'description' => '返回数据。',
+ 'description' => '图片内容检测后的结果。',
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => '任务URL',
- 'type' => 'string',
- 'example' => '暂无',
- ],
- 'LiveId' => [
- 'description' => '直播的唯一标识ID。',
- 'type' => 'string',
- 'example' => 'liveId',
- ],
- 'TaskId' => [
- 'description' => '任务ID',
- 'type' => 'string',
- 'example' => 'kw24ihd0WGkdi5nniVZM@qOj-1x5Ibb',
- ],
- 'SliceDetails' => [
- 'description' => '分段结果',
+ 'DataId' => ['description' => '数据ID', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'Result' => [
+ 'description' => '标签项结构。',
'type' => 'array',
'items' => [
- 'description' => '分段结果条目',
+ 'description' => '返回集合。',
'type' => 'object',
'properties' => [
- 'StartTime' => [
- 'description' => '分段开始时间(秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'EndTime' => [
- 'description' => '分段结束时间(秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'StartTimestamp' => [
- 'description' => '切片开始时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1678854649720',
- ],
- 'EndTimestamp' => [
- 'description' => '切片结束时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1678854649720',
- ],
- 'Url' => [
- 'description' => '分段语音文件临时地址',
- 'type' => 'string',
- 'example' => '暂无',
- ],
- 'Text' => [
- 'description' => '分段语音转写文本',
- 'type' => 'string',
- 'example' => '今天天气真不错',
- ],
- 'Labels' => [
- 'description' => '命中违规标签',
- 'type' => 'string',
- 'example' => 'sexual_sounds',
- ],
- 'Score' => [
- 'description' => '风险分数,默认范围 0-99',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '87.01',
- ],
- 'Extend' => [
- 'description' => '扩展字段',
- 'type' => 'string',
- 'example' => '{\\"riskWords\\":\\"色情服务\\","adNums":"\\","riskTips":"涉政_人物,涉政_红歌"}',
- ],
- 'RiskTips' => [
- 'description' => '命中风险详情',
- 'type' => 'string',
- 'example' => '涉政_人物',
- ],
- 'RiskWords' => [
- 'description' => '命中风险关键词',
- 'type' => 'string',
- 'example' => '色情服务',
- ],
- 'OriginAlgoResult' => [
- 'description' => '保留字段',
- 'type' => 'object',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'Descriptions' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '疑似违禁内容',
- ],
+ 'Label' => ['description' => '风险标签', 'type' => 'string', 'example' => 'violent_explosion'],
+ 'Description' => ['description' => '标签描述', 'type' => 'string', 'example' => '未检测出风险'],
+ 'Reason' => ['description' => '结束该会话时的结果描述。'."\n"
+ .'- **SESSION_KILLED**:结束会话成功。'."\n"
+ .'- **SESSION_EXPIRED**:会话已过期。'."\n"
+ .'- **SESSION\\_NO\\_PERMISSION**:用于结束会话的账号权限不足。'."\n"
+ .'- **SESSION\\_ACCOUNT\\_ERROR**:用于结束会话的账号或密码错误。'."\n"
+ .'- **SESSION\\_IGNORED\\_USER**:不需要结束的账号的会话。'."\n"
+ .'- **SESSION\\_INTERNAL\\_USER\\_OR\\_COMMAND**:阿里云运维账号的会话或者命令。'."\n"
+ .'- **SESSION\\_KILL\\_TASK\\_TIMEOUT**:结束会话超时。'."\n"
+ .'- **SESSION\\_OTHER\\_ERROR**:其他错误。', 'type' => 'string', 'example' => 'TRACER_SLB_ALL_DEST_WEIGHT_0'],
],
],
],
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => 'data1234',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'description' => '人审任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
+ 'Usage' => [
+ 'description' => 'Token使用情况',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromptLength' => ['description' => '提示词长度。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'ContentLength' => ['description' => '内容长度。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'AgentDetail' => ['description' => '智能体详细', 'type' => 'object'],
+ ],
],
],
],
@@ -1970,63 +2064,81 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2881AD4F-638B-52A3-BA20-F74C5B1CEAE3\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"Url\\": \\"暂无\\",\\n \\"LiveId\\": \\"liveId\\",\\n \\"TaskId\\": \\"kw24ihd0WGkdi5nniVZM@qOj-1x5Ibb\\",\\n \\"SliceDetails\\": [\\n {\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 10,\\n \\"StartTimestamp\\": 1678854649720,\\n \\"EndTimestamp\\": 1678854649720,\\n \\"Url\\": \\"暂无\\",\\n \\"Text\\": \\"今天天气真不错\\",\\n \\"Labels\\": \\"sexual_sounds\\",\\n \\"Score\\": 87.01,\\n \\"Extend\\": \\"{\\\\\\\\\\\\\\"riskWords\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"色情服务\\\\\\\\\\\\\\",\\\\\\"adNums\\\\\\":\\\\\\"\\\\\\\\\\\\\\",\\\\\\"riskTips\\\\\\":\\\\\\"涉政_人物,涉政_红歌\\\\\\"}\\",\\n \\"RiskTips\\": \\"涉政_人物\\",\\n \\"RiskWords\\": \\"色情服务\\",\\n \\"OriginAlgoResult\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"RiskLevel\\": \\"high\\",\\n \\"Descriptions\\": \\"疑似违禁内容\\"\\n }\\n ],\\n \\"DataId\\": \\"data1234\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询语音审核结果',
- ],
- 'VoiceModerationCancel' => [
- 'summary' => '语音审核增强版取消任务接口。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '内容审核Agent',
+ 'description' => '内容安全审核Agent。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalAgent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Description\\": \\"未检测出风险\\",\\n \\"Reason\\": \\"TRACER_SLB_ALL_DEST_WEIGHT_0\\"\\n }\\n ],\\n \\"Usage\\": {\\n \\"PromptLength\\": 100,\\n \\"ContentLength\\": 10,\\n \\"AgentDetail\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'MultiModalGuard' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '164076',
- 'abilityTreeNodes' => [
- 'FEATURElvwang6QCU1H',
- 'FEATURElvwangPAXR7J',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATURElvwang828K27'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务类型,包括:'."\n"
- .'nickname_detection:用户昵称'."\n"
- .'待定',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => '审核服务分类,包括:'."\n"
+ ."\n"
+ .'- query_security_check_pro:AI输入内容安全检测_pro版'."\n"
+ .'- response_security_check_pro:AI生成内容安全检测_pro版'."\n"
+ .'- img_query_security_check:AIGC输入图片安全检测'."\n"
+ .'- img_response_security_check:AIGC输出图片安全检测'."\n"
+ .'- text_img_mix_guard:多模态(文本+图片)混合安全检测'."\n"
+ .'- file_security_sync_check:AIGC输入或输出文件安全检测'."\n"
+ .'- text_file_sec_sync_check:多模态(文本+文件)实时安全检测', 'type' => 'string', 'required' => false, 'example' => 'query_security_check_pro'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '待取消任务TaskId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "taskId": "xxxxx-xxxx"'."\n"
- .' }',
- ],
+ 'schema' => ['description' => '审核服务需要的参数集,JSON字符串格式。文本内容入参是content(String),图片内容入参是imageUrls(JSONArray),文件内容入参是fileUrls(JSONArray),', 'type' => 'string', 'required' => false, 'example' => '- 文本:'."\n"
+ .'{'."\n"
+ .' "content": "test"'."\n"
+ .'}'."\n"
+ ."\n"
+ .'- 图片:'."\n"
+ .'{'."\n"
+ .' "imageUrls": ["https://example.com/image.png"]'."\n"
+ .'}'."\n"
+ ."\n"
+ .'- 文件:'."\n"
+ .'{'."\n"
+ .' "fileUrls": ["https://example.com/file.pdf"]'."\n"
+ .'}'],
],
],
'responses' => [
@@ -2036,41 +2148,106 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '4A926AE2-4C96-573F-824F-0532960799F8',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '请求消息的响应消息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'OK'],
+ 'Data' => [
+ 'description' => '返回的数据内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Detail' => [
+ 'description' => '检测详情。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => [
+ 'description' => '检测结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'contraband_act'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似违禁行为'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
+ 'Level' => ['description' => '风险等级。包含:'."\n"
+ .'- high:高风险(若命中自定义词库,风险等级默认为高风险)'."\n"
+ .'- medium:中风险'."\n"
+ .'- low:低风险'."\n"
+ .'- none:未检测到风险', 'type' => 'string', 'example' => 'none'],
+ 'Ext' => ['description' => '检测结果扩展信息。', 'type' => 'any', 'example' => '{}'],
+ ],
+ ],
+ ],
+ 'Type' => ['description' => '检测类型。包含:'."\n"
+ .'- contentModeration 内容合规检测'."\n"
+ .'- promptAttack 提示词攻击检测'."\n"
+ .'- sensitiveData 敏感内容检测'."\n"
+ .'- modelHallucination 模型幻觉'."\n"
+ .'- maliciousFile 恶意文件检测'."\n"
+ .'- maliciousUrl 恶意URL检测'."\n"
+ .'- waterMark 数字水印标识'."\n"
+ .'- customLabel 自定义检测Agent', 'type' => 'string', 'example' => 'contentModeration'],
+ 'Level' => ['description' => '风险等级。包含:'."\n"
+ .'- high:高风险(若命中自定义词库,风险等级默认为高风险)'."\n"
+ .'- medium:中风险'."\n"
+ .'- low:低风险'."\n"
+ .'- none:未检测到风险', 'type' => 'string', 'example' => 'none'],
+ 'Suggestion' => ['description' => '审核建议'."\n"
+ ."\n"
+ .'- block:建议阻断'."\n"
+ .'- pass:建议通过'."\n"
+ .'- watch:建议观察'."\n"
+ .'- mask:建议脱敏', 'type' => 'string', 'example' => 'pass'],
+ ],
+ ],
+ ],
+ 'Suggestion' => ['description' => '审核建议'."\n"
+ ."\n"
+ .'- block:建议阻断'."\n"
+ .'- pass:建议通过'."\n"
+ .'- watch:建议观察'."\n"
+ .'- mask:建议脱敏', 'type' => 'string', 'example' => 'pass'],
+ 'DataId' => ['description' => '检测对象对应的数据ID。', 'type' => 'string', 'example' => 'data1234'],
+ ],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A926AE2-4C96-573F-824F-0532960799F8\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
- 'title' => '取消语音流审核任务',
- ],
- 'VideoModeration' => [
- 'summary' => '内容安全视频审核增强版,帮助您检测视频文件中的风险或违规内容。本接口为检测任务提交接口。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'AI安全护栏多模态同步检测接口',
+ 'summary' => 'AI安全护栏多模态同步检测接口,包括内容合规检测、敏感内容检测、提示词攻击检测、恶意文件检测、恶意URL检测等全方位检测能力。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalGuard',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Detail\\": [\\n {\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"contraband_act\\",\\n \\"Description\\": \\"疑似违禁行为\\",\\n \\"Confidence\\": 100,\\n \\"Level\\": \\"none\\",\\n \\"Ext\\": \\"{}\\"\\n }\\n ],\\n \\"Type\\": \\"contentModeration\\",\\n \\"Level\\": \\"none\\",\\n \\"Suggestion\\": \\"pass\\"\\n }\\n ],\\n \\"Suggestion\\": \\"pass\\",\\n \\"DataId\\": \\"data1234\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'MultiModalGuardAsync' => [
+ 'summary' => 'AI安全护栏多模态异步检测接口,支持音频、视频模态,包括内容合规检测、敏感内容检测、提示词攻击检测、恶意文件检测、恶意URL检测等全方位检测能力。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2083,40 +2260,21 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '187556',
- 'abilityTreeNodes' => [
- 'FEATURElvwang53TCRC',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang53TCRC'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
- 'schema' => [
- 'description' => '视频审核ServiceCode',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'liveStreamDetection' => '视频直播流审核',
- 'videoDetection' => '视频文件审核',
- 'liveStreamDetection_cb' => '视频直播流审核_海外版',
- 'videoDetection_cb' => '视频文件审核_海外版',
- ],
- 'example' => 'videoDetection',
- ],
+ 'schema' => ['title' => '审核服务类型,包括:'."\n"
+ .'nickname_detection:用户昵称'."\n"
+ .'待定', 'description' => '审核服务类型,包括:audio_security_check、video_security_check', 'type' => 'string', 'required' => false, 'example' => 'audio_security_check'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
- .'- url:必填,待检测对象的URL,请确保该URL能通过公网访问到。'."\n"
- .'- dataId:选填,检测对象对应的数据ID。'."\n"
- ."\n"
- .'更多信息,请参见[ServiceParameter](https://help.aliyun.com/document_detail/2505810.html)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"url": "https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}',
- ],
+ 'schema' => ['title' => '审核服务需要的参数集', 'description' => '审核服务需要的参数集', 'type' => 'string', 'required' => false, 'example' => '{"url": "https://testxxx.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}'],
],
],
'responses' => [
@@ -2126,58 +2284,41 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Message' => [
- 'description' => '请求消息的响应消息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Message' => ['title' => '返回信息', 'description' => '返回信息', 'type' => 'string', 'example' => 'OK'],
+ 'Code' => ['title' => '返回码。返回200代表成功。', 'description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'Data' => [
+ 'title' => '返回数据。',
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => 'data1234',
- ],
+ 'TaskId' => ['title' => '任务Id', 'description' => '任务ID,标识异步任务的ID', 'type' => 'string', 'example' => 'au_f_xxxxx'],
+ 'DataId' => ['title' => '数据ID', 'description' => '数据ID,自定义', 'type' => 'string', 'example' => 'dataIdxxx'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"DataId\\": \\"data1234\\"\\n }\\n}","type":"json"}]',
- 'title' => '视频审核增强版任务提交',
- 'description' => '请确保在使用该接口前,已[开通内容安全增强版](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn)服务,并充分了解视频审核增强版产品的[收费方式](https://help.aliyun.com/document_detail/2505807.html)和[价格](https://www.aliyun.com/price/product?#/lvwang/detail/cdibag)。',
- ],
- 'VideoModerationResult' => [
- 'summary' => '获取视频审核增强版审核任务结果。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'AI安全护栏多模态异步检测接口',
+ 'description' => '如有涉及到收费的 API,请在第一句加上粗体的"请确保在使用该接口前,已充分了解XXX产品的收费方式和价格。"其中价格是个超链,链接为:https://www.aliyun.com/price/product#/ecs/detail',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"OK\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"TaskId\\": \\"au_f_xxxxx\\",\\n \\"DataId\\": \\"dataIdxxx\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'MultiModalGuardAsyncResult' => [
+ 'summary' => 'AI安全护栏多模态异步结果查询接口,支持音频、视频模态',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2190,36 +2331,20 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '187919',
- 'abilityTreeNodes' => [
- 'FEATURElvwang53TCRC',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang53TCRC'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
- 'schema' => [
- 'description' => '视频审核ServiceCode',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'liveStreamDetection' => '视频直播流审核',
- 'videoDetection' => '视频文件审核',
- 'liveStreamDetection_cb' => '视频直播流审核_海外版',
- 'videoDetection_cb' => '视频文件审核_海外版',
- ],
- 'example' => 'videoDetection',
- ],
+ 'schema' => ['description' => '审核服务service', 'type' => 'string', 'required' => false, 'example' => 'audio_security_check'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务需要的参数集。taskId,即要查询的检测任务的taskId,每次支持输入一个taskId。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"taskId":"au_f_8PoWiZKoLbczp5HRn69VdT-1y8@U5"}',
- ],
+ 'schema' => ['description' => '审核服务需要的参数集。JSON字符串格式', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "taskId": "au_f_xxxxx"'."\n"
+ .'}'],
],
],
'responses' => [
@@ -2229,529 +2354,229 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'success finished',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
'Data' => [
- 'description' => '审核结果数据。',
+ 'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'LiveId' => [
- 'description' => '直播的唯一标识ID。',
- 'type' => 'string',
- 'example' => 'liveId',
- ],
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => 'product_content-2055763',
- ],
+ 'LiveId' => ['description' => '直播的唯一标识ID。', 'type' => 'string', 'example' => 'liveId'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => 'data1234'],
+ 'TaskId' => ['description' => '任务Id', 'type' => 'string', 'example' => 'vi_f_xxx'],
+ 'Suggestion' => ['description' => '建议'."\n"
+ ."\n"
+ .'- block:建议阻断'."\n"
+ .'- pass:建议通过'."\n"
+ .'- watch:建议观察'."\n"
+ .'- mask:建议脱敏', 'type' => 'string', 'example' => 'pass'],
'AudioResult' => [
- 'description' => '视频语音审核分段结果。',
+ 'description' => '语音审核分段结果。',
'type' => 'object',
'properties' => [
+ 'Suggestion' => ['description' => '建议', 'type' => 'string', 'example' => 'pass'],
+ 'SliceNum' => ['description' => '分段数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'SliceDetails' => [
- 'description' => '语音分段列表',
+ 'description' => '分段详情',
'type' => 'array',
'items' => [
'description' => '分段详情',
'type' => 'object',
'properties' => [
- 'StartTime' => [
- 'description' => '分段开始时间(秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'EndTime' => [
- 'description' => '分段结束时间(秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'StartTimestamp' => [
- 'description' => '开始时间戳,精确到毫秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659935002123',
- ],
- 'EndTimestamp' => [
- 'description' => '结束时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1685245261939',
- ],
- 'Url' => [
- 'description' => '分段语音文件临时地址',
- 'type' => 'string',
- 'example' => 'http://xxxx.abc.img',
- ],
- 'Text' => [
- 'description' => '分段语音转写文本',
- 'type' => 'string',
- 'example' => '今天天气真不错',
- ],
- 'Labels' => [
- 'description' => '命中违规标签',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'Score' => [
- 'description' => '风险分数,默认范围 0-99',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5',
- ],
- 'Extend' => [
- 'description' => '扩展字段',
- 'type' => 'string',
- 'example' => '{\\"consoleProduct\\":\\"slbnext\\"}',
- ],
- 'RiskTips' => [
- 'description' => '命中风险详情',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'RiskWords' => [
- 'description' => '命中风险关键词',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'Descriptions' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '疑似违禁内容',
- ],
- ],
- ],
- ],
- 'AudioSummarys' => [
- 'description' => '语音标签汇总。',
- 'type' => 'array',
- 'items' => [
- 'description' => '对象',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '视频语音标签。',
- 'type' => 'string',
- 'example' => 'profanity',
- ],
- 'LabelSum' => [
- 'description' => '标签出现次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'Description' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '疑似违禁内容',
+ 'StartTime' => ['description' => '分段开始时间(秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'EndTime' => ['description' => '分段结束时间(秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'Url' => ['description' => '分段语音文件临时地址', 'type' => 'string', 'example' => 'http://xxxx.abc.wav'],
+ 'Text' => ['description' => '分段语音转写文本', 'type' => 'string', 'example' => '今天天气真不错'],
+ 'Suggestion' => ['description' => '审核建议'."\n"
+ ."\n"
+ .'- block:建议阻断'."\n"
+ .'- pass:建议通过'."\n"
+ .'- watch:建议观察'."\n"
+ .'- mask:建议脱敏', 'type' => 'string', 'example' => 'block'],
+ 'Detail' => [
+ 'description' => '检测详情。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => [
+ 'description' => '检测结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '标签', 'type' => 'string', 'example' => 'drug'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '毒品'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '90'],
+ 'Level' => ['description' => '风险等级。包含:'."\n"
+ .'- high:高风险(若命中自定义词库,风险等级默认为高风险)'."\n"
+ .'- medium:中风险'."\n"
+ .'- low:低风险'."\n"
+ .'- none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'Ext' => ['description' => '检测结果扩展信息。', 'type' => 'any', 'example' => '{}'],
+ ],
+ ],
+ ],
+ 'Type' => ['description' => '检测类型。包含:'."\n"
+ .'- contentModeration 内容合规检测'."\n"
+ .'- promptAttack 提示词攻击检测'."\n"
+ .'- sensitiveData 敏感内容检测'."\n"
+ .'- modelHallucination 模型幻觉'."\n"
+ .'- maliciousFile 恶意文件检测', 'type' => 'string', 'example' => 'contentModeration'],
+ 'Level' => ['description' => '风险等级。包含:'."\n"
+ .'- high:高风险(若命中自定义词库,风险等级默认为高风险)'."\n"
+ .'- medium:中风险'."\n"
+ .'- low:低风险'."\n"
+ .'- none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'Suggestion' => ['description' => '审核建议'."\n"
+ ."\n"
+ .'- block:建议阻断'."\n"
+ .'- pass:建议通过'."\n"
+ .'- watch:建议观察'."\n"
+ .'- mask:建议脱敏', 'type' => 'string', 'example' => 'block'],
+ ],
+ ],
],
],
],
],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
],
],
'FrameResult' => [
'description' => '视频截帧结果列表',
'type' => 'object',
'properties' => [
- 'FrameNum' => [
- 'description' => '结果帧数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'SliceNum' => ['description' => '分段数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Suggestion' => ['description' => '审核建议'."\n"
+ ."\n"
+ .'- block:建议阻断'."\n"
+ .'- pass:建议通过'."\n"
+ .'- watch:建议观察'."\n"
+ .'- mask:建议脱敏', 'type' => 'string', 'example' => 'pass'],
'Frames' => [
- 'description' => '包含命中标签的视频截帧的信息。',
+ 'description' => '画面检测结果',
'type' => 'array',
'items' => [
- 'description' => '对象',
+ 'description' => '检测结果',
'type' => 'object',
'properties' => [
- 'TempUrl' => [
- 'description' => '截帧图片临时访问地址',
- 'type' => 'string',
- 'example' => 'http://xxxx.abc.jpg',
- ],
- 'Offset' => [
- 'description' => '截帧偏移值。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '338',
- ],
- 'Results' => [
- 'description' => '帧检测结果详情',
+ 'Url' => ['description' => '片段临时url', 'type' => 'string', 'example' => 'https://xxx.jpeg'],
+ 'Offset' => ['description' => '截帧位置', 'type' => 'number', 'format' => 'float', 'example' => '1.5'],
+ 'Suggestion' => ['description' => '审核建议'."\n"
+ ."\n"
+ .'- block:建议阻断'."\n"
+ .'- pass:建议通过'."\n"
+ .'- watch:建议观察'."\n"
+ .'- mask:建议脱敏', 'type' => 'string', 'example' => 'block'],
+ 'Timestamp' => ['description' => '绝对时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1684559739000'],
+ 'Detail' => [
+ 'description' => '检测结果列表',
'type' => 'array',
'items' => [
- 'description' => '对象',
+ 'description' => '检测结果',
'type' => 'object',
'properties' => [
- 'Service' => [
- 'description' => '图片审核服务类型',
- 'type' => 'string',
- 'example' => 'tonalityImprove',
- ],
'Result' => [
- 'description' => '命中结果详情',
- 'type' => 'array',
- 'items' => [
- 'description' => '对象',
- 'type' => 'object',
- 'properties' => [
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'Label' => [
- 'description' => '检测结果的分类',
- 'type' => 'string',
- 'example' => 'bloody',
- ],
- 'Description' => [
- 'description' => '对Labal字段的说明。',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
- ],
- ],
- ],
- 'TextInImage' => [
- 'description' => '返回命中的图片中文字信息。',
- 'type' => 'object',
- ],
- 'CustomImage' => [
- 'description' => '如果命中自定义图库,返回命中的自定义图库信息。',
+ 'description' => '检测结果',
'type' => 'array',
'items' => [
- 'description' => '对象',
+ 'description' => '检测结果',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '命中的自定义图库ID。',
- 'type' => 'string',
- 'example' => '12345678',
- ],
- 'ImageId' => [
- 'description' => '命中的自定义图片ID。',
- 'type' => 'string',
- 'example' => '1234',
- ],
- ],
- ],
- ],
- 'PublicFigure' => [
- 'description' => '视频中包含特定人物时,返回识别出来的人物编码。',
- 'type' => 'array',
- 'items' => [
- 'description' => '对象',
- 'type' => 'object',
- 'properties' => [
- 'FigureId' => [
- 'description' => '识别出的人物编码信息。',
- 'type' => 'string',
- 'example' => 'xxx001',
- ],
- 'FigureName' => [
- 'description' => '识别出的人物名称',
- 'type' => 'string',
- 'example' => '张三',
- ],
- 'Location' => [
- 'description' => '识别出的人物的位置',
- 'type' => 'array',
- 'items' => [
- 'description' => '位置对象',
- 'type' => 'object',
- 'properties' => [
- 'W' => [
- 'description' => '宽',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '111',
- ],
- 'H' => [
- 'description' => '高',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '222',
- ],
- 'X' => [
- 'description' => '起始点横坐标',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '111',
- ],
- 'Y' => [
- 'description' => '起始点纵坐标',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '222',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'LogoData' => [
- 'description' => '视频中包含logo时,返回的logo信息',
- 'type' => 'array',
- 'items' => [
- 'description' => 'logo信息对象',
- 'type' => 'object',
- 'properties' => [
- 'Location' => [
- 'description' => '文字行及坐标信息。',
- 'type' => 'object',
- 'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '111',
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '222',
- ],
- 'W' => [
- 'description' => '文字区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '111',
- ],
- 'H' => [
- 'description' => '文字区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '111',
- ],
- ],
- ],
- 'Logo' => [
- 'description' => '标识信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'logo对象',
- 'type' => 'object',
- 'properties' => [
- 'label' => [
- 'description' => '命中标签',
- 'type' => 'string',
- 'example' => 'pt_logotoSocialNetwork',
- ],
- 'name' => [
- 'description' => '标识名。',
- 'type' => 'string',
- 'example' => '**卫视',
- ],
- 'confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '99.1',
- ],
- ],
- ],
- ],
+ 'Label' => ['description' => '标签', 'type' => 'string', 'example' => 'ad'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '广告'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '80'],
+ 'Level' => ['description' => '风险等级。包含:'."\n"
+ .'- high:高风险(若命中自定义词库,风险等级默认为高风险)'."\n"
+ .'- medium:中风险'."\n"
+ .'- low:低风险'."\n"
+ .'- none:未检测到风险', 'type' => 'string', 'example' => 'loose'],
+ 'Ext' => ['description' => '检测结果扩展信息。', 'type' => 'any', 'example' => '{}'],
],
],
],
+ 'Type' => ['description' => '检测类型。包含:'."\n"
+ .'- contentModeration 内容合规检测'."\n"
+ .'- promptAttack 提示词攻击检测'."\n"
+ .'- sensitiveData 敏感内容检测'."\n"
+ .'- modelHallucination 模型幻觉'."\n"
+ .'- maliciousFile 恶意文件检测', 'type' => 'string', 'example' => 'contentModeration'],
+ 'Level' => ['description' => '风险等级。包含:'."\n"
+ .'- high:高风险(若命中自定义词库,风险等级默认为高风险)'."\n"
+ .'- medium:中风险'."\n"
+ .'- low:低风险'."\n"
+ .'- none:未检测到风险', 'type' => 'string', 'example' => 'low'],
+ 'Suggestion' => ['description' => '审核建议'."\n"
+ ."\n"
+ .'- block:建议阻断'."\n"
+ .'- pass:建议通过'."\n"
+ .'- watch:建议观察'."\n"
+ .'- mask:建议脱敏', 'type' => 'string', 'example' => 'watch'],
],
],
],
- 'Timestamp' => [
- 'description' => '绝对时间戳,单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1684559739000',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- ],
- ],
- 'FrameSummarys' => [
- 'description' => '视频截帧标签汇总。',
- 'type' => 'array',
- 'items' => [
- 'description' => '视频截帧标签对象',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '视频截帧标签。',
- 'type' => 'string',
- 'example' => 'violent_armedForces',
- ],
- 'LabelSum' => [
- 'description' => '标签出现次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'Description' => [
- 'description' => '对Labal字段的说明。',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
],
],
],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
],
],
- 'TaskId' => [
- 'description' => '任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'description' => '人审任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success finished\\",\\n \\"Data\\": {\\n \\"LiveId\\": \\"liveId\\",\\n \\"DataId\\": \\"product_content-2055763\\",\\n \\"AudioResult\\": {\\n \\"SliceDetails\\": [\\n {\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 30,\\n \\"StartTimestamp\\": 1659935002123,\\n \\"EndTimestamp\\": 1685245261939,\\n \\"Url\\": \\"http://xxxx.abc.img\\",\\n \\"Text\\": \\"今天天气真不错\\",\\n \\"Labels\\": \\"porn\\",\\n \\"Score\\": 5,\\n \\"Extend\\": \\"{\\\\\\\\\\\\\\"consoleProduct\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"slbnext\\\\\\\\\\\\\\"}\\",\\n \\"RiskTips\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RiskWords\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"Descriptions\\": \\"疑似违禁内容\\"\\n }\\n ],\\n \\"AudioSummarys\\": [\\n {\\n \\"Label\\": \\"profanity\\",\\n \\"LabelSum\\": 8,\\n \\"Description\\": \\"疑似违禁内容\\"\\n }\\n ],\\n \\"RiskLevel\\": \\"high\\"\\n },\\n \\"FrameResult\\": {\\n \\"FrameNum\\": 10,\\n \\"Frames\\": [\\n {\\n \\"TempUrl\\": \\"http://xxxx.abc.jpg\\",\\n \\"Offset\\": 338,\\n \\"Results\\": [\\n {\\n \\"Service\\": \\"tonalityImprove\\",\\n \\"Result\\": [\\n {\\n \\"Confidence\\": 50,\\n \\"Label\\": \\"bloody\\",\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"TextInImage\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"CustomImage\\": [\\n {\\n \\"LibId\\": \\"12345678\\",\\n \\"ImageId\\": \\"1234\\"\\n }\\n ],\\n \\"PublicFigure\\": [\\n {\\n \\"FigureId\\": \\"xxx001\\",\\n \\"FigureName\\": \\"张三\\",\\n \\"Location\\": [\\n {\\n \\"W\\": 111,\\n \\"H\\": 222,\\n \\"X\\": 111,\\n \\"Y\\": 222\\n }\\n ]\\n }\\n ],\\n \\"LogoData\\": [\\n {\\n \\"Location\\": {\\n \\"X\\": 111,\\n \\"Y\\": 222,\\n \\"W\\": 111,\\n \\"H\\": 111\\n },\\n \\"Logo\\": [\\n {\\n \\"label\\": \\"pt_logotoSocialNetwork\\",\\n \\"name\\": \\"**卫视\\",\\n \\"confidence\\": 99.1\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Timestamp\\": 1684559739000,\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"FrameSummarys\\": [\\n {\\n \\"Label\\": \\"violent_armedForces\\",\\n \\"LabelSum\\": 8,\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"RiskLevel\\": \\"high\\"\\n },\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询视频审核任务结果',
- 'description' => '该接口不计费,建议您将查询间隔设置为30秒(即在提交异步检测任务30秒后查询结果),最长不能超出24小时,否则结果将会自动删除。',
- ],
- 'VideoModerationCancel' => [
- 'summary' => '取消视频直播审核任务。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'AI安全护栏多模态异步检测结果查询接口',
+ 'description' => '如有涉及到收费的 API,请在第一句加上粗体的"请确保在使用该接口前,已充分了解XXX产品的收费方式和价格。"其中价格是个超链,链接为:https://www.aliyun.com/price/product#/ecs/detail',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"LiveId\\": \\"liveId\\",\\n \\"DataId\\": \\"data1234\\",\\n \\"TaskId\\": \\"vi_f_xxx\\",\\n \\"Suggestion\\": \\"pass\\",\\n \\"AudioResult\\": {\\n \\"Suggestion\\": \\"pass\\",\\n \\"SliceNum\\": 2,\\n \\"SliceDetails\\": [\\n {\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 20,\\n \\"Url\\": \\"http://xxxx.abc.wav\\",\\n \\"Text\\": \\"今天天气真不错\\",\\n \\"Suggestion\\": \\"block\\",\\n \\"Detail\\": [\\n {\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"drug\\",\\n \\"Description\\": \\"毒品\\",\\n \\"Confidence\\": 90,\\n \\"Level\\": \\"high\\",\\n \\"Ext\\": \\"{}\\"\\n }\\n ],\\n \\"Type\\": \\"contentModeration\\",\\n \\"Level\\": \\"high\\",\\n \\"Suggestion\\": \\"block\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"FrameResult\\": {\\n \\"SliceNum\\": 2,\\n \\"Suggestion\\": \\"pass\\",\\n \\"Frames\\": [\\n {\\n \\"Url\\": \\"https://xxx.jpeg\\",\\n \\"Offset\\": 1.5,\\n \\"Suggestion\\": \\"block\\",\\n \\"Timestamp\\": 1684559739000,\\n \\"Detail\\": [\\n {\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"ad\\",\\n \\"Description\\": \\"广告\\",\\n \\"Confidence\\": 80,\\n \\"Level\\": \\"loose\\",\\n \\"Ext\\": \\"{}\\"\\n }\\n ],\\n \\"Type\\": \\"contentModeration\\",\\n \\"Level\\": \\"low\\",\\n \\"Suggestion\\": \\"watch\\"\\n }\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'MultiModalGuardForBase64' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '201471',
- 'abilityTreeNodes' => [
- 'FEATURElvwang53TCRC',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATURElvwangTHWXLK', 'FEATURElvwang4DJRB7', 'FEATURElvwang5OIOPT', 'FEATURElvwangCXOBXW', 'FEATURElvwang08CDRQ', 'FEATURElvwang2AB5DH', 'FEATURElvwangZUTYIL', 'FEATURElvwangEZQESQ'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Service',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务类型',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'liveStreamDetection' => '视频直播流检测',
- 'videoDetection' => '视频文件检测',
- 'liveStreamDetection_cb' => '视频直播流审核_海外版',
- 'videoDetection_cb' => '视频文件审核_海外版',
- ],
- 'example' => 'videoDetection',
- ],
+ 'in' => 'query',
+ 'schema' => ['title' => 'Service', 'description' => 'Service', 'type' => 'string', 'required' => false, 'example' => 'query_security_check'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '待取消任务TaskId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"taskId\\":\\"vi_s_4O9gp7GfNQdx9GOqdekFmk-1z2RJT\\"}',
- ],
+ 'schema' => ['title' => 'Service参数', 'description' => 'Service参数', 'type' => 'string', 'required' => false, 'example' => '{"content":"test"}'],
+ ],
+ [
+ 'name' => 'ImageBase64Str',
+ 'in' => 'formData',
+ 'schema' => ['title' => '图片的base64字符串', 'description' => '图片的base64字符串', 'type' => 'string', 'required' => false, 'example' => '{base64}'],
],
],
'responses' => [
@@ -2761,41 +2586,76 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '6CF2815C-****-****-B52E-FF6E2****492',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'OK',
+ 'RequestId' => ['title' => 'Id of the request'."\n"
+ .'请求的唯一标识符', 'description' => 'Id of the request'."\n"
+ .'请求的唯一标识符', 'type' => 'string', 'example' => 'XXXX'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'OK'],
+ 'Data' => [
+ 'title' => '数据',
+ 'description' => '数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'Detail' => [
+ 'title' => '详情',
+ 'description' => '详情',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '详情对象',
+ 'description' => '详情对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => [
+ 'title' => '结果',
+ 'description' => '结果',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据详情中的第一个结果',
+ 'description' => '数据详情中的第一个结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['title' => '标签', 'description' => '标签', 'type' => 'string', 'example' => 'nonLable'],
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '未检测出风险'],
+ 'Confidence' => ['title' => '置信度', 'description' => '置信度', 'type' => 'number', 'format' => 'float', 'example' => '100'],
+ 'Level' => ['title' => '风险等级', 'description' => '风险等级', 'type' => 'string', 'example' => 'low'],
+ 'Ext' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'any', 'example' => 'json格式数据'],
+ ],
+ ],
+ ],
+ 'Type' => ['title' => '分类', 'description' => '分类', 'type' => 'string', 'example' => 'contentModeration'],
+ 'Level' => ['title' => '风险等级', 'description' => '风险等级', 'type' => 'string', 'example' => 'low'],
+ 'Suggestion' => ['title' => '处置建议', 'description' => '处置建议', 'type' => 'string', 'example' => 'pass'],
+ ],
+ ],
+ ],
+ 'Suggestion' => ['title' => '处置建议', 'description' => '处置建议', 'type' => 'string', 'example' => 'pass'],
+ 'DataId' => ['title' => '数据ID', 'description' => '数据ID', 'type' => 'string', 'example' => 'xxx'],
+ ],
+ 'enumValueTitles' => [],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]',
- 'title' => '取消视频直播审核任务',
- ],
- 'FileModeration' => [
- 'summary' => '文档检测',
- 'methods' => [
- 'post',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '多模态防护接口(Base64专用)',
+ 'summary' => '多模态同步检测接口,支持图片base64字符串',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"XXXX\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Detail\\": [\\n {\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"nonLable\\",\\n \\"Description\\": \\"未检测出风险\\",\\n \\"Confidence\\": 100,\\n \\"Level\\": \\"low\\",\\n \\"Ext\\": \\"json格式数据\\"\\n }\\n ],\\n \\"Type\\": \\"contentModeration\\",\\n \\"Level\\": \\"low\\",\\n \\"Suggestion\\": \\"pass\\"\\n }\\n ],\\n \\"Suggestion\\": \\"pass\\",\\n \\"DataId\\": \\"xxx\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'MultiModalGuardWs' => [
+ 'path' => '',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'websocket'],
'security' => [
[
'AK' => [],
@@ -2807,35 +2667,114 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'paid',
- 'abilityTreeCode' => '204033',
- 'abilityTreeNodes' => [
- 'FEATURElvwangCXKRID',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangTHWXLK', 'FEATURElvwang4DJRB7', 'FEATURElvwang5OIOPT', 'FEATURElvwangCXOBXW', 'FEATURElvwang08CDRQ', 'FEATURElvwangDTK4CB', 'FEATURElvwangE9ZR0N', 'FEATURElvwang2AB5DH', 'FEATURElvwangZUTYIL', 'FEATURElvwangEZQESQ', 'FEATURElvwangPB269G'],
+ 'autoTest' => false,
+ 'notSupportAutoTestReason' => 'websocket协议当前平台不支持自动化测试',
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Service',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '文件检测增强版支持的服务',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'document_detection',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => '审核服务分类,包括:'."\n"
+ ."\n"
+ .'- query_security_check_pro:AI输入内容安全检测_pro版'."\n"
+ .'- response_security_check_pro:AI生成内容安全检测_pro版'."\n"
+ .'- img_query_security_check:AIGC输入图片安全检测'."\n"
+ .'- img_response_security_check:AIGC输出图片安全检测'."\n"
+ .'- text_img_mix_guard:多模态(文本+图片)混合安全检测'."\n"
+ .'- file_security_sync_check:AIGC输入或输出文件安全检测'."\n"
+ .'- text_file_sec_sync_check:多模态(文本+文件)实时安全检测', 'type' => 'string', 'required' => false, 'example' => 'query_security_check_pro'],
],
[
'name' => 'ServiceParameters',
- 'in' => 'formData',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核服务需要的参数集,JSON字符串格式。文本内容入参是content(String),图片内容入参是imageUrls(JSONArray),文件内容入参是fileUrls(JSONArray),', 'type' => 'string', 'required' => false, 'example' => '- 文本:'."\n"
+ .'{'."\n"
+ .' "content": "test"'."\n"
+ .'}'."\n"
+ ."\n"
+ .'- 图片:'."\n"
+ .'{'."\n"
+ .' "imageUrls": ["https://example.com/image.png"]'."\n"
+ .'}'."\n"
+ ."\n"
+ .'- 文件:'."\n"
+ .'{'."\n"
+ .' "fileUrls": ["https://example.com/file.pdf"]'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'ProtocolType',
+ 'in' => 'query',
+ 'schema' => ['description' => '协议类型'."\n"
+ ."\n"
+ .'- OpenAI'."\n"
+ .'- DashScope'."\n"
+ .'- Anthropic', 'type' => 'string', 'required' => false, 'example' => 'DashScope'],
+ ],
+ [
+ 'name' => 'ModelType',
+ 'in' => 'query',
+ 'schema' => ['description' => '模型类型'."\n"
+ ."\n"
+ .'- LLM', 'type' => 'string', 'required' => false, 'example' => 'LLM'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
- .'- url:必填,待检测对象的URL,请确保该URL能通过公网访问到。'."\n"
- .'- dataId:选填,检测对象对应的数据ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"url":"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf"}',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '552F83A7-80C9-17ED-B344-0E13F7D3BF00'],
+ ],
],
],
],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'AI安全护栏多模态检测WebSocket接口',
+ 'summary' => '支持websocket协议的AI安全护栏多模态检测接口,包括内容合规检测、敏感内容检测、提示词攻击检测、恶意文件检测、恶意URL检测等全方位检测能力。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"552F83A7-80C9-17ED-B344-0E13F7D3BF00\\"\\n}","type":"json"}]',
+ ],
+ 'MultimodalAsyncModeration' => [
+ 'summary' => '多模态-异步检测',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '211718',
+ 'abilityTreeNodes' => ['FEATURElvwang7UL554'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Service',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核服务类型。取值:'."\n"
+ .'- post_text_image_detection:帖子图文多模态检测'."\n"
+ .'- profile_text_image_detection:头像昵称图文多模态检测'."\n", 'type' => 'string', 'required' => false, 'example' => 'post_text_image_detection'],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核服务需要的参数集。JSON字符串格式。', 'type' => 'string', 'required' => false, 'example' => '{"mainData":{"mainContent":"testMainContent","mainTitle":"testMainTitle","mainImages":[{"imageUrl":"https://xxxx.com/001.jpg"}]}}'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
@@ -2843,566 +2782,324 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Message' => [
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '错误码,和HTTP状态码一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'ReqId' => ['description' => 'URL 异步审核增强版API返回的ReqId字段,可用此字段查询检测结果。', 'type' => 'string', 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
- 'title' => '文档检测任务提交',
- ],
- 'DescribeFileModerationResult' => [
- 'summary' => '文档审核结果',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '多模态异步检测',
+ 'description' => 'URL 异步检测服务支持按量后付费和资源包抵扣两种付费方式。'."\n"
+ ."\n"
+ .'- 当您开通文本审核增强版服务后,默认付费方式是按量后付费,且按照实际用量结算当日费用,不调用服务不收费。'."\n"
+ ."\n"
+ .'- 如果您的审核量较大,或有相对固定的审核需求,建议预先购买资源包的方式。购买资源包规格越大,享受的折扣越大,支持叠加购买和使用。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultimodalAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"Data\\": {\\n \\"ReqId\\": \\"A07B3DB9-D762-5C56-95B1-8EC55CF176D2\\",\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'TextModeration' => [
+ 'summary' => '采用动态策略和模型强化变异对抗性,提供多种业务场景的审核服务,识别出多种违规风险。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '205895',
- 'abilityTreeNodes' => [
- 'FEATURElvwang6CEZ66',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '128601',
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
'schema' => [
- 'description' => '文件检测增强版支持的服务',
+ 'description' => '审核服务类型,包括:'."\n"
+ .'nickname_detection:用户昵称'."\n"
+ .'chat_detection:聊天互动'."\n"
+ .'comment_detection:动态评论'."\n"
+ .'pgc_detection:教学物料PGC',
'type' => 'string',
- 'required' => false,
- 'example' => 'document_detection',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enumValueTitles' => ['pgc_detection' => 'PGC通用物料检测', 'nickname_detection' => '用户昵称检测', 'comment_multilingual_pro' => '国际业务多语言检测', 'chat_detection' => '私聊互动内容检测', 'ad_compliance_detection' => '广告法合规检测', 'comment_detection' => '公聊评论内容检测', 'ai_art_detection' => 'AIGC类文字检测'],
+ 'example' => 'nickname_detection',
],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
- .'- taskId:必填,待检测对象的URL,请确保该URL能通过公网访问到。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"taskId\\":\\"vi_f_hPgx9PFIQISdlfA888hOFG-1yJq8v\\"}',
- ],
+ 'schema' => ['description' => '审核服务需要的参数集。JSON字符串格式,关于每个字符串的描述', 'type' => 'string', 'required' => false, 'example' => '{"content":"The map is still black"}'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => '响应体',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '请求消息的响应消息。', 'type' => 'string', 'example' => 'OK'],
'Data' => [
- 'description' => '返回数据。',
+ 'description' => '审核结果数据。',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => '数据ID。',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'Url' => [
- 'description' => '文件下载URL路径。',
- 'type' => 'string',
- 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf',
- ],
- 'DocType' => [
- 'description' => '可选,文档类型',
- 'type' => 'string',
- 'example' => 'doc',
- ],
- 'PageResult' => [
- 'description' => '检测结果列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '结果内容',
- 'type' => 'object',
- 'properties' => [
- 'PageNum' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageUrl' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.jpg',
- ],
- 'TextUrl' => [
- 'description' => '文本内容保存地址',
- 'type' => 'string',
- 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.txt',
- ],
- 'ImageResult' => [
- 'description' => '图片检测结果',
- 'type' => 'array',
- 'items' => [
- 'description' => '结果内容',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '这个是标题',
- ],
- 'Service' => [
- 'description' => '调用的服务',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'Location' => [
- 'description' => '位置信息',
- 'type' => 'object',
- 'properties' => [
- 'X' => [
- 'description' => '坐标点的X值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => '坐标点的Y值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => '坐标点的W值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'H' => [
- 'description' => '坐标点的H值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
- ],
- ],
- 'LabelResult' => [
- 'description' => '标签信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签信息',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '标签',
- 'type' => 'string',
- 'example' => 'nonlabel',
- ],
- 'Confidence' => [
- 'description' => '分险分',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '25.0',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '这个是标题'."\n",
- ],
- ],
- ],
- ],
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- ],
- ],
- 'TextResult' => [
- 'description' => '文本审核结果。',
- 'type' => 'array',
- 'items' => [
- 'description' => '结果内容',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '这是一个标题',
- ],
- 'Service' => [
- 'description' => '服务',
- 'type' => 'string',
- 'example' => 'chat_detection',
- ],
- 'Text' => [
- 'description' => '文本内容',
- 'type' => 'string',
- 'example' => '吧啦吧啦',
- ],
- 'TextSegment' => [
- 'description' => '文本分段信息',
- 'type' => 'string',
- 'example' => '[0,999]',
- ],
- 'Labels' => [
- 'description' => '标签的值。',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'Descriptions' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '疑似广告内容',
- ],
- 'RiskWords' => [
- 'description' => '命中风险关键词',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RiskTips' => [
- 'description' => '命中风险详情',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'PageSummary' => [
- 'description' => '汇总信息',
+ 'labels' => ['description' => '标签,多个用英文逗号分隔。包括:'."\n"
+ .'ad:广告'."\n"
+ .'profanity:辱骂'."\n"
+ .'contraband:违禁品'."\n"
+ .'sexual_content:色情'."\n"
+ .'violence:暴恐'."\n"
+ .'nonsense:灌水'."\n"
+ .'spam:垃圾信息'."\n"
+ .'negative_content:不良场景'."\n"
+ .'cyberbullying:网络暴力'."\n"
+ .'C_customized:用户库命中', 'type' => 'string', 'example' => 'porn'],
+ 'reason' => ['description' => '原因定位的JSON字符串,包含以下字段:'."\n"
+ .'1. riskTips:细分标签'."\n"
+ .'2. riskWords:命中风险词'."\n"
+ .'3. adNums:命中广告号'."\n"
+ .'4. customizedWords:命中用户词'."\n"
+ .'5. customizedLibs:命中用户词库名'."\n"
+ .'6. riskLevel:风险等级,根据系统推荐的风险等级返回,返回值包括:'."\n"
+ .'- high:高风险'."\n"
+ .'- medium:中风险'."\n"
+ .'- low:低风险', 'type' => 'string', 'example' => '{\\"riskLevel\\":\\"high\\",\\"riskTips\\":\\"色情_低俗词\\",\\"riskWords\\":\\"色情服务\\"}'],
+ 'accountId' => ['description' => '客户入参传入的accountId', 'type' => 'string', 'example' => '123456'],
+ 'deviceId' => ['description' => '客户入参传入的deviceId', 'type' => 'string', 'example' => 'xxxxxx'],
+ 'dataId' => ['description' => '检测对象对应的数据ID。'."\n"
+ .'> 如果在检测请求参数中传入了dataId,则此处返回对应的dataId。', 'type' => 'string', 'example' => 'text1234'],
+ 'descriptions' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似广告内容'],
+ 'manualTaskId' => ['description' => '人审任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'ext' => [
+ 'description' => '文本辅助参考信息。',
'type' => 'object',
'properties' => [
- 'PageSum' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageSummary' => [
- 'description' => '图片汇总信息',
- 'type' => 'object',
- 'properties' => [
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ImageLabels' => [
- 'description' => '图片标签。',
- 'type' => 'array',
- 'items' => [
- 'description' => '图片标签。',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'contraband',
- ],
- 'LabelSum' => [
- 'description' => '标签出现次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '标签描述',
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
- ],
- ],
- ],
- 'TextSummary' => [
- 'description' => '文本汇总信息',
+ 'llmContent' => [
+ 'description' => '大模型输出内容。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'TextLabels' => [
- 'description' => '文本标签。',
- 'type' => 'array',
- 'items' => [
- 'description' => '文本标签。',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'contraband',
- ],
- 'LabelSum' => [
- 'description' => '标签出现次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
- ],
- ],
- ],
+ 'outputText' => ['description' => '输出内容。', 'type' => 'string', 'example' => '正常。文本中无风险内容。'],
],
],
],
],
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'AccountId' => [
- 'description' => '客户入参AccountId',
- 'type' => 'string',
- 'example' => 'accountIdtest123',
- ],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\",\\n \\"Url\\": \\"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf\\",\\n \\"DocType\\": \\"doc\\",\\n \\"PageResult\\": [\\n {\\n \\"PageNum\\": 1,\\n \\"ImageUrl\\": \\"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.jpg\\",\\n \\"TextUrl\\": \\"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.txt\\",\\n \\"ImageResult\\": [\\n {\\n \\"Description\\": \\"这个是标题\\",\\n \\"Service\\": \\"baselineCheck\\",\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 33,\\n \\"H\\": 44\\n },\\n \\"LabelResult\\": [\\n {\\n \\"Label\\": \\"nonlabel\\",\\n \\"Confidence\\": 25,\\n \\"Description\\": \\"这个是标题\\\\n\\"\\n }\\n ],\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"TextResult\\": [\\n {\\n \\"Description\\": \\"这是一个标题\\",\\n \\"Service\\": \\"chat_detection\\",\\n \\"Text\\": \\"吧啦吧啦\\",\\n \\"TextSegment\\": \\"[0,999]\\",\\n \\"Labels\\": \\"porn\\",\\n \\"Descriptions\\": \\"疑似广告内容\\",\\n \\"RiskWords\\": \\"xxx\\",\\n \\"RiskTips\\": \\"xxx\\",\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ]\\n }\\n ],\\n \\"PageSummary\\": {\\n \\"PageSum\\": 1,\\n \\"ImageSummary\\": {\\n \\"RiskLevel\\": \\"high\\",\\n \\"ImageLabels\\": [\\n {\\n \\"Label\\": \\"contraband\\",\\n \\"LabelSum\\": 1,\\n \\"Description\\": \\"test\\"\\n }\\n ]\\n },\\n \\"TextSummary\\": {\\n \\"RiskLevel\\": \\"high\\",\\n \\"TextLabels\\": [\\n {\\n \\"Label\\": \\"contraband\\",\\n \\"LabelSum\\": 1,\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ]\\n }\\n },\\n \\"RiskLevel\\": \\"high\\",\\n \\"AccountId\\": \\"accountIdtest123\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询文档检测结果',
- ],
- 'DescribeImageResultExt' => [
- 'summary' => '图片审核增强版辅助信息API用于获取图片审核增强版API接口识别的更多辅助信息,包含图片文字识别结果、自定义图库命中信息等。',
- 'methods' => [
- 'post',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"labels\\": \\"porn\\",\\n \\"reason\\": \\"{\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"high\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskTips\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"色情_低俗词\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskWords\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"色情服务\\\\\\\\\\\\\\"}\\",\\n \\"accountId\\": \\"123456\\",\\n \\"deviceId\\": \\"xxxxxx\\",\\n \\"dataId\\": \\"text1234\\",\\n \\"descriptions\\": \\"疑似广告内容\\",\\n \\"manualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"ext\\": {\\n \\"llmContent\\": {\\n \\"outputText\\": \\"正常。文本中无风险内容。\\"\\n }\\n }\\n }\\n}","type":"json"}]',
+ 'title' => '文本审核增强版',
+ 'description' => '请确保在使用该接口前,已充分了解文本审核增强版产品的[收费方式和价格](https://help.aliyun.com/document_detail/464388.html?#section-itm-m2s-ugq)。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TextModeration'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:TextModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'TextModerationPlus' => [
+ 'summary' => '文本审核增强版升级PLUS服务,面向大语言模型的输入指令和生成文字分别提供审核服务,特定的模型输入指令支持检索标准回答,同时开放审核标签的开启和关闭功能。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '178655',
- 'abilityTreeNodes' => [
- 'FEATURElvwangLRLIH6',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '207632',
+ 'abilityTreeNodes' => ['FEATURElvwangXYAQ5C'],
],
'parameters' => [
[
- 'name' => 'ReqId',
+ 'name' => 'Service',
'in' => 'formData',
'schema' => [
- 'description' => '图片审核增强版API返回的requestId字段',
+ 'description' => '审核服务类型',
'type' => 'string',
'required' => false,
- 'example' => '638EDDC65C82AB39319A9F60',
+ 'enumValueTitles' => ['chat_detection_pro' => '私聊互动内容检测_专业版', 'llm_response_moderation' => '大语言模型生成文字检测', 'llm_query_moderation' => '大语言模型输入文字检测', 'aigc_moderation_byllm' => 'AIGC场景文本审核大模型服务', 'nickname_detection_pro' => '用户昵称检测_专业版', 'comment_detection_pro' => '公聊评论内容检测_专业版', 'ugc_moderation_byllm' => 'UGC场景文本审核大模型服务', 'ad_compliance_detection_pro' => '广告法合规检测_专业版'],
+ 'example' => 'ugc_moderation_byllm',
],
],
[
- 'name' => 'InfoType',
+ 'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '需要获取的信息内容,多个值使用英文逗号隔开,取值:'."\n"
- .'- customImage:自定义图库命中信息'."\n"
- .'- textInImage:图片中文字信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customImage,textInImage',
- ],
+ 'schema' => ['description' => '审核服务需要的参数集。JSON字符串格式', 'type' => 'string', 'required' => false, 'example' => '{"content":"Test content"}'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => '返回对象。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '请求信息的响应信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'OK'],
'Data' => [
- 'description' => '返回数据。',
+ 'description' => '审核结果数据。',
'type' => 'object',
'properties' => [
- 'CustomImage' => [
- 'description' => '自定义图库命中信息列表。',
+ 'Result' => [
+ 'description' => '结果',
'type' => 'array',
'items' => [
- 'description' => '自定义图库命中信息。',
+ 'description' => '返回集合。',
'type' => 'object',
'properties' => [
- 'ImageId' => [
- 'description' => '图片ID。',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => '图库名。',
- 'type' => 'string',
- 'example' => '图库123',
+ 'Label' => ['description' => '标签', 'type' => 'string', 'example' => 'porn'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '81.22'],
+ 'RiskWords' => ['description' => '命中风险关键词', 'type' => 'string', 'example' => 'XXX'],
+ 'CustomizedHit' => [
+ 'description' => '自定义关键词命中',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义命中',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibName' => ['description' => '库名称', 'type' => 'string', 'example' => '测试词库'],
+ 'KeyWords' => ['description' => '命中的关键词,逗号分隔', 'type' => 'string', 'example' => 'xxx'],
+ ],
+ ],
],
- 'LibId' => [
- 'description' => '图库ID。',
- 'type' => 'string',
- 'example' => '123456',
+ 'Description' => ['description' => '标签描述', 'type' => 'string', 'example' => '未检测出风险'],
+ 'RiskPositions' => [
+ 'description' => '风险词位置信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '风险词位置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskWord' => ['description' => '违规关键词。', 'type' => 'string', 'example' => '词A'],
+ 'StartPos' => ['description' => '敏感词的开始位置。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'EndPos' => ['description' => '敏感词的结束位置。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ ],
+ ],
],
],
],
],
- 'TextInImage' => [
- 'description' => '返回命中的图片中文字信息。',
- 'type' => 'object',
- 'properties' => [
- 'OcrDatas' => [
- 'description' => '返回识别到的图片中的文字信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '文字信息。',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
- ],
- 'RiskWords' => [
- 'description' => '命中风险关键词',
- 'type' => 'array',
- 'items' => [
- 'description' => '文字信息。',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
+ 'Advice' => [
+ 'description' => '建议',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '代答内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'Answer' => ['description' => '回答', 'type' => 'string', 'example' => 'XXX'],
+ 'HitLabel' => ['description' => '命中标签', 'type' => 'string', 'example' => 'XXX'],
+ 'HitLibName' => ['description' => '命中库名称', 'type' => 'string', 'example' => 'XXX'],
],
- 'CustomTexts' => [
- 'description' => '当命中自定义文本库时,返回自定义库ID、自定义库名称和自定义词。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'LibId' => [
- 'description' => '自定义库ID',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => '自定义库名称。',
- 'type' => 'string',
- 'example' => '自定义库1',
- ],
- 'KeyWords' => [
- 'description' => '自定义词,多个词用逗号分隔。',
- 'type' => 'string',
- 'example' => '自定义词1,自定义词2',
- ],
- ],
+ ],
+ ],
+ 'Score' => ['description' => '分数。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ 'DataId' => ['description' => '检测对象对应的数据ID。'."\n"
+ .'> 如果在检测请求参数中传入了dataId,则此处返回对应的dataId。', 'type' => 'string', 'example' => 'text1234'],
+ 'SensitiveResult' => [
+ 'description' => '敏感数据检测结果',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '敏感数据检测结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => '1234'],
+ 'SensitiveLevel' => ['description' => '敏感等级', 'type' => 'string', 'example' => 'S1'],
+ 'SensitiveData' => [
+ 'description' => '敏感数据列表',
+ 'type' => 'array',
+ 'items' => ['description' => '敏感数据', 'type' => 'string', 'example' => '上海'],
],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '省份'],
],
],
],
- 'PublicFigure' => [
- 'description' => '人物信息列表。',
+ 'AttackResult' => [
+ 'description' => '提示词攻击检测结果',
'type' => 'array',
'items' => [
- 'description' => '人物信息。',
+ 'description' => '提示词攻击检测结果',
'type' => 'object',
'properties' => [
- 'FigureId' => [
- 'description' => '人物ID。',
- 'type' => 'string',
- 'example' => 'yzazhzou',
+ 'Label' => ['description' => '标签', 'type' => 'string', 'example' => 'safe'],
+ 'Confidence' => ['description' => '置信分', 'type' => 'number', 'format' => 'float', 'example' => '0'],
+ 'AttackLevel' => ['description' => '攻击等级', 'type' => 'string', 'example' => 'none'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => 'safe'],
+ ],
+ ],
+ ],
+ 'SensitiveLevel' => ['description' => '敏感等级', 'type' => 'string', 'example' => 'S0'],
+ 'AttackLevel' => ['description' => '攻击等级', 'type' => 'string', 'example' => 'none'],
+ 'ManualTaskId' => ['description' => '人审任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'DetectedLanguage' => ['description' => '识别语种', 'type' => 'string', 'example' => 'en'],
+ 'TranslatedContent' => ['description' => '翻译后内容', 'type' => 'string', 'example' => 'hello'],
+ 'AccountId' => ['description' => '客户入参AccountId', 'type' => 'string', 'example' => '123456789'],
+ 'Ext' => [
+ 'description' => '文本辅助参考信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LlmContent' => [
+ 'description' => '大模型输出内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'OutputText' => ['description' => '输出内容。', 'type' => 'string', 'example' => '正常。文本中无风险内容。'],
],
],
],
@@ -3413,22 +3110,33 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"porn\\",\\n \\"Confidence\\": 81.22,\\n \\"RiskWords\\": \\"XXX\\",\\n \\"CustomizedHit\\": [\\n {\\n \\"LibName\\": \\"测试词库\\",\\n \\"KeyWords\\": \\"xxx\\"\\n }\\n ],\\n \\"Description\\": \\"未检测出风险\\",\\n \\"RiskPositions\\": [\\n {\\n \\"RiskWord\\": \\"词A\\",\\n \\"StartPos\\": 4,\\n \\"EndPos\\": 6\\n }\\n ]\\n }\\n ],\\n \\"Advice\\": [\\n {\\n \\"Answer\\": \\"XXX\\",\\n \\"HitLabel\\": \\"XXX\\",\\n \\"HitLibName\\": \\"XXX\\"\\n }\\n ],\\n \\"Score\\": 1,\\n \\"RiskLevel\\": \\"high\\",\\n \\"DataId\\": \\"text1234\\",\\n \\"SensitiveResult\\": [\\n {\\n \\"Label\\": \\"1234\\",\\n \\"SensitiveLevel\\": \\"S1\\",\\n \\"SensitiveData\\": [\\n \\"上海\\"\\n ],\\n \\"Description\\": \\"省份\\"\\n }\\n ],\\n \\"AttackResult\\": [\\n {\\n \\"Label\\": \\"safe\\",\\n \\"Confidence\\": 0,\\n \\"AttackLevel\\": \\"none\\",\\n \\"Description\\": \\"safe\\"\\n }\\n ],\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"DetectedLanguage\\": \\"en\\",\\n \\"TranslatedContent\\": \\"hello\\",\\n \\"AccountId\\": \\"123456789\\",\\n \\"Ext\\": {\\n \\"LlmContent\\": {\\n \\"OutputText\\": \\"正常。文本中无风险内容。\\"\\n }\\n }\\n }\\n}","type":"json"}]',
+ 'title' => '文本审核Plus版',
+ 'description' => '请确保在使用该接口前,已[开通内容安全增强版服务](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn)且充分了解文本审核增强PLUS版产品的[收费方式和价格](https://help.aliyun.com/document_detail/2671445.html?#section-6od-32j-99n)。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TextModerationPlus'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:TextModerationPlus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"CustomImage\\": [\\n {\\n \\"ImageId\\": \\"123456\\",\\n \\"LibName\\": \\"图库123\\",\\n \\"LibId\\": \\"123456\\"\\n }\\n ],\\n \\"TextInImage\\": {\\n \\"OcrDatas\\": [\\n \\"abcd\\"\\n ],\\n \\"RiskWords\\": [\\n \\"abcd\\"\\n ],\\n \\"CustomTexts\\": [\\n {\\n \\"LibId\\": \\"123456\\",\\n \\"LibName\\": \\"自定义库1\\",\\n \\"KeyWords\\": \\"自定义词1,自定义词2\\"\\n }\\n ]\\n },\\n \\"PublicFigure\\": [\\n {\\n \\"FigureId\\": \\"yzazhzou\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '图片辅助信息获取接口',
- 'description' => '本接口需要配合图片审核增强版API使用,在调用图片审核增强版API接口之后,可以调用本接口,获取更多的接口检测信息。此接口免费。',
- 'requestParamsDescription' => '建议调用图片审核增强版接口5秒钟之后查询,辅助信息存储最长时间为30天,建议您需要时及时获取辅助信息,并做好日志存储。',
],
'UrlAsyncModeration' => [
'summary' => 'URL异步检测服务,识别URL链接是否存在欺诈、色情、赌博等风险,守护平台内容生态。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3441,33 +3149,21 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '211718',
- 'abilityTreeNodes' => [
- 'FEATURElvwang7UL554',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang7UL554'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'query',
- 'schema' => [
- 'description' => '服务名称:URL风险链接检测',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'URL风险链接检测:url_detection_pro',
- ],
+ 'schema' => ['description' => '服务名称:URL风险链接检测', 'type' => 'string', 'required' => false, 'example' => 'url_detection_pro'],
],
[
'name' => 'ServiceParameters',
'in' => 'query',
- 'schema' => [
- 'description' => '内容检测对象的相关参数集,JSON字符串格式,请参见ServiceParameters说明。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "url": "https://help.aliyun.com/",'."\n"
- .' "dataId": "url123******"'."\n"
- .'}',
- ],
+ 'schema' => ['description' => '内容检测对象的相关参数集,JSON字符串格式,请参见ServiceParameters说明。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "url": "https://help.aliyun.com/",'."\n"
+ .' "dataId": "url123******"'."\n"
+ .'}'],
],
],
'responses' => [
@@ -3477,46 +3173,22 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '6CF2815C-****-****-B52E-FF6E2****492',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6CF2815C-****-****-B52E-FF6E2****492'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'ReqId' => [
- 'description' => 'URL 异步审核增强版API返回的ReqId字段,可用此字段查询检测结果。',
- 'type' => 'string',
- 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2',
- ],
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
+ 'ReqId' => ['description' => 'URL 异步审核增强版API返回的ReqId字段,可用此字段查询检测结果。', 'type' => 'string', 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"ReqId\\": \\"A07B3DB9-D762-5C56-95B1-8EC55CF176D2\\",\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\"\\n }\\n}","type":"json"}]',
'title' => 'URL风险异步检测',
'description' => 'URL 异步检测服务支持按量后付费和资源包抵扣两种付费方式。'."\n"
@@ -3532,42 +3204,64 @@
.'| **callback** | String | 否 | http://www.aliyun.com | 检测结果回调通知您的URL,支持使用HTTP和HTTPS协议的地址。该字段为空时,您必须定时轮询检测结果。callback接口必须支持POST方法、UTF-8编码的传输数据,以及表单参数**ReqId**,**Checksum**和**Content**。内容安全按照以下规则和格式设置**ReqId**,**Checksum**和**Content**,调用您的callback接口返回检测结果。- **ReqId**:提交异步检测任务返回的请求ID。- **Checksum**:字符串格式,由用户uid + seed + content拼成字符串,通过SHA256算法生成。用户UID即阿里云账号ID,可以在[阿里云控制台](https://account.console.aliyun.com/#/secure)查询。为防篡改,您可以在获取到推送结果时,按上述算法生成字符串,与**Checksum**做一次校验。**说明**用户UID必须是阿里云账号的UID,而不是RAM用户的UID。- **Content**:JSON字符串格式,请自行解析反转成JSON对象。关于**Content**结果的示例,请参见查询检测结果的返回示例。**说明** 您的服务端callback接口收到内容安全推送的结果后,如果返回的HTTP状态码为200,则表示接收成功,其他的HTTP状态码均视为接收失败。接收失败时,内容安全将最多重复推送16次检测结果,直到接收成功。重复推送16次后仍未接收成功,则不再推送,建议您检查callback接口的状态。 |'."\n"
.'| **seed** | String | 否 | abc**** | 随机字符串,该值用于回调通知请求中的签名。由英文字母、数字、下划线(_)组成,不超过64个字符。由您自定义,用于在接收到内容安全的回调通知时校验请求由阿里云内容安全服务发起。**说明** 当使用callback时,该字段必须提供。 |'."\n"
.'| **cryptType** | String | 否 | SHA256 | 使用回调通知时(callback),设置对回调通知内容进行加密的算法。内容安全会将返回结果(由**用户uid + seed + content**拼接的字符串)按照您设置的加密算法加密后,再发送到您的回调通知地址。取值:●**SHA256**(默认):使用SHA256加密算法。●**SM3**:使用国密HMAC-SM3加密算法,返回十六进制的字符串,且字符串由小写字母和数字组成。例如,abc经国密SM3加密后返回。 |',
- ],
- 'DescribeUrlModerationResult' => [
- 'summary' => '根据 URL 异步检测返回的 ReqId查询检测结果。',
- 'methods' => [
- 'post',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UrlAsyncModeration'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:UrlAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'VideoModeration' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '211720',
- 'abilityTreeNodes' => [
- 'FEATURElvwang7UL554',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '187556',
+ 'abilityTreeNodes' => ['FEATURElvwang53TCRC'],
],
'parameters' => [
[
- 'name' => 'ReqId',
+ 'name' => 'Service',
'in' => 'formData',
'schema' => [
- 'description' => 'URL异步检测接口返回的ReqId字段',
+ 'description' => '视频审核ServiceCode',
'type' => 'string',
'required' => false,
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C',
+ 'enumValueTitles' => ['liveStreamDetection' => '视频直播流审核', 'videoDetection' => '视频文件审核', 'liveStreamDetection_cb' => '视频直播流审核_海外版', 'videoDetection_cb' => '视频文件审核_海外版'],
+ 'example' => 'videoDetection',
],
],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
+ .'- url:必填,待检测对象的URL,请确保该URL能通过公网访问到。'."\n"
+ .'- dataId:选填,检测对象对应的数据ID。'."\n"
+ ."\n"
+ .'更多信息,请参见[ServiceParameter](https://help.aliyun.com/document_detail/2505810.html)。', 'type' => 'string', 'required' => false, 'example' => '{"url": "https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}'],
+ ],
],
'responses' => [
200 => [
@@ -3576,118 +3270,82 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '01F9144A-2088-5D87-935B-2DB865284B1A',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Message' => ['description' => '请求消息的响应消息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'ReqId' => [
- 'description' => 'URL异步检测接口返回的ReqId字段',
- 'type' => 'string',
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'."\n",
- ],
- 'Result' => [
- 'description' => '返回集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回集合。',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'URL检测运算后返回的标签。',
- 'type' => 'string',
- 'example' => 'sexual_url',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- ],
- ],
- ],
- 'ExtraInfo' => [
- 'description' => '补充信息。',
- 'type' => 'object',
- 'properties' => [
- 'IcpType' => [
- 'description' => 'ICP备案类型。',
- 'type' => 'string',
- 'example' => '企业',
- ],
- 'IcpNo' => [
- 'description' => 'ICP备案号。',
- 'type' => 'string',
- 'example' => 'ICP备123456789',
- ],
- 'SiteType' => [
- 'description' => '网站类型',
- 'type' => 'string',
- 'example' => 'game',
- ],
- ],
- ],
+ 'TaskId' => ['description' => '任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => 'data1234'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"01F9144A-2088-5D87-935B-2DB865284B1A\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\",\\n \\"ReqId\\": \\"B0963D30-BAB4-562F-9ED0-7A23AEC51C7C\\\\n\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"sexual_url\\",\\n \\"Confidence\\": 81.22\\n }\\n ],\\n \\"ExtraInfo\\": {\\n \\"IcpType\\": \\"企业\\",\\n \\"IcpNo\\": \\"ICP备123456789\\",\\n \\"SiteType\\": \\"game\\"\\n }\\n }\\n}","type":"json"}]',
- 'title' => '查询URL异步检测结果',
- 'description' => '- 计费信息:该接口不计费。'."\n"
- .'- 查询超时:建议您将查询间隔设置为480秒(即在提交异步检测任务480秒之后查询结果),最长不能超出3天,否则结果将会自动删除。'."\n"
- .'- 本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。',
- ],
- 'DescribeUploadToken' => [
- 'summary' => '查询上传token',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '视频审核增强版任务提交',
+ 'summary' => '内容安全视频审核增强版,帮助您检测视频文件中的风险或违规内容。本接口为检测任务提交接口。',
+ 'description' => '请确保在使用该接口前,已[开通内容安全增强版](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn)服务,并充分了解视频审核增强版产品的[收费方式](https://help.aliyun.com/document_detail/2505807.html)和[价格](https://www.aliyun.com/price/product?#/lvwang/detail/cdibag)。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VideoModeration'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"DataId\\": \\"data1234\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'VideoModerationCancel' => [
+ 'summary' => '取消视频直播审核任务。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '186981',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
+ 'abilityTreeCode' => '201471',
+ 'abilityTreeNodes' => ['FEATURElvwang53TCRC'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Service',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '审核服务类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['liveStreamDetection' => '视频直播流检测', 'videoDetection' => '视频文件检测', 'liveStreamDetection_cb' => '视频直播流审核_海外版', 'videoDetection_cb' => '视频文件审核_海外版'],
+ 'example' => 'videoDetection',
+ ],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'formData',
+ 'schema' => ['description' => '待取消任务TaskId', 'type' => 'string', 'required' => false, 'example' => '{\\"taskId\\":\\"vi_s_4O9gp7GfNQdx9GOqdekFmk-1z2RJT\\"}'],
],
],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
@@ -3695,88 +3353,40 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'object',
- 'properties' => [
- 'AccessKeyId' => [
- 'description' => '文件上传临时凭证的AccessKeyId。',
- 'type' => 'string',
- 'example' => 'STS.NUEUjvDqMuvH6oQA1TXxxH4wVR',
- ],
- 'AccessKeySecret' => [
- 'description' => '临时授权secret。',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'SecurityToken' => [
- 'description' => '文件上传临时凭证的安全令牌。',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'FileNamePrefix' => [
- 'description' => '文件前缀。',
- 'type' => 'string',
- 'example' => 'upload/1xxb89/',
- ],
- 'OssInternalEndPoint' => [
- 'description' => 'oss内网地址。',
- 'type' => 'string',
- 'example' => 'https://oss-cn-shanghai-internal.aliyuncs.com',
- ],
- 'OssInternetEndPoint' => [
- 'description' => 'oss公网地址。',
- 'type' => 'string',
- 'example' => 'https://oss-cn-shanghai.aliyuncs.com',
- ],
- 'BucketName' => [
- 'description' => '存储空间名称。',
- 'type' => 'string',
- 'example' => 'oss-cip-shanghai',
- ],
- 'Expiration' => [
- 'description' => '失效时间点。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1720577200',
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6CF2815C-****-****-B52E-FF6E2****492'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'OK'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"Data\\": {\\n \\"AccessKeyId\\": \\"STS.NUEUjvDqMuvH6oQA1TXxxH4wVR\\",\\n \\"AccessKeySecret\\": \\"xxxx\\",\\n \\"SecurityToken\\": \\"xxxx\\",\\n \\"FileNamePrefix\\": \\"upload/1xxb89/\\",\\n \\"OssInternalEndPoint\\": \\"https://oss-cn-shanghai-internal.aliyuncs.com\\",\\n \\"OssInternetEndPoint\\": \\"https://oss-cn-shanghai.aliyuncs.com\\",\\n \\"BucketName\\": \\"oss-cip-shanghai\\",\\n \\"Expiration\\": 1720577200\\n }\\n}","type":"json"}]',
- 'title' => '查询上传token',
- ],
- 'ImageBatchModeration' => [
- 'summary' => '图片批量调用',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '取消视频直播审核任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VideoModerationCancel'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModerationCancel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]',
+ ],
+ 'VideoModerationResult' => [
+ 'summary' => '获取视频审核增强版审核任务结果。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3787,598 +3397,385 @@
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '214644',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- 'FEATURElvwangRPPHPG',
- 'FEATURElvwangRBUEEU',
- 'FEATURElvwang7UTKSK',
- 'FEATURElvwangYHRCHH',
- 'FEATURElvwang8B97ZG',
- 'FEATURElvwangT9BDZM',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '187919',
+ 'abilityTreeNodes' => ['FEATURElvwang53TCRC'],
],
'parameters' => [
[
'name' => 'Service',
- 'in' => 'query',
+ 'in' => 'formData',
'schema' => [
- 'description' => '图片审核增强版支持的检测类型,多个使用英文逗号隔开。取值:'."\n"
- ."\n"
- .'- baselineCheck:通用基线检测'."\n"
- .'- baselineCheck_pro:通用基线检测_专业版'."\n"
- .'- tonalityImprove:内容治理检测'."\n"
- .'- aigcCheck:AIGC图片检测',
+ 'description' => '视频审核ServiceCode',
'type' => 'string',
'required' => false,
- 'example' => 'baselineCheck,tonalityImprove',
+ 'enumValueTitles' => ['liveStreamDetection' => '视频直播流审核', 'videoDetection' => '视频文件审核', 'liveStreamDetection_cb' => '视频直播流审核_海外版', 'videoDetection_cb' => '视频文件审核_海外版'],
+ 'example' => 'videoDetection',
],
],
[
'name' => 'ServiceParameters',
- 'in' => 'query',
- 'schema' => [
- 'description' => '内容检测对象的相关参数集。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "imageUrl": "https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png",'."\n"
- .' "dataId": "img123****"'."\n"
- .' }',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => '审核服务需要的参数集。taskId,即要查询的检测任务的taskId,每次支持输入一个taskId。', 'type' => 'string', 'required' => false, 'example' => '{"taskId":"au_f_8PoWiZKoLbczp5HRn69VdT-1y8@U5"}'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Body返回值',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'."\n",
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success finished'],
'Data' => [
- 'description' => '图片内容检测后的结果。',
+ 'description' => '审核结果数据。',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => '检测对象对应的数据ID。',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'Results' => [
- 'description' => '每个Service图片检测的风险标签、置信分等参数结果,数组结构。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据结构。',
- 'type' => 'object',
- 'properties' => [
- 'Service' => [
- 'description' => '图片检测增强版支持的检测服务。',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'Result' => [
- 'description' => '图片检测的风险标签、置信分等参数结果,数组结构。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据结构。',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '图片内容检测运算后返回的标签。同一张图片可能会检出多个标签和分值。',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。部分标签无置信分。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'Description' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
- ],
- ],
- ],
- 'Ext' => [
- 'description' => '图片辅助参考信息。',
+ 'LiveId' => ['description' => '直播的唯一标识ID。', 'type' => 'string', 'example' => 'liveId'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => 'product_content-2055763'],
+ 'AudioResult' => [
+ 'description' => '视频语音审核分段结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SliceDetails' => [
+ 'description' => '语音分段列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '分段详情',
'type' => 'object',
'properties' => [
- 'TextInImage' => [
- 'description' => '返回命中的图片中文字信息。',
- 'type' => 'object',
- 'properties' => [
- 'OcrResult' => [
- 'description' => '返回识别到的图片中的每行文字信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据结构',
- 'type' => 'object',
- 'properties' => [
- 'Text' => [
- 'description' => '文字信息。',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
- 'Location' => [
- 'description' => '文字行坐标信息。',
- 'type' => 'object',
- 'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'H' => [
- 'description' => '文字区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'W' => [
- 'description' => '文字区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
- ],
- ],
- ],
- ],
- ],
- 'RiskWord' => [
- 'description' => '命中风险关键词。',
- 'type' => 'array',
- 'items' => [
- 'description' => '文字信息。',
- 'type' => 'string',
- 'example' => '火箭',
- ],
- ],
- 'CustomText' => [
- 'description' => '当命中自定义文本库时,返回自定义库ID、自定义库名称和自定义词。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据结构。',
- 'type' => 'object',
- 'properties' => [
- 'LibId' => [
- 'description' => '自定义库ID。',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => '自定义库名称。',
- 'type' => 'string',
- 'example' => '自定义库1',
- ],
- 'KeyWords' => [
- 'description' => '自定义词,多个词用逗号分隔。',
- 'type' => 'string',
- 'example' => '自定义词1,自定义词2',
- ],
- ],
- ],
- ],
- ],
- ],
- 'CustomImage' => [
- 'description' => '自定义图库命中信息列表。',
+ 'StartTime' => ['description' => '分段开始时间(秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'EndTime' => ['description' => '分段结束时间(秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ 'StartTimestamp' => ['description' => '开始时间戳,精确到毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1659935002123'],
+ 'EndTimestamp' => ['description' => '结束时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1685245261939'],
+ 'Url' => ['description' => '分段语音文件临时地址', 'type' => 'string', 'example' => 'http://xxxx.abc.img'],
+ 'Text' => ['description' => '分段语音转写文本', 'type' => 'string', 'example' => '今天天气真不错'],
+ 'Labels' => ['description' => '命中违规标签', 'type' => 'string', 'example' => 'porn'],
+ 'Score' => ['description' => '风险分数,默认范围 0-99', 'type' => 'number', 'format' => 'float', 'example' => '5'],
+ 'Extend' => ['description' => '扩展字段', 'type' => 'string', 'example' => '{\\"consoleProduct\\":\\"slbnext\\"}'],
+ 'RiskTips' => ['description' => '命中风险详情', 'type' => 'string', 'example' => '""'],
+ 'RiskWords' => ['description' => '命中风险关键词', 'type' => 'string', 'example' => '""'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'Descriptions' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似违禁内容'],
+ 'Result' => [
+ 'title' => '文本检测结果',
+ 'description' => '文本检测结果',
'type' => 'array',
'items' => [
- 'description' => '数据结构。',
+ 'title' => '单个结果',
+ 'description' => '单个结果',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '自定义库ID',
- 'type' => 'string',
- 'example' => '1965304870002',
- ],
- 'ImageId' => [
- 'description' => '命中的自定义图片ID。',
- 'type' => 'string',
- 'example' => '1965304870002',
+ 'Label' => ['title' => '标签', 'description' => '标签', 'type' => 'string', 'example' => 'profanity'],
+ 'Confidence' => ['title' => '置信度', 'description' => '置信度', 'type' => 'number', 'format' => 'float', 'example' => '99.9'],
+ 'RiskWords' => ['title' => '命中风险内容', 'description' => '命中风险内容', 'type' => 'string', 'example' => 'fxxk'],
+ 'RiskLevel' => ['title' => '风险等级', 'description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ 'CustomizedHit' => [
+ 'title' => '命中自定义库列表',
+ 'description' => '命中自定义库列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '命中自定义库',
+ 'description' => '命中自定义库',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibName' => ['title' => '自定义库名称', 'description' => '自定义库名称', 'type' => 'string', 'example' => '备用词库02'],
+ 'KeyWords' => ['title' => '自定义词', 'description' => '自定义词', 'type' => 'string', 'example' => 'fxxk'],
+ ],
+ ],
],
- 'LibName' => [
- 'description' => '命中的自定义图库名。',
- 'type' => 'string',
- 'example' => '白名单',
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => '疑似违禁内容'],
+ 'RiskPositions' => [
+ 'title' => '风险位置列表',
+ 'description' => '风险位置列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '风险位置',
+ 'description' => '风险位置',
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskWord' => ['title' => '检测到的敏感词', 'description' => '检测到的敏感词', 'type' => 'string', 'example' => 'fxxk'],
+ 'StartPos' => ['title' => '起始位置', 'description' => '起始位置', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'EndPos' => ['title' => '结束位置', 'description' => '结束位置', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ ],
+ ],
],
],
],
],
- 'PublicFigure' => [
- 'description' => '人物信息列表。',
+ ],
+ ],
+ ],
+ 'AudioSummarys' => [
+ 'description' => '语音标签汇总。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '视频语音标签。', 'type' => 'string', 'example' => 'profanity'],
+ 'LabelSum' => ['description' => '标签出现次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似违禁内容'],
+ ],
+ ],
+ ],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ ],
+ ],
+ 'FrameResult' => [
+ 'description' => '视频截帧结果列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'FrameNum' => ['description' => '结果帧数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Frames' => [
+ 'description' => '包含命中标签的视频截帧的信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'TempUrl' => ['description' => '截帧图片临时访问地址', 'type' => 'string', 'example' => 'http://xxxx.abc.jpg'],
+ 'Offset' => ['description' => '截帧偏移值。', 'type' => 'number', 'format' => 'float', 'example' => '338'],
+ 'Results' => [
+ 'description' => '帧检测结果详情',
'type' => 'array',
'items' => [
- 'description' => '数据结构。',
+ 'description' => '对象',
'type' => 'object',
'properties' => [
- 'FigureName' => [
- 'description' => '识别出的人物名称信息。',
- 'type' => 'string',
- 'example' => 'xxxxx',
+ 'Service' => ['description' => '图片审核服务类型', 'type' => 'string', 'example' => 'tonalityImprove'],
+ 'Result' => [
+ 'description' => '命中结果详情',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '50'],
+ 'Label' => ['description' => '检测结果的分类', 'type' => 'string', 'example' => 'bloody'],
+ 'Description' => ['description' => '对Labal字段的说明。', 'type' => 'string', 'example' => '未检测出风险'],
+ ],
+ ],
],
- 'FigureId' => [
- 'description' => '识别出的人物编码信息。',
- 'type' => 'string',
- 'example' => '12324222',
+ 'TextInImage' => ['description' => '返回命中的图片中文字信息。', 'type' => 'object'],
+ 'CustomImage' => [
+ 'description' => '如果命中自定义图库,返回命中的自定义图库信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => '命中的自定义图库ID。', 'type' => 'string', 'example' => '12345678'],
+ 'ImageId' => ['description' => '命中的自定义图片ID。', 'type' => 'string', 'example' => '1234'],
+ ],
+ ],
],
- 'Location' => [
- 'description' => '标识的位置信息。',
+ 'PublicFigure' => [
+ 'description' => '视频中包含特定人物时,返回识别出来的人物编码。',
'type' => 'array',
'items' => [
- 'description' => '数据结构。',
+ 'description' => '对象',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => '文字区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '330',
- ],
- 'H' => [
- 'description' => '文字区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '440',
+ 'FigureId' => ['description' => '识别出的人物编码信息。', 'type' => 'string', 'example' => 'xxx001'],
+ 'FigureName' => ['description' => '识别出的人物名称', 'type' => 'string', 'example' => '张三'],
+ 'Location' => [
+ 'description' => '识别出的人物的位置',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '位置对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'H' => ['description' => '高', 'type' => 'integer', 'format' => 'int32', 'example' => '222'],
+ 'W' => ['description' => '宽', 'type' => 'integer', 'format' => 'int32', 'example' => '111'],
+ 'X' => ['description' => '起始点横坐标', 'type' => 'integer', 'format' => 'int32', 'example' => '111'],
+ 'Y' => ['description' => '起始点纵坐标', 'type' => 'integer', 'format' => 'int32', 'example' => '222'],
+ ],
+ ],
],
],
],
],
- ],
- ],
- ],
- 'LogoData' => [
- 'description' => 'Logo标识信息。',
- 'type' => 'object',
- 'properties' => [
- 'Location' => [
- 'description' => '标识的位置信息。',
- 'type' => 'object',
- 'properties' => [
- 'X' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => 'Logo区域的宽度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '330',
- ],
- 'H' => [
- 'description' => 'Logo区域的高度,单位:像素。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '440',
+ 'LogoData' => [
+ 'description' => '视频中包含logo时,返回的logo信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'logo信息对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Location' => [
+ 'description' => '文字行及坐标信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => '以图片左上角为坐标原点,文字区域左上角到y轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '111'],
+ 'Y' => ['description' => '以图片左上角为坐标原点,文字区域左上角到x轴的距离,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '222'],
+ 'W' => ['description' => '文字区域的宽度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '111'],
+ 'H' => ['description' => '文字区域的高度,单位:像素。', 'type' => 'integer', 'format' => 'int32', 'example' => '111'],
+ ],
+ ],
+ 'Logo' => [
+ 'description' => '标识信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'logo对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'label' => ['description' => '命中标签', 'type' => 'string', 'example' => 'pt_logotoSocialNetwork'],
+ 'name' => ['description' => '标识名。', 'type' => 'string', 'example' => '**卫视'],
+ 'confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'integer', 'format' => 'int64', 'example' => '99.1'],
+ ],
+ ],
+ ],
+ ],
],
],
- ],
- 'Logo' => [
- 'description' => '标识信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据结构。',
+ 'VlContent' => [
+ 'title' => '大模型结果',
+ 'description' => '大模型结果',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '标识类别。',
- 'type' => 'string',
- 'example' => 'logo_sns',
- ],
- 'Name' => [
- 'description' => '标识名。',
- 'type' => 'string',
- 'example' => '阿里云',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.1',
- ],
+ 'OutputText' => ['title' => '大模型输出文本', 'description' => '大模型输出文本', 'type' => 'string', 'example' => 'in the picture XXX'],
],
],
],
],
],
+ 'Timestamp' => ['description' => '绝对时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1684559739000'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
],
],
- 'RiskLevel' => [
- 'description' => '风险等级。',
- 'type' => 'string',
- 'example' => 'high',
+ ],
+ 'FrameSummarys' => [
+ 'description' => '视频截帧标签汇总。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '视频截帧标签对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '视频截帧标签。', 'type' => 'string', 'example' => 'violent_armedForces'],
+ 'LabelSum' => ['description' => '标签出现次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'Description' => ['description' => '对Labal字段的说明。', 'type' => 'string', 'example' => '未检测出风险'],
+ ],
],
],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
],
],
- 'Result' => [
- 'description' => '图片检测的风险标签、置信分等参数结果,数组结构。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据结构。',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '图片内容检测运算后返回的标签。同一张图片可能会检出多个标签和分值。',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。部分标签无置信分。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'Description' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '未检测出风险',
+ 'TaskId' => ['description' => '任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'ManualTaskId' => ['description' => '人审任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'Ext' => [
+ 'title' => '扩展信息',
+ 'description' => '扩展信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'AigcData' => [
+ 'description' => 'AIGC元数据检测结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'AIGC' => [
+ 'description' => 'AIGC元数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '表示内容是否由AI生成,取值:'."\n"
+ ."\n"
+ .'- 1:属于人工智能内容生成合成的。'."\n"
+ ."\n"
+ .'- 2:(仅传播平台)可能为人工智能生成合成内容的。'."\n"
+ ."\n"
+ .'- 3:(仅传播平台)疑似人工智能内容生成合成的。', 'type' => 'string', 'example' => '1'],
+ 'ProduceID' => ['description' => '内容制作编号,用于制作平台溯源合成内容的唯一识别编号。', 'type' => 'string', 'example' => '123******456'."\n"
+ ."\n"],
+ 'ContentProducer' => ['description' => '服务提供者的编码或名称,用于标识内容的生产者。', 'type' => 'string', 'example' => '001191******M000100Y43'],
+ 'PropagateID' => ['description' => '内容传播编号,是传播平台对所传播生成合成内容的唯一编号。', 'type' => 'string', 'example' => '123******456'."\n"],
+ 'ContentPropagator' => ['description' => '传播平台名称,编号或代码,针对提供人工智能生成合成内容服务,可保持与ContentProducer一致。', 'type' => 'string', 'example' => '001191******M000100Y43'],
+ 'ReservedCode1' => ['description' => '预留字段。'."\n"
+ ."\n"
+ .'可存储用于生成合成服务提供者自主开展安全防护,保护内容、标识完整性的信息,可通过基于 ContentProducer 与 ProduceID 的哈希机制,实现关键信息的安全存储与校验。', 'type' => 'string', 'example' => 'd41d**********427e'."\n"],
+ 'ReservedCode2' => ['description' => '预留字段。'."\n"
+ ."\n"
+ .'可用于内容传播服务提供者企业自主开展安全防护,保护内容、标识完整性的信息,可通过基于 ContentProducer 与 ProduceID 的哈希机制,实现关键信息的安全存储与校验。', 'type' => 'string', 'example' => 'd41d**********427e'],
+ ],
+ ],
+ 'Result' => ['description' => '检测结果', 'type' => 'string', 'example' => 'None'],
],
],
],
],
- 'RiskLevel' => [
- 'description' => '风险等级。',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'description' => '人审任务ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\\\n\\",\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\",\\n \\"Results\\": [\\n {\\n \\"Service\\": \\"baselineCheck\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Confidence\\": 81.22,\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"Ext\\": {\\n \\"TextInImage\\": {\\n \\"OcrResult\\": [\\n {\\n \\"Text\\": \\"abcd\\",\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"H\\": 33,\\n \\"W\\": 44\\n }\\n }\\n ],\\n \\"RiskWord\\": [\\n \\"火箭\\"\\n ],\\n \\"CustomText\\": [\\n {\\n \\"LibId\\": \\"123456\\",\\n \\"LibName\\": \\"自定义库1\\",\\n \\"KeyWords\\": \\"自定义词1,自定义词2\\"\\n }\\n ]\\n },\\n \\"CustomImage\\": [\\n {\\n \\"LibId\\": \\"1965304870002\\",\\n \\"ImageId\\": \\"1965304870002\\",\\n \\"LibName\\": \\"白名单\\"\\n }\\n ],\\n \\"PublicFigure\\": [\\n {\\n \\"FigureName\\": \\"xxxxx\\",\\n \\"FigureId\\": \\"12324222\\",\\n \\"Location\\": [\\n {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 330,\\n \\"H\\": 440\\n }\\n ]\\n }\\n ],\\n \\"LogoData\\": {\\n \\"Location\\": {\\n \\"X\\": 11,\\n \\"Y\\": 22,\\n \\"W\\": 330,\\n \\"H\\": 440\\n },\\n \\"Logo\\": [\\n {\\n \\"Label\\": \\"logo_sns\\",\\n \\"Name\\": \\"阿里云\\",\\n \\"Confidence\\": 99.1\\n }\\n ]\\n }\\n },\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Confidence\\": 81.22,\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
- 'title' => '图片多Service同步检测',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "Service": "baselineCheck,tonalityImprove",'."\n"
- .' "ServiceParameters": {'."\n"
- .' "imageUrl": "https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png",'."\n"
- .' "dataId": "img123****"'."\n"
- .' }'."\n"
- .'}'."\n"
- ."\n"
- .'```',
- 'responseParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "Msg": "success",'."\n"
- .' "Code": 200,'."\n"
- .' "Data": {'."\n"
- .' "DataId": "img123****",'."\n"
- .' "Result": ['."\n"
- .' {'."\n"
- .' "Label": "violent_explosion",'."\n"
- .' "Confidence": 70,'."\n"
- .' "Description": "烟火类内容"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "Label": "violent_explosion_lib",'."\n"
- .' "Confidence": 81,'."\n"
- .' "Description": "烟火类内容_命中自定义库"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "RiskLevel": "high",'."\n"
- .' "Results": ['."\n"
- .' {'."\n"
- .' "Result": ['."\n"
- .' {'."\n"
- .' "Label": "violent_explosion",'."\n"
- .' "Confidence": 70,'."\n"
- .' "Description": "烟火类内容"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "RiskLevel": "high",'."\n"
- .' "Service": "baselineCheck_pro"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "Result": ['."\n"
- .' {'."\n"
- .' "Label": "violent_explosion_lib",'."\n"
- .' "Confidence": 81,'."\n"
- .' "Description": "烟火类内容_命中自定义库"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "RiskLevel": "high",'."\n"
- .' "Service": "baselineCheck"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "RequestId": "ABCD1234-1234-1234-1234-1234XYZ"'."\n"
- .'}'."\n"
- .'```',
- ],
- 'ManualCallback' => [
- 'summary' => '内容安全人审结果渠道回调接口',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '264346',
- 'abilityTreeNodes' => [
- 'FEATURElvwangIBEW89',
- 'FEATURElvwangU90H4V',
- 'FEATURElvwangBBY7QM',
- 'FEATURElvwang870NMI',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-C8C7-4A01-B52E-FF6E24F53492\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success finished\\",\\n \\"Data\\": {\\n \\"LiveId\\": \\"liveId\\",\\n \\"DataId\\": \\"product_content-2055763\\",\\n \\"AudioResult\\": {\\n \\"SliceDetails\\": [\\n {\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 30,\\n \\"StartTimestamp\\": 1659935002123,\\n \\"EndTimestamp\\": 1685245261939,\\n \\"Url\\": \\"http://xxxx.abc.img\\",\\n \\"Text\\": \\"今天天气真不错\\",\\n \\"Labels\\": \\"porn\\",\\n \\"Score\\": 5,\\n \\"Extend\\": \\"{\\\\\\\\\\\\\\"consoleProduct\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"slbnext\\\\\\\\\\\\\\"}\\",\\n \\"RiskTips\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RiskWords\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"Descriptions\\": \\"疑似违禁内容\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"profanity\\",\\n \\"Confidence\\": 99.9,\\n \\"RiskWords\\": \\"fxxk\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"CustomizedHit\\": [\\n {\\n \\"LibName\\": \\"备用词库02\\",\\n \\"KeyWords\\": \\"fxxk\\"\\n }\\n ],\\n \\"Description\\": \\"疑似违禁内容\\",\\n \\"RiskPositions\\": [\\n {\\n \\"RiskWord\\": \\"fxxk\\",\\n \\"StartPos\\": 0,\\n \\"EndPos\\": 3\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"AudioSummarys\\": [\\n {\\n \\"Label\\": \\"profanity\\",\\n \\"LabelSum\\": 8,\\n \\"Description\\": \\"疑似违禁内容\\"\\n }\\n ],\\n \\"RiskLevel\\": \\"high\\"\\n },\\n \\"FrameResult\\": {\\n \\"FrameNum\\": 10,\\n \\"Frames\\": [\\n {\\n \\"TempUrl\\": \\"http://xxxx.abc.jpg\\",\\n \\"Offset\\": 338,\\n \\"Results\\": [\\n {\\n \\"Service\\": \\"tonalityImprove\\",\\n \\"Result\\": [\\n {\\n \\"Confidence\\": 50,\\n \\"Label\\": \\"bloody\\",\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"TextInImage\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"CustomImage\\": [\\n {\\n \\"LibId\\": \\"12345678\\",\\n \\"ImageId\\": \\"1234\\"\\n }\\n ],\\n \\"PublicFigure\\": [\\n {\\n \\"FigureId\\": \\"xxx001\\",\\n \\"FigureName\\": \\"张三\\",\\n \\"Location\\": [\\n {\\n \\"H\\": 222,\\n \\"W\\": 111,\\n \\"X\\": 111,\\n \\"Y\\": 222\\n }\\n ]\\n }\\n ],\\n \\"LogoData\\": [\\n {\\n \\"Location\\": {\\n \\"X\\": 111,\\n \\"Y\\": 222,\\n \\"W\\": 111,\\n \\"H\\": 111\\n },\\n \\"Logo\\": [\\n {\\n \\"label\\": \\"pt_logotoSocialNetwork\\",\\n \\"name\\": \\"**卫视\\",\\n \\"confidence\\": 99.1\\n }\\n ]\\n }\\n ],\\n \\"VlContent\\": {\\n \\"OutputText\\": \\"in the picture XXX\\"\\n }\\n }\\n ],\\n \\"Timestamp\\": 1684559739000,\\n \\"RiskLevel\\": \\"high\\"\\n }\\n ],\\n \\"FrameSummarys\\": [\\n {\\n \\"Label\\": \\"violent_armedForces\\",\\n \\"LabelSum\\": 8,\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"RiskLevel\\": \\"high\\"\\n },\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\",\\n \\"Ext\\": {\\n \\"AigcData\\": {\\n \\"AIGC\\": {\\n \\"Label\\": \\"1\\",\\n \\"ProduceID\\": \\"123******456\\\\n\\\\n\\",\\n \\"ContentProducer\\": \\"001191******M000100Y43\\",\\n \\"PropagateID\\": \\"123******456\\\\n\\",\\n \\"ContentPropagator\\": \\"001191******M000100Y43\\",\\n \\"ReservedCode1\\": \\"d41d**********427e\\\\n\\",\\n \\"ReservedCode2\\": \\"d41d**********427e\\"\\n },\\n \\"Result\\": \\"None\\"\\n }\\n }\\n }\\n}","type":"json"}]',
+ 'title' => '查询视频审核任务结果',
+ 'description' => '该接口不计费,建议您将查询间隔设置为30秒(即在提交异步检测任务30秒后查询结果),最长不能超出24小时,否则结果将会自动删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VideoModerationResult'],
],
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'Code',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'code码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '200',
- ],
- ],
- [
- 'name' => 'Msg',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '提示信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OK',
- ],
- ],
- [
- 'name' => 'Checksum',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '校验码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abc',
- ],
- ],
- [
- 'name' => 'ReqId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '平台请求id,用于辅助排查问题',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C',
- ],
- ],
- [
- 'name' => 'Data',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '返回数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\'Result\': [{\'Confidence\': 100.0, \'CustomizedHit\': [{\'KeyWords\': u\'\\u4fdd\\u969c,\\u6700\\u5927,\\u9ad8\\u7ea7\', \'LibName\': u\'\\u4f18\\u8def\\u654f\\u611f\\u8bcd\'}], \'Label\': \'customized\'}]}',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'Channel',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '渠道字段',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'ant' => 'ant',
- ],
- 'example' => 'ant',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Message' => [
- 'description' => 'message信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '错误码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200\\n}","type":"json"}]',
- 'title' => '人审渠道回调接口',
- 'extraInfo' => '无',
],
- 'ManualModeration' => [
- 'summary' => '内容安全人审提交请求接口',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'VoiceModeration' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4387,40 +3784,26 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'paid',
- 'abilityTreeCode' => '264342',
- 'abilityTreeNodes' => [
- 'FEATURElvwangIBEW89',
- 'FEATURElvwangU90H4V',
- 'FEATURElvwangBBY7QM',
- 'FEATURElvwang870NMI',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '162159',
+ 'abilityTreeNodes' => ['FEATURElvwang6QCU1H', 'FEATURElvwangPAXR7J'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'imageManualCheck',
- ],
+ 'schema' => ['description' => '语音审核ServiceCode', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'audio_media_detection'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
- .'- url:待检测对象的URL,请确保该URL能通过公网访问到。'."\n"
- .'- dataId:选填,检测对象对应的数据ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"url": "https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}',
- ],
+ 'schema' => ['description' => '审核服务需要的参数集,JSON字符串格式。'."\n"
+ ."\n"
+ .'url:必填,待检测对象的URL,请确保该URL能通过公网访问到。'."\n"
+ .'dataId:选填,检测对象对应的数据ID。'."\n"
+ .'更多信息,请参见ServiceParameter。', 'type' => 'string', 'required' => false, 'example' => '{"url": "http://aliyundoc.com/test.flv", "dataId": "data1234"}'],
],
],
'responses' => [
@@ -4430,88 +3813,76 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Message' => [
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => '错误代码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'SUCCESS'],
'Data' => [
- 'description' => '返回数据。',
+ 'description' => '返回任务信息数据结构',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => '2a5389eb-4ff8-4584-ac99-644e2a539aa1',
- ],
- 'TaskId' => [
- 'description' => '任务Id',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'TaskId' => ['description' => '任务Id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => 'data1234'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"DataId\\": \\"2a5389eb-4ff8-4584-ac99-644e2a539aa1\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
- 'title' => '内容安全人审提交任务',
- ],
- 'ManualModerationResult' => [
- 'summary' => '获取人审结果',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '语音审核增强版任务提交',
+ 'summary' => '提交语音审核增强版检测任务。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VoiceModeration'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"DataId\\": \\"data1234\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'VoiceModerationCancel' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '264414',
- 'abilityTreeNodes' => [
- 'FEATURElvwangIBEW89',
- 'FEATURElvwangU90H4V',
- 'FEATURElvwangBBY7QM',
- 'FEATURElvwang870NMI',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeCode' => '164076',
+ 'abilityTreeNodes' => ['FEATURElvwang6QCU1H', 'FEATURElvwangPAXR7J'],
],
'parameters' => [
[
+ 'name' => 'Service',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审核服务类型,包括:'."\n"
+ .'nickname_detection:用户昵称'."\n"
+ .'待定', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'nickname_detection'],
+ ],
+ [
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务需要的参数集,JSON字符串格式。'."\n"
- .'- TaskId:提交任务时返回的任务id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"TaskId\\":\\"e5f2d886-4c23-440d-999c-bd98acde11b6\\"}',
- ],
+ 'schema' => ['description' => '待取消任务TaskId', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "taskId": "xxxxx-xxxx"'."\n"
+ .' }'],
],
],
'responses' => [
@@ -4521,130 +3892,69 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Message' => [
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'object',
- 'properties' => [
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'DataId' => [
- 'description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。',
- 'type' => 'string',
- 'example' => 'data1234',
- ],
- 'TaskId' => [
- 'description' => '任务Id',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'Result' => [
- 'description' => '返回详细标签结果。',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签项结构。',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '风险标签',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Description' => [
- 'description' => '标签描述',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4A926AE2-4C96-573F-824F-0532960799F8'],
+ 'Code' => ['description' => '返回码。返回200代表成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '请求消息的响应消息。', 'type' => 'string', 'example' => 'SUCCESS'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"RiskLevel\\": \\"high\\",\\n \\"DataId\\": \\"data1234\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '内容安全人审结果获取接口',
- ],
- 'MultiModalGuard' => [
- 'summary' => '同步检测接口',
- 'path' => '',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '取消语音流审核任务',
+ 'summary' => '语音审核增强版取消任务接口。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VoiceModerationCancel'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModerationCancel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A926AE2-4C96-573F-824F-0532960799F8\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
+ ],
+ 'VoiceModerationResult' => [
+ 'summary' => '语音审核增强版检测结果获取接口。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATURElvwang828K27',
- ],
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '162180',
+ 'abilityTreeNodes' => ['FEATURElvwang6QCU1H', 'FEATURElvwangPAXR7J'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务类型,包括:'."\n"
- ."\n"
- .'- query_security_check:AI输入内容安全检测'."\n"
- ."\n"
- .'- response_security_check:AI生成内容安全检测',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'query_security_check',
- ],
+ 'schema' => ['title' => '服务', 'description' => '审核服务类型,包括:'."\n"
+ .'nickname_detection:用户昵称'."\n"
+ .'待定', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'nickname_detection'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务需要的参数集。JSON字符串格式',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "content": "测试内容"'."\n"
- .' }',
- ],
+ 'schema' => ['title' => '服务参数', 'description' => '网关向后端服务发送API请求的参数描述。'."\n"
+ ."\n"
+ .'更多信息,请参见[ServiceParameter](~~43988~~)。', 'type' => 'string', 'required' => false, 'example' => '暂无'],
],
],
'responses' => [
@@ -4654,81 +3964,87 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2881AD4F-638B-52A3-BA20-F74C5B1CEAE3'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '请求消息的响应消息。', 'type' => 'string', 'example' => 'SUCCESS'],
'Data' => [
- 'description' => '返回的数据内容。',
+ 'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Detail' => [
- 'description' => '检测详情。',
+ 'Url' => ['description' => '任务URL', 'type' => 'string', 'example' => '暂无'],
+ 'LiveId' => ['description' => '直播的唯一标识ID。', 'type' => 'string', 'example' => 'liveId'],
+ 'TaskId' => ['description' => '任务ID', 'type' => 'string', 'example' => 'kw24ihd0WGkdi5nniVZM@qOj-1x5Ibb'],
+ 'SliceDetails' => [
+ 'description' => '分段结果',
'type' => 'array',
'items' => [
- 'description' => '检测详情。',
+ 'description' => '分段结果条目',
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '审核建议。取值:-**block**:违规。-**pass**:通过。',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'Type' => [
- 'description' => '类型。',
- 'type' => 'string',
- 'example' => 'contentModeration',
- ],
- 'Level' => [
- 'description' => '风险等级。',
- 'type' => 'string',
- 'example' => 'none',
- ],
+ 'StartTime' => ['description' => '分段开始时间(秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'EndTime' => ['description' => '分段结束时间(秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'StartTimestamp' => ['description' => '切片开始时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1678854649720'],
+ 'EndTimestamp' => ['description' => '切片结束时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1678854649720'],
+ 'Url' => ['description' => '分段语音文件临时地址', 'type' => 'string', 'example' => '暂无'],
+ 'Text' => ['description' => '分段语音转写文本', 'type' => 'string', 'example' => '今天天气真不错'],
+ 'Labels' => ['description' => '命中违规标签', 'type' => 'string', 'example' => 'sexual_sounds'],
+ 'Score' => ['description' => '风险分数,默认范围 0-99', 'type' => 'number', 'format' => 'float', 'example' => '87.01'],
+ 'Extend' => ['description' => '扩展字段', 'type' => 'string', 'example' => '{\\"riskWords\\":\\"色情服务\\","adNums":"\\","riskTips":"涉政_人物,涉政_红歌"}'],
+ 'RiskTips' => ['description' => '命中风险详情', 'type' => 'string', 'example' => '涉政_人物'],
+ 'RiskWords' => ['description' => '命中风险关键词', 'type' => 'string', 'example' => '色情服务'],
+ 'OriginAlgoResult' => ['description' => '保留字段', 'type' => 'object'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'Descriptions' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似违禁内容'],
'Result' => [
- 'description' => '检测结果。',
+ 'title' => '文本检测结果',
+ 'description' => '文本检测结果',
'type' => 'array',
'items' => [
- 'description' => '检测结果。',
+ 'title' => '单个结果',
+ 'description' => '单个结果',
'type' => 'object',
'properties' => [
- 'Ext' => [
- 'description' => '检测结果扩展信息。',
- 'type' => 'any',
- 'example' => '{}',
- ],
- 'Description' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '疑似违禁行为',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'contraband_act',
+ 'Label' => ['title' => '标签', 'description' => '标签', 'type' => 'string', 'example' => 'ad'],
+ 'Confidence' => ['title' => '置信度', 'description' => '置信度', 'type' => 'number', 'format' => 'float', 'example' => '100.00'],
+ 'RiskWords' => ['title' => '命中风险内容', 'description' => '命中风险内容', 'type' => 'string', 'example' => 'XX'],
+ 'RiskLevel' => ['title' => '风险等级', 'description' => '风险等级', 'type' => 'string', 'example' => 'high'],
+ 'CustomizedHit' => [
+ 'title' => '命中自定义库列表',
+ 'description' => '命中自定义库列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '命中自定义库',
+ 'description' => '命中自定义库',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibName' => ['title' => '自定义库名称', 'description' => '自定义库名称', 'type' => 'string', 'example' => 'insultLib'],
+ 'KeyWords' => ['title' => '自定义词', 'description' => '自定义词', 'type' => 'string', 'example' => 'fxxk'],
+ ],
+ ],
],
- 'Level' => [
- 'description' => '风险等级。',
- 'type' => 'string',
- 'example' => 'none',
+ 'Description' => ['title' => '描述', 'description' => '描述', 'type' => 'string', 'example' => 'profanity'],
+ 'RiskPositions' => [
+ 'title' => '风险位置列表',
+ 'description' => '风险位置列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '风险位置',
+ 'description' => '风险位置',
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskWord' => ['title' => '检测到的敏感词', 'description' => '检测到的敏感词', 'type' => 'string', 'example' => 'fxxk'],
+ 'StartPos' => ['title' => '起始位置', 'description' => '起始位置', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'EndPos' => ['title' => '结束位置', 'description' => '结束位置', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ ],
+ ],
],
],
],
@@ -4736,220 +4052,716 @@
],
],
],
- 'Suggestion' => [
- 'description' => '审核建议。取值:-block:违规。-pass:通过。',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'DataId' => [
- 'description' => '检测对象对应的数据ID。',
- 'type' => 'string',
- 'example' => 'data1234',
- ],
+ 'DataId' => ['description' => 'API请求时传入的dataId 的值,如请求时未传入,则没有该字段。', 'type' => 'string', 'example' => 'data1234'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'ManualTaskId' => ['description' => '人审任务ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
],
],
],
],
],
],
- 'errorCodes' => [
- 403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You don\'t have permission.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2881AD4F-638B-52A3-BA20-F74C5B1CEAE3\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"Url\\": \\"暂无\\",\\n \\"LiveId\\": \\"liveId\\",\\n \\"TaskId\\": \\"kw24ihd0WGkdi5nniVZM@qOj-1x5Ibb\\",\\n \\"SliceDetails\\": [\\n {\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 10,\\n \\"StartTimestamp\\": 1678854649720,\\n \\"EndTimestamp\\": 1678854649720,\\n \\"Url\\": \\"暂无\\",\\n \\"Text\\": \\"今天天气真不错\\",\\n \\"Labels\\": \\"sexual_sounds\\",\\n \\"Score\\": 87.01,\\n \\"Extend\\": \\"{\\\\\\\\\\\\\\"riskWords\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"色情服务\\\\\\\\\\\\\\",\\\\\\"adNums\\\\\\":\\\\\\"\\\\\\\\\\\\\\",\\\\\\"riskTips\\\\\\":\\\\\\"涉政_人物,涉政_红歌\\\\\\"}\\",\\n \\"RiskTips\\": \\"涉政_人物\\",\\n \\"RiskWords\\": \\"色情服务\\",\\n \\"OriginAlgoResult\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"RiskLevel\\": \\"high\\",\\n \\"Descriptions\\": \\"疑似违禁内容\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"ad\\",\\n \\"Confidence\\": 100,\\n \\"RiskWords\\": \\"XX\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"CustomizedHit\\": [\\n {\\n \\"LibName\\": \\"insultLib\\",\\n \\"KeyWords\\": \\"fxxk\\"\\n }\\n ],\\n \\"Description\\": \\"profanity\\",\\n \\"RiskPositions\\": [\\n {\\n \\"RiskWord\\": \\"fxxk\\",\\n \\"StartPos\\": 1,\\n \\"EndPos\\": 4\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"DataId\\": \\"data1234\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"ManualTaskId\\": \\"xxxxx-xxxxx\\"\\n }\\n}","type":"json"}]',
+ 'title' => '查询语音审核结果',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VoiceModerationResult'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'green-cip.cn-shenzhen.aliyuncs.com', 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com', 'vpc' => 'green-cip-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'green-cip.cn-beijing.aliyuncs.com', 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com', 'vpc' => 'green-cip-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'green-cip.cn-shanghai.aliyuncs.com', 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com', 'vpc' => 'green-cip-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'green-cip.cn-hongkong.aliyuncs.com', 'endpoint' => 'green-cip.cn-hongkong.aliyuncs.com', 'vpc' => 'green-cip-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'green-cip.ap-southeast-1.aliyuncs.com', 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com', 'vpc' => 'green-cip-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'green-cip.cn-hangzhou.aliyuncs.com', 'endpoint' => 'green-cip.cn-hangzhou.aliyuncs.com', 'vpc' => 'green-cip-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'green-cip.us-east-1.aliyuncs.com', 'endpoint' => 'green-cip.us-east-1.aliyuncs.com', 'vpc' => 'green-cip-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'green-cip.eu-central-1.aliyuncs.com', 'endpoint' => 'green-cip.eu-central-1.aliyuncs.com', 'vpc' => 'green-cip-vpc.eu-central-1.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => '408', 'message' => 'No permissions.', 'http_code' => 200, 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ['code' => '411', 'message' => 'You don\'t have permission.', 'http_code' => 403, 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ['code' => 'CustomServiceConfigServicesRequired', 'message' => 'Select at least one instrumentation configuration service when saving a multimodal service configuration.', 'http_code' => 400, 'description' => '保存多模态服务配置时至少选择一个检测配置服务'],
+ ['code' => 'NoPermission', 'message' => 'No permissions.', 'http_code' => 200, 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ['code' => 'NoPermission', 'message' => 'you don\'t have permission.', 'http_code' => 200, 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'."\n"],
+ ['code' => 'NoPermission', 'message' => 'You don\'t have permission.', 'http_code' => 403, 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ['code' => 'NoPermission', 'message' => 'You don\'t have permission.', 'http_code' => 403, 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'],
+ ['code' => 'OneFeatureRequired', 'message' => 'Keep at least one switch item when detecting an item configuration to turn off the switch item.', 'http_code' => 400, 'description' => '检测项配置关闭开关项时,请至少保留一个开关项'."\n"
+ ."\n"],
+ ['code' => 'ScanResultQueryFailed', 'message' => 'Data query failed.', 'http_code' => 200, 'description' => '数据查询失败'],
+ ['code' => 'UserNotOwner', 'message' => 'No permission.', 'http_code' => 401, 'description' => '无权限'],
+ ['code' => 'USER_NOT_OWNER', 'message' => 'No permission.', 'http_code' => 401, 'description' => '无权限'],
+ ['code' => 'LibCountOverLimit', 'message' => 'The number of libraries has exceeded the limit.', 'http_code' => 400, 'description' => '库数量已超出限制'],
+ ['code' => 'InvalidRequestParameters', 'message' => 'Invalid request parameters.', 'http_code' => 400, 'description' => '请求参数有误'],
+ ['code' => 'SampleCountOverLimit', 'message' => 'The number of samples has exceeded the limit.', 'http_code' => 400, 'description' => '样本数量超过限制'],
+ ],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModerationPlus'],
+ ],
+ 'createdAt' => '2025-03-19T07:10:51.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeImageModerationResult'],
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"Data\\": {\\n \\"Detail\\": [\\n {\\n \\"Suggestion\\": \\"pass\\",\\n \\"Type\\": \\"contentModeration\\",\\n \\"Level\\": \\"none\\",\\n \\"Result\\": [\\n {\\n \\"Ext\\": \\"{}\\",\\n \\"Description\\": \\"疑似违禁行为\\",\\n \\"Confidence\\": 0,\\n \\"Label\\": \\"contraband_act\\",\\n \\"Level\\": \\"none\\"\\n }\\n ]\\n }\\n ],\\n \\"Suggestion\\": \\"pass\\",\\n \\"DataId\\": \\"data1234\\"\\n }\\n}","type":"json"}]',
- 'title' => 'AI安全护栏同步检测',
+ 'createdAt' => '2025-03-17T05:57:01.000Z',
+ 'description' => '',
],
- 'MultiModalAgent' => [
- 'summary' => '多模态AgentAPI同步检测接口',
- 'path' => '',
- 'methods' => [
- 'post',
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'VideoModerationResult'],
],
- 'schemes' => [
- 'https',
+ 'createdAt' => '2025-03-13T01:43:10.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeFileModerationResult'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'createdAt' => '2025-01-09T12:55:00.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'VideoModerationResult'],
+ ['description' => 'Response parameters changed', 'api' => 'VoiceModerationResult'],
+ ],
+ 'createdAt' => '2025-01-09T12:40:18.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModeration'],
+ ['description' => 'Response parameters changed', 'api' => 'TextModerationPlus'],
+ ],
+ 'createdAt' => '2025-01-06T10:54:50.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'ImageBatchModeration'],
+ ],
+ 'createdAt' => '2024-11-28T07:35:15.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
+ ],
+ 'createdAt' => '2024-11-07T13:31:25.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'VoiceModerationResult'],
+ ],
+ 'createdAt' => '2024-10-14T10:21:11.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'VideoModerationResult'],
+ ],
+ 'createdAt' => '2024-09-23T13:29:06.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeFileModerationResult'],
+ ],
+ 'createdAt' => '2024-09-13T08:40:18.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModerationPlus'],
+ ],
+ 'createdAt' => '2024-09-06T02:38:08.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeImageModerationResult'],
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
+ ],
+ 'createdAt' => '2024-08-20T09:56:06.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeUrlModerationResult'],
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
+ ],
+ 'createdAt' => '2024-07-25T09:35:00.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModerationPlus'],
+ ],
+ 'createdAt' => '2024-07-03T11:18:54.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeImageModerationResult'],
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
+ ],
+ 'createdAt' => '2024-07-03T11:04:30.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
+ ],
+ 'createdAt' => '2024-05-30T09:10:09.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModerationPlus'],
+ ],
+ 'createdAt' => '2024-05-27T07:14:34.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
+ ],
+ 'createdAt' => '2024-05-11T05:53:39.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
+ ],
+ 'createdAt' => '2024-04-19T03:30:20.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeImageResultExt'],
+ ],
+ 'createdAt' => '2024-04-11T11:01:03.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'VideoModeration'],
+ ['description' => 'Response parameters changed', 'api' => 'VideoModerationResult'],
+ ['description' => 'Response parameters changed', 'api' => 'VoiceModeration'],
+ ['description' => 'Response parameters changed', 'api' => 'VoiceModerationResult'],
+ ],
+ 'createdAt' => '2024-03-26T02:18:07.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeImageModerationResult'],
+ ],
+ 'createdAt' => '2024-01-03T11:20:11.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'VideoModerationResult'],
+ ],
+ 'createdAt' => '2023-12-27T10:12:24.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeImageModerationResult'],
+ ],
+ 'createdAt' => '2023-11-09T03:38:43.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeImageResultExt'],
+ ],
+ 'createdAt' => '2023-06-20T05:54:26.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
+ ['description' => 'Response parameters changed', 'api' => 'TextModeration'],
+ ],
+ 'createdAt' => '2023-05-08T03:59:34.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'VoiceModeration'],
+ ['description' => 'Response parameters changed', 'api' => 'VoiceModerationCancel'],
+ ],
+ 'createdAt' => '2023-04-04T03:41:34.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'VoiceModerationResult'],
+ ],
+ 'createdAt' => '2023-03-24T08:22:10.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'TextModeration'],
+ ],
+ 'createdAt' => '2023-01-03T02:55:48.000Z',
+ 'description' => '接口返回更新',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModeration'],
+ ],
+ 'createdAt' => '2022-11-30T02:29:17.000Z',
+ 'description' => '日常稳定性更新',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModeration'],
+ ],
+ 'createdAt' => '2022-08-02T11:31:16.000Z',
+ 'description' => '接口更新',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModeration'],
+ ],
+ 'createdAt' => '2022-06-02T01:47:32.000Z',
+ 'description' => '接口更新',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Request parameters changed', 'api' => 'TextModeration'],
+ ],
+ 'createdAt' => '2022-05-18T03:45:12.000Z',
+ 'description' => '接口更新',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModeration'],
+ ],
+ 'createdAt' => '2022-04-26T06:34:52.000Z',
+ 'description' => '新版本接口发布',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VoiceModerationResult'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VideoModerationResult'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFileModerationResult'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeImageResultExt'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TextModerationPlus'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImageAsyncModeration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManualModeration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FileModeration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TextModeration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VideoModerationCancel'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImageBatchModeration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VoiceModerationCancel'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUrlModerationResult'],
+ ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManualCallback'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManualModerationResult'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUploadToken'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VoiceModeration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImageModeration'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UrlAsyncModeration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeImageModerationResult'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VideoModeration'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'Aligreen',
+ 'productName' => 'AI 安全护栏',
+ 'ramCodes' => ['yundun-greenweb'],
+ 'ramLevel' => '操作级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'VideoModerationResult',
+ 'description' => '查询视频审核任务结果',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'FileModeration',
+ 'description' => '文档检测任务提交',
'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATURElvwang828K27',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:FileModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'ServiceParameters',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '审核服务需要的参数集。taskId,即要查询的检测任务的taskId,每次支持输入一个taskId。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"content":"测试文本","dataId":"img1234567"}',
+ [
+ 'apiName' => 'ImageAsyncModeration',
+ 'description' => '图片异步检测',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'AppID',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '白板应用唯一标识符。获取白板应用ID,请参见[CreateApp](~~204234~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'txt_check_agent_01',
+ ],
+ [
+ 'apiName' => 'MultiModalGuardAsyncResult',
+ 'description' => 'AI安全护栏多模态异步检测结果查询接口',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalGuardAsyncResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => '返回码。返回200代表成功。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Data' => [
- 'description' => '图片内容检测后的结果。',
- 'type' => 'object',
- 'properties' => [
- 'DataId' => [
- 'description' => '数据ID',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'Result' => [
- 'description' => '标签项结构。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回集合。',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => '风险标签',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Description' => [
- 'description' => '标签描述',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
- 'Reason' => [
- 'description' => '结束该会话时的结果描述。'."\n"
- .'- **SESSION_KILLED**:结束会话成功。'."\n"
- .'- **SESSION_EXPIRED**:会话已过期。'."\n"
- .'- **SESSION\\_NO\\_PERMISSION**:用于结束会话的账号权限不足。'."\n"
- .'- **SESSION\\_ACCOUNT\\_ERROR**:用于结束会话的账号或密码错误。'."\n"
- .'- **SESSION\\_IGNORED\\_USER**:不需要结束的账号的会话。'."\n"
- .'- **SESSION\\_INTERNAL\\_USER\\_OR\\_COMMAND**:阿里云运维账号的会话或者命令。'."\n"
- .'- **SESSION\\_KILL\\_TASK\\_TIMEOUT**:结束会话超时。'."\n"
- .'- **SESSION\\_OTHER\\_ERROR**:其他错误。',
- 'type' => 'string',
- 'example' => 'TRACER_SLB_ALL_DEST_WEIGHT_0',
- ],
- ],
- ],
- ],
- 'Usage' => [
- 'description' => 'Token使用情况',
- 'type' => 'object',
- 'properties' => [
- 'PromptLength' => [
- 'description' => '提示词长度。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'ContentLength' => [
- 'description' => '内容长度。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'AgentDetail' => [
- 'description' => '智能体详细',
- 'type' => 'object',
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'ImageModeration',
+ 'description' => '图片审核增强版',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You don\'t have permission.',
+ [
+ 'apiName' => 'DescribeMultimodalModerationResult',
+ 'description' => '查询异步多模态检测结果',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeMultimodalModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MultimodalAsyncModeration',
+ 'description' => '多模态异步检测',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultimodalAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DescribeImageModerationResult',
+ 'description' => '查询图片异步检测结果',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeImageModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeImageResultExt',
+ 'description' => '图片辅助信息获取接口',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeImageResultExt',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VoiceModerationCancel',
+ 'description' => '取消语音流审核任务',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModerationCancel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VoiceModeration',
+ 'description' => '语音审核增强版任务提交',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeUploadToken',
+ 'description' => '查询上传token',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeUploadToken',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MultiModalGuardAsync',
+ 'description' => 'AI安全护栏多模态异步检测接口',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalGuardAsync',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ImageBatchModeration',
+ 'description' => '图片多Service同步检测',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageBatchModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TextModeration',
+ 'description' => '文本审核增强版',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:TextModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFileModerationResult',
+ 'description' => '查询文档检测结果',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeFileModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VoiceModerationResult',
+ 'description' => '查询语音审核结果',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeUrlModerationResult',
+ 'description' => '查询URL异步检测结果',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeUrlModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ManualModeration',
+ 'description' => '内容安全人审提交任务',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ManualModerationResult',
+ 'description' => '内容安全人审结果获取接口',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MultiModalGuard',
+ 'description' => 'AI安全护栏多模态同步检测接口',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalGuard',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TextModerationPlus',
+ 'description' => '文本审核Plus版',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:TextModerationPlus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MultiModalAgent',
+ 'description' => '内容审核Agent',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalAgent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VideoModerationCancel',
+ 'description' => '取消视频直播审核任务',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModerationCancel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VideoModeration',
+ 'description' => '视频审核增强版任务提交',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ManualCallback',
+ 'description' => '人审渠道回调接口',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualCallback',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UrlAsyncModeration',
+ 'description' => 'URL风险异步检测',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:UrlAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"DataId\\": \\"26769ada6e264e7ba9aa048241e12be9\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"violent_explosion\\",\\n \\"Description\\": \\"未检测出风险\\",\\n \\"Reason\\": \\"TRACER_SLB_ALL_DEST_WEIGHT_0\\"\\n }\\n ],\\n \\"Usage\\": {\\n \\"PromptLength\\": 100,\\n \\"ContentLength\\": 10,\\n \\"AgentDetail\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n }\\n}","type":"json"}]',
- 'title' => '内容审核Agent',
- 'description' => '内容安全审核Agent。',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com',
],
+ 'resourceTypes' => [],
],
];
diff --git a/data/zh_cn/green/2022-09-26/api-docs.php b/data/zh_cn/green/2022-09-26/api-docs.php
index 4b63ea4..3384f09 100644
--- a/data/zh_cn/green/2022-09-26/api-docs.php
+++ b/data/zh_cn/green/2022-09-26/api-docs.php
@@ -1,10 +1,6 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Green',
- 'version' => '2022-09-26',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Green', 'version' => '2022-09-26'],
'directories' => [
'AddKeywordLib',
'DeleteFeatureConfig',
@@ -29,73 +25,10 @@
'title' => '其它',
'type' => 'directory',
'children' => [
- 'GetKeywordImportResult',
- 'UpdateKeywordLib',
- 'GetKeywordLib',
- 'GetUploadInfo',
- 'ListServiceConfigs',
- 'GetTextScanResult',
- 'AddKeywords',
- 'ListKeywords',
- 'DeleteKeyword',
- 'ExportKeyword',
- 'ExportTextScanResult',
- 'DeleteKeywordLib',
- 'UpdateImageLibFreeInspection',
- 'AddImages2Lib',
- 'ListImagesFromLib',
- 'AddImageLib',
- 'ExportScanResult',
- 'ListImageLib',
- 'DeleteImagesFromLib',
- 'GetImageSceneLabelConf',
- 'UpdateImageLib',
- 'GetImageSceneLabelListConf',
- 'GetScanNum',
- 'CancelStockOssCheckTask',
- 'CreatePreCheck',
- 'GetBucketsList',
- 'GetOssCheckStatus',
- 'ExportResult',
- 'GetStockOssCheckTasksList',
- 'OssCheckResultList',
- 'CreatStockOssCheckTask',
- 'AddKeywordsToLib',
- 'GetServiceLabelConfig',
- 'ModifyServiceInfo',
- 'CopyServiceConfig',
- 'GetExecuteTime',
- 'GetJobNameList',
- 'GetBackupConfig',
- 'GetBackupBucketsList',
- 'GetBackupStatus',
- 'UpdateBackupConfig',
- 'ListCallback',
- 'QueryCallbackByPage',
- 'CreateCallback',
- 'DeleteCallback',
- 'ModifyCallback',
- 'AddAnswerSample',
- 'CreateAnswerLib',
- 'ExportAnswerSample',
- 'QueryAnswerSampleByPage',
- 'DeleteAnswerSample',
- 'ListAnswerLib',
- 'ModifyAnswerLib',
- 'DeleteAnswerLib',
- 'GetAnswerImportProgress',
- 'UpdateOssCheckResultsFeedBack',
- 'UpdateOssCheckResultsFreeze',
- 'GetOssCheckFreezeResult',
- 'UpdateOssCheckResultsUnfreeze',
- 'DeleteOnlineTest',
- 'CreateOnlineTest',
- 'StopOnlineTest',
- 'DescribeOnlineTestResult',
- 'GetUploadLink',
- 'LlmStreamChat',
- 'GetOssCheckTaskInfo',
- 'UpdateOssCheckResultsBatchFeedback',
+ 'GetKeywordImportResult', 'UpdateKeywordLib', 'GetKeywordLib', 'GetUploadInfo', 'ListServiceConfigs', 'GetTextScanResult', 'AddKeywords', 'ListKeywords', 'DeleteKeyword', 'ExportKeyword', 'ExportTextScanResult', 'DeleteKeywordLib', 'UpdateImageLibFreeInspection', 'AddImages2Lib', 'ListImagesFromLib', 'AddImageLib', 'ExportScanResult', 'ListImageLib', 'DeleteImagesFromLib', 'GetImageSceneLabelConf',
+ 'UpdateImageLib', 'GetImageSceneLabelListConf', 'GetScanNum', 'CancelStockOssCheckTask', 'CreatePreCheck', 'GetBucketsList', 'GetOssCheckStatus', 'ExportResult', 'GetStockOssCheckTasksList', 'OssCheckResultList', 'CreatStockOssCheckTask', 'AddKeywordsToLib', 'GetServiceLabelConfig', 'ModifyServiceInfo', 'CopyServiceConfig', 'GetExecuteTime', 'GetJobNameList', 'GetBackupConfig', 'GetBackupBucketsList', 'GetBackupStatus',
+ 'UpdateBackupConfig', 'ListCallback', 'QueryCallbackByPage', 'CreateCallback', 'DeleteCallback', 'ModifyCallback', 'AddAnswerSample', 'CreateAnswerLib', 'ExportAnswerSample', 'QueryAnswerSampleByPage', 'DeleteAnswerSample', 'ListAnswerLib', 'ModifyAnswerLib', 'DeleteAnswerLib', 'GetAnswerImportProgress', 'UpdateOssCheckResultsFeedBack', 'UpdateOssCheckResultsFreeze', 'GetOssCheckFreezeResult', 'UpdateOssCheckResultsUnfreeze', 'DeleteOnlineTest',
+ 'CreateOnlineTest', 'StopOnlineTest', 'DescribeOnlineTestResult', 'GetUploadLink', 'LlmStreamChat', 'GetOssCheckTaskInfo', 'UpdateOssCheckResultsBatchFeedback', 'GetPromptTestResult', 'CreateImageLib', 'GetTuneProposalById',
],
],
],
@@ -105,69 +38,54 @@
'apis' => [
'AddKeywordLib' => [
'summary' => '创建关键词库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157041',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => '词库名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试词库',
- ],
+ 'schema' => ['description' => '词库名称。', 'type' => 'string', 'required' => false, 'example' => '测试词库'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词,多个关键词以\\n分割。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '关键词1\\n关键词2',
- ],
+ 'schema' => ['description' => '关键词,多个关键词以\\n分割。', 'type' => 'string', 'required' => false, 'example' => '关键词1\\n关键词2'],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词文件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt',
- ],
+ 'schema' => ['description' => '关键词文件名称。', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
+ ],
+ [
+ 'name' => 'Properties',
+ 'in' => 'query',
+ 'schema' => ['description' => '属性', 'type' => 'string', 'required' => false, 'example' => '{"attribute":"xx"}'],
],
],
'responses' => [
@@ -181,127 +99,58 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => '结果。',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => '国际化key。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => '提示信息。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '529',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '278',
- ],
- 'RepeatCount' => [
- 'description' => '重复次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '118',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '133',
- ],
+ 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '529'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '278'],
+ 'RepeatCount' => ['description' => '重复次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '118'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '133'],
'RepeatKeywords' => [
'description' => '重复的关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '重复的关键词。',
- 'type' => 'string',
- 'example' => '重复关键词',
- ],
+ 'items' => ['description' => '重复的关键词。', 'type' => 'string', 'example' => '重复关键词'],
],
'InvalidKeywords' => [
'description' => '不合法关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '不合法关键词。',
- 'type' => 'string',
- 'example' => '非法关键词',
- ],
+ 'items' => ['description' => '不合法关键词。', 'type' => 'string', 'example' => '非法关键词'],
],
'IllegalLengthKeywords' => [
'description' => '长度过长或过短关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '长度过长或过短关键词。',
- 'type' => 'string',
- 'example' => '过短关键词',
- ],
+ 'items' => ['description' => '长度过长或过短关键词。', 'type' => 'string', 'example' => '过短关键词'],
],
],
],
],
],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'LibCountOverLimit', 'errorMessage' => 'The number of libraries has exceeded the limit.'],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxx\\",\\n \\"TotalCount\\": 529,\\n \\"SuccessCount\\": 278,\\n \\"RepeatCount\\": 118,\\n \\"InvalidCount\\": 133,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"非法关键词\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\"\\n ]\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => '添加关键词库',
],
'DeleteFeatureConfig' => [
'summary' => '删除特性配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -314,61 +163,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266680',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => '类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'Field',
'in' => 'formData',
- 'schema' => [
- 'description' => '标签值,客户自定义',
- 'type' => 'string',
- 'required' => false,
- 'example' => '__config__',
- ],
+ 'schema' => ['description' => '标签值,客户自定义', 'type' => 'string', 'required' => false, 'example' => '__config__'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '区域', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -378,39 +200,12 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -420,14 +215,8 @@
],
'ExportCipStats' => [
'summary' => '导出调用量',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -439,50 +228,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157301',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-04-15 09:00:00',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-04-15 09:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-04-16 09:00:00',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-04-16 09:00:00'],
],
[
'name' => 'Label',
'in' => 'formData',
- 'schema' => [
- 'description' => '要导出的任务标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '要导出的任务标签。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否支持月份索引,取值:-**true**:支持。-**false**:不支持。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否支持月份索引,取值:-**true**:支持。-**false**:不支持。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ResourceType',
@@ -491,13 +258,7 @@
'description' => '资源类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
'default' => 'text',
],
@@ -505,52 +266,27 @@
[
'name' => 'SubUid',
'in' => 'formData',
- 'schema' => [
- 'description' => '子账户UID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '268220485413130979',
- ],
+ 'schema' => ['description' => '子账户UID。', 'type' => 'string', 'required' => false, 'example' => '268220485413130979'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => '类型,取值:-**cip**:内容安全调用量统计。-**risk_level**:内容安全风险等级统计。-**content_moderation**:AI安全护栏内容合规风险等级及标签统计。-**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。-**prompt_attack**:AI安全护栏提示词风险等级及标签统计。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'risk_level',
- ],
+ 'schema' => ['description' => '类型,取值:-**cip**:内容安全调用量统计。-**risk_level**:内容安全风险等级统计。-**content_moderation**:AI安全护栏内容合规风险等级及标签统计。-**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。-**prompt_attack**:AI安全护栏提示词风险等级及标签统计。', 'type' => 'string', 'required' => false, 'example' => 'risk_level'],
],
[
'name' => 'ExportType',
'in' => 'formData',
- 'schema' => [
- 'description' => '导出类型。取值:-**level**:风险等级导出。-**label**:标签导出。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'label',
- ],
+ 'schema' => ['description' => '导出类型。取值:-**level**:风险等级导出。-**label**:标签导出。', 'type' => 'string', 'required' => false, 'example' => 'label'],
],
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
],
'responses' => [
@@ -560,43 +296,12 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '导出结果。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -606,14 +311,8 @@
],
'ExportOssCheckStat' => [
'summary' => 'oss用量统计导出',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -626,60 +325,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '218756',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否支持月份索引,取值:-true:支持。-false:不支持。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否支持月份索引,取值:-true:支持。-false:不支持。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ParentTaskId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'oss检测任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UX0K5X',
- ],
+ 'schema' => ['description' => 'oss检测任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_UX0K5X'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -689,17 +361,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '导出结果。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -709,14 +372,8 @@
],
'GetCipStats' => [
'summary' => '查询调用量',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -729,50 +386,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157300',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'Label',
'in' => 'formData',
- 'schema' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否支持月份索引,取值:true:支持。false:不支持。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否支持月份索引,取值:true:支持。false:不支持。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ResourceType',
@@ -781,14 +416,7 @@
'description' => '资源类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- 'audio' => '音频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频', 'audio' => '音频'],
'example' => 'text',
'default' => 'text',
],
@@ -796,50 +424,27 @@
[
'name' => 'SubUid',
'in' => 'formData',
- 'schema' => [
- 'description' => '子账户UID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '253552244990701265',
- ],
+ 'schema' => ['description' => '子账户UID。', 'type' => 'string', 'required' => false, 'example' => '253552244990701265'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '类型,取值:**cip**:内容安全调用量统计。**risk_level**:内容安全风险等级统计。**content_moderation**:AI安全护栏内容合规风险等级及标签统计。**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。**prompt_attack**:AI安全护栏提示词风险等级及标签统计。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'risk_level',
- ],
+ 'schema' => ['description' => '类型,取值:**cip**:内容安全调用量统计。**risk_level**:内容安全风险等级统计。**content_moderation**:AI安全护栏内容合规风险等级及标签统计。**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。**prompt_attack**:AI安全护栏提示词风险等级及标签统计。', 'type' => 'string', 'required' => false, 'example' => 'risk_level'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -856,11 +461,7 @@
'X' => [
'description' => '坐标点的X值。',
'type' => 'array',
- 'items' => [
- 'description' => '坐标点的X值。',
- 'type' => 'string',
- 'example' => '["06-10", "06-11", "06-12", "06-13"]',
- ],
+ 'items' => ['description' => '坐标点的X值。', 'type' => 'string', 'example' => '["06-10", "06-11", "06-12", "06-13"]'],
],
'Y' => [
'description' => '坐标点的Y值。',
@@ -869,20 +470,11 @@
'description' => '坐标点的Y值。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'nickNameDetection'],
'Data' => [
'description' => '返回数据。',
'type' => 'array',
- 'items' => [
- 'description' => '用量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
- ],
+ 'items' => ['description' => '用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'],
],
],
],
@@ -890,11 +482,7 @@
'Uids' => [
'description' => 'UID列表。',
'type' => 'array',
- 'items' => [
- 'description' => 'UID列表。',
- 'type' => 'string',
- 'example' => '["15220*****63446"]',
- ],
+ 'items' => ['description' => 'UID列表。', 'type' => 'string', 'example' => '["15220*****63446"]'],
],
'LabelStatChart' => [
'description' => '标签用量图。',
@@ -903,25 +491,12 @@
'description' => '标签用量图。',
'type' => 'object',
'properties' => [
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '117',
- ],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '117'],
'X' => [
'description' => '坐标点的X值。',
'type' => 'array',
- 'items' => [
- 'description' => '坐标点的X值。',
- 'type' => 'string',
- 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n",
- ],
+ 'items' => ['description' => '坐标点的X值。', 'type' => 'string', 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n"],
],
'Y' => [
'description' => '坐标点的Y值。',
@@ -930,20 +505,11 @@
'description' => '坐标点的Y值。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'nickNameDetection'],
'Data' => [
'description' => '返回数据。',
'type' => 'array',
- 'items' => [
- 'description' => '用量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
- ],
+ 'items' => ['description' => '用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'],
],
],
],
@@ -955,21 +521,9 @@
'description' => '树状图。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'Value' => [
- 'description' => '分值。',
- 'type' => 'string',
- 'example' => '99.91',
- ],
- 'Description' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '疑似政治人物',
- ],
+ 'Name' => ['description' => '标签。', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => '99.91'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似政治人物'],
],
],
],
@@ -980,21 +534,9 @@
'description' => '音频树状图。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'Value' => [
- 'description' => '分值。',
- 'type' => 'string',
- 'example' => '99.91',
- ],
- 'Description' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '疑似特定歌曲'."\n",
- ],
+ 'Name' => ['description' => '标签。', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => '99.91'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似特定歌曲'."\n"],
],
],
],
@@ -1004,21 +546,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '标签',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- 'Value' => [
- 'description' => '标签占比',
- 'type' => 'string',
- 'example' => '0.0274',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
+ 'Name' => ['description' => '标签', 'type' => 'string', 'example' => 'nonLabel'],
+ 'Value' => ['description' => '标签占比', 'type' => 'string', 'example' => '0.0274'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '未检测出风险'],
],
],
],
@@ -1028,21 +558,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '标签',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- 'Value' => [
- 'description' => '占比',
- 'type' => 'string',
- 'example' => '0.0274',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '未检测出风险',
- ],
+ 'Name' => ['description' => '标签', 'type' => 'string', 'example' => 'nonLabel'],
+ 'Value' => ['description' => '占比', 'type' => 'string', 'example' => '0.0274'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '未检测出风险'],
],
],
],
@@ -1056,20 +574,11 @@
'description' => '命中数据。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
+ 'Name' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickNameDetection'],
'Data' => [
'description' => '数量。',
'type' => 'array',
- 'items' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
- ],
+ 'items' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'],
],
],
],
@@ -1077,45 +586,15 @@
'TotalStat' => [
'description' => '总数量分类统计。',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'object',
- 'description' => '总数量分类统计。',
- ],
+ 'additionalProperties' => ['type' => 'object', 'description' => '总数量分类统计。'],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1125,13 +604,8 @@
],
'GetFeatureConfig' => [
'summary' => '获取特性配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1144,61 +618,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266679',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => '类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Query',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询条件',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}',
- ],
+ 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}'],
],
],
'responses' => [
@@ -1208,69 +655,26 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '1643953****74290',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'llm_query_moderation',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'Type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'custom_llm_template',
- ],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1643953****74290'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'llm_query_moderation'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'text'],
+ 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'custom_llm_template'],
'FeatureConf' => [
'description' => '特性配置列表',
'type' => 'array',
- 'items' => [
- 'description' => '特性配置对象',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'items' => ['description' => '特性配置对象', 'type' => 'object', 'example' => '{}'],
],
],
],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'success'."\n",
- ],
- 'Success' => [
- 'description' => '成功标志',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'."\n"],
+ 'Success' => ['description' => '成功标志', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -1280,13 +684,8 @@
],
'GetOssCheckResultDetail' => [
'summary' => '获取OSS检查结果的详细信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1299,81 +698,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '233378',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Bucket',
'in' => 'query',
- 'schema' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-tmp',
- ],
+ 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => 'oss-tmp'],
],
[
'name' => 'Object',
'in' => 'query',
- 'schema' => [
- 'description' => 'object名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1748396909030.jpg',
- ],
+ 'schema' => ['description' => 'object名称。', 'type' => 'string', 'required' => false, 'example' => '1748396909030.jpg'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '服务编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'audio_media_detection_01',
- ],
+ 'schema' => ['description' => '服务编码', 'type' => 'string', 'required' => false, 'example' => 'audio_media_detection_01'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'QueryRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的请求ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
- ],
+ 'schema' => ['description' => '查询的请求ID', 'type' => 'string', 'required' => false, 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952'],
],
[
'name' => 'MediaType',
'in' => 'query',
- 'schema' => [
- 'description' => '媒资类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '父任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_RZQ66T',
- ],
+ 'schema' => ['description' => '父任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_RZQ66T'],
],
],
'responses' => [
@@ -1383,134 +744,41 @@
'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952'],
'Data' => [
'description' => '详情数据',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => 'oss-tmp',
- ],
- 'JobName' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'object名称',
- 'type' => 'string',
- 'example' => '1748396909030.jpg',
- ],
- 'Md5' => [
- 'description' => '文件的MD5。',
- 'type' => 'string',
- 'example' => 'f6e2e1946f06310c8a0cc443a05819f3',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => '错误码,和http status一致',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'oss-tmp'],
+ 'JobName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'object名称', 'type' => 'string', 'example' => '1748396909030.jpg'],
+ 'Md5' => ['description' => '文件的MD5。', 'type' => 'string', 'example' => 'f6e2e1946f06310c8a0cc443a05819f3'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => '错误码,和http status一致', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => '图片标签。',
'type' => 'array',
- 'items' => [
- 'description' => '图片标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => '图片标签。', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => '文本标签。',
'type' => 'array',
- 'items' => [
- 'description' => '文本标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => '结果详情。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => '图片url地址。',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => '任务URL',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'P_Z7OLMN',
- ],
- 'ServiceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => '是否复制。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => '主服务。',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => '音视频检测类型。',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => '整体风险等级。',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => '图片风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => '文本风险等级',
- 'type' => 'string',
- 'example' => 'medium',
- ],
- 'FreezeType' => [
- 'description' => '冻结类型。',
- 'type' => 'string',
- 'example' => 'COPY',
- ],
- 'FreezeStatus' => [
- 'description' => '冻结状态。',
- 'type' => 'string',
- 'example' => 'UNFREEZED',
- ],
+ 'items' => ['description' => '文本标签。', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => '任务URL', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'P_Z7OLMN'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => '音视频检测类型。', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => '整体风险等级。', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => '图片风险等级', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => '文本风险等级', 'type' => 'string', 'example' => 'medium'],
+ 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'COPY'],
+ 'FreezeStatus' => ['description' => '冻结状态。', 'type' => 'string', 'example' => 'UNFREEZED'],
'ScanServiceInfos' => [
'description' => '检测服务信息',
'type' => 'array',
@@ -1518,26 +786,10 @@
'description' => '检测服务信息',
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => '是否复制。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'ServiceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'CopyFrom' => [
- 'description' => '主服务。',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
+ 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'],
+ 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'],
],
],
],
@@ -1548,22 +800,9 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'politics',
- ],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '50'],
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'],
],
],
],
@@ -1574,58 +813,20 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'politics',
- ],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '50'],
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'],
],
],
],
- 'ManualFreezeAction' => [
- 'description' => '人工处置状态。',
- 'type' => 'string',
- 'example' => 'FREEZE',
- ],
- 'ManualOperateTime' => [
- 'description' => '处置时间。',
- 'type' => 'string',
- 'example' => '2025-08-09 12:00:00',
- ],
- 'ManualOperator' => [
- 'description' => '处置人。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'ManualFreezeAction' => ['description' => '人工处置状态。', 'type' => 'string', 'example' => 'FREEZE'],
+ 'ManualOperateTime' => ['description' => '处置时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-08-09 12:00:00'],
+ 'ManualOperator' => ['description' => '处置人。', 'type' => 'string', 'example' => 'xx'],
],
],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Code' => [
- 'description' => '错误码,和http status一致',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'true'],
+ 'Msg' => ['description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'success'],
+ 'Code' => ['description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -1635,14 +836,8 @@
],
'GetOssCheckStat' => [
'summary' => 'oss用量统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1655,60 +850,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '218755',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否按月查询。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否按月查询。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ParentTaskId',
'in' => 'formData',
- 'schema' => [
- 'description' => '父任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UNHBH',
- ],
+ 'schema' => ['description' => '父任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_UNHBH'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -1718,12 +886,7 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'BarChart' => [
'description' => '柱状图',
'type' => 'object',
@@ -1731,11 +894,7 @@
'X' => [
'description' => '坐标点的X值。',
'type' => 'array',
- 'items' => [
- 'description' => '坐标点的X值。',
- 'type' => 'string',
- 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]',
- ],
+ 'items' => ['description' => '坐标点的X值。', 'type' => 'string', 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]'],
],
'Y' => [
'description' => '坐标点的Y值。',
@@ -1744,20 +903,11 @@
'description' => '坐标点的Y值。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => 'document_detection',
- ],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'document_detection'],
'Data' => [
'description' => '数据。',
'type' => 'array',
- 'items' => [
- 'description' => '数据。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 0, 0, 0, 0, 34]',
- ],
+ 'items' => ['description' => '数据。', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 0, 0, 0, 0, 34]'],
],
],
],
@@ -1773,14 +923,8 @@
],
'GetScanResult' => [
'summary' => '查询调用结果',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1793,11 +937,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160495',
- 'abilityTreeNodes' => [
- 'FEATURElvwang6CEZ66',
- 'FEATURElvwang5MWEHW',
- 'FEATURElvwangLRLIH6',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang6CEZ66', 'FEATURElvwang5MWEHW', 'FEATURElvwangLRLIH6'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -1805,22 +945,12 @@
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
@@ -1830,44 +960,23 @@
'description' => '搜索条件。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{"RequestId":"xxx"}',
- 'description' => '搜索条件。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{"RequestId":"xxx"}', 'description' => '搜索条件。'],
],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => '当前页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -1877,22 +986,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{"RequestTime":"desc"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{"RequestTime":"desc"}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -1906,24 +1006,9 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '当前页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -1931,142 +1016,46 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-08-11 09:00:19'."\n",
- ],
- 'RequestTime' => [
- 'description' => '请求时间。',
- 'type' => 'string',
- 'example' => '2023-08-11 09:00:19'."\n",
- ],
- 'DataId' => [
- 'title' => 'dataId',
- 'description' => 'dataId',
- 'type' => 'string',
- 'example' => '4f27b8cc7c4544cb90b41882a5b36326',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'ScanResult' => [
- 'description' => '结果详情。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'Labels' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'GmtCreate' => ['description' => '创建时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-08-11 09:00:19'."\n"],
+ 'RequestTime' => ['description' => '请求时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-08-11 09:00:19'."\n"],
+ 'DataId' => ['title' => 'dataId', 'description' => 'dataId', 'type' => 'string', 'example' => '4f27b8cc7c4544cb90b41882a5b36326'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'],
+ 'Labels' => ['description' => '标签。', 'type' => 'string', 'example' => 'nonLabel'],
'NoLabels' => [
'title' => '无标签',
'description' => '无标签',
'type' => 'array',
- 'items' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ImageUrl' => [
- 'title' => 'url',
- 'description' => 'url',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
- ],
- 'Content' => [
- 'description' => '内容。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9',
- ],
- 'Score' => [
- 'description' => '分数。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '25',
- ],
- 'Suggestion' => [
- 'description' => '建议。',
- 'type' => 'string',
- 'example' => 'review',
- ],
- 'ExtFeedback' => [
- 'description' => '反馈信息。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Url' => [
- 'description' => '任务URL',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
- ],
- 'TimeStamp' => [
- 'description' => '时间戳。',
- 'type' => 'string',
- 'example' => '00:00:40-00:00:42',
- ],
- 'FrameCount' => [
- 'description' => '帧数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'ImageService' => [
- 'description' => '图片服务。',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'VoiceService' => [
- 'description' => '音频服务。',
- 'type' => 'string',
- 'example' => 'live_stream_detection',
- ],
+ 'items' => ['description' => '标签。', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ImageUrl' => ['title' => 'url', 'description' => 'url', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'."\n"],
+ 'Content' => ['description' => '内容。', 'type' => 'string', 'example' => 'xxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9'],
+ 'Score' => ['description' => '分数。', 'type' => 'number', 'format' => 'float', 'example' => '25'],
+ 'Suggestion' => ['description' => '建议。', 'type' => 'string', 'example' => 'review'],
+ 'ExtFeedback' => ['description' => '反馈信息。', 'type' => 'string', 'example' => 'xxx'],
+ 'Url' => ['description' => '任务URL', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'."\n"],
+ 'TimeStamp' => ['description' => '时间戳。', 'type' => 'string', 'example' => '00:00:40-00:00:42'],
+ 'FrameCount' => ['description' => '帧数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'ImageService' => ['description' => '图片服务。', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'VoiceService' => ['description' => '音频服务。', 'type' => 'string', 'example' => 'live_stream_detection'],
'ImageLabels' => [
'description' => '图片标签。',
'type' => 'array',
- 'items' => [
- 'description' => '图片标签。',
- 'type' => 'object',
- 'example' => '[{nonLabel: 17}]',
- ],
+ 'items' => ['description' => '图片标签。', 'type' => 'object', 'example' => '[{nonLabel: 17}]'],
],
'VoiceLabels' => [
'description' => '音频标签。',
'type' => 'array',
- 'items' => [
- 'description' => '音频标签。',
- 'type' => 'object',
- 'example' => '[{political_content: 11}]',
- ],
+ 'items' => ['description' => '音频标签。', 'type' => 'object', 'example' => '[{political_content: 11}]'],
],
'TextLabels' => [
'description' => '文本标签。',
'type' => 'array',
- 'items' => [
- 'description' => '文本标签。',
- 'type' => 'object',
- 'example' => '[{nonLabel: 17}]',
- ],
- ],
- 'VoiceScanOpened' => [
- 'description' => '是否开启音频检测。',
- 'type' => 'boolean',
- 'example' => 'True',
+ 'items' => ['description' => '文本标签。', 'type' => 'object', 'example' => '[{nonLabel: 17}]'],
],
+ 'VoiceScanOpened' => ['description' => '是否开启音频检测。', 'type' => 'boolean', 'example' => 'True'],
'Result' => [
'description' => '返回集合。',
'type' => 'array',
@@ -2074,279 +1063,106 @@
'description' => '返回集合。',
'type' => 'object',
'properties' => [
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'string',
- 'example' => '50.0',
- ],
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'politics',
- ],
- 'Description' => [
- 'description' => '对Labal字段的说明。',
- 'type' => 'string',
- 'example' => '疑似色情内容',
- ],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'string', 'example' => '50.0'],
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'],
+ 'Description' => ['description' => '对Labal字段的说明。', 'type' => 'string', 'example' => '疑似色情内容'],
],
],
],
- 'Offset' => [
- 'description' => '截帧偏移值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'StartTime' => [
- 'description' => '分段开始时间(秒)。',
- 'type' => 'string',
- 'example' => '11',
- ],
- 'EndTime' => [
- 'description' => '分段结束时间(秒)。',
- 'type' => 'string',
- 'example' => '22',
- ],
- 'RiskTips' => [
- 'description' => '命中风险详情。',
- 'type' => 'string',
- 'example' => '色情服务',
- ],
- 'RiskWords' => [
- 'description' => '命中风险关键词。',
- 'type' => 'string',
- 'example' => '色情_低俗词',
- ],
- 'Thumbnail' => [
- 'description' => '缩略图地址。',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png',
- ],
- 'Extra' => [
- 'description' => '备用参数。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'PageNum' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'SensitiveLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- .'- **S1**:表示低敏感。'."\n"
- .'- **S2**:表示中敏感。'."\n"
- .'- **S3**:表示较高敏感。'."\n"
- .'- **S4**:表示高敏感。'."\n"
- .'- **S0**:表示非敏感。',
- 'type' => 'string',
- 'example' => 'S0',
- ],
- 'AttackLevel' => [
- 'description' => '攻击等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'RequestFrom' => [
- 'description' => '请求来源',
- 'type' => 'string',
- 'example' => 'online_test',
- ],
- 'ApiRequestTime' => [
- 'description' => '机审时间。',
- 'type' => 'string',
- 'example' => '1755501226',
- ],
- 'ReviewTime' => [
- 'description' => '复审时间。',
- 'type' => 'string',
- 'example' => '1755501226',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ApiTaskId' => [
- 'description' => '机审任务ID。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'ReviewLabels' => [
- 'description' => '复审标签。',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'ReviewRiskLevel' => [
- 'description' => '复审状态。',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ReviewUid' => [
- 'description' => '复审人。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'ApiLabels' => [
- 'description' => '机审标签。',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'ApiRiskLevel' => [
- 'description' => '机审风险等级。',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ApiService' => [
- 'description' => '机审service',
- 'type' => 'string',
- 'example' => 'basecheckLine',
- ],
- 'ManualOnly' => [
- 'description' => '是否纯人审。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reviewed' => [
- 'description' => '是否已复审。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'MaliciousFileLevel' => [
- 'description' => '恶意文件风险等级。',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'MaliciousUrlLevel' => [
- 'description' => '恶意url风险等级。',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'AppId' => [
- 'title' => 'appId',
- 'description' => 'appId',
- 'type' => 'string',
- 'example' => 'agent_01',
- ],
+ 'Offset' => ['description' => '截帧偏移值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'StartTime' => ['description' => '分段开始时间(秒)。', 'type' => 'string', 'example' => '11'],
+ 'EndTime' => ['description' => '分段结束时间(秒)。', 'type' => 'string', 'example' => '22'],
+ 'RiskTips' => ['description' => '命中风险详情。', 'type' => 'string', 'example' => '色情服务'],
+ 'RiskWords' => ['description' => '命中风险关键词。', 'type' => 'string', 'example' => '色情_低俗词'],
+ 'Thumbnail' => ['description' => '缩略图地址。', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'],
+ 'Extra' => ['description' => '备用参数。', 'type' => 'object', 'example' => '{}'],
+ 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'none'],
+ 'SensitiveLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ .'- **S1**:表示低敏感。'."\n"
+ .'- **S2**:表示中敏感。'."\n"
+ .'- **S3**:表示较高敏感。'."\n"
+ .'- **S4**:表示高敏感。'."\n"
+ .'- **S0**:表示非敏感。', 'type' => 'string', 'example' => 'S0'],
+ 'AttackLevel' => ['description' => '攻击等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'none'],
+ 'RequestFrom' => ['description' => '请求来源', 'type' => 'string', 'example' => 'online_test'],
+ 'ApiRequestTime' => ['description' => '机审时间。使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1755501226'],
+ 'ReviewTime' => ['description' => '复审时间。使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1755501226'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'text'],
+ 'ApiTaskId' => ['description' => '机审任务ID。', 'type' => 'string', 'example' => 'xxx'],
+ 'ReviewLabels' => ['description' => '复审标签。', 'type' => 'string', 'example' => 'porn'],
+ 'ReviewRiskLevel' => ['description' => '复审状态。', 'type' => 'string', 'example' => 'high'],
+ 'ReviewUid' => ['description' => '复审人。', 'type' => 'string', 'example' => 'xx'],
+ 'ApiLabels' => ['description' => '机审标签。', 'type' => 'string', 'example' => 'porn'],
+ 'ApiRiskLevel' => ['description' => '机审风险等级。', 'type' => 'string', 'example' => 'high'],
+ 'ApiService' => ['description' => '机审service', 'type' => 'string', 'example' => 'basecheckLine'],
+ 'ManualOnly' => ['description' => '是否纯人审。', 'type' => 'boolean', 'example' => 'false'],
+ 'Reviewed' => ['description' => '是否已复审。', 'type' => 'boolean', 'example' => 'false'],
+ 'MaliciousFileLevel' => ['description' => '恶意文件风险等级。', 'type' => 'string', 'example' => 'high'],
+ 'MaliciousUrlLevel' => ['description' => '恶意url风险等级。', 'type' => 'string', 'example' => 'high'],
+ 'AppId' => ['title' => 'appId', 'description' => 'appId', 'type' => 'string', 'example' => 'agent_01'],
'GuardImageUrls' => [
'description' => '多模态图片地址。',
'type' => 'array',
- 'items' => [
- 'description' => '多模态图片地址。',
- 'type' => 'string',
- 'example' => 'https://xxx.jpg',
- ],
+ 'items' => ['description' => '多模态图片地址。', 'type' => 'string', 'example' => 'https://xxx.jpg'],
],
'GuardFileUrls' => [
'description' => '多模态文件地址。',
'type' => 'array',
- 'items' => [
- 'description' => '多模态文件地址。',
- 'type' => 'string',
- 'example' => 'http://xxx.docx',
- ],
- ],
- 'AccountId' => [
- 'description' => '客户入参AccountId',
- 'type' => 'string',
- 'example' => 'accountIdtest123',
- ],
- 'LiveId' => [
- 'description' => '客户入参LiveId',
- 'type' => 'string',
- 'example' => 'liveIdtest123',
+ 'items' => ['description' => '多模态文件地址。', 'type' => 'string', 'example' => 'http://xxx.docx'],
],
+ 'AccountId' => ['description' => '客户入参AccountId', 'type' => 'string', 'example' => 'accountIdtest123'],
+ 'LiveId' => ['description' => '客户入参LiveId', 'type' => 'string', 'example' => 'liveIdtest123'],
'ImageUrls' => [
'title' => 'imageUrls',
'description' => 'imageUrls',
'type' => 'array',
- 'items' => [
- 'title' => 'url',
- 'description' => 'url',
- 'type' => 'string',
- 'example' => 'https://xxxx.001.jpg',
- ],
+ 'items' => ['title' => 'url', 'description' => 'url', 'type' => 'string', 'example' => 'https://xxxx.001.jpg'],
],
+ 'BailianRequestId' => ['description' => '百炼RequestId', 'type' => 'string', 'example' => '93a2f484-ac61-9b2e-9765-88600c83c1ea'],
],
],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 200 => [
+ ['errorCode' => 'ScanResultQueryFailed', 'errorMessage' => 'Data query failed.'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"RequestTime\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"DataId\\": \\"4f27b8cc7c4544cb90b41882a5b36326\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"NoLabels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ImageUrl\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"Content\\": \\"xxx\\",\\n \\"TaskId\\": \\"vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9\\",\\n \\"Score\\": 25,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"xxx\\",\\n \\"Url\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"TimeStamp\\": \\"00:00:40-00:00:42\\",\\n \\"FrameCount\\": 20,\\n \\"ImageService\\": \\"baselineCheck\\",\\n \\"VoiceService\\": \\"live_stream_detection\\",\\n \\"ImageLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"TextLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceScanOpened\\": true,\\n \\"Result\\": [\\n {\\n \\"Confidence\\": \\"50.0\\",\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"Offset\\": 1,\\n \\"StartTime\\": \\"11\\",\\n \\"EndTime\\": \\"22\\",\\n \\"RiskTips\\": \\"色情服务\\",\\n \\"RiskWords\\": \\"色情_低俗词\\",\\n \\"Thumbnail\\": \\"https://www.aliyuncs.com/xxx.png\\",\\n \\"Extra\\": {},\\n \\"PageNum\\": 1,\\n \\"RiskLevel\\": \\"none\\",\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"RequestFrom\\": \\"online_test\\",\\n \\"ApiRequestTime\\": \\"1755501226\\",\\n \\"ReviewTime\\": \\"1755501226\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ApiTaskId\\": \\"xxx\\",\\n \\"ReviewLabels\\": \\"porn\\",\\n \\"ReviewRiskLevel\\": \\"high\\",\\n \\"ReviewUid\\": \\"xx\\",\\n \\"ApiLabels\\": \\"porn\\",\\n \\"ApiRiskLevel\\": \\"high\\",\\n \\"ApiService\\": \\"basecheckLine\\",\\n \\"ManualOnly\\": false,\\n \\"Reviewed\\": false,\\n \\"MaliciousFileLevel\\": \\"high\\",\\n \\"MaliciousUrlLevel\\": \\"high\\",\\n \\"AppId\\": \\"agent_01\\",\\n \\"GuardImageUrls\\": [\\n \\"https://xxx.jpg\\"\\n ],\\n \\"GuardFileUrls\\": [\\n \\"http://xxx.docx\\"\\n ],\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"LiveId\\": \\"liveIdtest123\\",\\n \\"ImageUrls\\": [\\n \\"https://xxxx.001.jpg\\"\\n ]\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"RequestTime\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"DataId\\": \\"4f27b8cc7c4544cb90b41882a5b36326\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"NoLabels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ImageUrl\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"Content\\": \\"xxx\\",\\n \\"TaskId\\": \\"vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9\\",\\n \\"Score\\": 25,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"xxx\\",\\n \\"Url\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"TimeStamp\\": \\"00:00:40-00:00:42\\",\\n \\"FrameCount\\": 20,\\n \\"ImageService\\": \\"baselineCheck\\",\\n \\"VoiceService\\": \\"live_stream_detection\\",\\n \\"ImageLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"TextLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceScanOpened\\": true,\\n \\"Result\\": [\\n {\\n \\"Confidence\\": \\"50.0\\",\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"Offset\\": 1,\\n \\"StartTime\\": \\"11\\",\\n \\"EndTime\\": \\"22\\",\\n \\"RiskTips\\": \\"色情服务\\",\\n \\"RiskWords\\": \\"色情_低俗词\\",\\n \\"Thumbnail\\": \\"https://www.aliyuncs.com/xxx.png\\",\\n \\"Extra\\": {},\\n \\"PageNum\\": 1,\\n \\"RiskLevel\\": \\"none\\",\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"RequestFrom\\": \\"online_test\\",\\n \\"ApiRequestTime\\": \\"1755501226\\",\\n \\"ReviewTime\\": \\"1755501226\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ApiTaskId\\": \\"xxx\\",\\n \\"ReviewLabels\\": \\"porn\\",\\n \\"ReviewRiskLevel\\": \\"high\\",\\n \\"ReviewUid\\": \\"xx\\",\\n \\"ApiLabels\\": \\"porn\\",\\n \\"ApiRiskLevel\\": \\"high\\",\\n \\"ApiService\\": \\"basecheckLine\\",\\n \\"ManualOnly\\": false,\\n \\"Reviewed\\": false,\\n \\"MaliciousFileLevel\\": \\"high\\",\\n \\"MaliciousUrlLevel\\": \\"high\\",\\n \\"AppId\\": \\"agent_01\\",\\n \\"GuardImageUrls\\": [\\n \\"https://xxx.jpg\\"\\n ],\\n \\"GuardFileUrls\\": [\\n \\"http://xxx.docx\\"\\n ],\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"LiveId\\": \\"liveIdtest123\\",\\n \\"ImageUrls\\": [\\n \\"https://xxxx.001.jpg\\"\\n ],\\n \\"BailianRequestId\\": \\"93a2f484-ac61-9b2e-9765-88600c83c1ea\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => '查询检测结果',
],
'GetServiceConf' => [
'summary' => '获取单个服务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2359,9 +1175,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '161934',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2369,52 +1183,27 @@
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'Scene',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pornographic',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => false, 'example' => 'pornographic'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ByDefault',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询默认配置',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'False',
- ],
+ 'schema' => ['description' => '查询默认配置', 'type' => 'boolean', 'required' => false, 'example' => 'False'],
],
],
'responses' => [
@@ -2424,91 +1213,30 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '17726*****370735',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'image',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-01-17 12:29:56',
- ],
- 'CustomServiceConf' => [
- 'description' => '服务详情',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => '6CF2815C-****-****-B52E-FF6E2****492',
- ],
- 'Option' => [
- 'description' => '选项。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Classify' => [
- 'description' => '分类。',
- 'type' => 'string',
- 'example' => 'guard-scene',
- ],
- 'ServiceType' => [
- 'description' => '服务类型。',
- 'type' => 'string',
- 'example' => 'plus',
- ],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '17726*****370735'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'image'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-01-17 12:29:56'],
+ 'CustomServiceConf' => ['description' => '服务详情', 'type' => 'object', 'example' => '{}'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => '6CF2815C-****-****-B52E-FF6E2****492'],
+ 'Option' => ['description' => '选项。', 'type' => 'object', 'example' => '{}'],
+ 'Classify' => ['description' => '分类。', 'type' => 'string', 'example' => 'guard-scene'],
+ 'ServiceType' => ['description' => '服务类型。', 'type' => 'string', 'example' => 'plus'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Uid\\": \\"17726*****370735\\",\\n \\"ResourceType\\": \\"image\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"GmtModified\\": \\"2023-01-17 12:29:56\\",\\n \\"CustomServiceConf\\": {},\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Option\\": {},\\n \\"Classify\\": \\"guard-scene\\",\\n \\"ServiceType\\": \\"plus\\"\\n}","type":"json"}]',
'title' => '获取规则配置',
],
'GetServiceConfig' => [
'summary' => '获取单个服务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2520,41 +1248,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwang9SVL0Q',
- 'FEATURElvwangL7LL9G',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang9SVL0Q', 'FEATURElvwangL7LL9G'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -2568,26 +1278,10 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '165379****31937',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2024-05-06 03:07:44',
- ],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '165379****31937'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'text'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-05-06 03:07:44'],
'CustomServiceConf' => [
'description' => '自定义服务详情',
'type' => 'object',
@@ -2595,88 +1289,42 @@
'KeywordFilterLibs' => [
'description' => '忽略词库。',
'type' => 'array',
- 'items' => [
- 'description' => '忽略词库。',
- 'type' => 'string',
- 'example' => '["kwxxx"]',
- ],
+ 'items' => ['description' => '忽略词库。', 'type' => 'string', 'example' => '["kwxxx"]'],
],
'KeywordHitLibs' => [
'description' => '命中词库。',
'type' => 'array',
- 'items' => [
- 'description' => '命中词库。',
- 'type' => 'string',
- 'example' => '["kwxxx1"]',
- ],
+ 'items' => ['description' => '命中词库。', 'type' => 'string', 'example' => '["kwxxx1"]'],
],
'SimilarTextHitLibs' => [
'description' => '命中相似文本库。',
'type' => 'array',
- 'items' => [
- 'description' => '命中相似文本库。',
- 'type' => 'string',
- 'example' => '["stxxx"]',
- ],
+ 'items' => ['description' => '命中相似文本库。', 'type' => 'string', 'example' => '["stxxx"]'],
],
'ManualMachineConfig' => [
'description' => '人机审核配置。',
'type' => 'object',
'properties' => [
- 'Enable' => [
- 'description' => '是否启用。取值:'."\n"
- .'- **true**:启用'."\n"
- .'- **false**:禁用',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Enable' => ['description' => '是否启用。取值:'."\n"
+ .'- **true**:启用'."\n"
+ .'- **false**:禁用', 'type' => 'boolean', 'example' => 'true'],
'AuditRiskLevels' => [
'description' => '风险等级。',
'type' => 'array',
- 'items' => [
- 'description' => '风险等级。',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- 'ManualService' => [
- 'description' => '人审service',
- 'type' => 'string',
- 'example' => 'imageManualCheck',
- ],
- 'CallbackId' => [
- 'description' => '回调通知ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
+ 'items' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'high'],
],
+ 'ManualService' => ['description' => '人审service', 'type' => 'string', 'example' => 'imageManualCheck'],
+ 'CallbackId' => ['description' => '回调通知ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
],
],
],
],
],
],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2686,14 +1334,8 @@
],
'GetUserBuyStatus' => [
'summary' => '获取用户购买状态',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2706,30 +1348,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '158310',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'CommodityCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '商品编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lvwang_public_cn',
- ],
+ 'schema' => ['description' => '商品编码。', 'type' => 'string', 'required' => false, 'example' => 'lvwang_public_cn'],
],
],
'responses' => [
@@ -2743,55 +1373,17 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Buy' => [
- 'description' => '是否在阿里云开通了商品。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Indebt' => [
- 'description' => '是否欠费。',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bid' => [
- 'description' => 'Bid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '26842',
- ],
- 'Tag' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'bailian',
- ],
- 'InstanceId' => [
- 'description' => '实例id',
- 'type' => 'string',
- 'example' => 'xxx-xxx-xxx',
- ],
+ 'Buy' => ['description' => '是否在阿里云开通了商品。', 'type' => 'boolean', 'example' => 'True'],
+ 'Indebt' => ['description' => '是否欠费。', 'type' => 'boolean', 'example' => 'False'],
+ 'Bid' => ['description' => 'Bid。', 'type' => 'integer', 'format' => 'int64', 'example' => '26842'],
+ 'Tag' => ['description' => '标签。', 'type' => 'string', 'example' => 'bailian'],
+ 'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => 'xxx-xxx-xxx'],
],
],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2801,39 +1393,34 @@
],
'ListKeywordLibs' => [
'summary' => '关键词库列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157043',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['title' => '租户编码', 'description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
],
],
'responses' => [
@@ -2844,66 +1431,27 @@
'type' => 'object',
'properties' => [
'Data' => [
+ 'title' => '数据对象',
'description' => '返回数据。',
'type' => 'array',
'items' => [
+ 'title' => '',
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '19964*****086772',
- ],
- 'LibId' => [
- 'description' => '词库ID。',
- 'type' => 'string',
- 'example' => 'custom_xxxxx',
- ],
- 'LibName' => [
- 'description' => '库名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'KeywordCount' => [
- 'description' => '关键词数量。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'ServiceCodes' => [
- 'description' => 'service服务',
- 'type' => 'string',
- 'example' => 'service1,service2',
- ],
+ 'Uid' => ['title' => 'uid', 'description' => 'UID。', 'type' => 'string', 'example' => '19964*****086772'],
+ 'LibId' => ['title' => '词库ID', 'description' => '词库ID。', 'type' => 'string', 'example' => 'custom_xxxxx'],
+ 'LibName' => ['title' => '词库名称', 'description' => '库名称。', 'type' => 'string', 'example' => '测试'],
+ 'KeywordCount' => ['title' => '词库数量', 'description' => '关键词数量。', 'type' => 'string', 'example' => '10'],
+ 'GmtModified' => ['title' => '更新时间', 'description' => '修改时间。', 'type' => 'string', 'example' => '2022-11-30 16:30:29'],
+ 'ServiceCodes' => ['title' => '关联的service', 'description' => 'service服务', 'type' => 'string', 'example' => 'service1,service2'],
],
],
],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '是否成功', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码描述信息', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['title' => '请求的唯一标识符', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2913,103 +1461,57 @@
],
'ListOssCheckResult' => [
'summary' => 'oss扫描结果查询',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '197375',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '任务状态。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
+ 'schema' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => '已完成数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索条件。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => '搜索条件。', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -3019,22 +1521,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3044,30 +1537,10 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => '总记录条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => '总记录条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -3075,123 +1548,57 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'JobName' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'object名称',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => '文件的MD5。',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => '错误码,和http status一致。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'tmp'],
+ 'JobName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'object名称', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => '文件的MD5。', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => '错误码,和http status一致。', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
'Labels' => [
'description' => '图片标签。',
'type' => 'array',
- 'items' => [
- 'description' => '图片标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => '图片标签。', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => '文本标签。',
'type' => 'array',
+ 'items' => ['description' => '文本标签。', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => '任务URL。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => '音视频检测类型。', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => '整体风险等级', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => '图片风险等级', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => '文本风险等级', 'type' => 'string', 'example' => 'none'],
+ 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeStatus' => ['description' => '冻结状态。', 'type' => 'string', 'example' => 'FREEZED'],
+ 'LabelDetails' => [
+ 'description' => '视频画面命中标签列表',
+ 'type' => 'array',
'items' => [
- 'description' => '文本标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '视频画面命中标签', 'type' => 'string', 'example' => 'logo_streaming'],
+ 'Description' => ['description' => '标签对应描述', 'type' => 'string', 'example' => '影音娱乐类'],
+ ],
],
],
- 'ScanResult' => [
- 'description' => '结果详情。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => '图片url地址。',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => '任务URL。',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX',
- ],
- 'ServiceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => '是否复制。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => '主服务。',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => '音视频检测类型。',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => '整体风险等级',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => '图片风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => '文本风险等级',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'FreezeType' => [
- 'description' => '冻结类型。',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeStatus' => [
- 'description' => '冻结状态。',
- 'type' => 'string',
- 'example' => 'FREEZED',
+ 'LabelDetails2' => [
+ 'description' => '视频语音命中标签列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '语音命中标签', 'type' => 'string', 'example' => 'abuse'],
+ 'Description' => ['description' => '标签对应描述', 'type' => 'string', 'example' => '辱骂内容'],
+ ],
+ ],
],
],
],
@@ -3200,18 +1607,13 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"OK\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"EP6TI7_au_Zo25ITvCbkocNuF801QOQX\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"none\\",\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeStatus\\": \\"FREEZED\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"OK\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"EP6TI7_au_Zo25ITvCbkocNuF801QOQX\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"none\\",\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeStatus\\": \\"FREEZED\\",\\n \\"LabelDetails\\": [\\n {\\n \\"Label\\": \\"logo_streaming\\",\\n \\"Description\\": \\"影音娱乐类\\"\\n }\\n ],\\n \\"LabelDetails2\\": [\\n {\\n \\"Label\\": \\"abuse\\",\\n \\"Description\\": \\"辱骂内容\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询oss扫描结果列表',
],
'ModifyFeatureConfig' => [
'summary' => '保存特性配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3224,81 +1626,44 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266678',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => '类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'Field',
'in' => 'formData',
- 'schema' => [
- 'description' => '标签值,客户自定义',
- 'type' => 'string',
- 'required' => false,
- 'example' => '__config__',
- ],
+ 'schema' => ['description' => '标签值,客户自定义', 'type' => 'string', 'required' => false, 'example' => '__config__'],
],
[
'name' => 'Config',
'in' => 'formData',
- 'schema' => [
- 'description' => '配置,json格式',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '配置,json格式', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '标签含义',
- 'type' => 'string',
- 'required' => false,
- 'example' => '标签2',
- ],
+ 'schema' => ['description' => '标签含义', 'type' => 'string', 'required' => false, 'example' => '标签2'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '区域', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3308,55 +1673,28 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Msg' => [
- 'description' => '本次请求的响应消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => '返回数据', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'],
+ 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'OneFeatureRequired', 'errorMessage' => 'Keep at least one switch item when detecting an item configuration to turn off the switch item.'],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Msg\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
'title' => '编辑特性配置',
],
'QueryCallback' => [
'summary' => '查询单个回调配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3369,41 +1707,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '221459',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '11234',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '11234'],
],
[
'name' => 'CheckForOss',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询oss检测任务下的数据。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '查询oss检测任务下的数据。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3413,63 +1733,17 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11234',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '19964*****086772',
- ],
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => '回调通知',
- ],
- 'Url' => [
- 'description' => '回调URL。',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com',
- ],
- 'Seed' => [
- 'description' => 'Seed。',
- 'type' => 'string',
- 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf',
- ],
- 'CryptType' => [
- 'description' => '加密算法。',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => '结果范围。',
- 'type' => 'string',
- 'example' => 'all',
- ],
- 'ExistsOssCheckTask' => [
- 'description' => '是否存在oss检测任务',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11234'],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-11-30 16:30:29'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '19964*****086772'],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => '回调通知'],
+ 'Url' => ['description' => '回调URL。', 'type' => 'string', 'example' => 'https://www.aliyuncs.com'],
+ 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf'],
+ 'CryptType' => ['description' => '加密算法。', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => '结果范围。', 'type' => 'string', 'example' => 'all'],
+ 'ExistsOssCheckTask' => ['description' => '是否存在oss检测任务', 'type' => 'boolean', 'example' => 'false'],
],
],
],
@@ -3479,14 +1753,8 @@
],
'UpdateScanResultFeedback' => [
'summary' => '检测结果反馈',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3499,21 +1767,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '169771',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
],
'parameters' => [
[
'name' => 'QueryRequestId',
'in' => 'formData',
- 'schema' => [
- 'title' => '请求ID',
- 'description' => '请求ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '46232656-984E-****-A648-B1D0667B6C3E',
- ],
+ 'schema' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'required' => false, 'example' => '46232656-984E-****-A648-B1D0667B6C3E'],
],
[
'name' => 'Feedback',
@@ -3523,53 +1783,29 @@
'description' => '反馈',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'missOut' => '违规漏过',
- 'misreport' => '未违规误报',
- ],
+ 'enumValueTitles' => ['missOut' => '违规漏过', 'misreport' => '未违规误报'],
'example' => 'missOut',
],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'RiskLevel',
'in' => 'formData',
- 'schema' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'high',
- ],
+ 'schema' => ['description' => '风险等级', 'type' => 'string', 'required' => false, 'example' => 'high'],
],
[
'name' => 'Labels',
'in' => 'formData',
- 'schema' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abuse',
- ],
+ 'schema' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'abuse'],
],
],
'responses' => [
@@ -3579,17 +1815,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3599,14 +1826,8 @@
],
'UpdateServiceConfig' => [
'summary' => '更新服务。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3619,9 +1840,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157299',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -3629,112 +1848,57 @@
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'KeywordFilterLibs',
'in' => 'formData',
- 'schema' => [
- 'description' => '忽略词库。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '忽略词库。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'KeywordHitLibs',
'in' => 'formData',
- 'schema' => [
- 'description' => '命中词库。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '命中词库。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'Scene',
'in' => 'formData',
- 'schema' => [
- 'description' => '审核场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pornographic',
- ],
+ 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => false, 'example' => 'pornographic'],
],
[
'name' => 'SceneConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '场景配置信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '场景配置信息。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'VideoConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '视频配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '视频配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'FileConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '文档配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '文档配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'ManualMachineConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '人机审核配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '人机审核配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'ServiceConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => 'service配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => 'service配置。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -3744,94 +1908,46 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'CustomServiceConfigServicesRequired', 'errorMessage' => 'Select at least one instrumentation configuration service when saving a multimodal service configuration.'],
+ ],
],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => '修改服务配置',
],
'GetKeywordImportResult' => [
'summary' => '查询导入关键词结果',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'formData',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx-xxx',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'xxx-xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3845,101 +1961,35 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '任务进度百分比。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'customxx_xxx',
- ],
- 'I18nKey' => [
- 'description' => '国际化key。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => '提示信息。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxx'],
+ 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => '重复的关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '重复的关键词列表。',
- 'type' => 'string',
- 'example' => '重复关键词',
- ],
+ 'items' => ['description' => '重复的关键词列表。', 'type' => 'string', 'example' => '重复关键词'],
],
'InvalidKeywords' => [
'description' => '不合法关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '不合法关键词列表。',
- 'type' => 'string',
- 'example' => '不合法关键词',
- ],
+ 'items' => ['description' => '不合法关键词列表。', 'type' => 'string', 'example' => '不合法关键词'],
],
'IllegalLengthKeywords' => [
'description' => '长度过长或过短关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '长度过长或过短关键词列表。',
- 'type' => 'string',
- 'example' => '过短关键词',
- ],
+ 'items' => ['description' => '长度过长或过短关键词列表。', 'type' => 'string', 'example' => '过短关键词'],
],
],
],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3949,59 +1999,44 @@
],
'UpdateKeywordLib' => [
'summary' => '编辑关键词库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157975',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '词库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '词库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词库名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试库',
- ],
+ 'schema' => ['description' => '关键词库名称。', 'type' => 'string', 'required' => false, 'example' => '测试库'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
],
],
'responses' => [
@@ -4011,32 +2046,11 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -4046,49 +2060,39 @@
],
'GetKeywordLib' => [
'summary' => '关键词库信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157047',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxx',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
],
],
'responses' => [
@@ -4102,54 +2106,17 @@
'description' => '返回的数据内容。',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => '主账号ID',
- 'type' => 'string',
- 'example' => '1825457112123838',
- ],
- 'LibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'customxx_xxx',
- ],
- 'LibName' => [
- 'description' => '库名称',
- 'type' => 'string',
- 'example' => '测试词库',
- ],
- 'KeywordCount' => [
- 'description' => '关键词数量。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'GmtModified' => [
- 'description' => '最后修改时间。',
- 'type' => 'string',
- 'example' => '2024-01-29 10:26:00',
- ],
+ 'Uid' => ['description' => '主账号ID', 'type' => 'string', 'example' => '1825457112123838'],
+ 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxx'],
+ 'LibName' => ['description' => '库名称', 'type' => 'string', 'example' => '测试词库'],
+ 'KeywordCount' => ['description' => '关键词数量。', 'type' => 'string', 'example' => '100'],
+ 'GmtModified' => ['description' => '最后修改时间。', 'type' => 'string', 'example' => '2024-01-29 10:26:00'],
],
],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -4159,14 +2126,8 @@
],
'GetUploadInfo' => [
'summary' => '文件上传获取相应信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4178,41 +2139,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '158637',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- 'default' => 'text',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image', 'default' => 'text'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => '上传名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试',
- ],
+ 'schema' => ['description' => '上传名称。', 'type' => 'string', 'required' => false, 'example' => '测试'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -4222,82 +2165,19 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'AccessId' => [
- 'description' => '上传授权id。',
- 'type' => 'string',
- 'example' => 'LTAI5t9HM*****EXQmw3DVH',
- ],
- 'Policy' => [
- 'description' => 'OSS上传文件的Policy。',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Signature' => [
- 'description' => '上传的签名信息。',
- 'type' => 'string',
- 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
- ],
- 'Folder' => [
- 'title' => '最好含有用户ID',
- 'description' => '文件名称。',
- 'type' => 'string',
- 'example' => 'image/upload/xxx'."\n",
- ],
- 'Key' => [
- 'description' => '上传文件的使用key。',
- 'type' => 'string',
- 'example' => 'image/upload/xxx',
- ],
- 'Host' => [
- 'description' => '上传的host。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
- ],
- 'Name' => [
- 'title' => '前端上传图片使用',
- 'description' => '前端上传图片使用',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Expire' => [
- 'title' => '单位秒',
- 'description' => '单位秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '900',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'AccessId' => ['description' => '上传授权id。', 'type' => 'string', 'example' => 'LTAI5t9HM*****EXQmw3DVH'],
+ 'Policy' => ['description' => 'OSS上传文件的Policy。', 'type' => 'string', 'example' => 'xxxx'],
+ 'Signature' => ['description' => '上传的签名信息。', 'type' => 'string', 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw='],
+ 'Folder' => ['title' => '最好含有用户ID', 'description' => '文件名称。', 'type' => 'string', 'example' => 'image/upload/xxx'."\n"],
+ 'Key' => ['description' => '上传文件的使用key。', 'type' => 'string', 'example' => 'image/upload/xxx'],
+ 'Host' => ['description' => '上传的host。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com'],
+ 'Name' => ['title' => '前端上传图片使用', 'description' => '前端上传图片使用', 'type' => 'string', 'example' => '测试'],
+ 'Expire' => ['title' => '单位秒', 'description' => '单位秒', 'type' => 'integer', 'format' => 'int64', 'example' => '900'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -4307,28 +2187,21 @@
],
'ListServiceConfigs' => [
'summary' => '获取服务列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157042',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
@@ -4338,45 +2211,35 @@
'description' => '资源类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Classify',
'in' => 'query',
- 'schema' => [
- 'description' => '分类。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'guard-scene',
- ],
+ 'schema' => ['description' => '分类。', 'type' => 'string', 'required' => false, 'example' => 'guard-scene'],
],
[
'name' => 'UseStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '使用状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'in',
- ],
+ 'schema' => ['description' => '使用状态。', 'type' => 'string', 'required' => false, 'example' => 'in'],
+ ],
+ [
+ 'name' => 'ProtectionType',
+ 'in' => 'query',
+ 'schema' => ['title' => '防护类型', 'description' => '防护类型'."\n"
+ ."\n"
+ .'- modelProtection: 模型防护'."\n"
+ ."\n"
+ .'- agentRealtimeProtection: Agent实时防护'."\n"
+ ."\n"
+ .'- agentBehaviorAudit: Agent行为审计', 'type' => 'string', 'required' => false, 'example' => 'modelProtection'],
],
],
'responses' => [
@@ -4393,31 +2256,11 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '1674*****0071291',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-07-11 15:40:04',
- ],
- 'CopyFrom' => [
- 'description' => '主服务。',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1674*****0071291'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'text'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-07-11 15:40:04'],
+ 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'nickname_detection'],
'CustomServiceConf' => [
'description' => '服务配置。',
'type' => 'object',
@@ -4425,56 +2268,31 @@
'KeywordFilterLibs' => [
'description' => '忽略词库。',
'type' => 'array',
- 'items' => [
- 'description' => '忽略词库。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '忽略词库。', 'type' => 'string', 'example' => '[]'],
],
'KeywordHitLibs' => [
'description' => '命中词库。',
'type' => 'array',
- 'items' => [
- 'description' => '命中词库。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '命中词库。', 'type' => 'string', 'example' => '[]'],
],
'SimilarTextHitLibs' => [
'description' => '命中相似文本库。',
'type' => 'array',
- 'items' => [
- 'description' => '命中相似文本库。',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '命中相似文本库。', 'type' => 'string', 'example' => '[]'],
],
'ImageService' => [
'description' => '图片服务。',
'type' => 'array',
- 'items' => [
- 'description' => '图片服务。',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- ],
- 'AudioService' => [
- 'description' => '音频服务。',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
+ 'items' => ['description' => '图片服务。', 'type' => 'string', 'example' => 'baselineCheck'],
],
+ 'AudioService' => ['description' => '音频服务。', 'type' => 'string', 'example' => 'audio_media_detection'],
'Rules' => [
'description' => '服务规则',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => '序号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Index' => ['description' => '序号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ImageScanRule' => [
'description' => '图像审核规则。',
'type' => 'object',
@@ -4482,11 +2300,7 @@
'Services' => [
'description' => '图片服务。',
'type' => 'array',
- 'items' => [
- 'description' => '图片服务。',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
+ 'items' => ['description' => '图片服务。', 'type' => 'string', 'example' => 'baselineCheck'],
],
],
],
@@ -4497,11 +2311,7 @@
'Services' => [
'description' => '文本服务。',
'type' => 'array',
- 'items' => [
- 'description' => '文本服务。',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
+ 'items' => ['description' => '文本服务。', 'type' => 'string', 'example' => 'nickname_detection'],
],
],
],
@@ -4510,77 +2320,35 @@
],
],
],
- 'ServiceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'ServiceDesc' => [
- 'description' => '服务描述。',
- 'type' => 'string',
- 'example' => '服务描述',
- ],
- 'Option' => [
- 'description' => '选项。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'ServiceType' => [
- 'description' => '服务类型。',
- 'type' => 'string',
- 'example' => 'plus',
- ],
- 'Classify' => [
- 'description' => '分类。',
- 'type' => 'string',
- 'example' => 'guard-scene',
- ],
- 'UseStatus' => [
- 'description' => '使用状态',
- 'type' => 'string',
- 'example' => 'in',
- ],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'],
+ 'ServiceDesc' => ['description' => '服务描述。', 'type' => 'string', 'example' => '服务描述'],
+ 'Option' => ['description' => '选项。', 'type' => 'object', 'example' => '{}'],
+ 'ServiceType' => ['description' => '服务类型。', 'type' => 'string', 'example' => 'plus'],
+ 'Classify' => ['description' => '分类。', 'type' => 'string', 'example' => 'guard-scene'],
+ 'UseStatus' => ['description' => '使用状态', 'type' => 'string', 'example' => 'in'],
+ 'SceneType' => ['description' => '场景类型'."\n"
+ ."\n"
+ .'- recommended_scene 推荐场景'."\n"
+ ."\n"
+ .'- all_scene 全部场景', 'type' => 'string', 'example' => 'all_scene'],
],
],
],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '400',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '400'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1674*****0071291\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2023-07-11 15:40:04\\",\\n \\"CopyFrom\\": \\"nickname_detection\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"ImageService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"AudioService\\": \\"audio_media_detection\\",\\n \\"Rules\\": [\\n {\\n \\"Index\\": 1,\\n \\"ImageScanRule\\": {\\n \\"Services\\": [\\n \\"baselineCheck\\"\\n ]\\n },\\n \\"TextScanRule\\": {\\n \\"Services\\": [\\n \\"nickname_detection\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"ServiceDesc\\": \\"服务描述\\",\\n \\"Option\\": {},\\n \\"ServiceType\\": \\"plus\\",\\n \\"Classify\\": \\"guard-scene\\",\\n \\"UseStatus\\": \\"in\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 400,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1674*****0071291\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2023-07-11 15:40:04\\",\\n \\"CopyFrom\\": \\"nickname_detection\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"ImageService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"AudioService\\": \\"audio_media_detection\\",\\n \\"Rules\\": [\\n {\\n \\"Index\\": 1,\\n \\"ImageScanRule\\": {\\n \\"Services\\": [\\n \\"baselineCheck\\"\\n ]\\n },\\n \\"TextScanRule\\": {\\n \\"Services\\": [\\n \\"nickname_detection\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"ServiceDesc\\": \\"服务描述\\",\\n \\"Option\\": {},\\n \\"ServiceType\\": \\"plus\\",\\n \\"Classify\\": \\"guard-scene\\",\\n \\"UseStatus\\": \\"in\\",\\n \\"SceneType\\": \\"all_scene\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 400,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => '获取规则配置列表',
],
'GetTextScanResult' => [
'summary' => '查询调用结果',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4593,30 +2361,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157044',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
@@ -4626,34 +2382,18 @@
'description' => '搜索条件。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '搜索条件。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '搜索条件。'],
],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -4663,22 +2403,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -4692,172 +2423,60 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-07-11 14:21:36',
- ],
- 'Content' => [
- 'description' => '内容。',
- 'type' => 'string',
- 'example' => '测试内容',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'RequestTime' => [
- 'description' => '请求时间。',
- 'type' => 'string',
- 'example' => '2023-07-11 14:21:36'."\n",
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'ScanResult' => [
- 'description' => '结果详情。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'Labels' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- 'Score' => [
- 'description' => '分数。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '20',
- ],
- 'Suggestion' => [
- 'description' => '处理建议。',
- 'type' => 'string',
- 'example' => 'review',
- ],
- 'ExtFeedback' => [
- 'description' => '反馈信息。',
- 'type' => 'string',
- 'example' => 'miss',
- ],
- 'Extra' => [
- 'description' => '备用参数。',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-11 14:21:36'],
+ 'Content' => ['description' => '内容。', 'type' => 'string', 'example' => '测试内容'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'RequestTime' => ['description' => '请求时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-07-11 14:21:36'."\n"],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'],
+ 'Labels' => ['description' => '标签。', 'type' => 'string', 'example' => 'nonLabel'],
+ 'Score' => ['description' => '分数。', 'type' => 'number', 'format' => 'float', 'example' => '20'],
+ 'Suggestion' => ['description' => '处理建议。', 'type' => 'string', 'example' => 'review'],
+ 'ExtFeedback' => ['description' => '反馈信息。', 'type' => 'string', 'example' => 'miss'],
+ 'Extra' => ['description' => '备用参数。', 'type' => 'object', 'example' => '{}'],
'Result' => [
'description' => '检测结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'political_n',
- ],
- 'Confidence' => [
- 'description' => '置信分值,0到100分,保留到小数点后2位。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '25.0',
- ],
- 'Description' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '疑似色情内容',
- ],
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'political_n'],
+ 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '25.0'],
+ 'Description' => ['description' => '描述。', 'type' => 'string', 'example' => '疑似色情内容'],
],
],
],
- 'BailianRequestId' => [
- 'description' => '百炼RequestId',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
- ."\n"
- .'- high:高风险'."\n"
- ."\n"
- .'- medium:中风险'."\n"
- .' '."\n"
- .'- low:低风险'."\n"
- ."\n"
- .' - none:未检测到风险',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'AccountId' => [
- 'title' => '客户入参AccountId',
- 'description' => '客户入参AccountId',
- 'type' => 'string',
- 'example' => 'accountIdtest123',
- ],
- 'DataId' => [
- 'title' => '客户入参DataId',
- 'description' => '客户入参DataId',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
+ 'BailianRequestId' => ['description' => '百炼RequestId', 'type' => 'string', 'example' => 'xxx'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'none'],
+ 'AccountId' => ['title' => '客户入参AccountId', 'description' => '客户入参AccountId', 'type' => 'string', 'example' => 'accountIdtest123'],
+ 'DataId' => ['title' => '客户入参DataId', 'description' => '客户入参DataId', 'type' => 'string', 'example' => 'xxxx'],
],
],
],
],
],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -4867,69 +2486,49 @@
],
'AddKeywords' => [
'summary' => '添加关键词',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157048',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词,多个关键词以\\n分割。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '关键词1\\n关键词2'."\n",
- ],
+ 'schema' => ['description' => '关键词,多个关键词以\\n分割。', 'type' => 'string', 'required' => false, 'example' => '关键词1\\n关键词2'."\n"],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词文件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
- ],
+ 'schema' => ['description' => '关键词文件名称。', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n"],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
],
],
'responses' => [
@@ -4943,117 +2542,43 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => '结果。',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '任务进度百分比。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => '国际化key。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => '提示信息。',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxxxx'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => '重复的关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '重复的关键词。',
- 'type' => 'string',
- 'example' => '重复关键词'."\n",
- ],
+ 'items' => ['description' => '重复的关键词。', 'type' => 'string', 'example' => '重复关键词'."\n"],
],
'InvalidKeywords' => [
'description' => '不合法关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '不合法关键词。',
- 'type' => 'string',
- 'example' => '非法关键词'."\n",
- ],
+ 'items' => ['description' => '不合法关键词。', 'type' => 'string', 'example' => '非法关键词'."\n"],
],
'IllegalLengthKeywords' => [
'description' => '长度过长或过短关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '长度过长或过短关键词。',
- 'type' => 'string',
- 'example' => '过短关键词'."\n",
- ],
+ 'items' => ['description' => '长度过长或过短关键词。', 'type' => 'string', 'example' => '过短关键词'."\n"],
],
],
],
],
],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5063,67 +2588,41 @@
],
'ListKeywords' => [
'summary' => '查询关键词列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '词库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '词库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'Word',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键字。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试词',
- ],
+ 'schema' => ['description' => '关键字。', 'type' => 'string', 'required' => false, 'example' => '测试词'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -5133,22 +2632,21 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
+ 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['title' => '租户编码', 'description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
],
],
'responses' => [
@@ -5162,24 +2660,9 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '23',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '23'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -5187,136 +2670,85 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '112',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-06-03 14:43:03',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-06-03 14:43:03',
- ],
- 'KeywordLibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'KeywordMd5Id' => [
- 'description' => '关键词数据ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4205334',
- ],
- 'Word' => [
- 'description' => '关键词。',
- 'type' => 'string',
- 'example' => '测试词',
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '112'],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-06-03 14:43:03'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-06-03 14:43:03'],
+ 'KeywordLibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'KeywordMd5Id' => ['description' => '关键词数据ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '4205334'],
+ 'Word' => ['description' => '关键词。', 'type' => 'string', 'example' => '测试词'],
+ 'Properties' => [
+ 'description' => '属性',
+ 'type' => 'object',
+ 'properties' => [
+ 'Attribute' => ['description' => '属性', 'type' => 'string', 'example' => 'xxx'],
+ ],
],
],
],
],
],
],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 23,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 112,\\n \\"GmtCreate\\": \\"2023-06-03 14:43:03\\",\\n \\"GmtModified\\": \\"2023-06-03 14:43:03\\",\\n \\"KeywordLibId\\": \\"custom_xxxx\\",\\n \\"KeywordMd5Id\\": 4205334,\\n \\"Word\\": \\"测试词\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidRequestParameters', 'errorMessage' => 'Invalid request parameters.'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 23,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 112,\\n \\"GmtCreate\\": \\"2023-06-03 14:43:03\\",\\n \\"GmtModified\\": \\"2023-06-03 14:43:03\\",\\n \\"KeywordLibId\\": \\"custom_xxxx\\",\\n \\"KeywordMd5Id\\": 4205334,\\n \\"Word\\": \\"测试词\\",\\n \\"Properties\\": {\\n \\"Attribute\\": \\"xxx\\"\\n }\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => '查询关键词列表',
],
'DeleteKeyword' => [
'summary' => '删除关键词',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157037',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'KeywordIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '要删除的关键词ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[16754493]',
- ],
+ 'schema' => ['description' => '要删除的关键词ID。', 'type' => 'string', 'required' => false, 'example' => '[16754493]'],
],
[
'name' => 'KeywordIdList',
'in' => 'formData',
- 'schema' => [
- 'description' => '要删除的关键词ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[6715465]',
- ],
+ 'schema' => ['description' => '要删除的关键词ID。', 'type' => 'string', 'required' => false, 'example' => '[6715465]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
],
],
'responses' => [
@@ -5326,32 +2758,11 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5365,49 +2776,39 @@
],
'ExportKeyword' => [
'summary' => '导出关键词',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '158882',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
],
],
'responses' => [
@@ -5417,32 +2818,11 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '导出结果。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr',
- ],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr'],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5452,14 +2832,8 @@
],
'ExportTextScanResult' => [
'summary' => '导出调用结果,excel文件',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5471,30 +2845,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157038',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'Query',
@@ -5504,22 +2866,13 @@
'description' => '查询条件。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '查询条件。',
- 'example' => '{"RequestId":"8488665D-32D3-5DD6-8BF1-B4DE2******"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '查询条件。', 'example' => '{"RequestId":"8488665D-32D3-5DD6-8BF1-B4DE2******"}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5529,32 +2882,11 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '导出结果。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
- ],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx'],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5564,49 +2896,39 @@
],
'DeleteKeywordLib' => [
'summary' => '删除关键词库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157040',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
],
],
'responses' => [
@@ -5616,32 +2938,11 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => '成功标识。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5651,28 +2952,21 @@
],
'UpdateImageLibFreeInspection' => [
'summary' => '编辑图库免检配置',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159537',
- 'abilityTreeNodes' => [
- 'FEATURElvwang7CSAZW',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
@@ -5683,23 +2977,19 @@
'description' => '配置。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'description' => '配置。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'integer', 'format' => 'int32', 'description' => '配置。', 'example' => '1'],
+ 'example' => '{\\"2833014490001\\":0}',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => ['description' => '选择的服务标识', 'type' => 'string', 'required' => false, 'example' => 'response_security_check'],
],
],
'responses' => [
@@ -5709,43 +2999,12 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5755,14 +3014,8 @@
],
'AddImages2Lib' => [
'summary' => '批量添加图片',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5775,40 +3028,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159538',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '图库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '图库ID。', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'ImgUrl',
'in' => 'formData',
- 'schema' => [
- 'description' => '图片地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg',
- ],
+ 'schema' => ['description' => '图片地址。', 'type' => 'string', 'required' => false, 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5822,45 +3058,14 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'ImgId' => [
- 'description' => '图片ID。',
- 'type' => 'string',
- 'example' => '100001',
- ],
+ 'ImgId' => ['description' => '图片ID。', 'type' => 'string', 'example' => '100001'],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5870,14 +3075,8 @@
],
'ListImagesFromLib' => [
'summary' => '图片列表 分页',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5889,72 +3088,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159539',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '图库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '图库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'ImgId',
'in' => 'formData',
- 'schema' => [
- 'description' => '图片ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '112',
- ],
+ 'schema' => ['description' => '图片ID。', 'type' => 'string', 'required' => false, 'example' => '112'],
],
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => '当前页号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页号。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -5964,22 +3129,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5989,24 +3145,9 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '图片总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '当前分页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '图片总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '当前分页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -6014,61 +3155,18 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'ImageId' => [
- 'description' => '图片ID。',
- 'type' => 'string',
- 'example' => '112',
- ],
- 'ImageUrl' => [
- 'description' => '图片url地址。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
- ],
- 'ThumbnailUrl' => [
- 'description' => '缩略图地址。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
- ],
+ 'GmtCreate' => ['description' => '创建时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2022-11-30 16:30:29'],
+ 'ImageId' => ['description' => '图片ID。', 'type' => 'string', 'example' => '112'],
+ 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg'],
+ 'ThumbnailUrl' => ['description' => '缩略图地址。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg'],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6078,14 +3176,8 @@
],
'AddImageLib' => [
'summary' => '创建图库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6097,40 +3189,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159536',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试图库',
- ],
+ 'schema' => ['description' => '图库名称。', 'type' => 'string', 'required' => false, 'example' => '测试图库'],
],
[
'name' => 'Comment',
'in' => 'formData',
- 'schema' => [
- 'description' => '图库的备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '色情内容黑名单图库',
- ],
+ 'schema' => ['description' => '图库的备注信息。', 'type' => 'string', 'required' => false, 'example' => '色情内容黑名单图库'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6140,43 +3215,12 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6186,14 +3230,8 @@
],
'ExportScanResult' => [
'summary' => '导出调用结果,excel文件',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6205,30 +3243,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160496',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'Query',
@@ -6238,11 +3264,7 @@
'description' => '查询内容。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '查询条件。',
- 'example' => '{"RequestId":"D83A46FF-9EA6-1477-A0C3-C8XXXXX****"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '查询条件。', 'example' => '{"RequestId":"D83A46FF-9EA6-1477-A0C3-C8XXXXX****"}'],
],
],
[
@@ -6252,37 +3274,19 @@
'description' => '资源类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -6292,22 +3296,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{"RequestTime":"desc"}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{"RequestTime":"desc"}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6317,43 +3312,12 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '导出结果。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6363,39 +3327,32 @@
],
'ListImageLib' => [
'summary' => '图库列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159540',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => ['description' => '选取的服务标识', 'type' => 'string', 'required' => false, 'example' => 'response_security_check'],
],
],
'responses' => [
@@ -6411,136 +3368,55 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '图库ID。',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'LibName' => [
- 'description' => '图库名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'ImageNum' => [
- 'description' => '图库的数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'FreeInspection' => [
- 'description' => '免审配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Comment' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
+ 'LibId' => ['description' => '图库ID。', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'LibName' => ['description' => '图库名称。', 'type' => 'string', 'example' => '测试'],
+ 'ImageNum' => ['description' => '图库的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'FreeInspection' => ['description' => '免审配置。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Comment' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'MaxLibCount' => ['description' => '支持的最大库数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LibList\\": [\\n {\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"ImageNum\\": 1,\\n \\"FreeInspection\\": 1,\\n \\"Comment\\": \\"备注\\",\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LibList\\": [\\n {\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"ImageNum\\": 1,\\n \\"FreeInspection\\": 1,\\n \\"Comment\\": \\"备注\\",\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"MaxLibCount\\": 5\\n}","type":"json"}]',
'title' => '图库列表',
],
'DeleteImagesFromLib' => [
'summary' => '批量删除',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '图库的id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => '图库的id。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'ImageIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '要删除的图片id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[158794]',
- ],
+ 'schema' => ['description' => '要删除的图片id。', 'type' => 'string', 'required' => false, 'example' => '[158794]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6550,43 +3426,12 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6596,14 +3441,8 @@
],
'GetImageSceneLabelConf' => [
'summary' => '获取图片规则标签信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6615,20 +3454,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160095',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE704W7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6641,44 +3473,13 @@
'Data' => [
'description' => '返回数据。',
'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => '返回数据。', 'type' => 'object', 'example' => '{}'],
],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6688,14 +3489,8 @@
],
'UpdateImageLib' => [
'summary' => '编辑图库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6707,61 +3502,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159534',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '图库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '图库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => '库名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试图库',
- ],
+ 'schema' => ['description' => '库名称。', 'type' => 'string', 'required' => false, 'example' => '测试图库'],
],
[
'name' => 'Comment',
'in' => 'formData',
- 'schema' => [
- 'description' => '图库的备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => '图库的备注信息。', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
[
'name' => 'FreeInspection',
'in' => 'formData',
- 'schema' => [
- 'description' => '免审配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '免审配置。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6771,43 +3538,12 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '成功标志',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '错误码,和http status一致',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '错误码的进一步描述',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'http状态码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6817,49 +3553,32 @@
],
'GetImageSceneLabelListConf' => [
'summary' => '获取图片规则标签信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '163937',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE704W7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ImageServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
],
'responses' => [
@@ -6872,18 +3591,9 @@
'Data' => [
'description' => '返回数据。',
'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'any',
- 'example' => '{}',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => '返回数据。', 'type' => 'any', 'example' => '{}'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6893,14 +3603,8 @@
],
'GetScanNum' => [
'summary' => '用户待检测信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6912,41 +3616,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179486',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJF4QIZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJF4QIZ'],
],
'parameters' => [
[
'name' => 'Buckets',
'in' => 'query',
- 'schema' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tmpsample',
- ],
+ 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => 'tmpsample'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'MediaType',
'in' => 'query',
- 'schema' => [
- 'description' => '媒资类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -6956,35 +3642,11 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ScanNumber' => [
- 'description' => '待检测文件总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'SumNumber' => [
- 'description' => '总文件数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'LimitNumber' => [
- 'description' => '数量上限。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Tag' => [
- 'description' => '是否为白名单用户。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ScanNumber' => ['description' => '待检测文件总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'SumNumber' => ['description' => '总文件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'LimitNumber' => ['description' => '数量上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Tag' => ['description' => '是否为白名单用户。', 'type' => 'boolean', 'example' => 'True'],
],
],
],
@@ -6994,14 +3656,8 @@
],
'CancelStockOssCheckTask' => [
'summary' => '取消oss扫描任务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7014,30 +3670,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179017',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UNYVB',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_UNYVB'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7047,17 +3691,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7067,14 +3702,8 @@
],
'CreatePreCheck' => [
'summary' => '创建oss扫描任务前检查',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7087,163 +3716,83 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179987',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'TaskName',
'in' => 'formData',
- 'schema' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '图片任务 20240709101602004'."\n",
- ],
+ 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '图片任务 20240709101602004'."\n"],
],
[
'name' => 'Buckets',
'in' => 'formData',
- 'schema' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]',
- ],
+ 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'],
],
[
'name' => 'IsInc',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否定时扫描任务。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否定时扫描任务。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'MediaType',
'in' => 'formData',
- 'schema' => [
- 'description' => '媒资类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Priority',
'in' => 'formData',
- 'schema' => [
- 'description' => '优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '优先级。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'ScanNoFileType',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否扫描无后缀图片。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否扫描无后缀图片。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ScanService',
'in' => 'formData',
- 'schema' => [
- 'description' => '扫描服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '扫描服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'DistinctHistoryTasks',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否对历史已检测任务去重。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否对历史已检测任务去重。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'StartTime',
'in' => 'formData',
- 'schema' => [
- 'description' => '任务开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-17 10:08:00'."\n",
- ],
+ 'schema' => ['description' => '任务开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-12-17 10:08:00'."\n"],
],
[
'name' => 'EndTime',
'in' => 'formData',
- 'schema' => [
- 'description' => '任务结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-18 10:08:00'."\n",
- ],
+ 'schema' => ['description' => '任务结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-12-18 10:08:00'."\n"],
],
[
'name' => 'ScanLimit',
'in' => 'formData',
- 'schema' => [
- 'description' => '扫描限制数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '扫描限制数量。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'PrefixFilterType',
'in' => 'formData',
- 'schema' => [
- 'description' => '前缀过滤类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- ],
+ 'schema' => ['description' => '前缀过滤类型。', 'type' => 'string', 'required' => false, 'example' => 'all'],
],
[
'name' => 'PrefixFilters',
'in' => 'formData',
- 'schema' => [
- 'description' => '前缀。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dir1,dir2',
- ],
+ 'schema' => ['description' => '前缀。', 'type' => 'string', 'required' => false, 'example' => 'dir1,dir2'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'BucketPrefixFilterConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"',
- ],
+ 'schema' => ['description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)', 'type' => 'string', 'required' => false, 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"'],
],
],
'responses' => [
@@ -7256,18 +3805,9 @@
'Data' => [
'description' => '返回数据。',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'boolean',
- 'description' => '返回数据。',
- 'example' => 'True',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'additionalProperties' => ['type' => 'boolean', 'description' => '返回数据。', 'example' => 'True'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -7277,14 +3817,8 @@
],
'GetBucketsList' => [
'summary' => 'bucket列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7296,21 +3830,14 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '176578',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7327,25 +3854,12 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS文件保存Bucket名称。',
- 'type' => 'string',
- 'example' => 'bucket_test',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'Bucket' => ['description' => 'OSS文件保存Bucket名称。', 'type' => 'string', 'example' => 'bucket_test'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -7355,14 +3869,8 @@
],
'GetOssCheckStatus' => [
'summary' => '获取OSS检测用户状态',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7374,20 +3882,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179436',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL1O89D',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL1O89D'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7397,42 +3898,13 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'SlsStatus' => [
- 'description' => '是否授权日志分析功能。',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'RamStatus' => [
- 'description' => '是否已授权内安。',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'Buy' => [
- 'description' => '是否在阿里云开通了商品。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Indebt' => [
- 'description' => '是否欠费。',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bid' => [
- 'description' => 'Bid。',
- 'type' => 'string',
- 'example' => '26842',
- ],
- 'CommodityCode' => [
- 'description' => '商品代码。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'SlsStatus' => ['description' => '是否授权日志分析功能。', 'type' => 'string', 'example' => 'True'],
+ 'RamStatus' => ['description' => '是否已授权内安。', 'type' => 'string', 'example' => 'True'],
+ 'Buy' => ['description' => '是否在阿里云开通了商品。', 'type' => 'boolean', 'example' => 'True'],
+ 'Indebt' => ['description' => '是否欠费。', 'type' => 'boolean', 'example' => 'False'],
+ 'Bid' => ['description' => 'Bid。', 'type' => 'string', 'example' => '26842'],
+ 'CommodityCode' => ['description' => '商品代码。', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -7442,14 +3914,8 @@
],
'ExportResult' => [
'summary' => '导出oss扫描结果',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7462,62 +3928,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179021',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询条件。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => '查询条件。', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询结果分页的每页项目数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '查询结果分页的每页项目数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => '查询结果分页的页码。默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '查询结果分页的页码。默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -7527,22 +3964,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => 'desc',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => 'desc', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Source',
@@ -7551,11 +3979,9 @@
'description' => '操作来源。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['default' => '默认来源(检测结果页)', 'disposal' => '处置来源(冻结处置页)'],
'example' => 'disposal',
- 'enum' => [
- 'default',
- 'disposal',
- ],
+ 'enum' => ['default', 'disposal'],
],
],
],
@@ -7566,32 +3992,11 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Success' => [
- 'description' => '成功标志。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Code' => [
- 'description' => '错误码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -7601,14 +4006,8 @@
],
'GetStockOssCheckTasksList' => [
'summary' => '查询oss扫描任务列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7621,63 +4020,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179018',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartTime',
'in' => 'formData',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-06-17 02:08:00',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-06-17 02:08:00'],
],
[
'name' => 'EndTime',
'in' => 'formData',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-06-18 02:08:00'."\n",
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-06-18 02:08:00'."\n"],
],
[
'name' => 'MediaType',
'in' => 'formData',
- 'schema' => [
- 'description' => '媒资类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'image'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -7687,42 +4056,23 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'IsInc',
'in' => 'query',
- 'schema' => [
- 'description' => '是否定时扫描任务',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否定时扫描任务', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'description' => '任务类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'batch',
- ],
+ 'schema' => ['description' => '任务类型。', 'type' => 'string', 'required' => false, 'example' => 'batch'],
],
],
'responses' => [
@@ -7732,30 +4082,10 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -7763,256 +4093,77 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'P_XHDUS',
- ],
- 'TaskName' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => '图片定时任务20231205135716797'."\n",
- ],
- 'Buckets' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'Status' => [
- 'description' => '任务状态。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2023-12-21 15:30:19',
- ],
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2024-01-10 11:42:31',
- ],
- 'SearchNum' => [
- 'description' => '扫描任务数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'FinishNum' => [
- 'description' => '已完成数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'MediaType' => [
- 'description' => '媒资类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'video',
- ],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'P_XHDUS'],
+ 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => '图片定时任务20231205135716797'."\n"],
+ 'Buckets' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'tmp'],
+ 'Status' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'StartTime' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-12-21 15:30:19'],
+ 'EndTime' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2024-01-10 11:42:31'],
+ 'SearchNum' => ['description' => '扫描任务数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'FinishNum' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'MediaType' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'example' => 'video'],
'Config' => [
'description' => '配置项',
'type' => 'object',
'properties' => [
- 'ScanNoFileType' => [
- 'description' => '是否扫描无后缀图片。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ScanNoFileType' => ['description' => '是否扫描无后缀图片。', 'type' => 'boolean', 'example' => 'true'],
'ScanService' => [
'description' => '扫描服务code',
'type' => 'array',
- 'items' => [
- 'description' => '扫描服务code',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- ],
- 'DistinctHistoryTasks' => [
- 'description' => '是否对历史已检测任务去重。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2023-12-21 15:30:19',
- ],
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2024-01-10 11:42:31',
- ],
- 'ScanLimit' => [
- 'description' => '扫描限制数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PrefixFilterType' => [
- 'description' => '前缀过滤类型。',
- 'type' => 'string',
- 'example' => 'all',
+ 'items' => ['description' => '扫描服务code', 'type' => 'string', 'example' => 'baselineCheck'],
],
+ 'DistinctHistoryTasks' => ['description' => '是否对历史已检测任务去重。', 'type' => 'boolean', 'example' => 'false'],
+ 'StartTime' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-12-21 15:30:19'],
+ 'EndTime' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2024-01-10 11:42:31'],
+ 'ScanLimit' => ['description' => '扫描限制数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PrefixFilterType' => ['description' => '前缀过滤类型。', 'type' => 'string', 'example' => 'all'],
'PrefixFilters' => [
'description' => '前缀。',
'type' => 'array',
- 'items' => [
- 'description' => '前缀。',
- 'type' => 'string',
- 'example' => 'dir1,dir2',
- ],
- ],
- 'Priority' => [
- 'description' => '优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TaskCycle' => [
- 'description' => '调度日期。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ExecuteTime' => [
- 'description' => '定时任务预计执行时间。',
- 'type' => 'string',
- 'example' => '02:00:00',
- ],
- 'ExecuteDate' => [
- 'description' => '定时任务执行日期。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ScanResourceType' => [
- 'description' => '检测文件类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ 'items' => ['description' => '前缀。', 'type' => 'string', 'example' => 'dir1,dir2'],
],
+ 'Priority' => ['description' => '优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TaskCycle' => ['description' => '调度日期。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ExecuteTime' => ['description' => '定时任务预计执行时间。具体格式为 HH:mm:ss', 'type' => 'string', 'example' => '02:00:00'],
+ 'ExecuteDate' => ['description' => '定时任务执行日期。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ScanResourceType' => ['description' => '检测文件类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'ScanServiceInfos' => [
'description' => '检测服务信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => '是否复制。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'baselineCheck_01',
- ],
- 'ServiceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '通用基线检测'."\n",
- ],
- 'CopyFrom' => [
- 'description' => '主服务。',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
+ 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'false'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'baselineCheck_01'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '通用基线检测'."\n"],
+ 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'baselineCheck'],
],
],
],
- 'CallbackId' => [
- 'description' => '回调通知ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3942',
- ],
- 'Freeze' => [
- 'description' => '是否冻结',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'FreezeType' => [
- 'description' => '冻结类型',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeHighRisk1' => [
- 'description' => '冻结高风险图片',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk1' => [
- 'description' => '冻结中风险图片',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeHighRisk2' => [
- 'description' => '冻结高风险语音、文本',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk2' => [
- 'description' => '冻结中风险语音、文本',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeRestorePath' => [
- 'description' => '转存路径',
- 'type' => 'string',
- 'example' => '/backup',
- ],
+ 'CallbackId' => ['description' => '回调通知ID', 'type' => 'integer', 'format' => 'int64', 'example' => '3942'],
+ 'Freeze' => ['description' => '是否冻结', 'type' => 'boolean', 'example' => 'false'],
+ 'FreezeType' => ['description' => '冻结类型', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeHighRisk1' => ['description' => '冻结高风险图片', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk1' => ['description' => '冻结中风险图片', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeHighRisk2' => ['description' => '冻结高风险语音、文本', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk2' => ['description' => '冻结中风险语音、文本', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeRestorePath' => ['description' => '转存路径', 'type' => 'string', 'example' => '/backup'],
'UserFreezeConfig' => [
'description' => '人工冻结配置。',
'type' => 'object',
'properties' => [
- 'FreezeType' => [
- 'description' => '冻结类型。',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeRestorePath' => [
- 'description' => '转存路径。',
- 'type' => 'string',
- 'example' => '/backup'."\n",
- ],
+ 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeRestorePath' => ['description' => '转存路径。', 'type' => 'string', 'example' => '/backup'."\n"],
],
],
- 'Referer' => [
- 'description' => 'Referer。',
- 'type' => 'string',
- 'example' => '*',
- ],
+ 'Referer' => ['description' => 'Referer。', 'type' => 'string', 'example' => '*'],
],
],
- 'ObjectNum' => [
- 'description' => 'bucket总文件数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'NextExecuteDate' => [
- 'description' => '定时任务上次执行时间。',
- 'type' => 'string',
- 'example' => '02:00:00'."\n",
- ],
- 'LastExecuteDate' => [
- 'description' => '定时任务下次执行时间。',
- 'type' => 'string',
- 'example' => '02:00:00'."\n",
- ],
- 'IsInc' => [
- 'description' => '是否定时扫描任务。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'TaskType' => [
- 'description' => '任务类型。',
- 'type' => 'string',
- 'example' => 'batch',
- ],
+ 'ObjectNum' => ['description' => 'bucket总文件数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'NextExecuteDate' => ['description' => '定时任务上次执行时间。具体格式为 HH:mm:ss', 'type' => 'string', 'example' => '02:00:00'."\n"],
+ 'LastExecuteDate' => ['description' => '定时任务下次执行时间。具体格式为 HH:mm:ss', 'type' => 'string', 'example' => '02:00:00'."\n"],
+ 'IsInc' => ['description' => '是否定时扫描任务。', 'type' => 'boolean', 'example' => 'false'],
+ 'TaskType' => ['description' => '任务类型。', 'type' => 'string', 'example' => 'batch'],
],
],
],
@@ -8025,14 +4176,8 @@
],
'OssCheckResultList' => [
'summary' => '获取OSS检测结果列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8044,62 +4189,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179020',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-21 16:08:38'."\n",
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'."\n"],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-21 16:08:38'."\n",
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'."\n"],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => '查询条件',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -8109,44 +4225,23 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{\\"GmtCreate\\":\\"desc\\"}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => '已完成数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '55',
- ],
+ 'schema' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '55'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '任务状态。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -8156,35 +4251,11 @@
'description' => 'PortalResponse<SlsPageResponseVO<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'AuthStatus' => [
- 'description' => '授权状态',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'TotalCount' => [
- 'description' => '总记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'AuthStatus' => ['description' => '授权状态', 'type' => 'string', 'example' => 'OK'],
+ 'TotalCount' => ['description' => '总记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -8192,99 +4263,31 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS Bucket名称。',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'Object' => [
- 'description' => 'object名称',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => '文件的MD5。',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => '状态码。200表示成功。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => 'OSS Bucket名称。', 'type' => 'string', 'example' => 'tmp'],
+ 'Object' => ['description' => 'object名称', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => '文件的MD5。', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => '状态码。200表示成功。', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => '图片标签。',
'type' => 'array',
- 'items' => [
- 'description' => '图片标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => '结果详情。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => '图片url地址。',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'JobName' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
+ 'items' => ['description' => '图片标签。', 'type' => 'string', 'example' => 'nonLabel'],
],
+ 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'JobName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'dhT20X2310'],
'Labels2' => [
'description' => '文本标签。',
'type' => 'array',
- 'items' => [
- 'description' => '文本标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'Url' => [
- 'description' => '任务URL。',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'P_XHDUS',
- ],
- 'ServiceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => '是否复制。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => '主服务。',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => '音视频检测类型。',
- 'type' => 'string',
- 'example' => 'audio',
+ 'items' => ['description' => '文本标签。', 'type' => 'string', 'example' => 'nonLabel'],
],
+ 'Url' => ['description' => '任务URL。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'P_XHDUS'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => '音视频检测类型。', 'type' => 'string', 'example' => 'audio'],
],
],
],
@@ -8297,14 +4300,8 @@
],
'CreatStockOssCheckTask' => [
'summary' => '创建oss扫描任务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8317,41 +4314,24 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '179014',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '图片任务 20240709101602004',
- ],
+ 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '图片任务 20240709101602004'],
],
[
'name' => 'Buckets',
'in' => 'query',
- 'schema' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n",
- ],
+ 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n"],
],
[
'name' => 'IsInc',
'in' => 'query',
- 'schema' => [
- 'description' => '是否定时扫描任务。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否定时扫描任务。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'MediaType',
@@ -8361,11 +4341,7 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- 1 => '图片',
- '音视频',
- '文档',
- ],
+ 'enumValueTitles' => [1 => '图片', '音视频', '文档'],
'example' => '1',
],
],
@@ -8377,113 +4353,59 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- '不限制',
- '24小时',
- ],
+ 'enumValueTitles' => ['不限制', '24小时'],
'example' => '0',
],
],
[
'name' => 'ScanNoFileType',
'in' => 'query',
- 'schema' => [
- 'description' => '是否扫描无后缀图片。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否扫描无后缀图片。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ScanService',
'in' => 'query',
- 'schema' => [
- 'description' => '扫描服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '扫描服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'DistinctHistoryTasks',
'in' => 'query',
- 'schema' => [
- 'description' => '是否对历史已检测任务去重。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否对历史已检测任务去重。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '任务开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-17 10:08:00'."\n",
- ],
+ 'schema' => ['description' => '任务开始时间。具体格式为 `YYYY-MM-DD HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2023-12-17 10:08:00'."\n"],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '任务结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-18 10:08:00',
- ],
+ 'schema' => ['description' => '任务结束时间。具体格式为 `YYYY-MM-DD HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2023-12-18 10:08:00'],
],
[
'name' => 'ScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '扫描限制数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '扫描限制数量。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'PrefixFilterType',
'in' => 'query',
- 'schema' => [
- 'description' => '前缀过滤类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- ],
+ 'schema' => ['description' => '前缀过滤类型。', 'type' => 'string', 'required' => false, 'example' => 'all'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'PrefixFilters',
'in' => 'query',
- 'schema' => [
- 'description' => '前缀。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dir1,dir2'."\n",
- ],
+ 'schema' => ['description' => '前缀。', 'type' => 'string', 'required' => false, 'example' => 'dir1,dir2'."\n"],
],
[
'name' => 'BucketPrefixFilterConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"',
- ],
+ 'schema' => ['description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)', 'type' => 'string', 'required' => false, 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"'],
],
[
'name' => 'TaskCycle',
@@ -8493,34 +4415,19 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- '天',
- '周',
- '月',
- ],
+ 'enumValueTitles' => ['天', '周', '月'],
'example' => '0',
],
],
[
'name' => 'ExecuteDate',
'in' => 'query',
- 'schema' => [
- 'description' => '定时任务执行日期。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '定时任务执行日期。整数类型格式', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ExecuteTime',
'in' => 'query',
- 'schema' => [
- 'description' => '定时任务预计执行时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '01:09:30-01:19:30',
- ],
+ 'schema' => ['description' => '定时任务预计执行时间。具体格式为 `HH:mm:ss-HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '01:09:30-01:19:30'],
],
[
'name' => 'ScanResourceType',
@@ -8529,11 +4436,7 @@
'description' => '检测文件类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- '音视频',
- '仅视频',
- '仅音频',
- ],
+ 'enumValueTitles' => ['音视频', '仅视频', '仅音频'],
'example' => '0',
],
],
@@ -8544,103 +4447,54 @@
'description' => '任务类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'timing' => '定时任务',
- 'batch' => '存量任务',
- 'increment' => '增量任务',
- ],
+ 'enumValueTitles' => ['timing' => '定时任务', 'batch' => '存量任务', 'increment' => '增量任务'],
'example' => 'batch',
],
],
[
'name' => 'CallbackId',
'in' => 'query',
- 'schema' => [
- 'description' => '消息通知ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1751',
- ],
+ 'schema' => ['description' => '消息通知ID。', 'type' => 'string', 'required' => false, 'example' => '1751'],
],
[
'name' => 'Freeze',
'in' => 'query',
- 'schema' => [
- 'description' => '是否冻结',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否冻结', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeType',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACL',
- ],
+ 'schema' => ['description' => '冻结类型', 'type' => 'string', 'required' => false, 'example' => 'ACL'],
],
[
'name' => 'FreezeHighRisk1',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结高风险图片',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '冻结高风险图片', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeMediumRisk1',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结中风险图片',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '冻结中风险图片', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeHighRisk2',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结高风险语音、文本',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '冻结高风险语音、文本', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeMediumRisk2',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结中风险语音、文本',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '冻结中风险语音、文本', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeRestorePath',
'in' => 'query',
- 'schema' => [
- 'description' => '转存路径',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '转存路径', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Referer',
'in' => 'query',
- 'schema' => [
- 'description' => 'Referer。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://www.aliyun.com',
- ],
+ 'schema' => ['description' => 'Referer。', 'type' => 'string', 'required' => false, 'example' => 'https://www.aliyun.com'],
],
],
'responses' => [
@@ -8650,17 +4504,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -8670,68 +4515,54 @@
],
'AddKeywordsToLib' => [
'summary' => '添加关键词',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '180474',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词,多个关键词以\\n分割。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '关键词1\\n关键词2'."\n",
- ],
+ 'schema' => ['description' => '关键词,多个关键词以\\n分割。', 'type' => 'string', 'required' => false, 'example' => '关键词1\\n关键词2'."\n"],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => '关键词文件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
- ],
+ 'schema' => ['description' => '关键词文件名称。', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n"],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '词库编码'."\n"
+ ."\n"
+ .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'],
+ ],
+ [
+ 'name' => 'Properties',
+ 'in' => 'query',
+ 'schema' => ['description' => '属性', 'type' => 'string', 'required' => false, 'example' => '{"attribute":"xx"}'],
],
],
'responses' => [
@@ -8745,97 +4576,39 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => '结果。',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '任务进度百分比。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '关键词库ID。',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => '国际化key',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => '国际化key', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => '重复的关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '重复的关键词。',
- 'type' => 'string',
- 'example' => '重复的关键词',
- ],
+ 'items' => ['description' => '重复的关键词。', 'type' => 'string', 'example' => '重复的关键词'],
],
'InvalidKeywords' => [
'description' => '不合法关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '不合法关键词。',
- 'type' => 'string',
- 'example' => '过短关键词'."\n",
- ],
+ 'items' => ['description' => '不合法关键词。', 'type' => 'string', 'example' => '过短关键词'."\n"],
],
'IllegalLengthKeywords' => [
'description' => '长度过长或过短关键词列表。',
'type' => 'array',
- 'items' => [
- 'description' => '长度过长或过短关键词。',
- 'type' => 'string',
- 'example' => '过短关键词'."\n",
- ],
+ 'items' => ['description' => '长度过长或过短关键词。', 'type' => 'string', 'example' => '过短关键词'."\n"],
],
],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8845,14 +4618,8 @@
],
'GetServiceLabelConfig' => [
'summary' => '获取单个服务的标签配置',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8864,40 +4631,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '174703',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE704W7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -8910,18 +4660,9 @@
'Data' => [
'description' => '返回数据。',
'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'any',
- 'example' => '{}',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => '返回数据。', 'type' => 'any', 'example' => '{}'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -8931,14 +4672,8 @@
],
'ModifyServiceInfo' => [
'summary' => '编辑服务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8950,60 +4685,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '184637',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ServiceName',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '通用基线检测',
- ],
+ 'schema' => ['description' => '服务名称。', 'type' => 'string', 'required' => false, 'example' => '通用基线检测'],
],
[
'name' => 'ServiceDesc',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
+ 'schema' => ['description' => '服务描述。', 'type' => 'string', 'required' => false, 'example' => '描述'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9013,17 +4721,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9033,14 +4732,8 @@
],
'CopyServiceConfig' => [
'summary' => '复制服务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9052,40 +4745,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '184636',
- 'abilityTreeNodes' => [
- 'FEATURElvwang9SVL0Q',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang9SVL0Q'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ServiceName',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '用户昵称检测'."\n",
- ],
+ 'schema' => ['description' => '服务名称。', 'type' => 'string', 'required' => false, 'example' => '用户昵称检测'."\n"],
],
[
'name' => 'ServiceDesc',
'in' => 'formData',
- 'schema' => [
- 'description' => '服务描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '服务备注',
- ],
+ 'schema' => ['description' => '服务描述。', 'type' => 'string', 'required' => false, 'example' => '服务备注'],
],
[
'name' => 'ResourceType',
@@ -9094,25 +4770,14 @@
'description' => '资源类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9122,17 +4787,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9142,14 +4798,8 @@
],
'GetExecuteTime' => [
'summary' => '获取定时任务预计执行时间',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9161,20 +4811,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '190608',
- 'abilityTreeNodes' => [
- 'FEATURElvwangKN3PXM',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangKN3PXM'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9184,17 +4827,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'string',
- 'example' => '02:24:30',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => '02:24:30'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9204,55 +4838,30 @@
],
'GetJobNameList' => [
'summary' => 'oss定时扫描检测周期查询',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 `YYYY-MM-DD HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 `YYYY-MM-DD HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => '查询条件。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => '查询条件。', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'Sort',
@@ -9262,22 +4871,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => 'desc',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => 'desc'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9290,18 +4890,9 @@
'Data' => [
'description' => '返回数据。',
'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'string',
- 'example' => '["20000101-29990101"]',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ 'items' => ['description' => '返回数据。', 'type' => 'string', 'example' => '["20000101-29990101"]'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9311,14 +4902,8 @@
],
'GetBackupConfig' => [
'summary' => '获取证据转存配置',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9330,20 +4915,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201051',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ResourceType',
@@ -9352,25 +4930,14 @@
'description' => '资源类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'image',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9380,85 +4947,28 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '1772612608370735',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'image',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2023-01-17 12:29:56',
- ],
- 'Enable' => [
- 'description' => '是否启用。取值:'."\n"
- .'- **true**:启用'."\n"
- .'- **false**:禁用',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => '文件服务器OSS Bucket',
- 'type' => 'string',
- 'example' => 'buckect_test',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Path' => [
- 'description' => '路径。',
- 'type' => 'string',
- 'example' => 'aliyun/template/',
- ],
- 'ExpireSeconds' => [
- 'description' => '过期时间,单位秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1772612608370735'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'image'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-01-17 12:29:56'],
+ 'Enable' => ['description' => '是否启用。取值:'."\n"
+ .'- **true**:启用'."\n"
+ .'- **false**:禁用', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => '文件服务器OSS Bucket', 'type' => 'string', 'example' => 'buckect_test'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'Path' => ['description' => '路径。', 'type' => 'string', 'example' => 'aliyun/template/'],
+ 'ExpireSeconds' => ['description' => '过期时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
'BackupMode' => [
'description' => '转存范围。',
'type' => 'integer',
'format' => 'int32',
- 'enumValueTitles' => [
- '转存所有结果',
- '仅转存有检出风险的结果',
- ],
+ 'enumValueTitles' => ['转存所有结果', '仅转存有检出风险的结果'],
'example' => '0',
],
- 'EnableBackup' => [
- 'description' => '是否开启转存。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'EnableBackupVoice' => [
- 'description' => '是否开启音频转存',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'PathVoice' => [
- 'description' => '音频转存路径。',
- 'type' => 'string',
- 'example' => '/back',
- ],
+ 'EnableBackup' => ['description' => '是否开启转存。', 'type' => 'boolean', 'example' => 'True'],
+ 'EnableBackupVoice' => ['description' => '是否开启音频转存', 'type' => 'boolean', 'example' => 'True'],
+ 'PathVoice' => ['description' => '音频转存路径。', 'type' => 'string', 'example' => '/back'],
],
],
],
@@ -9468,14 +4978,8 @@
],
'GetBackupBucketsList' => [
'summary' => '证据转存获取用户bucket列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9487,20 +4991,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201048',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9517,25 +5014,12 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS文件保存Bucket名称。',
- 'type' => 'string',
- 'example' => 'gj-bucket1',
- ],
- 'Region' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
+ 'Bucket' => ['description' => 'OSS文件保存Bucket名称。', 'type' => 'string', 'example' => 'gj-bucket1'],
+ 'Region' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-shanghai'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9545,14 +5029,8 @@
],
'GetBackupStatus' => [
'summary' => '用户授权校验',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9564,20 +5042,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201049',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9587,17 +5058,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '审核结果数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '审核结果数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9607,14 +5069,8 @@
],
'UpdateBackupConfig' => [
'summary' => '更新证据转存配置',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9626,50 +5082,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201050',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'videoDetection',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'videoDetection'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'video',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'video'],
],
[
'name' => 'BackupConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '证据转存配置',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '证据转存配置', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9679,17 +5113,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9699,13 +5124,8 @@
],
'ListCallback' => [
'summary' => '消息通知列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9717,20 +5137,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220530',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9746,61 +5159,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11234',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '16537*****831937',
- ],
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => '回调通知',
- ],
- 'Url' => [
- 'description' => '回调URL。',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Seed' => [
- 'description' => 'Seed。',
- 'type' => 'string',
- 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n",
- ],
- 'CryptType' => [
- 'description' => '加密算法。',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => '结果范围。',
- 'type' => 'string',
- 'example' => 'all',
- ],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11234'],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '16537*****831937'],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => '回调通知'],
+ 'Url' => ['description' => '回调URL。', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n"],
+ 'CryptType' => ['description' => '加密算法。', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => '结果范围。', 'type' => 'string', 'example' => 'all'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9810,13 +5181,8 @@
],
'QueryCallbackByPage' => [
'summary' => '消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9828,42 +5194,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220532',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9873,30 +5220,10 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -9904,52 +5231,15 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1697',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '12161*****398900',
- ],
- 'Name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => '消息通知',
- ],
- 'Url' => [
- 'description' => '回调URL。',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Seed' => [
- 'description' => 'Seed。',
- 'type' => 'string',
- 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq',
- ],
- 'CryptType' => [
- 'description' => '加密算法。',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => '结果范围。',
- 'type' => 'string',
- 'example' => 'all',
- ],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1697'],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '12161*****398900'],
+ 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => '消息通知'],
+ 'Url' => ['description' => '回调URL。', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq'],
+ 'CryptType' => ['description' => '加密算法。', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => '结果范围。', 'type' => 'string', 'example' => 'all'],
],
],
],
@@ -9962,13 +5252,8 @@
],
'CreateCallback' => [
'summary' => '新建消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9980,30 +5265,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220531',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => '方案名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '消息通知1',
- ],
+ 'schema' => ['description' => '方案名称。', 'type' => 'string', 'required' => false, 'example' => '消息通知1'],
],
[
'name' => 'Url',
'in' => 'formData',
- 'schema' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://console.aliyun.com',
- ],
+ 'schema' => ['description' => '回调地址。', 'type' => 'string', 'required' => false, 'example' => 'https://console.aliyun.com'],
],
[
'name' => 'CryptType',
@@ -10012,15 +5285,9 @@
'description' => '加密算法。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SHA256' => 'SHA256',
- 'SM3' => '国密SM3',
- ],
+ 'enumValueTitles' => ['SHA256' => 'SHA256', 'SM3' => '国密SM3'],
'example' => 'SHA256',
- 'enum' => [
- 'SHA256',
- 'SM3',
- ],
+ 'enum' => ['SHA256', 'SM3'],
],
],
[
@@ -10030,26 +5297,15 @@
'description' => '审核结果。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'all' => '所有结果',
- 'risky' => '检出有风险结果',
- ],
+ 'enumValueTitles' => ['all' => '所有结果', 'risky' => '检出有风险结果'],
'example' => 'all',
- 'enum' => [
- 'risky',
- 'all',
- ],
+ 'enum' => ['risky', 'all'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10059,18 +5315,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'integer', 'format' => 'int64', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10080,13 +5326,8 @@
],
'DeleteCallback' => [
'summary' => '删除消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10098,31 +5339,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220529',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => '消息通知数据ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1480',
- ],
+ 'schema' => ['description' => '消息通知数据ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1480'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10132,17 +5360,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10152,13 +5371,8 @@
],
'ModifyCallback' => [
'summary' => '修改消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10170,41 +5384,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220533',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '112',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '112'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '回调通知',
- ],
+ 'schema' => ['description' => '名称。', 'type' => 'string', 'required' => false, 'example' => '回调通知'],
],
[
'name' => 'Url',
'in' => 'formData',
- 'schema' => [
- 'description' => '回调URL。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://www.aliyuncs.com',
- ],
+ 'schema' => ['description' => '回调URL。', 'type' => 'string', 'required' => false, 'example' => 'https://www.aliyuncs.com'],
],
[
'name' => 'CryptType',
@@ -10213,11 +5409,9 @@
'description' => '加密算法。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['SHA256' => '加密算法', 'SM3' => '加密算法'],
'example' => 'SHA256',
- 'enum' => [
- 'SHA256',
- 'SM3',
- ],
+ 'enum' => ['SHA256', 'SM3'],
],
],
[
@@ -10227,22 +5421,15 @@
'description' => '结果范围。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['all' => '全部', 'risky' => '有风险的'],
'example' => 'all',
- 'enum' => [
- 'risky',
- 'all',
- ],
+ 'enum' => ['risky', 'all'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10252,17 +5439,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -10272,14 +5450,8 @@
],
'AddAnswerSample' => [
'summary' => '添加代答答案。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10291,50 +5463,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222579',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxxx',
- ],
+ 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'alxxxx'],
],
[
'name' => 'Samples',
'in' => 'query',
- 'schema' => [
- 'description' => '待添加的样本。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '代答答案1\\n代答答案2',
- ],
+ 'schema' => ['description' => '待添加的样本。', 'type' => 'string', 'required' => false, 'example' => '代答答案1\\n代答答案2'],
],
[
'name' => 'SampleObject',
'in' => 'query',
- 'schema' => [
- 'description' => '待添加代答样本的文件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'data/xxx.xlsx',
- ],
+ 'schema' => ['description' => '待添加代答样本的文件名称。', 'type' => 'string', 'required' => false, 'example' => 'data/xxx.xlsx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10344,88 +5494,30 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'LibId' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
'Result' => [
'description' => '结果。',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '进度,90表示90%',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
- 'I18nKey' => [
- 'description' => '国际化key。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => '总记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '534',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '318',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '98',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '118',
- ],
+ 'Progress' => ['description' => '进度,90表示90%', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
+ 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => '总记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '534'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '318'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '98'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '118'],
'RepeatSamples' => [
'description' => '重复样本集合。',
'type' => 'array',
- 'items' => [
- 'description' => '重复样本。',
- 'type' => 'string',
- 'example' => '重复代答答案',
- ],
+ 'items' => ['description' => '重复样本。', 'type' => 'string', 'example' => '重复代答答案'],
],
'IllegalLengthSamples' => [
'description' => '长度过长或过短的样本集合。',
'type' => 'array',
- 'items' => [
- 'description' => '长度过长或过短的样本。',
- 'type' => 'string',
- 'example' => '过短代答答案',
- ],
+ 'items' => ['description' => '长度过长或过短的样本。', 'type' => 'string', 'example' => '过短代答答案'],
],
],
],
@@ -10438,14 +5530,8 @@
],
'CreateAnswerLib' => [
'summary' => '创建代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10457,60 +5543,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222574',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => '代答库名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试代答库',
- ],
+ 'schema' => ['description' => '代答库名称。', 'type' => 'string', 'required' => false, 'example' => '测试代答库'],
],
[
'name' => 'Samples',
'in' => 'formData',
- 'schema' => [
- 'description' => '待添加的样本。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '代答答案1\\n代答答案2'."\n",
- ],
+ 'schema' => ['description' => '待添加的样本。', 'type' => 'string', 'required' => false, 'example' => '代答答案1\\n代答答案2'."\n"],
],
[
'name' => 'SampleObject',
'in' => 'formData',
- 'schema' => [
- 'description' => '待添加代答样本的文件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'data/xxx.xlsx'."\n",
- ],
+ 'schema' => ['description' => '待添加代答样本的文件名称。', 'type' => 'string', 'required' => false, 'example' => 'data/xxx.xlsx'."\n"],
],
[
'name' => 'SampleBucket',
'in' => 'formData',
- 'schema' => [
- 'description' => '存储空间名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-cip-shanghai'."\n",
- ],
+ 'schema' => ['description' => '存储空间名称。', 'type' => 'string', 'required' => false, 'example' => 'oss-cip-shanghai'."\n"],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10520,88 +5579,30 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'LibId' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
'Result' => [
'description' => '结果。',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '任务进度百分比。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'alAaaaxxx-xxx',
- ],
- 'I18nKey' => [
- 'description' => '国际化key。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAaaaxxx-xxx'],
+ 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatSamples' => [
'description' => '重复代答答案列表。',
'type' => 'array',
- 'items' => [
- 'description' => '重复代答答案。',
- 'type' => 'string',
- 'example' => '重复代答答案',
- ],
+ 'items' => ['description' => '重复代答答案。', 'type' => 'string', 'example' => '重复代答答案'],
],
'IllegalLengthSamples' => [
'description' => '不合法代答答案列表。',
'type' => 'array',
- 'items' => [
- 'description' => '不合法代答答案。',
- 'type' => 'string',
- 'example' => '不合法代答答案',
- ],
+ 'items' => ['description' => '不合法代答答案。', 'type' => 'string', 'example' => '不合法代答答案'],
],
],
],
@@ -10614,14 +5615,8 @@
],
'ExportAnswerSample' => [
'summary' => '导出代答答案',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10633,30 +5628,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222966',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10666,17 +5649,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10686,14 +5660,8 @@
],
'QueryAnswerSampleByPage' => [
'summary' => '分页查询代答样本',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10705,52 +5673,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222578',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'Answer',
'in' => 'query',
- 'schema' => [
- 'description' => '答案。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '答案',
- ],
+ 'schema' => ['description' => '答案。', 'type' => 'string', 'required' => false, 'example' => '答案'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -10760,22 +5704,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10785,30 +5720,10 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => '记录总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '58',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => '记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '58'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -10816,32 +5731,11 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '104813*****2399',
- ],
- 'LibId' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'Id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1666',
- ],
- 'Answer' => [
- 'description' => '答案',
- 'type' => 'string',
- 'example' => '答案',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-07-31 06:16:06',
- ],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '104813*****2399'],
+ 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1666'],
+ 'Answer' => ['description' => '答案', 'type' => 'string', 'example' => '答案'],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-31 06:16:06'],
],
],
],
@@ -10854,14 +5748,8 @@
],
'DeleteAnswerSample' => [
'summary' => '删除代答答案',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10873,40 +5761,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222581',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'Ids',
'in' => 'formData',
- 'schema' => [
- 'description' => '要删除的id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[15463605]',
- ],
+ 'schema' => ['description' => '要删除的id', 'type' => 'string', 'required' => false, 'example' => '[15463605]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10916,17 +5787,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -10936,14 +5798,8 @@
],
'ListAnswerLib' => [
'summary' => '代答库列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10956,20 +5812,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222576',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10985,41 +5834,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '1643953****74290',
- ],
- 'LibId' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'example' => 'alxxx',
- ],
- 'LibName' => [
- 'description' => '库名称。',
- 'type' => 'string',
- 'example' => '代答库名称',
- ],
- 'AnswerCount' => [
- 'description' => '代答答案数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '2024-06-03 18:15:01',
- ],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1643953****74290'],
+ 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxx'],
+ 'LibName' => ['description' => '库名称。', 'type' => 'string', 'example' => '代答库名称'],
+ 'AnswerCount' => ['description' => '代答答案数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 18:15:01'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11029,14 +5852,8 @@
],
'ModifyAnswerLib' => [
'summary' => '更新代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11048,40 +5865,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222575',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'LibName',
'in' => 'query',
- 'schema' => [
- 'description' => '库名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试库',
- ],
+ 'schema' => ['description' => '库名称。', 'type' => 'string', 'required' => false, 'example' => '测试库'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11091,17 +5891,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11111,14 +5902,8 @@
],
'DeleteAnswerLib' => [
'summary' => '删除代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11130,30 +5915,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222577',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11163,17 +5936,8 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11183,14 +5947,8 @@
],
'GetAnswerImportProgress' => [
'summary' => '获取代答样本导入进度',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11202,30 +5960,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222580',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alAxbbxxxx-xxx',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'alAxbbxxxx-xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11235,79 +5981,25 @@
'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Progress' => [
- 'description' => '任务进度百分比。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '代答库ID。',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx',
- ],
- 'I18nKey' => [
- 'description' => '国际化key。',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => '提示信息。',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'],
+ 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxxxx'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatSamples' => [
'description' => '重复代答答案列表。',
'type' => 'array',
- 'items' => [
- 'description' => '重复代答答案。',
- 'type' => 'string',
- 'example' => '重复答案',
- ],
+ 'items' => ['description' => '重复代答答案。', 'type' => 'string', 'example' => '重复答案'],
],
'IllegalLengthSamples' => [
'description' => '不合法代答答案列表。',
'type' => 'array',
- 'items' => [
- 'description' => '不合法代答答案。',
- 'type' => 'string',
- 'example' => '不合法答案',
- ],
+ 'items' => ['description' => '不合法代答答案。', 'type' => 'string', 'example' => '不合法答案'],
],
],
],
@@ -11318,13 +6010,8 @@
],
'UpdateOssCheckResultsFeedBack' => [
'summary' => '更新OSS检测结果反馈',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11336,61 +6023,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232690',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'QueryRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的请求ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'schema' => ['description' => '查询的请求ID', 'type' => 'string', 'required' => false, 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
[
'name' => 'Feedback',
'in' => 'query',
- 'schema' => [
- 'description' => '反馈。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'misreport',
- ],
+ 'schema' => ['description' => '反馈。', 'type' => 'string', 'required' => false, 'example' => 'misreport'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_7SCUK8',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_7SCUK8'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11400,17 +6060,8 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11420,13 +6071,8 @@
],
'UpdateOssCheckResultsFreeze' => [
'summary' => '批量冻结OSS检测结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11439,81 +6085,44 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232687',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_15BU42',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_15BU42'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-21 16:08:38',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-21 16:08:38',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'],
],
[
'name' => 'FreezeItems',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结项。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '冻结项。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'FreezeType',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACL',
- ],
+ 'schema' => ['description' => '冻结类型', 'type' => 'string', 'required' => false, 'example' => 'ACL'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'FreezeRestorePath',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结文件到指定目录。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'uploadTest/',
- ],
+ 'schema' => ['description' => '冻结文件到指定目录。', 'type' => 'string', 'required' => false, 'example' => 'uploadTest/'],
],
],
'responses' => [
@@ -11523,40 +6132,15 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -11568,13 +6152,8 @@
],
'GetOssCheckFreezeResult' => [
'summary' => 'oss检测冻结结果查询',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11587,84 +6166,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232685',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-09 10:28:54',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2025-01-09 10:28:54'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-05-19 10:05:11',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2025-05-19 10:05:11'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '任务状态。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => '已完成数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => '查询条件',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}',
- ],
+ 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -11674,22 +6212,13 @@
'description' => '排序字段。',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{\\"GmtCreate\\":\\"desc\\"}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11699,30 +6228,10 @@
'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '29',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '29'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '当前页数据。',
'type' => 'array',
@@ -11730,174 +6239,58 @@
'description' => '当前页数据。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'JobName' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'object名称',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => '文件的MD5。',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => '错误码,和http status一致。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => '错误码的进一步描述。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'tmp'],
+ 'JobName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'object名称', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => '文件的MD5。', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => '错误码,和http status一致。', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => '图片标签。',
'type' => 'array',
- 'items' => [
- 'description' => '图片标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => '图片标签。', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => '文本标签。',
'type' => 'array',
- 'items' => [
- 'description' => '文本标签。',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => '结果详情。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => '图片url地址。',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => '任务URL。',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'P_BT3FHS',
- ],
- 'ServiceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => '是否复制。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => '主服务。',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => '音视频检测类型。',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => '整体风险等级',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => '图片风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => '文本风险等级',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'FreezeType' => [
- 'description' => '冻结类型。',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeStatus' => [
- 'description' => '冻结状态。',
- 'type' => 'string',
- 'example' => 'FREEZED',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
- ],
- 'Freeze' => [
- 'description' => '是否冻结',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'items' => ['description' => '文本标签。', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => '任务URL。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'P_BT3FHS'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => '音视频检测类型。', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => '整体风险等级', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => '图片风险等级', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => '文本风险等级', 'type' => 'string', 'example' => 'none'],
+ 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeStatus' => ['description' => '冻结状态。', 'type' => 'string', 'example' => 'FREEZED'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823'],
+ 'Freeze' => ['description' => '是否冻结', 'type' => 'boolean', 'example' => 'true'],
'Feedback' => [
'description' => '反馈。',
'type' => 'string',
- 'enumValueTitles' => [
- 'misreport' => '未违规误报',
- 'missOut' => '违规漏过',
- ],
+ 'enumValueTitles' => ['misreport' => '未违规误报', 'missOut' => '违规漏过'],
'example' => 'misreport',
],
'ManualFreezeAction' => [
'description' => '人工处置状态。',
'type' => 'string',
- 'enumValueTitles' => [
- 'FREEZE' => '冻结',
- 'UNFREEZE' => '解冻',
- ],
+ 'enumValueTitles' => ['FREEZE' => '冻结', 'UNFREEZE' => '解冻'],
'example' => 'FREEZE',
],
'SysDisposalStatus' => [
'description' => '系统处置状态。',
'type' => 'string',
- 'enumValueTitles' => [
- 'FREEZING' => '冻结中',
- 'FREEZED' => '已冻结',
- 'UNFREEZED' => '已解冻',
- 'NONE' => '未操作',
- 'UNFREEZING' => '解冻中',
- ],
+ 'enumValueTitles' => ['FREEZING' => '冻结中', 'FREEZED' => '已冻结', 'UNFREEZED' => '已解冻', 'NONE' => '未操作', 'UNFREEZING' => '解冻中'],
'example' => 'FREEZED',
],
- 'ManualOperateTime' => [
- 'description' => '处置时间。',
- 'type' => 'string',
- 'example' => '2025-08-09 12:00:00',
- ],
- 'ManualOperator' => [
- 'description' => '处置人。',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'ManualOperateTime' => ['description' => '处置时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-08-09 12:00:00'],
+ 'ManualOperator' => ['description' => '处置人。', 'type' => 'string', 'example' => 'xx'],
'LabelDetails' => [
'description' => '标签。',
'type' => 'array',
@@ -11905,22 +6298,9 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'politics',
- ],
- 'Description' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => '置信度。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '50'],
],
],
],
@@ -11936,13 +6316,8 @@
],
'UpdateOssCheckResultsUnfreeze' => [
'summary' => '批量解冻OSS检测结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11954,61 +6329,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232689',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_B6YRVD',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_B6YRVD'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-21 16:08:38',
- ],
+ 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-21 16:08:38',
- ],
+ 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'],
],
[
'name' => 'FreezeItems',
'in' => 'query',
- 'schema' => [
- 'description' => '冻结项。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '冻结项。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -12022,37 +6370,13 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
- 'RequestId' => [
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -12062,12 +6386,8 @@
],
'DeleteOnlineTest' => [
'summary' => '删除在线检测任务',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12077,32 +6397,19 @@
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '260298',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -12112,17 +6419,8 @@
'description' => 'PortalResponse<Boolean>',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '返回数据', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -12132,12 +6430,8 @@
],
'CreateOnlineTest' => [
'summary' => '创建在线检测任务',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12147,54 +6441,29 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '259357',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'video',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'video'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'title' => '服务编码',
- 'description' => '服务编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoModeration',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => '服务编码', 'type' => 'string', 'required' => false, 'example' => 'VideoModeration'],
],
[
'name' => 'Url',
'in' => 'query',
- 'schema' => [
- 'title' => '检测地址',
- 'description' => '检测地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://xxxxxxxxxx.com/data/data.png',
- ],
+ 'schema' => ['title' => '检测地址', 'description' => '检测地址', 'type' => 'string', 'required' => false, 'example' => 'https://xxxxxxxxxx.com/data/data.png'],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxxxx',
- ],
+ 'schema' => ['description' => '数据ID', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxx'],
],
],
'responses' => [
@@ -12204,34 +6473,11 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => '检测任务id',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'TaskStatus' => [
- 'title' => '检测状态',
- 'description' => '检测状态',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Url' => [
- 'description' => '检测地址',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxxxx.com/data/data.png',
- ],
- 'ServiceCode' => [
- 'description' => '服务编码',
- 'type' => 'string',
- 'example' => 'VideoModeration',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'TaskId' => ['title' => '检测任务id', 'description' => '检测任务id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'TaskStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Url' => ['description' => '检测地址', 'type' => 'string', 'example' => 'https://xxxxxxxxxx.com/data/data.png'],
+ 'ServiceCode' => ['description' => '服务编码', 'type' => 'string', 'example' => 'VideoModeration'],
],
],
],
@@ -12241,12 +6487,8 @@
],
'StopOnlineTest' => [
'summary' => '中止在线检测任务',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12256,44 +6498,24 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '259538',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'title' => '服务编码',
- 'description' => '服务编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => '服务编码', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'title' => '检测taskId',
- 'description' => '检测taskId',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'schema' => ['title' => '检测taskId', 'description' => '检测taskId', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxxx'],
],
],
'responses' => [
@@ -12303,34 +6525,11 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => '检测任务id',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'TaskStatus' => [
- 'title' => '检测状态',
- 'description' => '检测状态',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Url' => [
- 'description' => '检测地址',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxx.com/data/data.png',
- ],
- 'ServiceCode' => [
- 'description' => '服务编码',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TaskId' => ['title' => '检测任务id', 'description' => '检测任务id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'TaskStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Url' => ['description' => '检测地址', 'type' => 'string', 'example' => 'https://xxxxxxxx.com/data/data.png'],
+ 'ServiceCode' => ['description' => '服务编码', 'type' => 'string', 'example' => 'baselineCheck'],
],
],
],
@@ -12340,13 +6539,8 @@
],
'DescribeOnlineTestResult' => [
'summary' => '查询在线检测的检测结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12356,44 +6550,24 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '259358',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'title' => '服务编码',
- 'description' => '服务编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'videoDetection',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => '服务编码', 'type' => 'string', 'required' => false, 'example' => 'videoDetection'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'title' => '检测taskId',
- 'description' => '检测taskId',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'schema' => ['title' => '检测taskId', 'description' => '检测taskId', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxxx'],
],
],
'responses' => [
@@ -12403,48 +6577,17 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => '检测任务id',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'TaskStatus' => [
- 'title' => '检测状态',
- 'description' => '检测状态',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Url' => [
- 'description' => '检测地址',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxxx.com/data/data.png',
- ],
- 'ServiceCode' => [
- 'description' => '服务编码',
- 'type' => 'string',
- 'example' => 'videoDetection',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'TaskId' => ['title' => '检测任务id', 'description' => '检测任务id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'TaskStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Url' => ['description' => '检测地址', 'type' => 'string', 'example' => 'https://xxxxxxxxx.com/data/data.png'],
+ 'ServiceCode' => ['description' => '服务编码', 'type' => 'string', 'example' => 'videoDetection'],
'FrameData' => [
'description' => '视频帧数据',
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => '检测地址',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxxx.com/data/data.mp4',
- ],
- 'TimeStamp' => [
- 'description' => '时间戳。',
- 'type' => 'string',
- 'example' => '1725761005419',
- ],
+ 'Url' => ['description' => '检测地址', 'type' => 'string', 'example' => 'https://xxxxxxxxx.com/data/data.mp4'],
+ 'TimeStamp' => ['description' => '时间戳。', 'type' => 'string', 'example' => '1725761005419'],
],
],
'SummaryList' => [
@@ -12454,54 +6597,24 @@
'description' => '检测结果',
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'video',
- ],
- 'SliceCount' => [
- 'description' => '分片数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'video'],
+ 'SliceCount' => ['description' => '分片数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
'RiskLevelSummary' => [
'description' => '风险等级汇总',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'description' => '风险等级的出现次数',
- 'example' => '0',
- ],
+ 'additionalProperties' => ['type' => 'integer', 'format' => 'int64', 'description' => '风险等级的出现次数', 'example' => '0'],
],
],
],
],
- 'ModerationTime' => [
- 'description' => '检测时间',
- 'type' => 'string',
- 'example' => '1725761005419',
- ],
- 'RiskLevel' => [
- 'description' => '风险等级',
- 'type' => 'string',
- 'example' => 'high',
- ],
+ 'ModerationTime' => ['description' => '检测时间,使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1725761005419'],
+ 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'],
'AudioData' => [
'description' => '音频数据。',
'type' => 'object',
'properties' => [
- 'TimeStamp' => [
- 'description' => '时间戳。',
- 'type' => 'string',
- 'example' => '1724378510396',
- ],
+ 'TimeStamp' => ['description' => '时间戳。', 'type' => 'string', 'example' => '1724378510396'],
],
],
],
@@ -12513,13 +6626,8 @@
],
'GetUploadLink' => [
'summary' => '获取上传链接',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12529,21 +6637,14 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '259304',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'UploadUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '上传链接地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
+ 'schema' => ['description' => '上传链接地址', 'type' => 'string', 'required' => false, 'example' => 'http://www.aliyuncs.com/test.mp3'],
],
],
'responses' => [
@@ -12553,17 +6654,8 @@
'description' => '包含上传链接响应结果的PortalResponse对象',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35',
- ],
+ 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35'],
],
],
],
@@ -12574,13 +6666,8 @@
'LlmStreamChat' => [
'summary' => '使用SSE接口流式调用大模型',
'path' => '/portal/llm/streamChat',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'sse',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
@@ -12592,9 +6679,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXYAQ5C',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXYAQ5C'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -12602,55 +6687,27 @@
[
'name' => 'Messages',
'in' => 'formData',
- 'schema' => [
- 'description' => '对话信息',
- 'type' => 'any',
- 'required' => false,
- 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]',
- ],
+ 'schema' => ['description' => '对话信息', 'type' => 'any', 'required' => false, 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]'],
],
[
'name' => 'Temperature',
'in' => 'formData',
- 'schema' => [
- 'description' => '大模型温度值',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['description' => '大模型温度值', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5'],
],
[
'name' => 'TopP',
'in' => 'formData',
- 'schema' => [
- 'description' => '控制大模型输出随机性的top p参数。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['description' => '控制大模型输出随机性的top p参数。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => '对话类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '对话类型', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'Channel',
'in' => 'formData',
- 'schema' => [
- 'title' => 'channel',
- 'description' => 'channel',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'guardCustomTest',
- ],
+ 'schema' => ['title' => 'channel', 'description' => 'channel', 'type' => 'string', 'required' => false, 'example' => 'guardCustomTest'],
],
],
'responses' => [
@@ -12660,11 +6717,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Usage' => [
- 'description' => 'Token使用情况',
- 'type' => 'string',
- 'example' => 'null',
- ],
+ 'Usage' => ['description' => 'Token使用情况', 'type' => 'string', 'example' => 'null'],
'Choices' => [
'description' => '模型生成结果列表',
'type' => 'array',
@@ -12676,113 +6729,44 @@
'description' => '增量内容对象',
'type' => 'object',
'properties' => [
- 'Role' => [
- 'description' => '角色标识',
- 'type' => 'string',
- 'example' => 'assistant',
- ],
- 'Content' => [
- 'description' => '实时生成的文本内容',
- 'type' => 'string',
- 'example' => '我是Deepseek-V3,有什么可以帮你',
- ],
+ 'Role' => ['description' => '角色标识', 'type' => 'string', 'example' => 'assistant'],
+ 'Content' => ['description' => '实时生成的文本内容', 'type' => 'string', 'example' => '我是Deepseek-V3,有什么可以帮你'],
],
],
- 'Logprobs' => [
- 'description' => 'Token概率信息',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Index' => [
- 'description' => '流序号',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'FinishReason' => [
- 'description' => '如果是流式输出,正在生成时为null,生成结束时如果由于停止token导致则为stop',
- 'type' => 'string',
- 'example' => 'stop',
- ],
+ 'Logprobs' => ['description' => 'Token概率信息', 'type' => 'string', 'example' => 'null'],
+ 'Index' => ['description' => '流序号', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'FinishReason' => ['description' => '如果是流式输出,正在生成时为null,生成结束时如果由于停止token导致则为stop', 'type' => 'string', 'example' => 'stop'],
],
],
],
- 'Model' => [
- 'description' => '模型标识',
- 'type' => 'string',
- 'example' => 'deepseek-v3',
- ],
- 'SystemFingerprint' => [
- 'description' => '系统指纹',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Object' => [
- 'description' => '响应类型',
- 'type' => 'string',
- 'example' => 'chat.completion.chunk',
- ],
- 'Id' => [
- 'description' => '本次会话唯一ID',
- 'type' => 'string',
- 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f',
- ],
- 'Created' => [
- 'description' => '会话创建时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1750990728',
- ],
- 'RequestId' => [
- 'description' => '唯一请求ID',
- 'type' => 'string',
- 'example' => '21d296d6-594e-97de-812f-925ec6e05673',
- ],
+ 'Model' => ['description' => '模型标识', 'type' => 'string', 'example' => 'deepseek-v3'],
+ 'SystemFingerprint' => ['description' => '系统指纹', 'type' => 'string', 'example' => 'null'],
+ 'Object' => ['description' => '响应类型', 'type' => 'string', 'example' => 'chat.completion.chunk'],
+ 'Id' => ['description' => '本次会话唯一ID', 'type' => 'string', 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f'],
+ 'Created' => ['description' => '会话创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1750990728'],
+ 'RequestId' => ['description' => '唯一请求ID', 'type' => 'string', 'example' => '21d296d6-594e-97de-812f-925ec6e05673'],
'Error' => [
'description' => '流式响应错误信息内容',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '错误码',
- 'type' => 'string',
- 'example' => 'data_inspection_failed',
- ],
- 'Message' => [
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => 'Input data may contain inappropriate content.',
- ],
- 'Param' => [
- 'description' => '引发错误的参数',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Type' => [
- 'description' => '错误类型',
- 'type' => 'string',
- 'example' => 'data_inspection_failed',
- ],
+ 'Code' => ['description' => '错误码', 'type' => 'string', 'example' => 'data_inspection_failed'],
+ 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Input data may contain inappropriate content.'],
+ 'Param' => ['description' => '引发错误的参数', 'type' => 'string', 'example' => 'null'],
+ 'Type' => ['description' => '错误类型', 'type' => 'string', 'example' => 'data_inspection_failed'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Usage\\": \\"null\\",\\n \\"Choices\\": [\\n {\\n \\"Delta\\": {\\n \\"Role\\": \\"assistant\\",\\n \\"Content\\": \\"我是Deepseek-V3,有什么可以帮你\\"\\n },\\n \\"Logprobs\\": \\"null\\",\\n \\"Index\\": 0,\\n \\"FinishReason\\": \\"stop\\"\\n }\\n ],\\n \\"Model\\": \\"deepseek-v3\\",\\n \\"SystemFingerprint\\": \\"null\\",\\n \\"Object\\": \\"chat.completion.chunk\\",\\n \\"Id\\": \\"chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f\\",\\n \\"Created\\": 1750990728,\\n \\"RequestId\\": \\"21d296d6-594e-97de-812f-925ec6e05673\\",\\n \\"Error\\": {\\n \\"Code\\": \\"data_inspection_failed\\",\\n \\"Message\\": \\"Input data may contain inappropriate content.\\",\\n \\"Param\\": \\"null\\",\\n \\"Type\\": \\"data_inspection_failed\\"\\n }\\n}","type":"json"}]',
'title' => '大模型流式对话转发接口',
],
'GetOssCheckTaskInfo' => [
'summary' => '查询oss扫描任务详情',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12794,20 +6778,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '父任务ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_AAA**',
- ],
+ 'schema' => ['description' => '父任务ID', 'type' => 'string', 'required' => false, 'example' => 'P_AAA**'],
],
],
'responses' => [
@@ -12817,143 +6794,41 @@
'description' => '{@link PortalResponse<OssCheckTaskVO>}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'xxxx-xxx'."\n",
- ],
- 'TaskName' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => '文档存量任务 20240914100517757',
- ],
- 'Buckets' => [
- 'description' => '存储空间。',
- 'type' => 'string',
- 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]',
- ],
- 'Status' => [
- 'description' => '任务状态。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'Success',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2023-08-21 16:08:38'."\n",
- ],
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2025-07-09 10:30:00',
- ],
- 'SearchNum' => [
- 'description' => '扫描任务数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'FinishNum' => [
- 'description' => '已完成数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '56',
- ],
- 'MediaType' => [
- 'description' => '媒资类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxx-xxx'."\n"],
+ 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => '文档存量任务 20240914100517757'],
+ 'Buckets' => ['description' => '存储空间。', 'type' => 'string', 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]'],
+ 'Status' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'example' => 'Success'],
+ 'StartTime' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-08-21 16:08:38'."\n"],
+ 'EndTime' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-09 10:30:00'],
+ 'SearchNum' => ['description' => '扫描任务数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'FinishNum' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'example' => '56'],
+ 'MediaType' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Config' => [
'description' => '配置项',
'type' => 'object',
'properties' => [
- 'ScanNoFileType' => [
- 'description' => '是否扫描无后缀图片。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ScanNoFileType' => ['description' => '是否扫描无后缀图片。', 'type' => 'boolean', 'example' => 'true'],
'ScanService' => [
'description' => '扫描服务code',
'type' => 'array',
- 'items' => [
- 'description' => '扫描服务code',
- 'type' => 'string',
- 'example' => 'oss_baselineCheck',
- ],
- ],
- 'DistinctHistoryTasks' => [
- 'description' => '是否对历史已检测任务去重。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2023-08-21 16:08:38'."\n",
- ],
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2025-07-09 10:30:00',
- ],
- 'ScanLimit' => [
- 'description' => '扫描限制数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PrefixFilterType' => [
- 'description' => '前缀过滤类型。',
- 'type' => 'string',
- 'example' => 'all',
+ 'items' => ['description' => '扫描服务code', 'type' => 'string', 'example' => 'oss_baselineCheck'],
],
+ 'DistinctHistoryTasks' => ['description' => '是否对历史已检测任务去重。', 'type' => 'boolean', 'example' => 'true'],
+ 'StartTime' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-08-21 16:08:38'."\n"],
+ 'EndTime' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-09 10:30:00'],
+ 'ScanLimit' => ['description' => '扫描限制数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PrefixFilterType' => ['description' => '前缀过滤类型。', 'type' => 'string', 'example' => 'all'],
'PrefixFilters' => [
'description' => '前缀。',
'type' => 'array',
- 'items' => [
- 'description' => '前缀。',
- 'type' => 'string',
- 'example' => 'ugc/img',
- ],
- ],
- 'Priority' => [
- 'description' => '优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TaskCycle' => [
- 'description' => '调度日期。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ExecuteDate' => [
- 'description' => '定时任务执行日期。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ExecuteTime' => [
- 'description' => '定时任务预计执行时间。',
- 'type' => 'string',
- 'example' => '2025-07-09 10:30:00'."\n",
- ],
- 'ScanResourceType' => [
- 'description' => '检测文件类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ 'items' => ['description' => '前缀。', 'type' => 'string', 'example' => 'ugc/img'],
],
+ 'Priority' => ['description' => '优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TaskCycle' => ['description' => '调度日期。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ExecuteDate' => ['description' => '定时任务执行日期。整数类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ExecuteTime' => ['description' => '定时任务预计执行时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-09 10:30:00'."\n"],
+ 'ScanResourceType' => ['description' => '检测文件类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'ScanServiceInfos' => [
'description' => '检测服务信息',
'type' => 'array',
@@ -12961,89 +6836,28 @@
'description' => '检测服务信息',
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => '是否复制。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ServiceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'oss_baselineCheck',
- ],
- 'ServiceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '内容检测',
- ],
- 'CopyFrom' => [
- 'description' => '主服务。',
- 'type' => 'string',
- 'example' => 'oss_baselineCheck',
- ],
+ 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'false'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'oss_baselineCheck'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '内容检测'],
+ 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'oss_baselineCheck'],
],
],
],
- 'CallbackId' => [
- 'description' => '回调通知ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '188',
- ],
- 'Freeze' => [
- 'description' => '是否冻结',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeType' => [
- 'description' => '冻结类型。',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeHighRisk1' => [
- 'description' => '冻结高风险图片',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk1' => [
- 'description' => '冻结中风险图片',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeHighRisk2' => [
- 'description' => '冻结高风险语音、文本',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk2' => [
- 'description' => '冻结中风险语音、文本',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'FreezeRestorePath' => [
- 'description' => '转存路径',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Referer' => [
- 'description' => 'Referer。',
- 'type' => 'string',
- 'example' => 'https://www.aliyun.com/',
- ],
+ 'CallbackId' => ['description' => '回调通知ID', 'type' => 'integer', 'format' => 'int64', 'example' => '188'],
+ 'Freeze' => ['description' => '是否冻结', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeHighRisk1' => ['description' => '冻结高风险图片', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk1' => ['description' => '冻结中风险图片', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeHighRisk2' => ['description' => '冻结高风险语音、文本', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk2' => ['description' => '冻结中风险语音、文本', 'type' => 'boolean', 'example' => 'false'],
+ 'FreezeRestorePath' => ['description' => '转存路径', 'type' => 'string', 'example' => 'test'],
+ 'Referer' => ['description' => 'Referer。', 'type' => 'string', 'example' => 'https://www.aliyun.com/'],
'UserFreezeConfig' => [
'description' => '用户冻结配置',
'type' => 'object',
'properties' => [
- 'FreezeType' => [
- 'description' => '冻结类型',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeRestorePath' => [
- 'description' => '转存目录',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'FreezeType' => ['description' => '冻结类型', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeRestorePath' => ['description' => '转存目录', 'type' => 'string', 'example' => 'test'],
],
],
'BucketPrefixFilterConfig' => [
@@ -13052,18 +6866,10 @@
'additionalProperties' => [
'type' => 'object',
'properties' => [
- 'PrefixFilterType' => [
- 'type' => 'string',
- 'description' => '前缀过滤类型。',
- 'example' => 'all',
- ],
+ 'PrefixFilterType' => ['type' => 'string', 'description' => '前缀过滤类型。', 'example' => 'all'],
'PrefixFilters' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'description' => '前缀',
- 'example' => 'testprefix1',
- ],
+ 'items' => ['type' => 'string', 'description' => '前缀', 'example' => 'testprefix1'],
'description' => '前缀列表',
],
],
@@ -13072,32 +6878,11 @@
],
],
],
- 'ObjectNum' => [
- 'description' => 'bucket总文件数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'IsInc' => [
- 'description' => '是否定时扫描任务。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'TaskType' => [
- 'description' => '任务类型。',
- 'type' => 'string',
- 'example' => 'increment',
- ],
- 'LastExecuteDate' => [
- 'description' => '定时任务下次执行时间。',
- 'type' => 'string',
- 'example' => '2025-07-09 10:30:00'."\n",
- ],
- 'NextExecuteDate' => [
- 'description' => '定时任务上次执行时间。',
- 'type' => 'string',
- 'example' => '2025-07-08 10:30:00'."\n",
- ],
+ 'ObjectNum' => ['description' => 'bucket总文件数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'IsInc' => ['description' => '是否定时扫描任务。', 'type' => 'boolean', 'example' => 'false'],
+ 'TaskType' => ['description' => '任务类型。', 'type' => 'string', 'example' => 'increment'],
+ 'LastExecuteDate' => ['description' => '定时任务下次执行时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-09 10:30:00'."\n"],
+ 'NextExecuteDate' => ['description' => '定时任务上次执行时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-08 10:30:00'."\n"],
],
],
],
@@ -13107,13 +6892,8 @@
],
'UpdateOssCheckResultsBatchFeedback' => [
'summary' => '批量更新OSS检测结果反馈',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -13125,40 +6905,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ85HXA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ85HXA'],
],
'parameters' => [
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '父任务id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_XHDUS',
- ],
+ 'schema' => ['description' => '父任务id', 'type' => 'string', 'required' => false, 'example' => 'P_XHDUS'],
],
[
'name' => 'Items',
'in' => 'query',
- 'schema' => [
- 'description' => '结果项。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '结果项。', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'Feedback',
'in' => 'query',
- 'schema' => [
- 'description' => '反馈。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'misreport',
- ],
+ 'schema' => ['description' => '反馈。', 'type' => 'string', 'required' => false, 'example' => 'misreport'],
],
],
'responses' => [
@@ -13168,41 +6931,12 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '成功个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '重复数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '不合法数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Tips' => [
- 'description' => '提示信息。',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '成功个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxxxx'],
],
],
],
@@ -13210,23 +6944,223 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"Tips\\": \\"xxxxx\\"\\n}","type":"json"}]',
'title' => '批量更新检测结果反馈',
],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com',
+ 'GetPromptTestResult' => [
+ 'summary' => '测试特性配置',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATURElvwangEZQESQ'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '业务类型。', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'query',
+ 'schema' => ['description' => '配置项', 'type' => 'string', 'required' => false, 'example' => '{\\"enable\\":false}'],
+ ],
+ [
+ 'name' => 'Text',
+ 'in' => 'query',
+ 'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => false, 'example' => '测试文本'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<CustomPromptTestVO>}',
+ 'description' => '{@link PortalResponse<CustomPromptTestVO>}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Result' => [
+ 'description' => '结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Content' => ['description' => '内容。', 'type' => 'string', 'example' => '测试文本'],
+ 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'],
+ 'LabelDetails' => [
+ 'description' => '标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'terrorism'],
+ 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '暴恐'],
+ 'Reason' => ['description' => '模型对这条文本做出该风险判定的理由', 'type' => 'string', 'example' => '该文本涉及暴力恐怖信息'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Result\\": [\\n {\\n \\"Content\\": \\"测试文本\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"LabelDetails\\": [\\n {\\n \\"Label\\": \\"terrorism\\",\\n \\"Description\\": \\"暴恐\\",\\n \\"Reason\\": \\"该文本涉及暴力恐怖信息\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '获取自定义提示词测试结果',
],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com',
+ 'CreateImageLib' => [
+ 'summary' => '创建图库。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159536',
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '图库名。', 'type' => 'string', 'required' => false, 'example' => '恶意广告'],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'formData',
+ 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => '涉及政治因素'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'PortalResponse<Boolean>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => '自定义图库ID。', 'type' => 'string', 'example' => '138xxxxx'],
+ ],
+ ],
+ 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"138xxxxx\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '创建自定义图库',
+ 'description' => '请确保在使用该接口前完成以下操作:'."\n"
+ .'1. 已[开通内容安全增强版](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn)。'."\n"
+ .'2. 充分了解图片审核增强版产品的[收费方式和价格](https://help.aliyun.com/document_detail/467826.html?#section-h06-qz6-1pt)。'."\n"
+ .'3. 更多接口使用和参数请参考[API接口文档](https://help.aliyun.com/document_detail/467829.html)。',
],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com',
+ 'GetTuneProposalById' => [
+ 'summary' => '获取开关配置调优意见',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATURElvwangTHWXLK', 'FEATURElvwang4DJRB7', 'FEATURElvwang5OIOPT', 'FEATURElvwangCXOBXW', 'FEATURElvwang08CDRQ'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => ['description' => '主键ID。', 'type' => 'string', 'required' => false, 'example' => 'prop-xxxxxxxx'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'success'],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'JsonContent' => ['description' => '返回数据json', 'type' => 'string', 'example' => '{"example":"xxxx"}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"JsonContent\\": \\"{\\\\\\"example\\\\\\":\\\\\\"xxxx\\\\\\"}\\"\\n }\\n}","type":"json"}]',
+ 'title' => '获取策略调优结果',
+ 'description' => '本接口需要配合图片审核增强版API使用,在调用图片审核增强版API接口之后,可以调用本接口,获取更多的接口检测信息。此接口免费。',
],
],
+ 'endpoints' => [
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'green-cip.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'green-cip.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'green-cip.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'green-cip.cn-hangzhou.aliyuncs.com'],
+ ],
];