summaryrefslogtreecommitdiff
path: root/data/en_us/green
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/green
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/green')
-rw-r--r--data/en_us/green/2017-08-23/api-docs.php10800
-rw-r--r--data/en_us/green/2018-05-09/api-docs.php2042
-rw-r--r--data/en_us/green/2022-03-02/api-docs.php7600
-rw-r--r--data/en_us/green/2022-09-26/api-docs.php9832
4 files changed, 8130 insertions, 22144 deletions
diff --git a/data/en_us/green/2017-08-23/api-docs.php b/data/en_us/green/2017-08-23/api-docs.php
index 92c4cb2..f741124 100644
--- a/data/en_us/green/2017-08-23/api-docs.php
+++ b/data/en_us/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' => 'Others',
'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' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -206,14 +72,8 @@
],
'CreateBizType' => [
'summary' => '创建业务场景',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -224,60 +84,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' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'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' => [
@@ -286,11 +119,7 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -299,14 +128,8 @@
],
'CreateImageLib' => [
'summary' => '创建图库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -317,80 +140,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102645',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.26',
- ],
+ 'schema' => ['description' => '', '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' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => ''],
],
[
'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' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -398,17 +184,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15212',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '15212'],
],
],
],
@@ -417,14 +194,8 @@
],
'CreateKeyword' => [
'summary' => '新增关键词',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -435,51 +206,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102646',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '171.***.241.61',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '22290',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -487,25 +235,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SuccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '17',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'SuccessCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '17'],
+ 'RequestId' => ['description' => '', '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' => '',
@@ -514,17 +249,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'keyword' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60850',
- ],
+ 'keyword' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'id' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '60850'],
],
],
],
@@ -536,14 +262,8 @@
],
'CreateKeywordLib' => [
'summary' => '创建文本库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -554,120 +274,63 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102647',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '42.***.73.61',
- ],
+ 'schema' => ['description' => '', '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' => '',
- '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' => '',
- ],
+ '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' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -675,16 +338,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '22014',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '22014'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -693,14 +348,8 @@
],
'CreateWebsiteIndexPageBaseline' => [
'summary' => '创建站点首页基线',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -711,40 +360,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102649',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '171.***.241.61',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisite*******z001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'cdisite*******z001'],
],
],
'responses' => [
@@ -752,11 +384,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -765,14 +393,8 @@
],
'DeleteBizType' => [
'summary' => '删除业务场景',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -783,20 +405,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' => [
@@ -804,11 +419,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -817,14 +428,8 @@
],
'DeleteCustomOcrTemplate' => [
'summary' => '删除ocr模板',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -835,20 +440,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102655',
- 'abilityTreeNodes' => [
- 'FEATURElvwangG3RW9T',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangG3RW9T'],
],
'parameters' => [
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[1739]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[1739]'],
],
],
'responses' => [
@@ -856,11 +454,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -869,14 +463,8 @@
],
'DeleteImageFromLib' => [
'summary' => '从图库删除图片',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -887,30 +475,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102656',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.250',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '140.***.11.250'],
],
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[\\"36\\"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[\\"36\\"]'],
],
],
'responses' => [
@@ -919,11 +495,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -932,14 +504,8 @@
],
'DeleteImageLib' => [
'summary' => '删除图库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -951,31 +517,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102657',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.26',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '140.***.11.26'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '15114',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '15114'],
],
],
'responses' => [
@@ -983,11 +536,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -996,14 +545,8 @@
],
'DeleteKeyword' => [
'summary' => '删除关键词',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1014,60 +557,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102658',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '112.22.***.147',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[14888736,14888735]',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '17820',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '17820'],
],
],
'responses' => [
@@ -1075,11 +591,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1088,14 +600,8 @@
],
'DeleteKeywordLib' => [
'summary' => '删除文本库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1106,41 +612,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102659',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.250',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '21989',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '21989'],
],
],
'responses' => [
@@ -1148,11 +636,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1161,14 +645,8 @@
],
'DescribeAppInfo' => [
'summary' => '获取应用信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1179,73 +657,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102661',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'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' => '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANDROID',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ANDROID'],
],
],
'responses' => [
@@ -1253,29 +696,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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',
@@ -1283,63 +707,25 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16478',
- ],
+ 'Type' => ['description' => '', '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' => '', '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'],
],
],
],
@@ -1353,14 +739,8 @@
],
'DescribeAuditCallback' => [
'summary' => '获取自主审核回调',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1371,9 +751,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102662',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [],
'responses' => [
@@ -1381,27 +759,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'CryptType' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'SHA256',
- ],
- 'Seed' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf',
- ],
- 'Callback' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://gatewaysit.jrdaimao.com/dw-hercules-center/smartApi/callBack/voiceReview',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'CryptType' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => 'SHA256'],
+ 'Seed' => ['description' => '', 'type' => 'string', 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf'],
+ 'Callback' => ['description' => '', 'type' => 'string', 'example' => 'https://gatewaysit.jrdaimao.com/dw-hercules-center/smartApi/callBack/voiceReview'],
],
],
],
@@ -1410,14 +771,8 @@
],
'DescribeAuditContent' => [
'summary' => '自助审核列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1429,193 +784,98 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102664',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '14.145.***.79',
- ],
+ 'schema' => ['description' => '', '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' => '', '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' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pass',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'img5owu4zBQk*****6UZHP5t5-1yR@3j',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'img5owu4zBQk*****6UZHP5t5-1yR@3j'],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5cb170f7689247e6a58b156b4fbc8476',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -1623,29 +883,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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',
@@ -1653,73 +894,19 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'block',
- ],
- 'Url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://www.xxx.com/xxx.jpg',
- ],
- 'DataId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5cb170f7689247e6a58b156b4fbc8476',
- ],
- 'BizType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'recommend_social_template_01',
- ],
- 'NewUrl' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'img5VB@6A****5HNUkpBXyoy-1zvats',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Thumbnail' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://www.xxx.com/xxx.jpg'."\n",
- ],
- 'Audit' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '22136',
- ],
- 'RequestTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1710293064524',
- ],
+ 'Suggestion' => ['description' => '', 'type' => 'string', 'example' => 'block'],
+ 'Url' => ['description' => '', 'type' => 'string', 'example' => 'https://www.xxx.com/xxx.jpg'],
+ 'DataId' => ['description' => '', 'type' => 'string', 'example' => '5cb170f7689247e6a58b156b4fbc8476'],
+ 'BizType' => ['description' => '', 'type' => 'string', 'example' => 'recommend_social_template_01'],
+ 'NewUrl' => ['description' => '', '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' => '', 'type' => 'string', 'example' => 'img5VB@6A****5HNUkpBXyoy-1zvats'],
+ 'Content' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'Thumbnail' => ['description' => '', 'type' => 'string', 'example' => 'https://www.xxx.com/xxx.jpg'."\n"],
+ 'Audit' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '22136'],
+ 'RequestTime' => ['description' => '', 'type' => 'string', 'example' => '1710293064524'],
'Results' => [
'description' => '',
'type' => 'array',
@@ -1727,21 +914,9 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'block',
- ],
- 'Label' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'bloody',
- ],
- 'Scene' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'political',
- ],
+ 'Suggestion' => ['description' => '', 'type' => 'string', 'example' => 'block'],
+ 'Label' => ['description' => '', 'type' => 'string', 'example' => 'bloody'],
+ 'Scene' => ['description' => '', 'type' => 'string', 'example' => 'political'],
],
],
],
@@ -1752,33 +927,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\\"]'],
],
],
],
@@ -1791,14 +949,8 @@
],
'DescribeAuditContentItem' => [
'summary' => '获取自助审核内容',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1809,83 +961,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102665',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123.124.142.194',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '123.124.142.194'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxx-xxx'."\n",
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'xxxx-xxx'."\n"],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'image'],
],
],
'responses' => [
@@ -1893,29 +1005,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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',
@@ -1923,62 +1016,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' => '',
- 'type' => 'string',
- 'example' => 'block',
- ],
- 'Sn' => [
- 'description' => 'sn。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ParentTaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'P_L28N43',
- ],
- 'AuditResult' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'Audit' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2244',
- ],
+ 'EndTime' => ['description' => '', 'type' => 'string', 'example' => '2025-09-26T02:17:00Z'],
+ 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '2025-10-11 10:01:47'],
+ 'Suggestion' => ['description' => '', 'type' => 'string', 'example' => 'block'],
+ 'Sn' => ['description' => 'sn。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ParentTaskId' => ['description' => '', 'type' => 'string', 'example' => 'P_L28N43'],
+ 'AuditResult' => ['description' => '', 'type' => 'string', 'example' => 'normal'],
+ 'Audit' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Content' => ['description' => '', 'type' => 'string', 'example' => 'xxxx'],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2244'],
'AuditIllegalReasons' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'terrorism',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'terrorism'],
],
],
],
@@ -1991,14 +1041,8 @@
],
'DescribeAuditRange' => [
'summary' => '获取自助审核范围',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2009,9 +1053,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102666',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [],
'responses' => [
@@ -2019,27 +1061,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'AuditRange' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'pass' => [
- 'description' => '',
- 'type' => 'boolean',
- ],
- 'block' => [
- 'description' => '',
- 'type' => 'boolean',
- ],
- 'review' => [
- 'description' => '',
- 'type' => 'boolean',
- ],
+ 'pass' => ['description' => '', 'type' => 'boolean'],
+ 'block' => ['description' => '', 'type' => 'boolean'],
+ 'review' => ['description' => '', 'type' => 'boolean'],
],
],
],
@@ -2050,14 +1079,8 @@
],
'DescribeAuditSetting' => [
'summary' => '获取自助审核设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2068,30 +1091,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102667',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -2099,37 +1110,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Seed' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'aaaabbbbccccdddd',
- ],
- 'Callback' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://xxx.com/xxx',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Seed' => ['description' => '', 'type' => 'string', 'example' => 'aaaabbbbccccdddd'],
+ 'Callback' => ['description' => '', 'type' => 'string', 'example' => 'http://xxx.com/xxx'],
'AuditRange' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'pass' => [
- 'description' => '',
- 'type' => 'boolean',
- ],
- 'block' => [
- 'description' => '',
- 'type' => 'boolean',
- ],
- 'review' => [
- 'description' => '',
- 'type' => 'boolean',
- ],
+ 'pass' => ['description' => '', 'type' => 'boolean'],
+ 'block' => ['description' => '', 'type' => 'boolean'],
+ 'review' => ['description' => '', 'type' => 'boolean'],
],
],
],
@@ -2140,14 +1130,8 @@
],
'DescribeBizTypeSetting' => [
'summary' => '查询业务场景机审标准',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2158,30 +1142,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' => [
@@ -2189,11 +1161,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Terrorism' => [
'description' => '',
'type' => 'object',
@@ -2201,11 +1169,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2216,11 +1180,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2231,11 +1191,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2246,11 +1202,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2261,11 +1213,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2277,14 +1225,8 @@
],
'DescribeBizTypes' => [
'summary' => '获取业务场景',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2295,20 +1237,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102671',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'ImportFlag',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -2316,25 +1251,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'BizTypeList' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'default'],
],
],
],
@@ -2344,14 +1266,8 @@
],
'DescribeCloudMonitorServices' => [
'summary' => '获取并发检测服务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2362,40 +1278,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102678',
- 'abilityTreeNodes' => [
- 'FEATURElvwangQ4BOUA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangQ4BOUA'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59.82.***.165',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '59.82.***.165'],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -2403,25 +1302,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Items' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -2431,14 +1317,8 @@
],
'DescribeCustomOcrTemplate' => [
'summary' => '查询用户OCR模板',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2449,20 +1329,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102679',
- 'abilityTreeNodes' => [
- 'FEATURElvwang82NHPF',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang82NHPF'],
],
'parameters' => [
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["1605"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["1605"]'],
],
],
'responses' => [
@@ -2470,17 +1343,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '24',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '24'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'OcrTemplateList' => [
'description' => '',
'type' => 'array',
@@ -2488,28 +1352,10 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1750',
- ],
+ 'Status' => ['description' => '', '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' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1750'],
'ReferArea' => [
'description' => '',
'type' => 'array',
@@ -2517,35 +1363,11 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Y' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'Y' => ['description' => '', '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' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
@@ -2556,35 +1378,11 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Y' => [
- 'description' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '55',
- ],
+ 'Y' => ['description' => '', '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' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '55'],
],
],
],
@@ -2599,14 +1397,8 @@
],
'DescribeImageFromLib' => [
'summary' => '库维度图片列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2617,106 +1409,53 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102680',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '114.84.0.***',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '13776',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '13776'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1791',
- ],
+ 'schema' => ['description' => '', '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' => '', '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' => '', 'type' => 'string', 'required' => false, 'example' => '2023-11-18 10:21:32 +0800'],
],
[
'name' => 'ModelId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '21981',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '21981'],
],
],
'responses' => [
@@ -2724,29 +1463,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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',
@@ -2754,39 +1474,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' => '',
- 'type' => 'string',
- 'example' => 'https://xxxx.png',
- ],
- 'Id' => [
- 'description' => '',
- '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' => '', 'type' => 'string', 'example' => '2022-11-04 16:09:51 +0800'],
+ 'VideoHitCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '11'],
+ 'Thumbnail' => ['description' => '', 'type' => 'string', 'example' => 'https://xxxx.png'],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1697'],
],
],
],
@@ -2798,14 +1491,8 @@
],
'DescribeImageLib' => [
'summary' => '查找图库列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2816,30 +1503,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102681',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ServiceModule',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'open_api',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'open_api'],
],
],
'responses' => [
@@ -2847,82 +1522,27 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'],
'ImageLibList' => [
'description' => '',
'type' => 'array',
'items' => [
'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' => '1912312312',
- ],
- 'Category' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'BLACK',
- ],
- 'ServiceModule' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'open_api',
- ],
- 'Source' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'MANUAL',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Scene' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'PORN',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1279',
- ],
- 'Enable' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ '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' => '1912312312'],
+ 'Category' => ['description' => '', 'type' => 'string', 'example' => 'BLACK'],
+ 'ServiceModule' => ['description' => '', 'type' => 'string', 'example' => 'open_api'],
+ 'Source' => ['description' => '', 'type' => 'string', 'example' => 'MANUAL'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Scene' => ['description' => '', 'type' => 'string', 'example' => 'PORN'],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1279'],
+ 'Enable' => ['description' => '', 'type' => 'string', 'example' => 'true'],
'BizTypes' => [
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[1,2,3]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[1,2,3]'],
],
],
],
@@ -2939,14 +1559,8 @@
],
'DescribeImageUploadInfo' => [
'summary' => '获取图片上传设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2957,20 +1571,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102682',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59.82.****.165',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '59.82.****.165'],
],
],
'responses' => [
@@ -2978,42 +1585,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Signature' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
- ],
- 'Host' => [
- 'description' => 'OSS Endpoint。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Policy' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Accessid' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Folder' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'image/upload/xxx'."\n",
- ],
- 'Expire' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '900',
- ],
+ 'Signature' => ['description' => '', 'type' => 'string', 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw='],
+ 'Host' => ['description' => 'OSS Endpoint。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Policy' => ['description' => '', 'type' => 'string', 'example' => 'xxxx'],
+ 'Accessid' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'Folder' => ['description' => '', 'type' => 'string', 'example' => 'image/upload/xxx'."\n"],
+ 'Expire' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '900'],
],
],
],
@@ -3022,98 +1600,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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '113.109.***.132',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '22220',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3121,29 +1650,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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',
@@ -3151,28 +1661,10 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'HitCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Keyword' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Id' => [
- 'description' => '',
- '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' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '211'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2023-10-25 15:58:07 +0800'],
],
],
],
@@ -3184,14 +1676,8 @@
],
'DescribeKeywordLib' => [
'summary' => '查询文本库列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3202,40 +1688,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102684',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '58.***.97.190',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'open_api',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'open_api'],
],
],
'responses' => [
@@ -3243,17 +1712,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'KeywordLibList' => [
'description' => '',
'type' => 'array',
@@ -3261,81 +1721,23 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Source' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'BLACK',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'ServiceModule' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'open_api',
- ],
- 'MatchMode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'precise',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '21732',
- ],
- 'Enable' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Source' => ['description' => '', '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' => '', 'type' => 'string', 'example' => 'BLACK'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'ServiceModule' => ['description' => '', 'type' => 'string', 'example' => 'open_api'],
+ 'MatchMode' => ['description' => '', 'type' => 'string', 'example' => 'precise'],
+ 'Id' => ['description' => '', '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\\"]'],
],
],
],
@@ -3348,14 +1750,8 @@
],
'DescribeNotificationSetting' => [
'summary' => '查询站点检测消息通知设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3366,30 +1762,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102685',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '59.82.****.165',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3397,50 +1781,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ScheduleMessageTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'Email' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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"]'],
],
],
],
@@ -3450,14 +1804,8 @@
],
'DescribeOpenApiRcpStats' => [
'summary' => '人审数据统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3468,50 +1816,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' => '', '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' => '', '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' => [
@@ -3519,17 +1845,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'StatList' => [
'description' => '',
'type' => 'array',
@@ -3537,46 +1854,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' => '', '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'],
],
],
],
@@ -3588,14 +1872,8 @@
],
'DescribeOpenApiUsage' => [
'summary' => '机审数据统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3606,57 +1884,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102689',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.***.210.253',
- ],
+ 'schema' => ['description' => '', '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' => '', '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' => '', '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' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -3664,17 +1918,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '364',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '364'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'OpenApiUsageList' => [
'description' => '',
'type' => 'array',
@@ -3682,81 +1927,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' => '', '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'],
],
],
],
@@ -3768,14 +1951,8 @@
],
'DescribeOssCallbackSetting' => [
'summary' => '获取oss消息通知配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3786,9 +1963,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102690',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [],
'responses' => [
@@ -3796,46 +1971,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AuditCallback' => [
- 'description' => '',
- 'type' => 'boolean',
- ],
- 'CallbackUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://xxx/callback',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ScanCallback' => [
- 'description' => '',
- 'type' => 'boolean',
- ],
- 'CallbackSeed' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'aaaabbbbccccddd',
- ],
+ 'AuditCallback' => ['description' => '', 'type' => 'boolean'],
+ 'CallbackUrl' => ['description' => '', 'type' => 'string', 'example' => 'http://xxx/callback'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ScanCallback' => ['description' => '', 'type' => 'boolean'],
+ 'CallbackSeed' => ['description' => '', 'type' => 'string', 'example' => 'aaaabbbbccccddd'],
'ScanCallbackSuggestions' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'block',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'block'],
],
'ServiceModules' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss_inc_scan',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss_inc_scan'],
],
],
],
@@ -3845,14 +1994,8 @@
],
'DescribeOssIncrementOverview' => [
'summary' => '获取oss增量检测概况',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3863,30 +2006,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102692',
- 'abilityTreeNodes' => [
- 'FEATURElvwangSIW14U',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangSIW14U'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
@@ -3894,65 +2025,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'VideoCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'AdUnhandleCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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'],
],
],
],
@@ -3961,14 +2043,8 @@
],
'DescribeOssIncrementCheckSetting' => [
'summary' => 'OSS增量扫描设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3979,30 +2055,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102691',
- 'abilityTreeNodes' => [
- 'FEATURElvwang82NHPF',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang82NHPF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '218.17.***.226',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -4010,210 +2074,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' => '',
- 'type' => 'string',
- 'example' => '1664',
- ],
- 'ScanImageNoFileType' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AutoFreezeType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'acl',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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' => '', 'type' => 'string', 'example' => '1664'],
+ 'ScanImageNoFileType' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'AutoFreezeType' => ['description' => '', 'type' => 'string', 'example' => 'acl'],
+ 'RequestId' => ['description' => '', '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',
@@ -4225,11 +2150,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4240,11 +2161,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4255,11 +2172,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4270,11 +2183,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4291,11 +2200,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4306,11 +2211,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4321,11 +2222,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4336,11 +2233,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -4357,166 +2250,85 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
],
],
- 'IncludeChannel' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'false',
- ],
+ 'IncludeChannel' => ['description' => '', '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' => [
@@ -4526,29 +2338,13 @@
'description' => '',
'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_"]'],
],
],
],
@@ -4561,14 +2357,8 @@
],
'DescribeOssIncrementStats' => [
'summary' => 'Oss增量扫描数据统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4579,70 +2369,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102693',
- 'abilityTreeNodes' => [
- 'FEATURElvwangSIW14U',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangSIW14U'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '58.17.***.197',
- ],
+ 'schema' => ['description' => '', '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' => '', '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' => '', 'type' => 'string', 'required' => true, 'example' => '2023-07-27 10:13:00 +0800'],
],
],
'responses' => [
@@ -4650,17 +2408,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'StatList' => [
'description' => '',
'type' => 'array',
@@ -4668,45 +2417,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' => '', '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'],
],
],
],
@@ -4718,14 +2435,8 @@
],
'DescribeOssResultItems' => [
'summary' => 'Oss扫描结果查询',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4736,186 +2447,93 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102694',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '', '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' => '', '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' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '123'],
],
[
'name' => 'QueryId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '@guid ',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '@guid '],
],
[
'name' => 'Object',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'post/image/eae1722368b6951ac05cfb68b1cdeb03.jpg',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'post/image/eae1722368b6951ac05cfb68b1cdeb03.jpg'],
],
[
'name' => 'StockTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3482',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3482'],
],
],
'responses' => [
@@ -4923,140 +2541,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'QueryId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '@guid '."\n",
- ],
+ 'CurrentPage' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'QueryId' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'example' => '90.9 ',
- ],
- 'DataId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4faded38970c41628f7dced832072af8',
- ],
- 'Object' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Thumbnail' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://example.com/tfs/TB1HPS9qb9YBuNjy0FgXXcxcXXa-200-200.png ',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1739',
- ],
- 'ResourceStatus' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'RequestTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1527410977000',
- ],
- 'Bucket' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'uc-image ',
- ],
+ 'Suggestion' => ['description' => '', 'type' => 'string', 'example' => 'pass'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '1527410977000'],
+ 'Score' => ['description' => '', 'type' => 'string', 'example' => '90.9 '],
+ 'DataId' => ['description' => '', 'type' => 'string', 'example' => '4faded38970c41628f7dced832072af8'],
+ 'Object' => ['description' => '', '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' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'Thumbnail' => ['description' => '', 'type' => 'string', 'example' => 'https://example.com/tfs/TB1HPS9qb9YBuNjy0FgXXcxcXXa-200-200.png '],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1739'],
+ 'ResourceStatus' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'RequestTime' => ['description' => '', 'type' => 'string', 'example' => '1527410977000'],
+ 'Bucket' => ['description' => '', '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 '],
],
],
],
@@ -5066,28 +2585,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'],
],
],
],
@@ -5102,14 +2603,8 @@
],
'DescribeOssStockStatus' => [
'summary' => '获取oss存量检测状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5120,41 +2615,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102698',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '124.74.***.90',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1664',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1664'],
],
],
'responses' => [
@@ -5162,117 +2639,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' => '',
- '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' => '', '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'],
'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' => '',
@@ -5281,24 +2672,12 @@
'description' => '',
'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"],
],
],
],
@@ -5311,14 +2690,8 @@
],
'DescribeUploadInfo' => [
'summary' => '文本库上传信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5329,40 +2702,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102703',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '111.207.***.245',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -5370,42 +2726,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Signature' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
- ],
- 'Host' => [
- 'description' => 'OSS Endpoint。',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Policy' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Accessid' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Folder' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'image/upload/xxx'."\n",
- ],
- 'Expire' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '900',
- ],
+ 'Signature' => ['description' => '', 'type' => 'string', 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw='],
+ 'Host' => ['description' => 'OSS Endpoint。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Policy' => ['description' => '', 'type' => 'string', 'example' => 'xxxx'],
+ 'Accessid' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'Folder' => ['description' => '', 'type' => 'string', 'example' => 'image/upload/xxx'."\n"],
+ 'Expire' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '900'],
],
],
],
@@ -5414,77 +2741,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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'overall',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -5492,29 +2781,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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',
@@ -5522,55 +2792,15 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Day' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2021-04-01',
- ],
- 'SubUid' => [
- 'description' => '',
- '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' => '', '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'],
],
],
],
@@ -5582,14 +2812,8 @@
],
'DescribeUserBizTypes' => [
'summary' => '获取用户业务场景',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5600,20 +2824,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102705',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'Customized',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -5621,52 +2838,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', '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' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SourceBizType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Gray' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Source' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- 'BizType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'IndustryInfo' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Description' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'CiteTemplate' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
+ 'SourceBizType' => ['description' => '', 'type' => 'string', 'example' => 'default'],
+ 'Gray' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
+ 'Source' => ['description' => '', 'type' => 'string', 'example' => 'custom'],
+ 'BizType' => ['description' => '', 'type' => 'string', 'example' => 'default'],
],
],
],
@@ -5676,41 +2861,13 @@
'items' => [
'type' => 'object',
'properties' => [
- 'IndustryInfo' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'CiteTemplate' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SourceBizType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Gray' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Source' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- 'BizType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'default',
- ],
+ 'IndustryInfo' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Description' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'CiteTemplate' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
+ 'SourceBizType' => ['description' => '', 'type' => 'string', 'example' => 'default'],
+ 'Gray' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
+ 'Source' => ['description' => '', 'type' => 'string', 'example' => 'custom'],
+ 'BizType' => ['description' => '', 'type' => 'string', 'example' => 'default'],
],
],
],
@@ -5722,14 +2879,8 @@
],
'DescribeUserStatus' => [
'summary' => '获取用户状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5740,30 +2891,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102707',
- 'abilityTreeNodes' => [
- 'FEATURElvwangR199F8',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangR199F8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '114.***.42.109',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -5771,53 +2910,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'OssVideoSizeLimit' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'OssCheckStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '17726*****370735',
- ],
- 'AgreeChannel' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'OssVideoSizeLimit' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'OssCheckStatus' => ['description' => '', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '', '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' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '17726*****370735'],
+ 'AgreeChannel' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -5826,14 +2927,8 @@
],
'DescribeViewContent' => [
'summary' => '获取检测结果列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5844,183 +2939,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' => '', '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' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxx-xxx'."\n",
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxxx-xxx'."\n"],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4f3fa36f77174c0985e400c1a02a8f4c',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'KeywordId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '14341124',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -6028,117 +3033,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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' => '',
- 'type' => 'string',
- 'example' => 'https://www.xx.com',
- ],
- 'DataId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'xxx-xx',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Thumbnail' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://xxx.png',
- ],
- 'Id' => [
- 'description' => '',
- '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' => '', 'type' => 'string', 'example' => 'https://www.xx.com'],
+ 'DataId' => ['description' => '', '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' => '', 'type' => 'string', 'example' => 'xxx-xx'],
+ 'Content' => ['description' => '', 'type' => 'string', 'example' => 'xx'],
+ 'Thumbnail' => ['description' => '', 'type' => 'string', 'example' => 'https://xxx.png'],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '3744'],
+ 'RequestTime' => ['description' => '', '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'],
],
],
],
@@ -6148,22 +3073,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'],
],
],
],
@@ -6173,242 +3085,105 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Bualified' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Bualified' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
'Location' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Y' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'W' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'H' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'X' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
+ 'Y' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'W' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '22'],
+ 'H' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '33'],
+ 'X' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '44'],
],
],
'Gender' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'female',
- ],
- 'Rate' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.01',
- ],
+ 'Value' => ['description' => '', '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'],
],
],
],
@@ -6425,14 +3200,8 @@
],
'DescribeWebsiteIndexPageBaseline' => [
'summary' => '获取站点首页基线',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6443,40 +3212,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102709',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -6484,26 +3236,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'BaseLineStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', 'type' => 'string', 'example' => 'normal'],
+ 'RequestId' => ['description' => '', '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'],
],
],
],
@@ -6512,14 +3248,8 @@
],
'DescribeWebsiteInstance' => [
'summary' => '查询站点检测实例',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6530,73 +3260,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102710',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.63.***.131',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -6604,82 +3299,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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' => '',
- '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' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
- 'IndexPageScanInterval' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Status' => ['description' => '', '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' => '', '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' => '', 'type' => 'string', 'example' => 'cdisitecheck-cn-nif20glmz001'],
+ 'IndexPageScanInterval' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -6691,14 +3329,8 @@
],
'DescribeWebsiteInstanceId' => [
'summary' => '获取站点实例ID',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6709,30 +3341,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102711',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -6740,25 +3360,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '52',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '52'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'WebsiteInstanceIdList' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'xxxx'],
],
],
],
@@ -6768,14 +3375,8 @@
],
'DescribeWebsiteInstanceKeyUrl' => [
'summary' => '获取站点实例url',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6786,40 +3387,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102712',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -6827,25 +3411,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'WebsiteInstanceKeyUrlList' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -6855,127 +3426,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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***.11.250',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nfnews.com'."\n",
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -6983,98 +3491,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'InstanceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1480',
- ],
+ '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' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'cdisitecheck-cn-nif20glmz001'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'xx'],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1480'],
'Labels' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'sapm',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'sapm'],
],
],
],
@@ -7087,14 +3527,8 @@
],
'DescribeWebsiteStat' => [
'summary' => '获取站点检测状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7105,30 +3539,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102715',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***11.250',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -7136,46 +3558,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '', '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' => '',
- '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' => '', 'type' => 'string', 'example' => 'website_index_page'],
+ 'InstanceCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
@@ -7187,14 +3581,8 @@
],
'DescribeWebsiteVerifyInfo' => [
'summary' => '获取网站验证信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7205,40 +3593,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102716',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -7246,41 +3617,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Domain' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nfnews.com',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'ack',
- ],
- 'HostFile' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'Domain' => ['description' => '', 'type' => 'string', 'example' => 'nfnews.com'],
+ 'RequestId' => ['description' => '', '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' => '', 'type' => 'string', 'example' => 'ack'],
+ 'HostFile' => ['description' => '', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -7289,13 +3632,8 @@
],
'ExportKeywords' => [
'summary' => '导出关键词',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7306,21 +3644,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102717',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'KeywordLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => 'xx'],
],
],
'responses' => [
@@ -7328,16 +3658,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://xxx.xlsx',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'DownloadUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://xxx.xlsx'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7346,14 +3668,8 @@
],
'ExportOpenApiRcpStats' => [
'summary' => '导出OpenAPI调用统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7364,50 +3680,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' => '', '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' => '', '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' => [
@@ -7415,16 +3709,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://xxx.xlsx',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'DownloadUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://xxx.xlsx'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -7433,14 +3719,8 @@
],
'ExportOssResult' => [
'summary' => '导出Oss扫描结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7451,167 +3731,83 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102720',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYI9A19',
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYI9A19', 'FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '115.231.***.52',
- ],
+ 'schema' => ['description' => '', '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' => '', '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' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gj-bucket1',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'gj-bucket1'],
],
[
'name' => 'StockTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3751',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3751'],
],
],
'responses' => [
@@ -7619,16 +3815,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'FileUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://xxx.xlsx'."\n",
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'FileUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://xxx.xlsx'."\n"],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7637,13 +3825,8 @@
],
'ImportKeywords' => [
'summary' => '导入关键词',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7655,31 +3838,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102721',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'KeywordLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '9543',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '9543'],
],
[
'name' => 'KeywordsObject',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'x/custom_text_lib/59-b42f-9ad473aefceb',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'x/custom_text_lib/59-b42f-9ad473aefceb'],
],
],
'responses' => [
@@ -7687,34 +3857,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SuccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '318',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'SuccessCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '318'],
+ 'RequestId' => ['description' => '', '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' => '[]'],
],
],
],
@@ -7724,14 +3877,8 @@
],
'MarkAuditContent' => [
'summary' => '自助审核结果打标记',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7743,60 +3890,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102722',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '27.189.***.27'],
],
[
'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[9230817]',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -7804,11 +3924,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7817,14 +3933,8 @@
],
'MarkOssResult' => [
'summary' => '标记oss检测结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7836,80 +3946,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102724',
- 'abilityTreeNodes' => [
- 'FEATURElvwangSIW14U',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangSIW14U'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.159.***.138',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[66657226873]',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -7917,11 +3990,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7930,14 +3999,8 @@
],
'UpdateAuditCallback' => [
'summary' => '更新人审回调通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7948,41 +4011,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102736',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI5RAMY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI5RAMY'],
],
'parameters' => [
[
'name' => 'Seed',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aaaabbbbccccdddd',
- ],
+ 'schema' => ['description' => '', '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' => 'SHA256'],
],
],
'responses' => [
@@ -7990,11 +4035,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8003,14 +4044,8 @@
],
'UpdateAuditRange' => [
'summary' => '更新人审范围',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8021,20 +4056,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' => [
@@ -8042,11 +4070,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8059,14 +4083,8 @@
],
'UpdateBizTypeImageLib' => [
'summary' => '自定义场景保存关联图库配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8077,70 +4095,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' => [
@@ -8149,11 +4135,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8162,14 +4144,8 @@
],
'UpdateBizTypeSetting' => [
'summary' => '修改业务场景机审标准',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8180,80 +4156,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' => [
@@ -8261,11 +4200,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8274,14 +4209,8 @@
],
'UpdateBizTypeTextLib' => [
'summary' => '修改业务场景关联文本库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8292,80 +4221,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' => [
@@ -8373,11 +4265,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8390,14 +4278,8 @@
],
'UpdateCustomOcrTemplate' => [
'summary' => '编辑ocr模板',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8408,51 +4290,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102747',
- 'abilityTreeNodes' => [
- 'FEATURElvwangG3RW9T',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangG3RW9T'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1791',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -8460,11 +4319,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8473,14 +4328,8 @@
],
'UpdateImageLib' => [
'summary' => '编辑图库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8492,81 +4341,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102748',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.139.***.244',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '117.139.***.244'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '15111',
- ],
+ 'schema' => ['description' => '', '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' => '',
- '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' => '[\\"chenyin\\"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[\\"chenyin\\"]'],
],
[
'name' => 'Enable',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -8574,11 +4385,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8587,14 +4394,8 @@
],
'UpdateKeywordLib' => [
'summary' => '编辑词库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8605,81 +4406,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102749',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ7UK4W',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ7UK4W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36.249.***.181',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '18135',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -8687,11 +4450,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8700,14 +4459,8 @@
],
'UpdateNotificationSetting' => [
'summary' => '修改站点检测通知设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8718,72 +4471,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102750',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27.189.***.27',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -8791,11 +4510,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'E20A0DC5-1B4F-5796-BAB5-73F29B67CEDC',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'E20A0DC5-1B4F-5796-BAB5-73F29B67CEDC'],
],
],
],
@@ -8804,14 +4519,8 @@
],
'UpdateOssIncrementCheckSetting' => [
'summary' => '更新增量扫描配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8822,336 +4531,168 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102753',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '115.199.***.250',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"type\\":\\"include\\",\\"bucket\\":\\"flychat\\",\\"selected\\":true,\\"prefixes\\":[\\"test\\"],\\"id\\":0}]',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1755',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -9159,11 +4700,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9172,14 +4709,8 @@
],
'UpdateWebsiteInstance' => [
'summary' => '更新实例',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9190,92 +4721,48 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102757',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.159.***.138',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'https'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -9283,11 +4770,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9296,14 +4779,8 @@
],
'UpdateWebsiteInstanceKeyUrl' => [
'summary' => '更新网站实例url',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9314,50 +4791,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102758',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '140.***11.250',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cdisitecheck-cn-nif20glmz001'],
],
],
'responses' => [
@@ -9365,11 +4820,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9378,14 +4829,8 @@
],
'UpdateWebsiteInstanceStatus' => [
'summary' => '更新实例状态,即解绑定,停止、运行等状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9396,50 +4841,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102759',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '183.159.***.138',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -9447,11 +4870,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9460,14 +4879,8 @@
],
'UploadImageToLib' => [
'summary' => '上传图片到图库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9480,51 +4893,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102761',
- 'abilityTreeNodes' => [
- 'FEATURElvwangW38OQI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangW38OQI'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '111.207.**.245',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '111.207.**.245'],
],
[
'name' => 'ImageLibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '13776',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -9532,11 +4922,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9545,14 +4931,8 @@
],
'VerifyCustomOcrTemplate' => [
'summary' => 'ocr模板测试',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9564,31 +4944,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102762',
- 'abilityTreeNodes' => [
- 'FEATURElvwangG3RW9T',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangG3RW9T'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '969',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '969'],
],
[
'name' => 'TestImgUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'xx'],
],
],
'responses' => [
@@ -9596,21 +4963,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'RecognizeInfo' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'RecognizeInfo' => ['description' => '', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => '', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -9619,14 +4974,8 @@
],
'VerifyWebsiteInstance' => [
'summary' => '验证域名所有权',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9638,50 +4987,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102765',
- 'abilityTreeNodes' => [
- 'FEATURElvwangRX5925',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangRX5925'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36.249.***.181',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdisitecheck-cn-nif20glmz001',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -9689,11 +5016,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9702,14 +5025,8 @@
],
'DescribeBizTypeImageLib' => [
'summary' => '自定义场景关联图库列表查询',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9720,40 +5037,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' => [
@@ -9762,11 +5062,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Black' => [
'description' => '',
'type' => 'object',
@@ -9778,16 +5074,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '324317',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Code' => ['description' => '', 'type' => 'string', 'example' => '324317'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -9798,16 +5086,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '324317',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Code' => ['description' => '', 'type' => 'string', 'example' => '324317'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -9824,16 +5104,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3243177',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Code' => ['description' => '', 'type' => 'string', 'example' => '3243177'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -9844,16 +5116,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3243177',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Code' => ['description' => '', 'type' => 'string', 'example' => '3243177'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -9870,16 +5134,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5123',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Code' => ['description' => '', 'type' => 'string', 'example' => '5123'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -9890,16 +5146,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '5123',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'Code' => ['description' => '', 'type' => 'string', 'example' => '5123'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -9913,14 +5161,8 @@
],
'DescribeBizTypeTextLib' => [
'summary' => '业务场景关联文本库',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9931,40 +5173,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' => [
@@ -9972,11 +5197,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Black' => [
'description' => '',
'type' => 'object',
@@ -9988,16 +5209,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' => ''],
],
],
],
@@ -10008,16 +5221,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' => ''],
],
],
],
@@ -10034,16 +5239,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' => ''],
],
],
],
@@ -10054,16 +5251,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' => ''],
],
],
],
@@ -10080,16 +5269,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' => ''],
],
],
],
@@ -10100,16 +5281,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' => ''],
],
],
],
@@ -10126,16 +5299,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' => ''],
],
],
],
@@ -10146,16 +5311,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' => ''],
],
],
],
@@ -10169,14 +5326,8 @@
],
'UpdateBizType' => [
'summary' => '编辑业务场景信息',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10187,30 +5338,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' => [
@@ -10218,11 +5357,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10231,14 +5366,8 @@
],
'CreateAuditCallback' => [
'summary' => '创建自助审核消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10249,40 +5378,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' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://console.aliyun.com/',
- ],
+ 'schema' => ['description' => '', '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',
@@ -10291,22 +5403,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' => [
@@ -10314,64 +5418,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifiedTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-09-14 19:09:44',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'CryptType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '969',
- ],
+ 'ModifiedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-09-14 19:09:44'],
+ 'RequestId' => ['description' => '', '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' => '', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'CryptType' => ['description' => '', 'type' => 'string', 'example' => 'SHA256'],
+ 'Id' => ['description' => '', '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"]'],
],
],
],
@@ -10381,14 +5444,8 @@
],
'DescribeAuditCallbackList' => [
'summary' => '获取人审消息通知列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10399,9 +5456,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102663',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [],
'responses' => [
@@ -10409,17 +5464,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'CallbackList' => [
'description' => '',
'type' => 'array',
@@ -10427,59 +5473,22 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'ModifiedTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-06-27 15:19:50 +0800',
- ],
- 'Seed' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cb78DMIGhiAcA6ouvVC5wiU0-1yqXjT',
- ],
- 'CreateTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-06-27 15:19:50 +0800',
- ],
- 'Url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://www.test123.com',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'green-test',
- ],
- 'CryptType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '233',
- ],
+ 'ModifiedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-27 15:19:50 +0800'],
+ 'Seed' => ['description' => '', 'type' => 'string', 'example' => 'cb78DMIGhiAcA6ouvVC5wiU0-1yqXjT'],
+ 'CreateTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-27 15:19:50 +0800'],
+ 'Url' => ['description' => '', 'type' => 'string', 'example' => 'https://www.test123.com'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'green-test'],
+ 'CryptType' => ['description' => '', 'type' => 'string', 'example' => 'SHA256'],
+ 'Id' => ['description' => '', '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\\"]'],
],
],
],
@@ -10492,14 +5501,8 @@
],
'CreateCallback' => [
'summary' => '创建消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10510,62 +5513,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102642',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => ''],
],
[
'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' => [
@@ -10573,65 +5548,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' => '',
- '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' => '',
- ],
- 'CryptType' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1791',
- ],
+ 'CallbackUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://yundun.console.aliyun.com/'],
+ 'ModifiedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-09-14 19:09:44'],
+ 'RequestId' => ['description' => '', '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' => ''],
+ 'CryptType' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => 'SHA256'],
+ 'Id' => ['description' => '', '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"]'],
],
],
],
@@ -10641,14 +5574,8 @@
],
'CreateOssStockTask' => [
'summary' => '创建存量扫描任务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10659,350 +5586,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' => '', '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' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1764',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -11010,15 +5760,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Id' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Id' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -11027,14 +5770,8 @@
],
'DeleteAuditCallback' => [
'summary' => '删除自助审核消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11045,20 +5782,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' => [
@@ -11066,16 +5796,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -11084,14 +5806,8 @@
],
'DeleteCallback' => [
'summary' => '删除消息通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11102,21 +5818,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102653',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1666',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1666'],
],
],
'responses' => [
@@ -11124,11 +5832,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -11137,14 +5841,8 @@
],
'DescribeBizTypeAuditRange' => [
'summary' => '流入自助审核的数据类型',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11155,20 +5853,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' => [
@@ -11176,19 +5867,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'AuditRange' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'normal',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'normal'],
],
],
],
@@ -11198,14 +5881,8 @@
],
'DescribeBizTypeResultBackupSetting' => [
'summary' => '获取证据转存设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11216,20 +5893,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' => [
@@ -11237,105 +5907,38 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', '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' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => '',
- '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' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => '', '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' => '',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bucket' => [
- 'description' => '',
- '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' => '', 'type' => 'boolean', 'example' => 'False'],
+ 'Bucket' => ['description' => '', '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' => '',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bucket' => [
- 'description' => '',
- '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' => '', 'type' => 'boolean', 'example' => 'False'],
+ 'Bucket' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -11346,14 +5949,8 @@
],
'DescribeCallbackBind' => [
'summary' => '获取消息通知配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11364,20 +5961,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' => [
@@ -11385,16 +5975,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11403,14 +5985,8 @@
],
'DescribeCallbackList' => [
'summary' => '获取消息通知列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11421,9 +5997,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102677',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [],
'responses' => [
@@ -11431,17 +6005,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '13',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '13'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'CallbackList' => [
'description' => '',
'type' => 'array',
@@ -11449,60 +6014,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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15212',
- ],
+ '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' => '', '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"]'],
],
],
],
@@ -11515,14 +6042,8 @@
],
'DescribeOpenApiMonitorAlarmSetting' => [
'summary' => '实时监控报警设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11533,20 +6054,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' => [
@@ -11554,36 +6068,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'QpsAlarmOpend' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'ResourceType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'IMAGE',
- ],
- 'RtAlarmConf' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'RtAlarmOpend' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'QpsAlarmConf' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{}',
- ],
+ 'QpsAlarmOpend' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'ResourceType' => ['description' => '', 'type' => 'string', 'example' => 'IMAGE'],
+ 'RtAlarmConf' => ['description' => '', 'type' => 'string', 'example' => '{}'],
+ 'RtAlarmOpend' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'QpsAlarmConf' => ['description' => '', 'type' => 'string', 'example' => '{}'],
],
],
],
@@ -11592,14 +6082,8 @@
],
'DescribeOpenApiMonitorData' => [
'summary' => '机审实时监控',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11610,70 +6094,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' => '', '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' => '', 'type' => 'string', 'required' => true, 'example' => '2023-12-02 09:59:53 +0800'],
],
],
'responses' => [
@@ -11681,11 +6133,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'RtItemList' => [
'description' => '',
'type' => 'array',
@@ -11693,11 +6141,7 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Scene' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'terrorism',
- ],
+ 'Scene' => ['description' => '', 'type' => 'string', 'example' => 'terrorism'],
'ItemList' => [
'description' => '',
'type' => 'array',
@@ -11705,17 +6149,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'],
],
],
],
@@ -11729,11 +6164,7 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Scene' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'Scene' => ['description' => '', 'type' => 'string', 'example' => 'porn'],
'ItemList' => [
'description' => '',
'type' => 'array',
@@ -11741,17 +6172,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Qps' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Minute' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-13 10:26:00',
- ],
+ 'Qps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Minute' => ['description' => '', 'type' => 'string', 'example' => '2023-07-13 10:26:00'],
],
],
],
@@ -11765,17 +6187,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'],
],
],
],
@@ -11787,14 +6200,8 @@
],
'DescribeOssStockScanTaskStatData' => [
'summary' => 'Oss存量扫描结果数据',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11805,21 +6212,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102696',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3751',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3751'],
],
],
'responses' => [
@@ -11827,411 +6226,137 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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'],
],
],
],
@@ -12242,14 +6367,8 @@
],
'DescribeOssStockScanTasks' => [
'summary' => 'Oss存量扫描任务列表查询',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12260,54 +6379,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' => '', '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' => '', 'type' => 'string', 'required' => false, 'example' => '2023-12-12 10:26:57 +0800'."\n"],
],
],
'responses' => [
@@ -12315,143 +6408,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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' => '',
- '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' => '', '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' => '', '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'],
'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"],
],
],
],
@@ -12459,472 +6453,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'],
],
],
],
@@ -12938,14 +6625,8 @@
],
'DescribeOssStockTaskSetting' => [
'summary' => '获取存量扫描任务配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12956,23 +6637,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102699',
- 'abilityTreeNodes' => [
- 'FEATURElvwangF6WBQ5',
- 'FEATURElvwangD22DKJ',
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangF6WBQ5', 'FEATURElvwangD22DKJ', 'FEATURElvwang1JQ0P7'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3744',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3744'],
],
],
'responses' => [
@@ -12980,320 +6651,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' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AudioOpened' => [
- 'description' => '',
- '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' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ImageAutoFreezeOpened' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'VideoMaxFrames' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'CallbackId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1664',
- ],
- 'ScanImageNoFileType' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AutoFreezeType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'acl',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '', 'type' => 'string', 'example' => '2023-10-21 16:08:38 +0800'."\n"],
+ 'VideoOpened' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'AudioOpened' => ['description' => '', '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' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'ImageAutoFreezeOpened' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'VideoMaxFrames' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'CallbackId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1664'],
+ 'ScanImageNoFileType' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'AutoFreezeType' => ['description' => '', 'type' => 'string', 'example' => 'acl'],
+ 'RequestId' => ['description' => '', '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',
@@ -13305,11 +6784,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13320,11 +6795,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13335,11 +6806,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13350,11 +6817,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13371,11 +6834,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13386,11 +6845,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13401,11 +6856,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13416,11 +6867,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13437,11 +6884,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '[]'],
],
],
],
@@ -13456,29 +6899,13 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'include',
- ],
- 'Selected' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'tctest',
- ],
+ 'Type' => ['description' => '', 'type' => 'string', 'example' => 'include'],
+ 'Selected' => ['description' => '', '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"],
],
],
],
@@ -13491,14 +6918,8 @@
],
'DescribeUserOssBuckets' => [
'summary' => '获取用户oss桶列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13509,9 +6930,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102706',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [],
'responses' => [
@@ -13519,24 +6938,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AuthStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'AuthStatus' => ['description' => '', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => '', '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\\"}]'],
],
],
],
@@ -13546,14 +6953,8 @@
],
'ExportOpenApiUsage' => [
'summary' => '导出openApi调用统计',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13564,47 +6965,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' => '', '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' => '', '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' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -13612,16 +6994,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://xxx.xlsx',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'DownloadUrl' => ['description' => '', 'type' => 'string', 'example' => 'https://xxx.xlsx'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -13630,14 +7004,8 @@
],
'ModifyAuditCallback' => [
'summary' => '修改人审回调通知',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13649,71 +7017,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102726',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '939',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '939'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => ''],
],
[
'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' => [
@@ -13721,64 +7056,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ModifiedTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-10-25 15:59:17 +0800',
- ],
- 'RequestId' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'CryptType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '938',
- ],
+ 'ModifiedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-10-25 15:59:17 +0800'],
+ 'RequestId' => ['description' => '', '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' => '', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'CryptType' => ['description' => '', 'type' => 'string', 'example' => 'SHA256'],
+ 'Id' => ['description' => '', '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"]'],
],
],
],
@@ -13788,14 +7082,8 @@
],
'UpdateBizTypeAuditRange' => [
'summary' => '修改流入自助审核的数据类型',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13806,30 +7094,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' => [
@@ -13837,11 +7113,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -13850,14 +7122,8 @@
],
'UpdateBizTypeResultBackupSetting' => [
'summary' => '修改证据转存设置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13868,50 +7134,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' => [
@@ -13919,11 +7163,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -13932,14 +7172,8 @@
],
'UpdateCallback' => [
'summary' => '更新消息回调',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13950,72 +7184,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102745',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJLHVVH',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJLHVVH'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1384',
- ],
+ 'schema' => ['description' => '', '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' => '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", "pass", "review"]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '["block", "pass", "review"]'],
],
],
'responses' => [
@@ -14023,65 +7223,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' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1180',
- ],
+ 'CallbackUrl' => ['description' => '', 'type' => 'string', 'example' => 'http://xxx/verify/callback'],
+ 'ModifiedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-09-14 19:09:44 +0800'],
+ 'RequestId' => ['description' => '', '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' => '', '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"]'],
],
],
],
@@ -14091,14 +7249,8 @@
],
'UpdateCallbackBind' => [
'summary' => '更新回调设置绑定关系',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14109,30 +7261,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' => [
@@ -14140,11 +7280,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -14153,14 +7289,8 @@
],
'UpdateOssStockTask' => [
'summary' => '更新oss存量任务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14171,31 +7301,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102755',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3527',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -14203,11 +7320,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -14216,14 +7329,8 @@
],
'DescribeOssStockScanUserStatus' => [
'summary' => 'OSS存量扫描用户状态',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14234,9 +7341,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102697',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [],
'responses' => [
@@ -14244,21 +7349,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'hasStockTasks' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'HasBuckets' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'hasStockTasks' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'HasBuckets' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -14267,14 +7360,8 @@
],
'DescribeBizTypeTemplates' => [
'summary' => 'OSS扫描用户可选模板列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14285,9 +7372,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102673',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [],
'responses' => [
@@ -14295,11 +7380,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Templates' => [
'description' => '',
'type' => 'array',
@@ -14307,21 +7388,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',
@@ -14333,11 +7402,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"]'],
],
],
],
@@ -14348,11 +7413,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["porn"]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["porn"]'],
],
],
],
@@ -14363,11 +7424,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"]'],
],
],
],
@@ -14378,11 +7435,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["drug","gamble","sick"]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["drug","gamble","sick"]'],
],
],
],
@@ -14399,11 +7452,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"]'],
],
],
],
@@ -14414,11 +7463,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["porn"]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["porn"]'],
],
],
],
@@ -14429,11 +7474,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"]'],
],
],
],
@@ -14444,11 +7485,7 @@
'Categories' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["drug","gamble","sick"]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["drug","gamble","sick"]'],
],
],
],
@@ -14465,22 +7502,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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'IncludeChannel' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
],
@@ -14492,14 +7520,8 @@
],
'StopOssIncrementCheck' => [
'summary' => '停止增量扫描任务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14511,9 +7533,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102734',
- 'abilityTreeNodes' => [
- 'FEATURElvwangSIW14U',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangSIW14U'],
],
'parameters' => [],
'responses' => [
@@ -14521,11 +7541,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -14534,14 +7550,8 @@
],
'GetAuditItemDetail' => [
'summary' => '机审结果详情',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14553,30 +7563,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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxx-xxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxxx-xxx'],
],
],
'responses' => [
@@ -14584,31 +7582,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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'],
],
],
],
@@ -14617,13 +7595,8 @@
],
'AuditItemSubmit' => [
'summary' => '提交复审结果',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14636,9 +7609,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '118738',
- 'abilityTreeNodes' => [
- 'FEATURElvwangIBEW89',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangIBEW89'],
],
'parameters' => [
[
@@ -14653,25 +7624,9 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '11234',
- ],
- 'CustomResult' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'illegal',
- ],
- 'CustomRiskType' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11234'],
+ 'CustomResult' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'illegal'],
+ 'CustomRiskType' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
'required' => false,
],
@@ -14685,16 +7640,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'E1677098-XXXX-XXXX-XXXX-XX850C31980E',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'E1677098-XXXX-XXXX-XXXX-XX850C31980E'],
+ 'Success' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
],
],
],
@@ -14703,14 +7650,8 @@
],
'GetAuditUserConf' => [
'summary' => '人审等控制台配置信息',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14722,9 +7663,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '118683',
- 'abilityTreeNodes' => [
- 'FEATURElvwangI0EWGR',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangI0EWGR'],
],
'parameters' => [],
'responses' => [
@@ -14732,26 +7671,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'CustomAudit' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'RequestId' => ['description' => '', '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' => '',
],
],
@@ -14760,11 +7687,7 @@
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'description' => '',
- 'example' => '[]',
- ],
+ 'items' => ['type' => 'string', 'description' => '', 'example' => '[]'],
'description' => '',
],
],
@@ -14776,14 +7699,8 @@
],
'GetAuditItemList' => [
'summary' => '人审结果列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14795,132 +7712,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' => '', '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' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4f3fa36f77174c0985e400c1a02a8f4c',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '4f3fa36f77174c0985e400c1a02a8f4c'],
],
],
'responses' => [
@@ -14928,126 +7781,34 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- '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' => '', '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' => '',
- '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' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'DataId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4f3fa36f77174c0985e400c1a02a8f4c',
- ],
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Thumbnail' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'Id' => ['description' => '', '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' => '', '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' => '', 'type' => 'string', 'example' => 'xx'],
+ 'DataId' => ['description' => '', 'type' => 'string', 'example' => '4f3fa36f77174c0985e400c1a02a8f4c'],
+ 'Type' => ['description' => '', 'type' => 'string', 'example' => '0'],
+ 'Content' => ['description' => '', 'type' => 'string', 'example' => 'xx'],
+ 'Url' => ['description' => '', 'type' => 'string', 'example' => 'xx'],
+ 'Thumbnail' => ['description' => '', 'type' => 'string', 'example' => 'xx'],
],
],
],
@@ -15059,14 +7820,8 @@
],
'DescribeOssConfiguration' => [
'summary' => 'Get OSS Detection Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15079,9 +7834,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '200286',
- 'abilityTreeNodes' => [
- 'FEATURElvwang1JQ0P7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang1JQ0P7'],
],
'parameters' => [],
'responses' => [
@@ -15091,31 +7844,14 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Return code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Code' => ['description' => 'Return code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
'Data' => [
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'InvalidTaskIds' => [
- 'description' => 'Invalid task IDs',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'InvalidTaskIds' => ['description' => 'Invalid task IDs', 'type' => 'string', 'example' => 'xxx'],
'ValidIncScanUsers' => [
'description' => 'List of valid user scan configurations',
'type' => 'array',
@@ -15123,125 +7859,57 @@
'description' => 'Scan configuration object',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'User UID',
- 'type' => 'string',
- 'example' => '123xxxxxxxx',
- ],
+ 'Uid' => ['description' => 'User UID', 'type' => 'string', 'example' => '123xxxxxxxx'],
'Buckets' => [
'description' => 'Bucket list',
'type' => 'array',
- 'items' => [
- 'description' => 'Bucket name',
- 'type' => 'string',
- 'example' => 'test_bucket',
- ],
+ 'items' => ['description' => 'Bucket name', 'type' => 'string', 'example' => 'test_bucket'],
],
'Scenes' => [
'description' => 'List of scan scenarios',
'type' => 'array',
- 'items' => [
- 'description' => 'Scan scenario',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'items' => ['description' => 'Scan scenario', 'type' => 'string', 'example' => 'porn'],
],
'ImageScenes' => [
'description' => 'Image scan scenarios',
'type' => 'array',
- 'items' => [
- 'description' => 'Image scan scenario',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'items' => ['description' => 'Image scan scenario', 'type' => 'string', 'example' => 'porn'],
],
'ImageConf' => [
'description' => 'Image scan configuration',
'type' => 'object',
'properties' => [
- 'Interval' => [
- 'description' => 'Frame interval',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MaxFrames' => [
- 'description' => 'Maximum number of frames',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'ScanImageNoFileType' => [
- 'description' => 'Scan image files without file extensions',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Interval' => ['description' => 'Frame interval', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MaxFrames' => ['description' => 'Maximum number of frames', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'ScanImageNoFileType' => ['description' => 'Scan image files without file extensions', 'type' => 'boolean', 'example' => 'true'],
],
],
'VideoScenes' => [
'description' => 'Video scanning scenarios',
'type' => 'array',
- 'items' => [
- 'description' => 'Video scanning scenario',
- 'type' => 'string',
- 'example' => 'porn',
- ],
+ 'items' => ['description' => 'Video scanning scenario', 'type' => 'string', 'example' => 'porn'],
],
'VideoConf' => [
'description' => 'Video scanning configuration',
'type' => 'object',
'properties' => [
- 'Interval' => [
- 'description' => 'Frame capture frequency, unit: seconds per frame',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'MaxFrames' => [
- 'description' => 'Maximum number of frames per video',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '999',
- ],
- 'MaxSize' => [
- 'description' => 'Maximum size of a single video',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '104857600',
- ],
+ 'Interval' => ['description' => 'Frame capture frequency, unit: seconds per frame', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'MaxFrames' => ['description' => 'Maximum number of frames per video', 'type' => 'integer', 'format' => 'int32', 'example' => '999'],
+ 'MaxSize' => ['description' => 'Maximum size of a single video', 'type' => 'integer', 'format' => 'int64', 'example' => '104857600'],
],
],
'AudioScenes' => [
'description' => 'List of audio scanning scenarios',
'type' => 'array',
- 'items' => [
- 'description' => 'Audio scanning scenario',
- 'type' => 'string',
- 'example' => 'antispam',
- ],
+ 'items' => ['description' => 'Audio scanning scenario', 'type' => 'string', 'example' => 'antispam'],
],
'AudioConf' => [
'description' => 'Audio detection configuration',
'type' => 'object',
'properties' => [
- 'Interval' => [
- 'description' => 'Frame capture interval',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MaxFrames' => [
- 'description' => 'Maximum number of frames',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MaxSize' => [
- 'description' => 'Maximum size of a single audio file',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10485760',
- ],
+ 'Interval' => ['description' => 'Frame capture interval', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MaxFrames' => ['description' => 'Maximum number of frames', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MaxSize' => ['description' => 'Maximum size of a single audio file', 'type' => 'integer', 'format' => 'int64', 'example' => '10485760'],
],
],
'BucketInfos' => [
@@ -15251,55 +7919,29 @@
'description' => 'Bucket information object',
'type' => 'object',
'properties' => [
- 'BucketName' => [
- 'description' => 'Bucket name',
- 'type' => 'string',
- 'example' => 'test_bucket',
- ],
+ 'BucketName' => ['description' => 'Bucket name', 'type' => 'string', 'example' => 'test_bucket'],
'Prefixes' => [
'description' => 'Prefix matching configuration',
'type' => 'array',
- 'items' => [
- 'description' => 'Prefix',
- 'type' => 'string',
- 'example' => 'test/',
- ],
- ],
- 'Region' => [
- 'description' => 'Region',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'Type' => [
- 'description' => 'Prefix matching rule, exclude: does not include, include: includes',
- 'type' => 'string',
- 'example' => 'include',
+ 'items' => ['description' => 'Prefix', 'type' => 'string', 'example' => 'test/'],
],
+ 'Region' => ['description' => 'Region', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'Type' => ['description' => 'Prefix matching rule, exclude: does not include, include: includes', 'type' => 'string', 'example' => 'include'],
],
],
],
- 'BizType' => [
- 'description' => 'Biz type',
- 'type' => 'string',
- 'example' => 'recommend_standard_template_01',
- ],
+ 'BizType' => ['description' => 'Biz type', 'type' => 'string', 'example' => 'recommend_standard_template_01'],
],
],
],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => 'Request 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' => '- Billing Information: This interface is free of charge.'."\n"
@@ -15309,21 +7951,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/en_us/green/2018-05-09/api-docs.php b/data/en_us/green/2018-05-09/api-docs.php
index 1005390..52d47f2 100644
--- a/data/en_us/green/2018-05-09/api-docs.php
+++ b/data/en_us/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' => null,
'type' => 'directory',
- 'children' => [
- 'GetGroups',
- 'UploadCredentials',
- ],
+ 'children' => ['GetGroups', 'UploadCredentials'],
],
[
'id' => 82108,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'AddFaces',
- 'DeleteFaces',
- 'DetectFace',
- ],
+ 'children' => ['AddFaces', 'DeleteFaces', 'DetectFace'],
],
[
'id' => 82112,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'ListSimilarityImages',
- 'ImageAsyncScan',
- 'ImageAsyncScanResults',
- 'ImageSyncScan',
- 'ImageAsyncManualScan',
- 'ImageAsyncManualScanResults',
- 'ImageScanFeedback',
- ],
+ 'children' => ['ListSimilarityImages', 'ImageAsyncScan', 'ImageAsyncScanResults', 'ImageSyncScan', 'ImageAsyncManualScan', 'ImageAsyncManualScanResults', 'ImageScanFeedback'],
],
[
'id' => 82120,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'AddSimilarityImage',
- 'AddSimilarityLibrary',
- 'DeleteSimilarityImage',
- 'DeleteSimilarityLibrary',
- 'GetSimilarityImage',
- 'GetSimilarityLibrary',
- 'ListSimilarityLibraries',
- ],
+ 'children' => ['AddSimilarityImage', 'AddSimilarityLibrary', 'DeleteSimilarityImage', 'DeleteSimilarityLibrary', 'GetSimilarityImage', 'GetSimilarityLibrary', 'ListSimilarityLibraries'],
],
[
'id' => 82128,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'VideoAsyncScan',
- 'VideoAsyncScanResults',
- 'VideoCancelScan',
- 'VideoFeedback',
- 'VideoSyncScan',
- 'VideoAsyncManualScan',
- 'VideoAsyncManualScanResults',
- ],
+ 'children' => ['VideoAsyncScan', 'VideoAsyncScanResults', 'VideoCancelScan', 'VideoFeedback', 'VideoSyncScan', 'VideoAsyncManualScan', 'VideoAsyncManualScanResults'],
],
[
'id' => 82136,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'LiveStreamAsyncScan',
- 'LiveStreamAsyncScanResults',
- 'LiveStreamCancelScan',
- ],
+ 'children' => ['LiveStreamAsyncScan', 'LiveStreamAsyncScanResults', 'LiveStreamCancelScan'],
],
[
'id' => 82140,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'VodAsyncScan',
- 'VodAsyncScanResults',
- ],
+ 'children' => ['VodAsyncScan', 'VodAsyncScanResults'],
],
[
'id' => 82143,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'VoiceAsyncScan',
- 'VoiceAsyncScanResults',
- 'VoiceCancelScan',
- 'VoiceSyncScan',
- 'VoiceAsyncManualScan',
- 'VoiceAsyncManualScanResults',
- ],
+ 'children' => ['VoiceAsyncScan', 'VoiceAsyncScanResults', 'VoiceCancelScan', 'VoiceSyncScan', 'VoiceAsyncManualScan', 'VoiceAsyncManualScanResults'],
],
[
'id' => 82150,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'TextAsyncManualScan',
- 'TextAsyncManualScanResults',
- 'TextFeedback',
- 'TextScan',
- ],
+ 'children' => ['TextAsyncManualScan', 'TextAsyncManualScanResults', 'TextFeedback', 'TextScan'],
],
[
'id' => 82155,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'FileAsyncScan',
- 'FileAsyncScanResults',
- ],
+ 'children' => ['FileAsyncScan', 'FileAsyncScanResults'],
],
[
'id' => 82158,
'title' => null,
'type' => 'directory',
- 'children' => [
- 'WebpageAsyncScan',
- 'WebpageAsyncScanResults',
- 'WebpageSyncScan',
- ],
+ 'children' => ['WebpageAsyncScan', 'WebpageAsyncScanResults', 'WebpageSyncScan'],
],
[
'id' => 82162,
'title' => null,
'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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -238,13 +134,8 @@
'UploadCredentials' => [
'summary' => '获取上传证书',
'path' => '/green/credentials/uploadcredentials',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -255,30 +146,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102588',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXDSBJQ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXDSBJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -286,11 +165,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -304,13 +179,8 @@
'AddFaces' => [
'summary' => '添加人脸',
'path' => '/green/sface/face/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -321,30 +191,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102546',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -352,18 +210,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -373,13 +225,8 @@
'DeleteFaces' => [
'summary' => '删除人脸',
'path' => '/green/sface/face/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -390,30 +237,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102553',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -421,18 +256,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -442,13 +271,8 @@
'DetectFace' => [
'summary' => '人脸属性检测',
'path' => '/green/face/detect',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -460,20 +284,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' => [
@@ -481,30 +298,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '27A1595D-E049-5589-9A19-49B823B42363',
- ],
+ 'requestId' => ['description' => '', '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"}]',
],
'ListSimilarityImages' => [
'summary' => '获取相似图',
'path' => '/green/similarity/image/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -515,20 +321,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' => [
@@ -536,11 +335,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -554,13 +349,8 @@
'ImageAsyncScan' => [
'summary' => '图片异步检测',
'path' => '/green/image/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -571,20 +361,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' => [
@@ -592,18 +375,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -613,13 +390,8 @@
'ImageAsyncScanResults' => [
'summary' => '图片异步检测结果',
'path' => '/green/image/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -630,20 +402,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' => [
@@ -651,18 +416,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -672,13 +431,8 @@
'ImageSyncScan' => [
'summary' => '图片同步检测',
'path' => '/green/image/scan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -689,20 +443,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' => [
@@ -710,11 +457,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -724,13 +467,8 @@
'ImageAsyncManualScan' => [
'summary' => '图片人工异步审核',
'path' => '/green/image/manual/asyncScan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -743,20 +481,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' => [
@@ -764,30 +495,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', '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"}]',
],
'ImageAsyncManualScanResults' => [
'summary' => '图片人工异步审核结果',
'path' => '/green/image/manual/scan/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -800,20 +520,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' => [
@@ -821,30 +534,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', '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"}]',
],
'ImageScanFeedback' => [
'summary' => '图片检测反馈',
'path' => '/green/image/feedback',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -856,20 +558,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' => [
@@ -877,18 +572,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -898,13 +587,8 @@
'AddSimilarityImage' => [
'summary' => '添加相似图',
'path' => '/green/similarity/image/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -915,20 +599,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' => [
@@ -936,30 +613,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', '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"}]',
],
'AddSimilarityLibrary' => [
'summary' => '添加相似图库',
'path' => '/green/similarity/library/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -970,20 +636,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' => [
@@ -991,30 +650,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', '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"}]',
],
'DeleteSimilarityImage' => [
'summary' => '删除相似图',
'path' => '/green/similarity/image/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1025,20 +673,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' => [
@@ -1046,30 +687,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', '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"}]',
],
'DeleteSimilarityLibrary' => [
'summary' => '删除相似图库',
'path' => '/green/similarity/library/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1080,20 +710,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' => [
@@ -1101,30 +724,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', '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"}]',
],
'GetSimilarityImage' => [
'summary' => '获取相似图',
'path' => '/green/similarity/image/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1135,20 +747,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' => [
@@ -1156,18 +761,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -1177,13 +776,8 @@
'GetSimilarityLibrary' => [
'summary' => '获取相似图库',
'path' => '/green/similarity/library/get',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1194,20 +788,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' => [
@@ -1215,18 +802,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -1236,13 +817,8 @@
'ListSimilarityLibraries' => [
'summary' => '获取相似图库',
'path' => '/green/similarity/library/list',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1253,20 +829,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' => [
@@ -1274,11 +843,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1292,13 +857,8 @@
'VideoAsyncScan' => [
'summary' => '视频异步检测',
'path' => '/green/video/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1309,20 +869,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' => [
@@ -1330,11 +883,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1344,13 +893,8 @@
'VideoAsyncScanResults' => [
'summary' => '视频异步检测结果',
'path' => '/green/video/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1361,20 +905,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' => [
@@ -1382,11 +919,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1400,13 +933,8 @@
'VideoCancelScan' => [
'summary' => '视频取消检测',
'path' => '/green/video/cancelscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1417,20 +945,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' => [
@@ -1438,11 +959,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1456,13 +973,8 @@
'VideoFeedback' => [
'summary' => '视频结果反馈',
'path' => '/green/video/feedback',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1474,20 +986,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' => [
@@ -1495,11 +1000,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1509,13 +1010,8 @@
'VideoSyncScan' => [
'summary' => '视频同步检测',
'path' => '/green/video/syncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1526,20 +1022,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' => [
@@ -1547,11 +1036,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1565,13 +1050,8 @@
'VideoAsyncManualScan' => [
'summary' => '视频异步人工审核',
'path' => '/green/video/manual/asyncScan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1584,20 +1064,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' => [
@@ -1605,11 +1078,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1619,13 +1088,8 @@
'VideoAsyncManualScanResults' => [
'summary' => '视频异步人工审核结果',
'path' => '/green/video/manual/scan/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1638,20 +1102,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' => [
@@ -1659,11 +1116,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1673,13 +1126,8 @@
'LiveStreamAsyncScan' => [
'summary' => '直播流异步检测',
'path' => '/green/livestream/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1690,20 +1138,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' => [
@@ -1711,11 +1152,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1729,13 +1166,8 @@
'LiveStreamAsyncScanResults' => [
'summary' => '直播流异步检测结果',
'path' => '/green/livestream/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1746,20 +1178,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' => [
@@ -1767,11 +1192,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -1785,13 +1206,8 @@
'LiveStreamCancelScan' => [
'summary' => '直播流取消检测',
'path' => '/green/livestream/cancelscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1802,20 +1218,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' => [
@@ -1823,11 +1232,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1841,13 +1246,8 @@
'VodAsyncScan' => [
'summary' => '视频点播异步检测',
'path' => '/green/vod/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1858,20 +1258,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' => [
@@ -1879,11 +1272,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1897,13 +1286,8 @@
'VodAsyncScanResults' => [
'summary' => '视频点播异步检测结果',
'path' => '/green/vod/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1914,20 +1298,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' => [
@@ -1935,11 +1312,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1953,13 +1326,8 @@
'VoiceAsyncScan' => [
'summary' => '语音异步检测',
'path' => '/green/voice/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1970,20 +1338,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' => [
@@ -1991,11 +1352,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2009,13 +1366,8 @@
'VoiceAsyncScanResults' => [
'summary' => '语音异步检测结果',
'path' => '/green/voice/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2026,20 +1378,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' => [
@@ -2047,11 +1392,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2065,13 +1406,8 @@
'VoiceCancelScan' => [
'summary' => '语音取消检测',
'path' => '/green/voice/cancelscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2082,20 +1418,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' => [
@@ -2103,11 +1432,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2121,13 +1446,8 @@
'VoiceSyncScan' => [
'summary' => '语音同步检测',
'path' => '/green/voice/syncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2140,31 +1460,18 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '102608',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2B2SWY',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2B2SWY'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -2172,11 +1479,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2190,13 +1493,8 @@
'VoiceAsyncManualScan' => [
'summary' => '语音异步人工审核',
'path' => '/green/voice/manual/asyncScan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2209,20 +1507,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' => [
@@ -2230,11 +1521,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2248,13 +1535,8 @@
'VoiceAsyncManualScanResults' => [
'summary' => '语音异步人工审核结果',
'path' => '/green/voice/manual/scan/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2267,20 +1549,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' => [
@@ -2288,11 +1563,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2306,13 +1577,8 @@
'TextAsyncManualScan' => [
'summary' => '文本异步人工审核',
'path' => '/green/text/manual/asyncScan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2325,20 +1591,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' => [
@@ -2346,11 +1605,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2364,13 +1619,8 @@
'TextAsyncManualScanResults' => [
'summary' => '文本异步人工审核结果',
'path' => '/green/text/manual/scan/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2383,20 +1633,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' => [
@@ -2404,11 +1647,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2422,13 +1661,8 @@
'TextFeedback' => [
'summary' => '文本结果反馈',
'path' => '/green/text/feedback',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2440,20 +1674,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' => [
@@ -2461,11 +1688,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2479,13 +1702,8 @@
'TextScan' => [
'summary' => '文本检测',
'path' => '/green/text/scan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2497,20 +1715,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' => [
@@ -2518,30 +1729,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', '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"}]',
],
'FileAsyncScan' => [
'summary' => '文件异步检测',
'path' => '/green/file/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2552,20 +1752,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' => [
@@ -2573,18 +1766,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -2594,13 +1781,8 @@
'FileAsyncScanResults' => [
'summary' => '文件异步检测结果',
'path' => '/green/file/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2611,20 +1793,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' => [
@@ -2632,18 +1807,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -2653,13 +1822,8 @@
'WebpageAsyncScan' => [
'summary' => '站点异步检测',
'path' => '/green/webpage/asyncscan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2670,20 +1834,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' => [
@@ -2691,11 +1848,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2705,13 +1858,8 @@
'WebpageAsyncScanResults' => [
'summary' => '站点异步检测结果',
'path' => '/green/webpage/results',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2722,20 +1870,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' => [
@@ -2743,11 +1884,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2757,13 +1894,8 @@
'WebpageSyncScan' => [
'summary' => '站点同步检测',
'path' => '/green/webpage/scan',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2774,20 +1906,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' => [
@@ -2795,30 +1920,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', '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"}]',
],
'AddGroups' => [
'summary' => '添加分组',
'path' => '/green/sface/person/groups/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2829,30 +1943,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102547',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -2860,18 +1962,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -2881,13 +1977,8 @@
'AddPerson' => [
'summary' => '添加个体',
'path' => '/green/sface/person/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2898,30 +1989,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102548',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -2929,18 +2008,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -2950,13 +2023,8 @@
'DeleteGroups' => [
'summary' => '删除分组',
'path' => '/green/sface/person/groups/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2967,30 +2035,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102554',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -2998,18 +2054,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3019,13 +2069,8 @@
'DeletePerson' => [
'summary' => '删除个体',
'path' => '/green/sface/person/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3036,30 +2081,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102555',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3067,18 +2100,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3088,13 +2115,8 @@
'SetPerson' => [
'summary' => '设置个体',
'path' => '/green/sface/person/update',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3105,30 +2127,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102583',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3136,11 +2146,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3154,13 +2160,8 @@
'GetFaces' => [
'summary' => '获取人脸列表',
'path' => '/green/sface/faces',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3172,30 +2173,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102564',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3203,18 +2192,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3224,13 +2207,8 @@
'GetPerson' => [
'summary' => '获取单个个体',
'path' => '/green/sface/person',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3241,30 +2219,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102566',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3272,18 +2238,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3293,13 +2253,8 @@
'GetPersons' => [
'summary' => '获取个体列表',
'path' => '/green/sface/group/persons',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3310,30 +2265,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102567',
- 'abilityTreeNodes' => [
- 'FEATURElvwangPJY90O',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangPJY90O'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3341,18 +2284,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3362,13 +2299,8 @@
'AddVideoDna' => [
'summary' => '添加视频Dna',
'path' => '/green/video/dna/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3379,20 +2311,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' => [
@@ -3400,18 +2325,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3421,13 +2340,8 @@
'AddVideoDnaGroup' => [
'summary' => '添加视频Dna分组',
'path' => '/green/video/dna/group/add',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3438,20 +2352,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' => [
@@ -3459,18 +2366,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3480,13 +2381,8 @@
'DeleteVideoDnaGroup' => [
'summary' => '删除视频Dna分组',
'path' => '/green/video/dna/group/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3497,20 +2393,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' => [
@@ -3518,18 +2407,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3539,13 +2422,8 @@
'DeleteVideoDna' => [
'summary' => '删除视频Dna',
'path' => '/green/video/dna/delete',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3556,20 +2434,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' => [
@@ -3577,18 +2448,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
@@ -3598,13 +2463,8 @@
'VoiceIdentityCheck' => [
'summary' => '声纹比对',
'path' => '/green/voice/auth/check',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3615,30 +2475,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102603',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3646,11 +2494,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3664,13 +2508,8 @@
'VoiceIdentityRegister' => [
'summary' => '声纹注册',
'path' => '/green/voice/auth/register',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3681,30 +2520,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102604',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3712,11 +2539,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -3730,13 +2553,8 @@
'VoiceIdentityStartCheck' => [
'summary' => '声纹开始比对',
'path' => '/green/voice/auth/start/check',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3747,30 +2565,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102605',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3778,11 +2584,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3796,13 +2598,8 @@
'VoiceIdentityStartRegister' => [
'summary' => '声纹开始注册',
'path' => '/green/voice/auth/start/register',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3813,30 +2610,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102606',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -3844,11 +2629,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3862,13 +2643,8 @@
'VoiceIdentityUnregister' => [
'summary' => '声纹注销',
'path' => '/green/voice/auth/unregister',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3879,30 +2655,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '102607',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8N17VT',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8N17VT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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 +2674,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -3928,13 +2688,8 @@
'FileAsyncScanV2' => [
'summary' => '文件检测新版本',
'path' => '/green/file/asyncscanv2',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3946,9 +2701,7 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '159604',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYVRTEV',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYVRTEV'],
],
'parameters' => [],
'responses' => [
@@ -3956,40 +2709,25 @@
'schema' => [
'description' => '',
'properties' => [
- 'requestId' => [
- 'description' => '',
- 'example' => 'DA36A1DA-C466-538D-AD52-E64D75597750',
- 'title' => 'Id of the request',
- 'type' => 'string',
- ],
+ 'requestId' => ['description' => '', 'example' => 'DA36A1DA-C466-538D-AD52-E64D75597750', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"DA36A1DA-C466-538D-AD52-E64D75597750\\"\\n}","type":"json"}]',
],
],
'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/en_us/green/2022-03-02/api-docs.php b/data/en_us/green/2022-03-02/api-docs.php
index 84dc68e..112a2a0 100644
--- a/data/en_us/green/2022-03-02/api-docs.php
+++ b/data/en_us/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,353 +16,870 @@
'FileModeration',
'DescribeFileModerationResult',
[
- 'id' => 188835,
- 'title' => null,
- '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' => 'Others',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'TextModerationPlus' => [
- 'summary' => 'Moderates the input command and generated text of large language models (LLMs). Specific model input commands can be used to retrieve standard answers. The feature of enabling and disabling the moderation labels is also available.',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeFileModerationResult' => [
+ 'summary' => 'Document review results',
+ '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' => 'The moderation service.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* chat_detection_pro: moderation of interactive content of private chats_Professional'."\n"
- .'* llm_response_moderation: moderation of text generated by LLMs'."\n"
- .'* llm_query_moderation: moderation of input text of LLMs'."\n"
- .'* nickname_detection_pro: moderation of user nicknames_Professional'."\n"
- .'* comment_detection_pro: moderation of comment content of public chats_Professional'."\n",
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'chat_detection_pro' => '',
- 'llm_response_moderation' => '',
- 'llm_query_moderation' => '',
- 'nickname_detection_pro' => '',
- 'comment_detection_pro' => '',
- ],
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => 'The service for enhanced file moderation.', 'type' => 'string', 'required' => false, 'example' => 'document_detection', 'title' => ''],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"content":"Content to be moderated"}'."\n",
- ],
+ 'schema' => ['description' => 'The parameters for the moderation service, specified as a JSON string.'."\n"
+ ."\n"
+ .'- taskId: Required. The URL of the object to moderate. The URL must be accessible over the public network.', 'type' => 'string', 'required' => false, 'example' => '{\\"taskId\\":\\"vi_f_hPgx9PFIQISdlfA888hOFG-1yJq8v\\"}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
+ 'description' => 'Response schema',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code. The status code 200 indicates that the request was successful.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => 'The moderation results.'."\n",
+ 'description' => 'The returned data.',
'type' => 'object',
'properties' => [
- 'Result' => [
- 'description' => 'The results.'."\n",
+ 'DataId' => ['description' => 'The ID of the data.', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9', 'title' => ''],
+ 'Url' => ['description' => 'The download URL for the file.', 'type' => 'string', 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf', 'title' => ''],
+ 'DocType' => ['description' => 'The document type. This parameter is optional.', 'type' => 'string', 'example' => 'doc', 'title' => ''],
+ 'PageResult' => [
+ 'description' => 'A list of moderation results.',
'type' => 'array',
'items' => [
- 'description' => 'The data returned.'."\n",
+ 'description' => 'The result content.',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'The label.'."\n",
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'Confidence' => [
- 'description' => 'The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'RiskWords' => [
- 'description' => 'The term hit by the moderated content.'."\n",
- 'type' => 'string',
- 'example' => 'XXX',
- ],
- 'CustomizedHit' => [
- 'description' => 'The custom term hit by the moderated content.'."\n",
+ 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'ImageUrl' => ['description' => 'The URL of the image.', 'type' => 'string', 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.jpg', 'title' => ''],
+ 'TextUrl' => ['description' => 'The URL where the text content is stored.', 'type' => 'string', 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.txt', 'title' => ''],
+ 'ImageResult' => [
+ 'description' => 'The image moderation results.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The result content.',
'type' => 'object',
'properties' => [
- 'LibName' => [
- 'description' => 'The library name.'."\n",
- 'type' => 'string',
- 'example' => 'test',
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '这个是标题', 'title' => ''],
+ 'Service' => ['description' => 'The service that was called.', 'type' => 'string', 'example' => 'baselineCheck', 'title' => ''],
+ 'Location' => [
+ 'description' => 'The location information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => 'The X coordinate of the point.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''],
+ 'Y' => ['description' => 'The Y-coordinate of the point.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
+ 'W' => ['description' => 'The width of the detected area.', 'type' => 'integer', 'format' => 'int32', 'example' => '33', 'title' => ''],
+ 'H' => ['description' => 'The height of the detected area.', 'type' => 'integer', 'format' => 'int32', 'example' => '44', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'KeyWords' => [
- 'description' => 'The terms that are hit. Multiple terms are separated by commas (,).'."\n",
- 'type' => 'string',
- 'example' => 'xxx',
+ 'LabelResult' => [
+ 'description' => 'The label information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The label information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The label.', 'type' => 'string', 'example' => 'nonlabel', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score.', 'type' => 'number', 'format' => 'float', 'example' => '25.0', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '这个是标题'."\n", 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'Description' => [
- 'description' => 'The description of the label.',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'RiskPositions' => [
+ 'TextResult' => [
+ 'description' => 'The text moderation results.',
'type' => 'array',
'items' => [
+ 'description' => 'The result content.',
'type' => 'object',
'properties' => [
- 'RiskWord' => [
- 'type' => 'string',
- ],
- 'StartPos' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '这是一个标题', 'title' => ''],
+ 'Service' => ['description' => 'The service.', 'type' => 'string', 'example' => 'chat_detection', 'title' => ''],
+ 'Text' => ['description' => 'The text content.', 'type' => 'string', 'example' => '吧啦吧啦', 'title' => ''],
+ 'TextSegment' => ['description' => 'Information about the text segment.', 'type' => 'string', 'example' => '[0,999]', 'title' => ''],
+ 'Labels' => ['description' => 'The value of the label.', 'type' => 'string', 'example' => 'porn', 'title' => ''],
+ 'Descriptions' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '疑似广告内容', 'title' => ''],
+ 'RiskWords' => ['description' => 'The risk keywords that were hit.', 'type' => 'string', 'example' => 'xxx', 'title' => ''],
+ 'RiskTips' => ['description' => 'Details about the hit risk.', 'type' => 'string', 'example' => 'xxx', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'PageSummary' => [
+ 'description' => 'The summary information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSum' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'ImageSummary' => [
+ 'description' => 'The image summary information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'ImageLabels' => [
+ 'description' => 'The image labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The image labels.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The label.', 'type' => 'string', 'example' => 'contraband', 'title' => ''],
+ 'LabelSum' => ['description' => 'The number of times the label appears.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Description' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => 'test', 'title' => ''],
],
- 'EndPos' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TextSummary' => [
+ 'description' => 'The text summary information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'TextLabels' => [
+ 'description' => 'The text labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The text labels.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The label.', 'type' => 'string', 'example' => 'contraband', 'title' => ''],
+ 'LabelSum' => ['description' => 'The number of times the label appears.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Description' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
- 'Advice' => [
- 'description' => 'The suggestion.'."\n",
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'AccountId' => ['description' => 'The AccountId specified in the request.', 'type' => 'string', 'example' => 'accountIdtest123', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => 'Describe File Moderation Result',
+ 'changeSet' => [
+ ['createdAt' => '2025-01-09T12:54:53.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-09-13T08:40:00.000Z', 'description' => 'Response parameters changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeImageModerationResult' => [
+ 'summary' => 'Retrieves the results of an Image Moderation Pro task.',
+ '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' => 'The \\`ReqId\\` returned by the asynchronous Image Moderation Pro API.', 'type' => 'string', 'required' => false, 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Response schema',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The unique ID of the request. Alibaba Cloud generates this ID for each request. Use this ID to troubleshoot and locate issues.', 'type' => 'string', 'example' => '2881AD4F-638B-52A3-BA20-F74C5B1CEAE3'],
+ 'Code' => ['description' => 'The error code. This is the same as the HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'Data' => [
+ 'description' => 'The results of the image content moderation.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DataId' => ['description' => 'The value of the \\`dataId\\` parameter specified in the API request. This field is not returned if \\`dataId\\` was not specified.', 'type' => 'string', 'example' => '2a5389eb-4ff8-4584-ac99-644e2a539aa1', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The results of the image moderation, including risk labels and confidence scores.',
'type' => 'array',
'items' => [
- 'description' => 'The answer content.'."\n",
+ 'description' => 'A collection of results.',
'type' => 'object',
'properties' => [
- 'Answer' => [
- 'description' => 'The answer.'."\n",
- 'type' => 'string',
- 'example' => 'XXX',
- ],
- 'HitLabel' => [
- 'description' => 'Hit Label',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'HitLibName' => [
- 'description' => 'Hit Library Name',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'Label' => ['description' => 'The label returned after the image content is moderated.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score. The value ranges from 0 to 100. The value is accurate to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '81.22', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'Score' => [
- 'description' => 'The score.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
+ 'FrameNum' => ['description' => 'The number of result frames.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Frame' => ['description' => 'Information about the image frames.', 'type' => 'string', 'example' => '[{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]', 'title' => ''],
+ 'ReqId' => ['description' => 'The \\`ReqId\\` returned by the asynchronous Image Moderation Pro API.', 'type' => 'string', 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'."\n", 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'ManualTaskId' => ['description' => 'The ID of the manual review task.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
+ 'AccountId' => ['description' => 'The AccountId specified in the request.', 'type' => 'string', 'example' => '123456789', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => 'DescribeImageModerationResult',
+ 'description' => '- Billing information: This operation is not billed.'."\n"
+ ."\n"
+ .'- QPS limit: This operation is limited to 100 queries per second (QPS) for each user. If you exceed this limit, your API calls are throttled, which may affect your business. We recommend that you call this operation at a reasonable rate.',
+ 'responseParamsDescription' => 'The following table describes the returned \\`code\\`. You are charged only for requests that return a code of 200. You are not charged for requests that return other codes.'."\n"
+ ."\n"
+ .'| **Code** | **Description** |'."\n"
+ .'| -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n"
+ .'| 200 | The request is successful. |'."\n"
+ .'| 280 | Moderation is in progress. |'."\n"
+ .'| 400 | The request parameters are empty. |'."\n"
+ .'| 401 | The request parameters are invalid. |'."\n"
+ .'| 402 | The length of a request parameter is invalid. Check the parameter and try again. |'."\n"
+ .'| 403 | The request exceeds the QPS limit. Check and adjust the number of concurrent requests. |'."\n"
+ .'| 404 | An error occurred while downloading the image. Check the image or try again. |'."\n"
+ .'| 405 | The image download timed out. This can occur if the image is inaccessible. Check the image and try again. |'."\n"
+ .'| 406 | The image is too large. Resize the image and try again. |'."\n"
+ .'| 407 | The image format is not supported. Change the image format and try again. |'."\n"
+ .'| 408 | The account does not have permission to call this operation. This can happen if the service is not activated, the account has an overdue payment, or the account is not authorized. |'."\n"
+ .'| 409 | The specified `ReqId` does not exist. This can happen if the query interval is too short or the `ReqId` has expired. A `ReqId` is valid for 30 days. |'."\n"
+ .'| 500 | A system error occurred. |',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-12T02:05:04.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2025-03-17T05:56:52.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-08-20T09:55:57.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-07-03T11:04:23.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-01-03T11:20:05.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-11-09T03:38:37.000Z', 'description' => 'Response parameters changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeImageResultExt' => [
+ 'summary' => 'The enhanced image moderation auxiliary information API operation retrieves additional auxiliary information detected by the enhanced image moderation API operation, including OCR results and custom image library hit information.',
+ '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' => 'The requestId field returned by the enhanced image moderation API', 'type' => 'string', 'required' => false, 'example' => '638EDDC65C82AB39319A9F60', 'title' => ''],
+ ],
+ [
+ 'name' => 'InfoType',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The type of information to obtain. Multiple values are separated by commas. Valid values:'."\n"
+ ."\n"
+ .'- customImage: custom image library hit information'."\n"
+ ."\n"
+ .'- textInImage: text information in the image', 'type' => 'string', 'required' => false, 'example' => 'customImage,textInImage', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The returned object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'],
+ 'Code' => ['description' => 'The status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The response message of the request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'Data' => [
+ 'description' => 'The returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CustomImage' => [
+ 'description' => 'The list of custom image library hit information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The custom image library hit information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageId' => ['description' => 'The image ID.', 'type' => 'string', 'example' => '123456', 'title' => ''],
+ 'LibName' => ['description' => 'The image library name.', 'type' => 'string', 'example' => '图库123', 'title' => ''],
+ 'LibId' => ['description' => 'The image library ID.', 'type' => 'string', 'example' => '123456', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'RiskLevel' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'example' => 'high',
+ 'TextInImage' => [
+ 'description' => 'The text information in the hit image.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OcrDatas' => [
+ 'description' => 'The text information detected in the image.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The text information.', 'type' => 'string', 'example' => 'abcd', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RiskWords' => [
+ 'description' => 'The hit risk keywords',
+ 'type' => 'array',
+ 'items' => ['description' => 'The text information.', 'type' => 'string', 'example' => 'abcd', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CustomTexts' => [
+ 'description' => 'When a custom text library is hit, the custom library ID, custom library name, and custom words are returned.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => 'The custom library ID', 'type' => 'string', 'example' => '123456', 'title' => ''],
+ 'LibName' => ['description' => 'The custom library name.', 'type' => 'string', 'example' => '自定义库1', 'title' => ''],
+ 'KeyWords' => ['description' => 'The custom words, multiple words are separated by commas.', 'type' => 'string', 'example' => '自定义词1,自定义词2', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'DataId' => [
- 'description' => 'The id of data',
- 'type' => 'string',
- 'example' => 'text1234',
+ 'PublicFigure' => [
+ 'description' => 'The list of figure information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The figure information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FigureId' => ['description' => 'The figure ID.', 'type' => 'string', 'example' => 'yzazhzou', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'SensitiveResult' => [
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeImageResultExt',
+ 'description' => 'This API operation must be used with the enhanced image moderation API. After you call the enhanced image moderation API operation, you can call this API operation to obtain additional detection information. This API operation is free of charge.',
+ 'requestParamsDescription' => 'We recommend that you query 5 seconds after calling the enhanced image moderation API operation. The auxiliary information is stored for a maximum of 30 days. We recommend that you retrieve the auxiliary information when needed and store the logs properly.',
+ 'changeSet' => [
+ ['createdAt' => '2024-04-11T11:00:56.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-06-20T05:54:01.000Z', 'description' => 'Response parameters changed'],
+ ],
+ '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' => 'All Resource', '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' => 'Query the results of an asynchronous multimodal moderation task.',
+ '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' => 'The ReqId field returned by the asynchronous moderation API.', 'type' => 'string', 'required' => false, 'example' => 'AAAAA-BBBBB-AIXI-1314-CCCCC', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', 'title' => ''],
+ 'Code' => ['description' => 'The error code, which matches the HTTP status code.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The response message for this request.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Data' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CommentDatas' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'type' => 'string',
- 'description' => 'The label',
- 'example' => '1234',
- ],
- 'SensitiveLevel' => [
- 'type' => 'string',
- 'description' => 'The level of sensitivity data',
- 'example' => 'S1'."\n",
+ 'CommentDatas' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Results' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'Description of the Label field.', 'type' => 'string', 'example' => '疑似含有烟火类内容元素', 'title' => ''],
+ 'Label' => ['description' => 'Risk label.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ ],
+ 'description' => 'Moderation result.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'Comment moderation results.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'Moderation results.',
+ 'title' => '',
+ 'example' => '',
],
- 'SensitiveData' => [
+ 'Results' => [
'type' => 'array',
'items' => [
- 'type' => 'string',
- 'description' => 'The sensitive data.'."\n",
- 'example' => 'xxx',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'Description of the Label field.', 'type' => 'string', 'example' => '疑似含有烟火类内容元素', 'title' => ''],
+ 'Label' => ['description' => 'Risk label.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ ],
+ 'description' => 'Image moderation service type.',
+ 'title' => '',
+ 'example' => '',
],
- 'description' => 'The sensitive data.'."\n",
+ 'description' => 'Comment moderation results.',
+ 'title' => '',
+ 'example' => '',
],
- 'Description' => [
- 'type' => 'string',
- 'description' => 'Description'."\n",
- 'example' => 'xxx',
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'Comment moderation results.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MainData' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Results' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'Description of the Label field.', 'type' => 'string', 'example' => '疑似含有烟火类内容元素', 'title' => ''],
+ 'Label' => ['description' => 'Risk label.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ ],
+ 'description' => 'Moderation result.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'Main post moderation results.',
+ 'title' => '',
+ 'example' => '',
],
- 'description' => 'The result of sensitivity data detect',
],
- 'description' => 'The result of sensitivity data detect',
+ 'description' => 'Main post moderation results.',
+ 'title' => '',
+ 'example' => '',
],
- 'AttackResult' => [
+ 'ReqId' => ['description' => 'The ReqId field returned by the asynchronous moderation API.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', 'title' => ''],
+ 'RiskLevel' => ['description' => 'Risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'DataId' => ['description' => 'The dataId value passed in the API request. This field is absent if no dataId was provided in the request.', 'type' => 'string', 'example' => 'data1234', 'title' => ''],
+ ],
+ 'description' => 'The returned data.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeMultimodalModerationResult',
+ 'description' => '- Billing information: This API call is free.'."\n"
+ ."\n"
+ .'- Query timeout: Wait 30 seconds after you submit an asynchronous moderation task before querying the result. Do not wait longer than 24 hours, or the result will be automatically deleted.'."\n"
+ ."\n"
+ .'- This API has a per-user rate limiting limit of 10 requests per second. Exceeding this limit triggers rate limiting, which may affect your service. Call the API responsibly.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeMultimodalModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
+ 'Msg' => ['description' => 'The response message for the request.', 'type' => 'string', 'title' => '', 'example' => 'OK'],
+ 'Data' => [
+ 'description' => 'The returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessKeyId' => ['description' => 'The AccessKey ID of the temporary credential for file upload.', 'type' => 'string', 'title' => '', 'example' => 'STS.NUEUjvDqMuvH6oQA1TXxxH4wVR'],
+ 'AccessKeySecret' => ['description' => 'The temporary authorization secret.', 'type' => 'string', 'title' => '', 'example' => 'xxxx'],
+ 'SecurityToken' => ['description' => 'The security token of the temporary credential for file upload.', 'type' => 'string', 'title' => '', 'example' => 'xxxx'],
+ 'FileNamePrefix' => ['description' => 'The file prefix.', 'type' => 'string', 'title' => '', 'example' => 'upload/1xxb89/'],
+ 'OssInternalEndPoint' => ['description' => 'The internal endpoint of OSS.', 'type' => 'string', 'title' => '', 'example' => 'https://oss-cn-shanghai-internal.aliyuncs.com'],
+ 'OssInternetEndPoint' => ['description' => 'The Internet endpoint of OSS.', 'type' => 'string', 'title' => '', 'example' => 'https://oss-cn-shanghai.aliyuncs.com'],
+ 'BucketName' => ['description' => 'The bucket name.', 'type' => 'string', 'title' => '', 'example' => 'oss-cip-shanghai'],
+ 'Expiration' => ['description' => 'The expiration time.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1720577200'],
+ ],
+ 'title' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeUploadToken',
+ 'summary' => 'Retrieves an upload 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' => 'All Resource', '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' => 'Queries moderation results based on the ReqId returned by asynchronous URL moderation.',
+ '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' => 'The ReqId field returned by the asynchronous URL moderation operation', 'type' => 'string', 'required' => false, 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => '01F9144A-2088-5D87-935B-2DB865284B1A', 'title' => ''],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The response message of this request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'Data' => [
+ 'description' => 'The returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DataId' => ['description' => 'The value of the dataId parameter passed in the API request. This field is not returned if the parameter is not passed in the request.', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9', 'title' => ''],
+ 'ReqId' => ['description' => 'The ReqId field returned by the asynchronous URL moderation operation', 'type' => 'string', 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'."\n", 'title' => ''],
+ 'Result' => [
+ 'description' => 'The returned collection.',
'type' => 'array',
'items' => [
+ 'description' => 'The returned collection.',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'type' => 'string',
- 'description' => 'The label',
- 'example' => 'safe',
- ],
- 'Confidence' => [
- 'type' => 'number',
- 'format' => 'float',
- 'description' => 'The confidence',
- 'example' => '0',
- ],
- 'AttackLevel' => [
- 'type' => 'string',
- 'description' => 'The level of prompt attack',
- 'example' => 'none',
- ],
- 'Description' => [
- 'type' => 'string',
- 'description' => 'Description',
- 'example' => 'safe',
- ],
+ 'Label' => ['description' => 'The label returned after URL moderation.', 'type' => 'string', 'example' => 'sexual_url', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score, ranging from 0 to 100, with two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '81.22', 'title' => ''],
],
- 'description' => 'The result of prompt attack detect',
+ 'title' => '',
+ 'example' => '',
],
- 'description' => 'The result of prompt attack detect',
- ],
- 'SensitiveLevel' => [
- 'type' => 'string',
- 'description' => 'The level of sensitivity data',
- 'example' => 'S0',
- ],
- 'AttackLevel' => [
- 'type' => 'string',
- 'description' => 'The level of prompt attack',
- 'example' => 'none',
- ],
- 'ManualTaskId' => [
- 'type' => 'string',
- ],
- 'DetectedLanguage' => [
- 'type' => 'string',
+ 'title' => '',
+ 'example' => '',
],
- 'TranslatedContent' => [
- 'type' => 'string',
- ],
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'Ext' => [
+ 'ExtraInfo' => [
+ 'description' => 'Additional information.',
'type' => 'object',
'properties' => [
- 'LlmContent' => [
- 'type' => 'object',
- 'properties' => [
- 'OutputText' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'IcpType' => ['description' => 'The ICP filing type.', 'type' => 'string', 'example' => '企业', 'title' => ''],
+ 'IcpNo' => ['description' => 'The ICP filing number.', 'type' => 'string', 'example' => 'ICP备123456789', 'title' => ''],
+ 'SiteType' => ['description' => 'The website type', 'type' => 'string', 'example' => 'game', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'TextModerationPlus',
- 'description' => 'Before you call this operation, make sure that you have [activated the Content Moderation 2.0 service](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn) and are familiar with the [billing](https://help.aliyun.com/document_detail/2671445.html?#section-6od-32j-99n) of the Text Moderation 2.0 Plus service.'."\n",
- ],
- 'TextModeration' => [
- 'summary' => 'Provides moderation services for multiple business scenarios and identifies various violation risks.',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeUrlModerationResult',
+ 'description' => '- Billing information: This operation is free of charge.'."\n"
+ ."\n"
+ .'- Query timeout: We recommend that you set the query interval to 480 seconds (query the results 480 seconds after you submit the asynchronous moderation task). The maximum timeout period is 3 days. After this period, the results are automatically deleted.'."\n"
+ ."\n"
+ .'- The QPS limit for this operation is 100 queries per second (QPS) per user. If the limit is exceeded, your API calls will be throttled, which may affect your business. Make sure you call the operation at a reasonable rate.',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-25T09:34:53.000Z', 'description' => 'Response parameters changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUrlModerationResult'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeUrlModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', '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' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -375,149 +888,544 @@
'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' => 'The service supported by enhanced document moderation.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'document_detection'],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The set of parameters required for the moderation service. The value must be a JSON string.'."\n"
+ ."\n"
+ .'- url: Required. The URL of the object to be moderated. Make sure that the URL can be accessed over the Internet.'."\n"
+ .'- dataId: Optional. The data ID that corresponds to the moderated object.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"url":"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The type of the moderation service. Valid values: nickname_detection: user nickname chat_detection: chat interactions comment_detection: dynamic comments pgc_detection: professionally-generated content (PGC) teaching materials'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* pgc_detection: moderation of PGC teaching materials'."\n"
- .'* nickname_detection: user nickname moderation'."\n"
- .'* comment_multilingual_pro: multi-language moderation in international business scenarios'."\n"
- .'* chat_detection: moderation of interactive content of private chats'."\n"
- .'* ad_compliance_detection: advertising law compliance identification'."\n"
- .'* comment_detection: moderation of comment content of public chats'."\n"
- .'* ai_art_detection: AI-generated text identfication'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'enumValueTitles' => [
- 'pgc_detection' => 'pgc_detection',
- 'nickname_detection' => 'nickname_detection',
- 'comment_multilingual_pro' => 'comment_multilingual_pro',
- 'chat_detection' => 'chat_detection',
- 'ad_compliance_detection' => 'ad_compliance_detection',
- 'comment_detection' => 'comment_detection',
- 'ai_art_detection' => 'ai_art_detection',
+ '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' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => 'The error code. This error code is the same as the HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
+ 'Data' => [
+ 'description' => 'The returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => 'xxxxx-xxxxx'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'FileModeration',
+ 'summary' => 'Moderates document content.',
+ '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' => 'All Resource', 'arn' => '*'],
],
- 'example' => 'nickname_detection',
],
],
+ ],
+ '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' => 'This API is used for asynchronous image moderation. Asynchronous moderation tasks do not return detection results in real time. You can obtain the detection results using a callback or by polling. The detection results are retained for up to three days.',
+ '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' => 'The detection service supported by the enhanced image moderation feature. Valid values:'."\n"
+ ."\n"
+ .'- baselineCheck: common baseline moderation'."\n"
+ ."\n"
+ .'- baselineCheck\\_pro: common baseline moderation Professional Edition'."\n"
+ ."\n"
+ .'- baselineCheck\\_cb: common baseline moderation for services outside China'."\n"
+ ."\n"
+ .'- tonalityImprove: content administration moderation'."\n"
+ ."\n"
+ .'- aigcCheck: AIGC image moderation'."\n"
+ ."\n"
+ .'- profilePhotoCheck: profile picture moderation'."\n"
+ ."\n"
+ .'- advertisingCheck: ad material moderation'."\n"
+ ."\n"
+ .'- liveStreamCheck: video or live stream screenshot moderation', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck', 'title' => ''],
+ ],
[
'name' => 'ServiceParameters',
- 'in' => 'formData',
+ 'in' => 'query',
+ 'schema' => ['description' => 'A set of parameters related to the content to be moderated. The value must be a JSON string.', 'type' => 'string', 'required' => false, 'example' => '{"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img123****"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"content":"Content to be moderated"}'."\n",
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. This ID is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot and locate issues.', 'type' => 'string', 'example' => '4A926AE2-4C96-573F-824F-0532960799F8'],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The response message for the current request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'Data' => [
+ 'description' => 'The result of the asynchronous image moderation.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReqId' => ['description' => 'The reqId field returned by the enhanced asynchronous image moderation API. You can use this field to query the detection results.', 'type' => 'string', 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2', 'title' => ''],
+ 'DataId' => ['description' => 'The value of dataId that you specified in the API request. If you did not specify this parameter in the request, this field is not returned.', 'type' => 'string', 'example' => 'fb5ffab1-993b-449f-b8d6-b97d5e3331f2', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
],
],
],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ImageAsyncModeration',
+ 'description' => '- The following image formats are supported: PNG, JPG, JPEG, BMP, WEBP, TIFF, ICO, HEIC, and SVG.'."\n"
+ ."\n"
+ .'- The image size cannot exceed 10 MB. The recommended image resolution is greater than 200 × 200 pixels. A low resolution may compromise the accuracy of the Content Moderation algorithm.'."\n"
+ ."\n"
+ .'- The timeout period for image downloads is 3 seconds. If an image download exceeds this duration, a download timeout error is returned.',
+ 'responseParamsDescription' => 'The following table describes the return codes.'."\n"
+ ."\n"
+ .'| **Code** | **Description** |'."\n"
+ .'| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n"
+ .'| 200 | The request is successful. |'."\n"
+ .'| 400 | A required parameter is empty. |'."\n"
+ .'| 401 | A parameter is invalid. |'."\n"
+ .'| 402 | The length of a parameter does not meet the requirements. Check and modify the parameter. |'."\n"
+ .'| 403 | The number of queries per second (QPS) exceeds the limit. Check and adjust the number of concurrent requests. |'."\n"
+ .'| 408 | The account does not have the permissions to call the API. The service may not be activated for the account, the account may have an overdue payment, or the account is not granted the required permissions. |'."\n"
+ .'| 500 | A system error occurred. |',
+ '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' => 'All Resource', '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' => 'Batch Invocation of Images',
+ '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' => 'The detection services supported by Image Moderation Pro. Separate multiple services with commas. Valid values:'."\n"
+ ."\n"
+ .'- baselineCheck: General baseline check'."\n"
+ ."\n"
+ .'- baselineCheck\\_pro: General baseline check (Professional Edition)'."\n"
+ ."\n"
+ .'- tonalityImprove: Content administration check'."\n"
+ ."\n"
+ .'- aigcCheck: AIGC image check', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck,tonalityImprove', 'title' => ''],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The parameters for the content to moderate.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "imageUrl": "https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png",'."\n"
+ .' "dataId": "img123****"'."\n"
+ .' }', 'title' => ''],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'The response parameters.'."\n",
+ 'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The unique ID of the request. Alibaba Cloud generates this ID for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'."\n"],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The response message for the request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
'Data' => [
- 'description' => 'The moderation results.'."\n",
+ 'description' => 'The results of the image content moderation.',
'type' => 'object',
'properties' => [
- 'labels' => [
- 'description' => 'The labels. Multiple labels are separated by commas (,). Valid values: ad: ad violation profanity: abuse contraband: contraband sexual_content: pornography violence: violence nonsense: irrigation spam: spam negative_content: undesirable content cyberbullying: cyberbullying C_customized: custom library that is hit'."\n",
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'reason' => [
- 'description' => 'The JSON string used to locate the cause. Valid values: riskTips: subcategory label riskWords: risk words adNums: hit advertising number customizedWords: customized words customizedLibs: customized libraries'."\n",
- 'type' => 'string',
- 'example' => '{\\"detectedLanguage\\":\\"ar\\",\\"riskTips\\":\\"sexuality_Suggestive\\",\\"riskWords\\":\\"pxxxxy\\",\\"translatedContent\\":\\"pxxxxy sxxxx\\"}',
- ],
- 'accountId' => [
- 'description' => 'The ID of the Alibaba Cloud account.'."\n",
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'deviceId' => [
- 'description' => 'The device ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxxx',
- ],
- 'dataId' => [
- 'description' => 'The ID of the moderated object.',
- 'type' => 'string',
- 'example' => 'text1234',
- ],
- 'descriptions' => [
- 'description' => 'The description of the labels.',
- 'type' => 'string',
- 'example' => 'no risk',
- ],
- 'manualTaskId' => [
- 'type' => 'string',
- ],
- 'ext' => [
- 'type' => 'object',
- 'properties' => [
- 'llmContent' => [
- 'type' => 'object',
- 'properties' => [
- 'outputText' => [
- 'type' => 'string',
+ 'DataId' => ['description' => 'The data ID of the moderated object.', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9', 'title' => ''],
+ 'Results' => [
+ 'description' => 'The detailed moderation results for each detection service. This is an array.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Service' => ['description' => 'The detection service supported by Image Moderation Pro.', 'type' => 'string', 'example' => 'baselineCheck', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The results of the image detection, including threat labels and confidence scores. This is an array.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The label returned after the image content moderation. An image may have multiple labels and scores.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score. The value ranges from 0 to 100, with two decimal places. Some labels do not have a confidence score.', 'type' => 'number', 'format' => 'float', 'example' => '81.22', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Ext' => [
+ 'description' => 'Additional reference information for the image.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TextInImage' => [
+ 'description' => 'The text detected in the image.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OcrResult' => [
+ 'description' => 'The information for each line of text recognized in the image.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Text' => ['description' => 'The text.', 'type' => 'string', 'example' => 'abcd', 'title' => ''],
+ 'Location' => [
+ 'description' => 'The coordinates of the text line.',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => 'The x-coordinate of the upper-left corner of the text area, in pixels. The origin (0,0) is the upper-left corner of the image.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''],
+ 'Y' => ['description' => 'The y-coordinate of the upper-left corner of the text area, in pixels. The origin (0,0) is the upper-left corner of the image.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
+ 'H' => ['description' => 'The height of the text area, in pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '33', 'title' => ''],
+ 'W' => ['description' => 'The width of the text area, in pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '44', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RiskWord' => [
+ 'description' => 'The detected risk keywords.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The text.', 'type' => 'string', 'example' => '火箭', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CustomText' => [
+ 'description' => 'If a custom text library is hit, the ID and name of the library, and the hit keywords are returned.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => 'The ID of the custom library.', 'type' => 'string', 'example' => '123456', 'title' => ''],
+ 'LibName' => ['description' => 'The name of the custom library.', 'type' => 'string', 'example' => '自定义库1', 'title' => ''],
+ 'KeyWords' => ['description' => 'The custom keywords. Separate multiple keywords with a comma.', 'type' => 'string', 'example' => '自定义词1,自定义词2', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CustomImage' => [
+ 'description' => 'A list of hits in custom image libraries.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => 'The ID of the custom library.', 'type' => 'string', 'example' => '1965304870002', 'title' => ''],
+ 'ImageId' => ['description' => 'The ID of the hit custom image.', 'type' => 'string', 'example' => '1965304870002', 'title' => ''],
+ 'LibName' => ['description' => 'The name of the hit custom image library.', 'type' => 'string', 'example' => '白名单', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'PublicFigure' => [
+ 'description' => 'A list of public figures.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FigureName' => ['description' => 'The name of the recognized public figure.', 'type' => 'string', 'example' => 'xxxxx', 'title' => ''],
+ 'FigureId' => ['description' => 'The ID of the recognized public figure.', 'type' => 'string', 'example' => '12324222', 'title' => ''],
+ 'Location' => [
+ 'description' => 'The location of the recognized object.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => 'The x-coordinate of the upper-left corner of the area, in pixels. The origin (0,0) is the upper-left corner of the image.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''],
+ 'Y' => ['description' => 'The y-coordinate of the upper-left corner of the area, in pixels. The origin (0,0) is the upper-left corner of the image.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
+ 'W' => ['description' => 'The width of the area, in pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '330', 'title' => ''],
+ 'H' => ['description' => 'The height of the area, in pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '440', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'LogoData' => [
+ 'description' => 'Logo information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Location' => [
+ 'description' => 'The location of the recognized object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => 'The x-coordinate of the upper-left corner of the area, in pixels. The origin (0,0) is the upper-left corner of the image.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''],
+ 'Y' => ['description' => 'The y-coordinate of the upper-left corner of the area, in pixels. The origin (0,0) is the upper-left corner of the image.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
+ 'W' => ['description' => 'The width of the logo area, in pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '330', 'title' => ''],
+ 'H' => ['description' => 'The height of the logo area, in pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '440', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Logo' => [
+ 'description' => 'Identity information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The category of the logo.', 'type' => 'string', 'example' => 'logo_sns', 'title' => ''],
+ 'Name' => ['description' => 'The name of the logo.', 'type' => 'string', 'example' => '阿里云', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score. The value ranges from 0 to 100, with two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '99.1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Result' => [
+ 'description' => 'An array of results for the image moderation. The results contain parameters such as threat labels and confidence scores.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The label returned after the image content moderation. An image may have multiple labels and scores.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score. The value ranges from 0 to 100, with two decimal places. Some labels do not have a confidence score.', 'type' => 'number', 'format' => 'float', 'example' => '81.22', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'ManualTaskId' => ['description' => 'The ID of the manual review task.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'TextModeration',
- 'description' => 'Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/464388.html?#section-itm-m2s-ugq) of Text Moderation 2.0.'."\n",
- ],
- 'ImageModeration' => [
- 'summary' => 'Identifies whether an image contains content or elements that violate relevant regulations on network content dissemination, affect the content order of a specific platform, or affect user experience. Image Moderation 2.0 supports over 90 content risk labels and over 100 risk control items. Image Moderation 2.0 of Content Moderation allows you to develop further moderation or governance measures for specific image content based on business scenarios, platform-specific content governance rules, or rich risk labels and scores of confidence levels returned by API calls.',
- 'methods' => [
- 'post',
+ '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' => 'ImageBatchModeration',
+ '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"
+ .'```',
+ '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": "Fireworks-related content"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion_lib",'."\n"
+ .' "Confidence": 81,'."\n"
+ .' "Description": "Fireworks-related content_Hit in custom library"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "RiskLevel": "high",'."\n"
+ .' "Results": ['."\n"
+ .' {'."\n"
+ .' "Result": ['."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion",'."\n"
+ .' "Confidence": 70,'."\n"
+ .' "Description": "Fireworks-related content"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "RiskLevel": "high",'."\n"
+ .' "Service": "baselineCheck_pro"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Result": ['."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion_lib",'."\n"
+ .' "Confidence": 81,'."\n"
+ .' "Description": "Fireworks-related content_Hit in custom library"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "RiskLevel": "high",'."\n"
+ .' "Service": "baselineCheck"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "RequestId": "ABCD1234-1234-1234-1234-1234XYZ"'."\n"
+ .'}'."\n"
+ .'```',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-12T02:05:04.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-11-28T07:35:09.000Z', 'description' => 'Request parameters changed'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImageBatchModeration'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageBatchModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ImageModeration' => [
+ 'summary' => 'Image moderation',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -530,667 +1438,460 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '142557',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
'schema' => [
- 'description' => 'The moderation services supported by Image Moderation 2.0. Valid values:'."\n"
+ 'description' => 'The detection types supported by the enhanced image moderation feature. Valid values:'."\n"
."\n"
- .'* baselineCheck: common baseline moderation'."\n"
- .'* baselineCheck_pro: common baseline moderation_Professional'."\n"
- .'* baselineCheck_cb: common baseline moderation_For regions outside the Chinese mainland'."\n"
- .'* tonalityImprove: content governance moderation'."\n"
- .'* aigcCheck: AI-generated image identification'."\n"
- .'* profilePhotoCheck: avatar image moderation'."\n"
- .'* advertisingCheck: marketing material identification'."\n"
- .'* liveStreamCheck: moderation of screenshots of videos and live streams'."\n"
+ .'- baselineCheck: general baseline check'."\n"
."\n"
- .'Valid values:'."\n"
+ .'- baselineCheck\\_pro: general baseline check (Professional Edition)'."\n"
."\n"
- .'* liveStreamCheck: moderation of screenshots of videos and live streams'."\n"
- .'* baselineCheck: common baseline moderation'."\n"
- .'* aigcCheck: AI-generated image identification'."\n"
- .'* baselineCheck_pro: common baseline moderation_Professional'."\n"
- .'* advertisingCheck: marketing material identification'."\n"
- .'* baselineCheck_cb: common baseline moderation_For regions outside the Chinese mainland'."\n"
- .'* tonalityImprove: content governance moderation'."\n"
- .'* profilePhotoCheck: avatar image moderation'."\n",
- 'type' => 'string',
- 'required' => false,
+ .'- baselineCheck\\_cb: general baseline check (outside China)'."\n"
+ ."\n"
+ .'- tonalityImprove: content administration check'."\n"
+ ."\n"
+ .'- aigcCheck: AIGC image check'."\n"
+ ."\n"
+ .'- aigcViolationDetection: AIGC image infringement detection'."\n"
+ ."\n"
+ .'- aigcDetector: determines whether an image is generated by AIGC'."\n"
+ ."\n"
+ .'- profilePhotoCheck: profile picture check'."\n"
+ ."\n"
+ .'- postImageCheck: image check for posts and comments'."\n"
+ ."\n"
+ .'- advertisingCheck: marketing material check'."\n"
+ ."\n"
+ .'- liveStreamCheck: video/livestream screenshot check'."\n"
+ ."\n"
+ .'- generalOcr: general image and text OCR'."\n"
+ ."\n"
+ .'- generalRecognition: image object recognition'."\n"
+ ."\n"
+ .'- postImageCheckByVL: image moderation service with large and small models'."\n"
+ ."\n"
+ .'- postImageCheckByVL\\_cb: image moderation service with large and small models (outside China)'."\n"
+ ."\n"
+ .'- baselineCheckByVL: general image moderation service with a large model',
'enumValueTitles' => [
- 'liveStreamCheck' => 'liveStreamCheck',
- 'generalOcr' => '',
- 'postImageCheck' => '',
- 'baselineCheck_pro' => 'baselineCheck_pro',
- 'advertisingCheck' => 'advertisingCheck',
- 'baselineCheck_cb' => 'baselineCheck_cb',
- 'tonalityImprove' => 'tonalityImprove',
- 'profilePhotoCheck' => 'profilePhotoCheck',
- 'baselineCheck' => 'baselineCheck',
- 'generalRecognition' => '',
- 'aigcCheck' => 'aigcCheck',
- 'aigcViolationDetection' => '',
- 'aigcDetector' => '',
+ 'liveStreamCheck' => 'Video screenshot check', 'generalOcr' => 'General image and text OCR', 'postImageCheck' => 'Image check for posts and comments', 'postImageCheckByVL_cb' => 'Image moderation service with large and small models (outside China)', 'baselineCheck_pro' => 'General baseline check (Professional Edition)', 'advertisingCheck' => 'Marketing material check', 'baselineCheck_cb' => 'General baseline check (outside China)', 'tonalityImprove' => 'Content administration check', 'profilePhotoCheck' => 'Profile picture check', 'baselineCheck' => 'General baseline check',
+ 'postImageCheckByVL' => 'Image moderation service with large and small models', 'generalRecognition' => 'Image object recognition', 'aigcCheck' => 'AIGC image check', 'aigcViolationDetection' => 'AIGC image infringement detection', 'baselineCheckByVL' => 'General image moderation service with a large model', 'aigcDetector' => 'Determines whether an image is generated by AIGC',
],
+ 'type' => 'string',
+ 'required' => false,
'example' => 'baselineCheck',
+ 'title' => '',
],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.'."\n"
- ."\n"
- .'* imageUrl: the URL of the object that you want to moderate. This parameter is required.'."\n"
- .'* dataId: the ID of the object that you want to moderate. This parameter is optional.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"imageUrl":"https://www.aliyun.com/test.jpg","dataId":"img1234567"}',
- ],
+ 'schema' => ['description' => 'The parameters for the content to detect. The value is a JSON string.'."\n"
+ ."\n"
+ .'- imageUrl: The URL of the object to detect. This parameter is required.'."\n"
+ ."\n"
+ .'- dataId: The data ID of the object to detect. This parameter is optional.'."\n"
+ ."\n"
+ .'- referer: The referer request header. This parameter is used for scenarios such as hotlink protection and is optional.', 'type' => 'string', 'required' => false, 'example' => '{"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img1234567"}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
+ 'description' => 'The value returned in the body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code. The status code 200 indicates that the request was successful.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['description' => 'The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492', 'title' => ''],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The message returned for the request.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => 'The moderation results.'."\n",
+ 'description' => 'The results of the image content moderation.',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'The ID of the moderated object.'."\n"
- ."\n"
- .'> If you specify the dataId parameter in the request, the value of the dataId parameter is returned in the response.'."\n",
- 'type' => 'string',
- 'example' => 'fb5ffab1-993b-449f-b8d6-b97d5e3331f2',
- ],
+ 'DataId' => ['description' => 'The data ID of the detected object.'."\n"
+ ."\n"
+ .'> If you specify the dataId parameter in the request, the corresponding dataId is returned.', 'type' => 'string', 'example' => 'fb5ffab1-993b-449f-b8d6-b97d5e3331f2', 'title' => ''],
'Result' => [
- 'description' => 'The results of image moderation parameters such as the label parameter and the confidence parameter, which are an array structure.'."\n",
+ 'description' => 'The results of the image moderation, including the threat labels and confidence levels. The value is an array.',
'type' => 'array',
'items' => [
- 'description' => 'The data that is returned.'."\n",
+ 'description' => 'The data structure.',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'The labels returned after the image moderation. Multiple risk labels and the corresponding scores of confidence levels may be returned for an image.'."\n",
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Confidence' => [
- 'description' => 'The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'Description' => [
- 'description' => 'The description of the result.',
- 'type' => 'string',
- 'example' => 'no risk',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'example' => 'high',
- ],
+ 'Label' => ['description' => 'The label returned after the image content is moderated. Multiple labels and scores may be returned for a single image.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence level. The value ranges from 0 to 100, with two decimal places retained. Some labels do not have a confidence level.', 'type' => 'number', 'format' => 'float', 'example' => '81.22', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The threat level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'Ext' => [
- 'description' => 'Auxiliary reference information.',
+ 'description' => 'Auxiliary reference information for the image.',
'type' => 'object',
'properties' => [
'Recognition' => [
- 'description' => 'The result of image recognition.',
+ 'description' => 'The results of image object recognition.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Classification' => [
- 'description' => 'The category of image recognition.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Confidence' => [
- 'description' => 'The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.01',
- ],
+ 'Classification' => ['description' => 'The category of the recognized object in the image.', 'type' => 'string', 'example' => '办公大楼'."\n", 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence level. The value ranges from 0 to 100, with two decimal places retained. No confidence level is returned when the value is nonLabel.', 'type' => 'number', 'format' => 'float', 'example' => '81.22'."\n"
+ ."\n", 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'OcrResult' => [
- 'description' => 'Returns the text information in the recognized image.',
+ 'description' => 'The results of optical character recognition (OCR).',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Text' => [
- 'description' => 'The text information in the recognized image.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'Text' => ['description' => 'A single line of recognized text.', 'type' => 'string', 'example' => 'abcd', 'title' => ''],
'Location' => [
- 'description' => 'Location information.',
+ 'description' => 'The coordinates of the text line.',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => 'The distance between the upper-left corner of the text area and the y-axis, using the upper-left corner of the image as the coordinate origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => 'The distance between the upper left corner of the text area and the x-axis, with the upper left corner of the image as the coordinate origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => 'The width of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'H' => [
- 'description' => 'The height of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
+ 'X' => ['description' => 'The distance from the upper-left corner of the text area to the y-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''],
+ 'Y' => ['description' => 'The distance from the upper-left corner of the text area to the x-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
+ 'W' => ['description' => 'The width of the text area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '33', 'title' => ''],
+ 'H' => ['description' => 'The height of the text area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '44', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'TextInImage' => [
- 'description' => 'Returns the text information in the hit image.',
+ 'description' => 'The text information that is hit in the image.',
'type' => 'object',
'properties' => [
'OcrResult' => [
- 'description' => 'Returns the text information in the recognized image.',
+ 'description' => 'Each line of text recognized in the image.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Text' => [
- 'description' => 'The text information in the recognized image.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'Text' => ['description' => 'The text.', 'type' => 'string', 'example' => 'abcd', 'title' => ''],
'Location' => [
- 'description' => 'Location information.',
+ 'description' => 'The coordinates of the text line.',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => 'The distance between the upper-left corner of the text area and the y-axis, using the upper-left corner of the image as the coordinate origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => 'The distance between the upper left corner of the text area and the x-axis, with the upper left corner of the image as the coordinate origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'H' => [
- 'description' => 'The height of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'W' => [
- 'description' => 'The width of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
+ 'X' => ['description' => 'The distance from the upper-left corner of the text area to the y-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''],
+ 'Y' => ['description' => 'The distance from the upper-left corner of the text area to the x-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
+ 'H' => ['description' => 'The height of the text area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '33', 'title' => ''],
+ 'W' => ['description' => 'The width of the text area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '44', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'RiskWord' => [
- 'description' => 'The risk words that are hit. Multiple words are separated by commas (,).',
+ 'description' => 'The hit threat keywords.',
'type' => 'array',
- 'items' => [
- 'description' => 'The risk words that are hit. Multiple words are separated by commas (,).',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
+ 'items' => ['description' => 'The text.', 'type' => 'string', 'example' => 'abcd', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
'CustomText' => [
- 'description' => 'When a custom text library is hit, the custom library ID, custom library name, and custom word are returned.',
+ 'description' => 'If a custom text library is hit, the custom library ID, custom library name, and custom word are returned.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'Custom library ID.',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => 'Custom library name.',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'KeyWords' => [
- 'description' => 'Custom words, multiple words separated by commas.',
- 'type' => 'string',
- 'example' => 'aaa,bbb'."\n",
- ],
+ 'LibId' => ['description' => 'The custom library ID.', 'type' => 'string', 'example' => '123456'."\n", 'title' => ''],
+ 'LibName' => ['description' => 'The name of the custom library.', 'type' => 'string', 'example' => '自定义库1'."\n", 'title' => ''],
+ 'KeyWords' => ['description' => 'The custom words. Separate multiple words with commas.', 'type' => 'string', 'example' => '自定义词1,自定义词2'."\n", 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
'CustomImage' => [
- 'description' => 'If a custom image library is hit, information about the hit custom image library is returned.',
+ 'description' => 'A list of hits from the custom image library.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The image library ID.',
- 'type' => 'string',
- 'example' => 'lib_123456',
- ],
- 'ImageId' => [
- 'description' => 'The image ID.',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => 'The image library name.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'LibId' => ['description' => 'The ID of the hit custom image library.', 'type' => 'string', 'example' => '图库123'."\n", 'title' => ''],
+ 'ImageId' => ['description' => 'The ID of the hit custom image.', 'type' => 'string', 'example' => '123456', 'title' => ''],
+ 'LibName' => ['description' => 'The name of the hit custom image library.', 'type' => 'string', 'example' => '图库123'."\n", 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'PublicFigure' => [
- 'description' => 'Person information list.',
+ 'description' => 'A list of public figures.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FigureName' => [
- 'description' => 'Identified person name information.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'FigureId' => [
- 'description' => 'Identified person coding information.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'FigureName' => ['description' => 'The name of the detected public figure.', 'type' => 'string', 'example' => 'yzazhzou', 'title' => ''],
+ 'FigureId' => ['description' => 'The ID of the detected public figure.', 'type' => 'string', 'example' => 'xxx001', 'title' => ''],
'Location' => [
- 'description' => 'the data array of location info',
+ 'description' => 'The location of the identity.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => 'X coordinate',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => 'Y coordinate',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => 'The weight',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'H' => [
- 'description' => 'The height',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
+ 'X' => ['description' => 'The distance from the upper-left corner of the detected area to the y-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''],
+ 'Y' => ['description' => 'The distance from the upper-left corner of the detected area to the x-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
+ 'W' => ['description' => 'The width of the detected area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '330', 'title' => ''],
+ 'H' => ['description' => 'The height of the detected area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '440', 'title' => ''],
],
- 'description' => 'the data of location info',
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'LogoData' => [
- 'description' => 'Logo information.',
+ 'description' => 'The identity information.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Location' => [
- 'description' => 'Location information.',
+ 'description' => 'The location of the logo.',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => 'The distance between the upper-left corner of the text area and the y-axis, using the upper-left corner of the image as the coordinate origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => 'The distance between the upper left corner of the text area and the x-axis, with the upper left corner of the image as the coordinate origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => 'The width of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'H' => [
- 'description' => 'The height of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
+ 'X' => ['description' => 'The distance from the upper-left corner of the detected area to the y-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''],
+ 'Y' => ['description' => 'The distance from the upper-left corner of the detected area to the x-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
+ 'W' => ['description' => 'The width of the detected area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '330', 'title' => ''],
+ 'H' => ['description' => 'The height of the detected area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '440', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Logo' => [
- 'description' => 'Logo information.',
+ 'description' => 'The identity information.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'Logo category.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Name' => [
- 'description' => 'Logo name.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'Confidence' => [
- 'description' => 'The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.01',
- ],
+ 'Label' => ['description' => 'The identity category.', 'type' => 'string', 'example' => 'logo_sns', 'title' => ''],
+ 'Name' => ['description' => 'The identity name.', 'type' => 'string', 'example' => '钉钉', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score. The value ranges from 0 to 100, with two decimal places retained.', 'type' => 'number', 'format' => 'float', 'example' => '99.1', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'FaceData' => [
- 'description' => 'The returned face attribute information',
+ 'description' => 'The facial attribute detection results.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Age' => [
- 'description' => 'The age recognition result.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '18',
- ],
+ 'Age' => ['description' => 'The detected age.', 'type' => 'integer', 'format' => 'int32', 'example' => '18', 'title' => ''],
'Bang' => [
- 'description' => 'Indicates whether the recognition result of bangs is available.',
+ 'description' => 'The detection result for bangs.',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => 'Indicates whether the recognition result of bangs is available.',
- 'type' => 'string',
- 'example' => 'Has',
- ],
- 'Confidence' => [
- 'description' => 'The confidence level of the bang recognition result. Valid values: 0 to 100. A higher value indicates a more credible result.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.88'."\n",
- ],
+ 'Value' => ['description' => 'The detection result for bangs. Valid values:'."\n"
+ ."\n"
+ .'- Has: The person has bangs.'."\n"
+ ."\n"
+ .'- None: The person does not have bangs.', 'type' => 'string', 'example' => 'Has', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence level of the bangs detection. The value ranges from 0 to 100. A higher value indicates a more reliable result.', 'type' => 'number', 'format' => 'float', 'example' => '81.88'."\n", 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Gender' => [
- 'description' => 'The gender recognition result.',
+ 'description' => 'The gender detection result.',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => 'The gender recognition result. Valid values:'."\n"
- ."\n"
- .'- Male'."\n"
- ."\n"
- .'- FeMale',
- 'type' => 'string',
- 'example' => 'FeMale',
- ],
- 'Confidence' => [
- 'description' => 'The confidence level of the gender recognition result. Valid values: 0 to 100. A higher value indicates a more credible result.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.88',
- ],
+ 'Value' => ['description' => 'The detected gender. Valid values:'."\n"
+ ."\n"
+ .'- Male: male'."\n"
+ ."\n"
+ .'- FeMale: female', 'type' => 'string', 'example' => 'FeMale', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence level of the gender detection. The value ranges from 0 to 100. A higher value indicates a more reliable result.', 'type' => 'number', 'format' => 'float', 'example' => '81.88', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'Glasses' => [
- 'description' => 'The recognition result of whether to wear glasses.'."\n"
- ."\n"
- .'- None: No glasses.'."\n"
- ."\n"
- .'- Wear: Wear glasses.'."\n"
- ."\n"
- .'- Sunglass: Wear sunglasses.',
- 'type' => 'string',
- 'example' => 'Common',
- ],
+ 'Glasses' => ['description' => 'Indicates whether the person is wearing glasses. Valid values:'."\n"
+ ."\n"
+ .'- None: The person is not wearing glasses.'."\n"
+ ."\n"
+ .'- Common: The person is wearing regular glasses.'."\n"
+ ."\n"
+ .'- Sunglass: The person is wearing sunglasses.', 'type' => 'string', 'example' => 'Common', 'title' => ''],
'Hairstyle' => [
- 'description' => 'The hairstyle recognition result.',
+ 'description' => 'The hairstyle detection result.',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => 'The hairstyle recognition result. Valid values:'."\n"
- ."\n"
- .'- Bald: bald head.'."\n"
- ."\n"
- .'- Long: Long hair.'."\n"
- ."\n"
- .'- Short: Short hair.',
- 'type' => 'string',
- 'example' => 'Short',
- ],
- 'Confidence' => [
- 'description' => 'The confidence level of the hairstyle recognition result. Valid values: 0 to 100. A higher value indicates a more credible result.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.88'."\n"
- ."\n",
- ],
+ 'Value' => ['description' => 'The detected hairstyle. Valid values:'."\n"
+ ."\n"
+ .'- Bald: bald'."\n"
+ ."\n"
+ .'- Long: long hair'."\n"
+ ."\n"
+ .'- Short: short hair', 'type' => 'string', 'example' => 'Short', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence level of the hairstyle detection. The value ranges from 0 to 100. A higher value indicates a more reliable result.', 'type' => 'number', 'format' => 'float', 'example' => '81.88'."\n"
+ ."\n", 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Hat' => [
- 'description' => 'The recognition result of whether to wear a hat.',
+ 'description' => 'The result of hat detection.',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => 'The recognition result of whether to wear the hat. Valid values:'."\n"
- ."\n"
- .'- Wear: Wear a hat.'."\n"
- ."\n"
- .'- None: No hat.',
- 'type' => 'string',
- 'example' => 'Wear',
- ],
- 'Confidence' => [
- 'description' => 'The confidence level of the result of wearing the hat. Valid values: 0 to 100. A higher value indicates a more credible result.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '88.88'."\n"
- ."\n",
- ],
+ 'Value' => ['description' => 'Indicates whether a hat is detected. Valid values:'."\n"
+ ."\n"
+ .'- Wear: A hat is worn.'."\n"
+ ."\n"
+ .'- None: No hat is worn.', 'type' => 'string', 'example' => 'Wear', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence level of the hat detection. The value ranges from 0 to 100. A higher value indicates a more reliable result.', 'type' => 'number', 'format' => 'float', 'example' => '88.88'."\n"
+ ."\n", 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Location' => [
'description' => 'The location of the face.',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => 'The distance from the upper-left corner of the face area to the y-axis with the upper-left corner of the image as the coordinate origin. Unit: pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '41'."\n"
- ."\n",
- ],
- 'Y' => [
- 'description' => 'The distance from the upper-left corner of the face area to the x-axis with the upper-left corner of the image as the coordinate origin. Unit: pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '84',
- ],
- 'W' => [
- 'description' => 'The width of the face area. Unit: pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '83',
- ],
- 'H' => [
- 'description' => 'The height of the face area. Unit: pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '26',
- ],
+ 'X' => ['description' => 'The distance from the upper-left corner of the face area to the y-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '41'."\n"
+ ."\n", 'title' => ''],
+ 'Y' => ['description' => 'The distance from the upper-left corner of the face area to the x-axis. The origin is the upper-left corner of the image. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '84', 'title' => ''],
+ 'W' => ['description' => 'The width of the face area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '83', 'title' => ''],
+ 'H' => ['description' => 'The height of the face area. Unit: pixel.', 'type' => 'integer', 'format' => 'int32', 'example' => '26', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Mask' => [
- 'description' => 'The recognition result of whether to wear a mask.',
+ 'description' => 'The result of mask detection.',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => 'The recognition result of whether to wear a mask. Valid values:'."\n"
- ."\n"
- .'- Wear a mask.'."\n"
- ."\n"
- .' - None: No mask.',
- 'type' => 'string',
- 'example' => 'Wear',
- ],
- 'Confidence' => [
- 'description' => 'The confidence level of the result of wearing the mask. Valid values: 0 to 100. A higher value indicates a more credible result.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.99',
- ],
+ 'Value' => ['description' => 'Indicates whether a mask is worn. Valid values:'."\n"
+ ."\n"
+ .'- Wear: A mask is worn.'."\n"
+ ."\n"
+ .'- None: No mask is worn.', 'type' => 'string', 'example' => 'Wear', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence level of the mask detection. The value ranges from 0 to 100. A higher value indicates a more reliable result.', 'type' => 'number', 'format' => 'float', 'example' => '99.99', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Mustache' => [
- 'description' => 'The identification result of whether there is a beard.',
+ 'description' => 'The result of mustache detection.',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => 'The identification result of whether there is a beard.Valid values:'."\n"
- ."\n"
- .'- Has:have a beard.'."\n"
- ."\n"
- .'- None:No beard.',
- 'type' => 'string',
- 'example' => 'Has',
- ],
- 'Confidence' => [
- 'description' => 'The confidence level of the result of the beard. Valid values: 0 to 100. A higher value indicates a more credible result.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.99',
- ],
+ 'Value' => ['description' => 'Indicates whether a mustache is present. Valid values:'."\n"
+ ."\n"
+ .'- Has: A mustache is present.'."\n"
+ ."\n"
+ .'- None: No mustache is present.', 'type' => 'string', 'example' => 'Has', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence level of the mustache detection. The value ranges from 0 to 100. A higher value indicates a more reliable result.', 'type' => 'number', 'format' => 'float', 'example' => '99.99', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Quality' => [
- 'description' => 'The quality information of the face image.',
+ 'description' => 'The quality of the face image.',
'type' => 'object',
'properties' => [
- 'Blur' => [
- 'description' => 'The blur of the face image. Valid values: 0 to 100. The higher the score, the more fuzzy it is.'."\n"
- .'Recommended values: 0 to 25.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5.88'."\n"
- ."\n",
- ],
- 'Integrity' => [
- 'description' => 'The integrity of the human face. Recommended values:80 to 100.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '100.0',
- ],
- 'Pitch' => [
- 'description' => 'The head-up or head-down angle of the face.'."\n"
- .'Recommended values:-30 to 30.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5.88',
- ],
- 'Roll' => [
- 'description' => 'The plane rotation angle of the face.'."\n"
- .'Recommended values:-30 to 30.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5.18',
- ],
- 'Yaw' => [
- 'description' => 'The left and right shaking angle of the human face.'."\n"
- .'Recommended values:-30 to 30.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5.18',
- ],
+ 'Blur' => ['description' => 'The blurriness of the face image. The value ranges from 0 to 100. A higher score indicates a blurrier image.'."\n"
+ ."\n"
+ .'A value from 0 to 25 is recommended.', 'type' => 'number', 'format' => 'float', 'example' => '5.88'."\n"
+ ."\n", 'title' => ''],
+ 'Integrity' => ['description' => 'The integrity of the face. The value ranges from 0 to 100. A higher score indicates a more complete face.'."\n"
+ ."\n"
+ .'A value from 80 to 100 is recommended.', 'type' => 'number', 'format' => 'float', 'example' => '100.0', 'title' => ''],
+ 'Pitch' => ['description' => 'The pitch angle of the face.'."\n"
+ ."\n"
+ .'A value from -30 to 30 is recommended.', 'type' => 'number', 'format' => 'float', 'example' => '5.88', 'title' => ''],
+ 'Roll' => ['description' => 'The roll angle of the face.'."\n"
+ ."\n"
+ .'A value from -30 to 30 is recommended.', 'type' => 'number', 'format' => 'float', 'example' => '5.18', 'title' => ''],
+ 'Yaw' => ['description' => 'The yaw angle of the face.'."\n"
+ ."\n"
+ .'A value from -30 to 30 is recommended.', 'type' => 'number', 'format' => 'float', 'example' => '5.18', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'Smile' => [
- 'description' => 'The smiling degree of the face.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '85.88'."\n"
- ."\n",
- ],
+ 'Smile' => ['description' => 'The degree of the smile. The value ranges from 0 to 100. A higher score indicates a wider smile.', 'type' => 'number', 'format' => 'float', 'example' => '85.88'."\n"
+ ."\n", 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'VlContent' => [
- 'description' => 'the vl output content',
+ 'description' => 'The output content.',
'type' => 'object',
'properties' => [
- 'OutputText' => [
- 'description' => 'the vl output content',
- 'type' => 'string',
- 'example' => 'this is a cat',
- ],
+ 'OutputText' => ['description' => 'The output content.', 'type' => 'string', 'example' => '这是一段描述', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'AigcData' => [
'type' => 'object',
@@ -1198,54 +1899,61 @@
'AIGC' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'type' => 'string',
- ],
- 'ContentProducer' => [
- 'type' => 'string',
- ],
- 'ProduceID' => [
- 'type' => 'string',
- ],
- 'ReservedCode1' => [
- 'type' => 'string',
- ],
- 'ContentPropagator' => [
- 'type' => 'string',
- ],
- 'PropagateID' => [
- 'type' => 'string',
- ],
- 'ReservedCode2' => [
- 'type' => 'string',
- ],
+ 'Label' => ['description' => 'Indicates whether the content is generated by artificial intelligence (AI). Valid values:'."\n"
+ ."\n"
+ .'- 1: The content is generated by AI.'."\n"
+ ."\n"
+ .'- 2: (For distribution platforms only) The content may be generated by AI.'."\n"
+ ."\n"
+ .'- 3: (For distribution platforms only) The content is suspected to be generated by AI.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'ContentProducer' => ['description' => 'The code or name of the service provider, which identifies the content producer.', 'type' => 'string', 'example' => '001191******M000100Y43', 'title' => ''],
+ 'ProduceID' => ['description' => 'The content production ID. This is a unique ID used on the production platform to trace the source of synthesized content.', 'type' => 'string', 'example' => '123******456'."\n"
+ ."\n", 'title' => ''],
+ 'ReservedCode1' => ['description' => 'A reserved field.'."\n"
+ ."\n"
+ .'This field can store information that the generative service provider uses for security protection to ensure the integrity of content and identities. A hashing mechanism based on ContentProducer and ProduceID can be used to securely store and verify key information.', 'type' => 'string', 'example' => 'd41d**********427e'."\n", 'title' => ''],
+ 'ContentPropagator' => ['description' => 'The name, ID, or code of the propagation platform. For services that provide AI-generated content, this can be the same as the value of ContentProducer.', 'type' => 'string', 'example' => '001191******M000100Y43', 'title' => ''],
+ 'PropagateID' => ['description' => 'The content propagation ID. This is a unique ID that the propagation platform assigns to the distributed synthetic content.', 'type' => 'string', 'example' => '123******456'."\n", 'title' => ''],
+ 'ReservedCode2' => ['description' => 'A reserved field.'."\n"
+ ."\n"
+ .'This field can be used by content distribution service providers for security protection to ensure the integrity of content and identities. A hashing mechanism based on ContentProducer and ProduceID can be used to securely store and verify key information.', 'type' => 'string', 'example' => 'd41d**********427e', 'title' => ''],
],
+ 'description' => 'The detection information for the implicit AIGC identity.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => 'The detection information for the implicit AIGC identity in the image.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'type' => 'string',
- ],
- 'AccountId' => [
- 'type' => 'string',
- ],
+ 'RiskLevel' => ['description' => 'The threat level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'ManualTaskId' => ['description' => 'The ID of the manual review task.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
+ 'AccountId' => ['description' => 'The AccountId specified in the request.', 'type' => 'string', 'example' => 'testaccountid123', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
'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' => 'ImageModeration',
- 'description' => '**Before you call this operation, make sure that you are familiar with the [billing](~~467826~~)[](https://www.aliyun.com/price/product?#/lvwang/detail/cdibag) of Image Moderation 2.0.'."\n",
- 'requestParamsDescription' => 'Sample request:'."\n"
+ 'description' => 'Before you call this operation, complete the following steps:'."\n"
+ ."\n"
+ .'1. [Activate AI Guardrails-Enhanced Edition](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn).'."\n"
+ ."\n"
+ .'2. Understand the [billing methods and pricing](https://help.aliyun.com/document_detail/467826.html?#section-h06-qz6-1pt) of the enhanced image moderation feature.'."\n"
+ ."\n"
+ .'3. For more information about API usage and parameters, see the [API reference](https://help.aliyun.com/document_detail/467829.html).',
+ 'requestParamsDescription' => 'Sample request parameters:'."\n"
."\n"
.'```JSON'."\n"
.'{'."\n"
@@ -1256,79 +1964,128 @@
.' "dataId": "img1234567"'."\n"
.' }'."\n"
.'}'."\n"
- .'```'."\n",
- 'responseParamsDescription' => 'Sample response parameters'."\n"
+ .'```',
+ 'responseParamsDescription' => 'Sample response:'."\n"
."\n"
- .' {'."\n"
- .' "Msg": "OK",'."\n"
- .' "Code": 200,'."\n"
- .' "Data": {'."\n"
- .' "dataId": "img1234567",'."\n"
- .' "result": ['."\n"
- .' {'."\n"
- .' "label": "pornographic_adultContent",'."\n"
- .' "confidence": 81'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "label": "sexual_partialNudity",'."\n"
- .' "confidence": 98'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "label": "violent_explosion",'."\n"
- .' "confidence": 70'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "label": "violent_explosion_lib",'."\n"
- .' "confidence": 81'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "RequestId": "ABCD1234-1234-1234-1234-1234XYZ"'."\n"
- .' }'."\n",
- ],
- 'ImageAsyncModeration' => [
- 'summary' => 'Moderates images in asynchronous mode. An asynchronous image moderation task does not return the moderation results in real time. To obtain moderation results, you can poll the moderation results periodically or enable callback notification. The moderation results are retained for a maximum of 3 days.',
- 'methods' => [
- 'post',
+ .'```'."\n"
+ .'{'."\n"
+ .' "Msg": "OK",'."\n"
+ .' "Code": 200,'."\n"
+ .' "Data": {'."\n"
+ .' "DataId": "img123****",'."\n"
+ .' "Result": ['."\n"
+ .' {'."\n"
+ .' "Label": "pornographic_adultContent",'."\n"
+ .' "Confidence": 81,'."\n"
+ .' "Description": "Adult pornographic content"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Label": "sexual_partialNudity",'."\n"
+ .' "Confidence": 98,'."\n"
+ .' "Description": "Partial nudity or sexual content"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion",'."\n"
+ .' "Confidence": 70,'."\n"
+ .' "Description": "Fireworks content"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "Label": "violent_explosion_lib",'."\n"
+ .' "Confidence": 81,'."\n"
+ .' "Description": "Fireworks content_hit custom library"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "RiskLevel": "high"'."\n"
+ .' },'."\n"
+ .' "RequestId": "ABCD1234-1234-1234-1234-1234XYZ"'."\n"
+ .'}'."\n"
+ .'```',
+ 'extraInfo' => '无',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-12T02:05:05.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2025-03-17T05:56:52.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-11-07T13:31:16.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-08-20T09:55:57.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-07-25T09:34:52.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-07-03T11:04:23.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-05-30T09:10:02.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-05-11T05:53:34.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-04-19T03:30:14.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-05-08T03:59:29.000Z', 'description' => 'Response parameters changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ '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' => 'The type of the moderation service.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'name' => 'Code',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The code.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '200'],
],
[
- 'name' => 'ServiceParameters',
- 'in' => 'query',
+ 'name' => 'Msg',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The message.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'OK'],
+ ],
+ [
+ 'name' => 'Checksum',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The checksum.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'abc'],
+ ],
+ [
+ 'name' => 'ReqId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The ID of the platform request. This ID is used to troubleshoot issues.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'],
+ ],
+ [
+ 'name' => 'Data',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The returned data.', 'type' => 'string', 'required' => false, 'title' => '', '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' => 'The parameters required by the moderation service. The value is a JSON string.',
+ 'description' => 'The channel field.',
'type' => 'string',
'required' => false,
- 'example' => '{"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img123****"}',
+ 'enumValueTitles' => ['ant' => 'ant'],
+ 'title' => '',
+ 'example' => 'ant',
],
],
],
@@ -1339,601 +2096,491 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => '4A926AE2-4C96-573F-824F-0532960799F8',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Data' => [
- 'description' => 'The data returned.',
- 'type' => 'object',
- 'properties' => [
- 'ReqId' => [
- 'description' => 'The reqId field returned by the Image Async Moderation API. You can use this field to query the detection results.',
- 'type' => 'string',
- 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2',
- ],
- 'DataId' => [
- 'description' => 'The ID of the moderated object.',
- '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' => 'The message.', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', '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' => 'ImageAsyncModeration',
- ],
- 'DescribeImageModerationResult' => [
- 'summary' => 'Obtains the moderation results of an Image Moderation 2.0 task.',
- 'methods' => [
- 'post',
+ 'title' => 'Manual Review Channel Callback Interface',
+ 'extraInfo' => '无',
+ 'summary' => 'The channel callback API for manual review results in Content Moderation.',
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200\\n}","type":"json"}]',
+ ],
+ 'ManualModeration' => [
+ 'summary' => 'Interface for submitting Content Moderation manual review requests',
+ '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' => 'The ReqId field returned by the asynchronous Image Moderation 2.0 API.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C',
- ],
+ 'name' => 'Service',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Service.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'imageManualCheck'],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Parameters required by the moderation service, in JSON string format.'."\n"
+ ."\n"
+ .'- url: The URL of the object to be inspected. Make sure the URL is accessible through the public network.'."\n"
+ .'- dataId: Optional. The data ID corresponding to the object being inspected.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"url": "https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => '2881AD4F-638B-52A3-BA20-F74C5B1CEAE3',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Message' => ['description' => 'Error message', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => 'Status code', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
'Data' => [
- 'description' => 'The image moderation results.'."\n",
+ 'description' => 'The response data.',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'The value of dataId that is specified in the API request. If this parameter is not specified in the API request, this field is not available in the response.'."\n",
- 'type' => 'string',
- 'example' => '2a5389eb-4ff8-4584-ac99-644e2a539aa1',
- ],
- 'Result' => [
- 'description' => 'The results of image moderation parameters such as the label parameter and the confidence parameter.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The labels returned after the image moderation.'."\n",
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Confidence' => [
- 'description' => 'The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'Description' => [
- 'description' => 'The description of the result.',
- 'type' => 'string',
- 'example' => 'no risk',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- ],
- ],
- 'FrameNum' => [
- 'description' => 'The number of frames.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Frame' => [
- 'description' => 'The information about the captured frames.'."\n",
- 'type' => 'string',
- 'example' => '[{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]',
- ],
- 'ReqId' => [
- 'description' => 'The reqId field returned by the Image Async Moderation API.',
- 'type' => 'string',
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'."\n",
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'type' => 'string',
- ],
- 'AccountId' => [
- 'type' => 'string',
- ],
+ 'DataId' => ['description' => 'The value of dataId passed in the API request. This field is not present if no dataId was passed in the request.', 'type' => 'string', 'title' => '', 'example' => '2a5389eb-4ff8-4584-ac99-644e2a539aa1'],
+ 'TaskId' => ['description' => 'The task ID', 'type' => 'string', 'title' => '', 'example' => 'xxxxx-xxxxx'],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'DescribeImageModerationResult',
- 'description' => '* Billing: This operation is free of charge.'."\n"
- .'* QPS limit: You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- 'responseParamsDescription' => 'The following table describes the response codes. You are charged by using the pay-as-you-go billing method only for requests whose response code is 200.'."\n"
- ."\n"
- .'|**Code**|**Description**|'."\n"
- .'|---|---|'."\n"
- .'|200|The request is successful.|'."\n"
- .'|280|The moderation is in progress.|'."\n"
- .'|400|Not all request parameters are configured.|'."\n"
- .'|401|The values specified for one or more request parameters are invalid.|'."\n"
- .'|402|Invalid request parameters. Check and modify them and try again.|'."\n"
- .'|403|The QPS of requests exceeds the upper limit. Check and modify the number of requests that are sent at a time.|'."\n"
- .'|404|The specified image failed to be downloaded. Check the URL of the image or try again.|'."\n"
- .'|405|Downloading the specified image timed out. The possible cause is that the image cannot be accessed. Check and adjust the image and try again.|'."\n"
- .'|406|The specified image is excessively large. Check and change the image size and try again.|'."\n"
- .'|407|The format of the specified image is not supported. Check and change the image format and try again.|'."\n"
- .'|408|You do not have the required permissions. The possible cause is that this account is not activated, has overdue payments, or is not authorized to call this API.|'."\n"
- .'|409|The specified request ID does not exist. The possible cause is that the query is performed too fast or the moderation results have exceeded the 30-day validity period.|'."\n"
- .'|500|A system exception occurred.|',
- ],
- 'VoiceModeration' => [
- 'summary' => 'Submits a Voice Moderation 2.0 task.',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ManualModeration',
+ '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' => 'All Resource', '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' => 'Retrieves the manual review result.',
+ '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' => 'The type of the moderation service.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'nickname_detection',
- ],
- ],
- [
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"url": "http://aliyundoc.com/test.flv", "dataId": "data1234"}',
- ],
+ 'schema' => ['description' => 'The parameter set required by the service, in JSON string format.'."\n"
+ .'- TaskId: The task ID returned when the task was submitted.', 'type' => 'string', 'required' => false, 'example' => '{\\"TaskId\\":\\"e5f2d886-4c23-440d-999c-bd98acde11b6\\"}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
+ 'Code' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Data' => [
- 'description' => 'The data returned.'."\n",
+ 'description' => 'The returned data.',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'DataId' => [
- 'description' => 'The ID of the moderated object.',
- 'type' => 'string',
- 'example' => 'data1234',
+ 'RiskLevel' => ['description' => 'The risk level, returned based on the configured high and low risk scores. Valid values:'."\n"
+ ."\n"
+ .'- high: High risk.'."\n"
+ .' '."\n"
+ .'- low: Low risk.'."\n"
+ ."\n"
+ .'- none: No risk detected.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'DataId' => ['description' => 'The value of dataId passed in the API request. This field is not returned if dataId was not specified in the request.', 'type' => 'string', 'example' => 'data1234', 'title' => ''],
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
+ 'ReviewCount' => ['title' => '', 'description' => 'The number of reviews.', 'type' => 'string', 'example' => '1'],
+ 'Result' => [
+ 'description' => 'The detailed label results.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The label item structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The risk label.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ 'Description' => ['description' => 'The label description.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'VoiceModeration',
- ],
- 'VoiceModerationResult' => [
- 'summary' => 'Obtains the moderation results of a Voice Moderation 2.0 task.',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Retrieve content security manual review result',
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ '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"}]',
+ 'translator' => 'machine',
+ ],
+ 'MultiModalAgent' => [
+ 'summary' => 'This is the synchronous detection API for the multi-modal agent.',
+ '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' => 'The type of the moderation service. Valid values: nickname_detection: user nickname'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => 'The set of parameters for the auditing service. This includes the taskId of the detection task to query. You can specify only one taskId at a time.', 'type' => 'string', 'required' => false, 'example' => '{"content":"测试文本","dataId":"img1234567"}', 'title' => ''],
],
[
- 'name' => 'ServiceParameters',
+ 'name' => 'AppID',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters of API requests that are sent from API Gateway to the backend service.'."\n"
- ."\n"
- .'For more information, see [ServiceParameter](~~43988~~).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"taskId":"xxxxx-xxxx"}',
- ],
+ 'schema' => ['description' => 'The unique identifier of the whiteboard application. To get the whiteboard application ID, see [CreateApp](~~204234~~).', 'type' => 'string', 'required' => false, 'example' => 'txt_check_agent_01', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request'."\n",
- 'type' => 'string',
- 'example' => '2881AD4F-638B-52A3-BA20-F74C5B1CEAE3',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
+ 'RequestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates that the request was successful.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
'Data' => [
- 'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => 'The URL of the moderated content.'."\n",
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com'."\n"
- ."\n",
- ],
- 'LiveId' => [
- 'description' => 'The unique ID of the live stream.'."\n",
- 'type' => 'string',
- 'example' => 'liveId',
- ],
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'kw24ihd0WGkdi5nniVZM@qOj-1x5Ibb',
- ],
- 'SliceDetails' => [
- 'description' => 'The moderation results of audio segments.'."\n",
+ 'DataId' => ['description' => 'The data ID.', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level. The value is returned based on the configured high and low risk scores. Valid values:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ ."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'Result' => [
'type' => 'array',
'items' => [
- 'description' => 'The moderation results of the audio segment.'."\n",
'type' => 'object',
'properties' => [
- 'StartTime' => [
- 'description' => 'The start time of the audio segment in seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'EndTime' => [
- 'description' => 'The end time of the audio segment in seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'StartTimestamp' => [
- 'description' => 'The start timestamp of the segment. Unit: milliseconds.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1678854649720',
- ],
- 'EndTimestamp' => [
- 'description' => 'The end timestamp of the segment. Unit: milliseconds.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1678854649720',
- ],
- 'Url' => [
- 'description' => 'The temporary URL of the audio segment.'."\n",
- 'type' => 'string',
- 'example' => 'https://aliyundoc.com'."\n"
- ."\n",
- ],
- 'Text' => [
- 'description' => 'The text converted from the audio segment.'."\n",
- 'type' => 'string',
- 'example' => 'Disgusting',
- ],
- 'Labels' => [
- 'description' => 'The details of the labels.'."\n",
- 'type' => 'string',
- 'example' => 'sexual_sounds',
- ],
- 'Score' => [
- 'description' => 'The risk score. Default range: 0 to 99.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '87.01',
- ],
- 'Extend' => [
- 'description' => 'Extended fields.'."\n",
- 'type' => 'string',
- 'example' => '{\\"riskTips\\":\\"sexuality_Suggestive\\",\\"riskWords\\":\\"pxxxxy\\"}'."\n"
- ."\n",
- ],
- 'RiskTips' => [
- 'description' => 'The details of the risky content.'."\n",
- 'type' => 'string',
- 'example' => 'sexuality_Suggestive',
- ],
- 'RiskWords' => [
- 'description' => 'The term hit by the risky content.'."\n",
- 'type' => 'string',
- 'example' => 'AAA,BBB,CCC',
- ],
- 'OriginAlgoResult' => [
- 'description' => 'Reserved parameter.'."\n",
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'Descriptions' => [
- 'description' => 'The description of the labels.',
- 'type' => 'string',
- 'example' => 'no risk',
- ],
+ 'Label' => ['description' => 'The risk label.', 'type' => 'string', 'example' => 'violent_explosion', 'title' => ''],
+ 'Description' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
+ 'Reason' => ['description' => 'A description of the result when the session is terminated.'."\n"
+ ."\n"
+ .'- **SESSION\\_KILLED**: The session was successfully terminated.'."\n"
+ ."\n"
+ .'- **SESSION\\_EXPIRED**: The session has expired.'."\n"
+ ."\n"
+ .'- **SESSION\\_NO\\_PERMISSION**: The account used to terminate the session does not have sufficient permissions.'."\n"
+ ."\n"
+ .'- **SESSION\\_ACCOUNT\\_ERROR**: The account or password used to terminate the session is incorrect.'."\n"
+ ."\n"
+ .'- **SESSION\\_IGNORED\\_USER**: The session of an account that does not need to be terminated.'."\n"
+ ."\n"
+ .'- **SESSION\\_INTERNAL\\_USER\\_OR\\_COMMAND**: The session or command of an Alibaba Cloud operations account.'."\n"
+ ."\n"
+ .'- **SESSION\\_KILL\\_TASK\\_TIMEOUT**: A timeout occurred when terminating the session.'."\n"
+ ."\n"
+ .'- **SESSION\\_OTHER\\_ERROR**: Other errors.', 'type' => 'string', 'example' => 'TRACER_SLB_ALL_DEST_WEIGHT_0', 'title' => ''],
],
+ 'description' => 'The returned collection.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'The structure of the label item.',
+ 'title' => '',
+ 'example' => '',
],
- 'DataId' => [
- 'description' => 'The ID of the moderated object.',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'type' => 'string',
+ 'Usage' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PromptLength' => ['description' => 'The length of the prompt.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ 'ContentLength' => ['description' => 'The length of the content.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
+ 'AgentDetail' => ['description' => 'Agent details.', 'type' => 'object', 'title' => '', 'example' => ''],
+ ],
+ 'description' => 'Token usage.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => 'The result of the image content detection.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ],
],
- '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' => 'VoiceModerationResult',
- ],
- 'VoiceModerationCancel' => [
- 'summary' => 'Cancels a Voice Moderation 2.0 task.',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'MultiModalAgent',
+ 'description' => 'This is the AI Guardrails agent.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalAgent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', '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' => 'The type of the moderation service.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => 'The type of the moderation service. Valid values:'."\n"
+ ."\n"
+ .'- query\\_security\\_check: AI input content moderation.'."\n"
+ ."\n"
+ .'- response\\_security\\_check: AI-generated content moderation.', 'type' => 'string', 'required' => false, 'example' => 'query_security_check_pro', 'title' => ''],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"taskId":"xxxxx-xxxx"}',
- ],
+ 'schema' => ['description' => 'The set of parameters required for the moderation service. The value must be a JSON string.', '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"
+ .'}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => '4A926AE2-4C96-573F-824F-0532960799F8',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'SUCCESS',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Data' => [
+ 'description' => 'The returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Detail' => [
+ 'description' => 'The detection details.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The detection details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => [
+ 'description' => 'The detection results.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The detection results.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The label.', 'type' => 'string', 'example' => 'contraband_act', 'title' => ''],
+ 'Description' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '疑似违禁行为', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score. Valid values: 0 to 100. The value is accurate to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '100', 'title' => ''],
+ 'Level' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'none', 'title' => ''],
+ 'Ext' => ['description' => 'The extended information about the detection results.', 'type' => 'any', 'example' => '{}', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Type' => ['description' => 'The type.', 'type' => 'string', 'example' => 'contentModeration', 'title' => ''],
+ 'Level' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'none', 'title' => ''],
+ 'Suggestion' => ['description' => 'The moderation suggestion. Valid values: -**block**: The content is non-compliant. -**pass**: The content is compliant.', 'type' => 'string', 'example' => 'pass', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Suggestion' => ['description' => 'The moderation suggestion. Valid values: -block: The content is non-compliant. -pass: The content is compliant.', 'type' => 'string', 'example' => 'pass', 'title' => ''],
+ 'DataId' => ['description' => 'The data ID of the detection object.', 'type' => 'string', 'example' => 'data1234', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A926AE2-4C96-573F-824F-0532960799F8\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
- 'title' => 'VoiceModerationCancel',
- ],
- 'VideoModeration' => [
- 'summary' => 'Identifies risky or illegal content in video files. You can call this operation to submit a moderation task.',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'MultiModalGuard',
+ 'summary' => 'API for synchronous detection',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalGuard',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', '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' => 'An asynchronous multimodal AI safety guardrail API for audio and video. It provides comprehensive detection of non-compliant content, sensitive content, prompt injection attacks, malicious files, and malicious URLs.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1946,96 +2593,65 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '187556',
- 'abilityTreeNodes' => [
- 'FEATURElvwang53TCRC',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang53TCRC'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The type of the moderation service.',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'liveStreamDetection' => 'liveStreamDetection',
- 'videoDetection' => 'videoDetection',
- 'liveStreamDetection_cb' => 'liveStreamDetection_cb',
- 'videoDetection_cb' => 'videoDetection_cb',
- ],
- 'example' => 'videoDetection',
- ],
+ 'schema' => ['description' => 'The moderation service type. Valid values: `audio_security_check` and `video_security_check`.', 'type' => 'string', 'example' => 'audio_security_check', 'title' => '', 'required' => false],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"url\\": \\"https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4\\", \\"dataId\\": \\"94db0b88-f521-11ed-806e-fae21c1f239c\\"}',
- ],
+ 'schema' => ['description' => 'The parameter set required for the moderation service.', 'type' => 'string', 'example' => '{"url": "https://testxxx.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}', 'title' => '', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', 'title' => ''],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The response code. A value of 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Data' => [
- 'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'DataId' => [
- 'description' => 'The ID of the moderated object.',
- 'type' => 'string',
- 'example' => 'data1234',
- ],
+ 'TaskId' => ['description' => 'The ID of the asynchronous task.', 'type' => 'string', 'example' => 'au_f_xxxxx', 'title' => ''],
+ 'DataId' => ['description' => 'The custom data ID.', 'type' => 'string', 'example' => 'dataIdxxx', 'title' => ''],
],
+ 'title' => '',
+ 'description' => 'The response data.',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'description' => 'Response schema',
+ 'example' => '',
],
],
],
- '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' => 'VideoModeration',
- ],
- 'VideoModerationResult' => [
- 'summary' => 'Get Video Detection Results',
- 'methods' => [
- 'post',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'MultiModalGuardAsync',
+ 'description' => 'If an API is subject to billing, add the following sentence in bold: "Before using this API, ensure that you fully understand the billing methods and pricing of the XXX product." The word "pricing" must be a hyperlink to 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' => 'This AI Security Guardrail API retrieves asynchronous multimodal results from both audio and video.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2048,564 +2664,410 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '187919',
- 'abilityTreeNodes' => [
- 'FEATURElvwang53TCRC',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang53TCRC'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The type of the moderation service.'."\n"
- ."\n"
- .'Valid values:'."\n"
- ."\n"
- .'* liveStreamDetection: live stream moderation'."\n"
- .'* videoDetection: video file moderation'."\n"
- .'* liveStreamDetection_cb: live stream moderation_For regions outside the Chinese mainland'."\n"
- .'* videoDetection_cb: video file moderation_For regions outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'liveStreamDetection' => '',
- 'videoDetection' => '',
- 'liveStreamDetection_cb' => '',
- 'videoDetection_cb' => '',
- ],
- 'example' => 'videoDetection',
- ],
+ 'schema' => ['description' => 'The moderation service to run.', 'type' => 'string', 'required' => false, 'example' => 'audio_security_check', 'title' => ''],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The ID of the task that you want to query. You can specify one task ID at a time.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"taskId\\":\\"au_f_8PoWiZKoLbczp5HRn69VdT-1y8@U5\\"}',
- ],
+ 'schema' => ['description' => 'The parameters for the moderation service, provided as a JSON string.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "taskId": "au_f_xxxxx"'."\n"
+ .'}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request'."\n",
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code. The status code 200 indicates that the request was successful.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'success finished',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Code' => ['description' => 'The status code of the response.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
'Data' => [
- 'description' => 'The moderation results.'."\n",
'type' => 'object',
'properties' => [
- 'LiveId' => [
- 'description' => 'The unique ID of the live stream.'."\n",
- 'type' => 'string',
- 'example' => 'liveId',
- ],
- 'DataId' => [
- 'description' => 'The value of dataId that is specified in the API request. If this parameter is not specified in the API request, the dataId field is not available in the response.'."\n",
- 'type' => 'string',
- 'example' => 'product_content-2055763',
- ],
+ 'LiveId' => ['description' => 'The unique identifier for the live stream.', 'type' => 'string', 'example' => 'liveId', 'title' => ''],
+ 'DataId' => ['description' => 'The value of the `dataId` parameter from the request. This field is omitted if `dataId` was not provided.', 'type' => 'string', 'example' => 'data1234', 'title' => ''],
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'vi_f_xxx', 'title' => ''],
+ 'Suggestion' => ['description' => 'The recommended action. Valid values:'."\n"
+ ."\n"
+ .'- `block`: Block the content.'."\n"
+ ."\n"
+ .'- `pass`: Pass the content.'."\n"
+ ."\n"
+ .'- `watch`: The content requires review.'."\n"
+ ."\n"
+ .'- `mask`: Mask the content.', 'type' => 'string', 'example' => 'pass', 'title' => ''],
'AudioResult' => [
- 'description' => 'The voice moderation results. The moderation results contain a structure.'."\n",
'type' => 'object',
'properties' => [
+ 'Suggestion' => ['description' => 'The overall recommended action for the audio content.', 'type' => 'string', 'example' => 'pass', 'title' => ''],
+ 'SliceNum' => ['description' => 'The slice count.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'SliceDetails' => [
- 'description' => 'The details about the text in the moderated voice. The value is a JSON array that contains one or more elements. Each element corresponds to a text entry.'."\n",
'type' => 'array',
'items' => [
- 'description' => 'Segment details.'."\n",
'type' => 'object',
'properties' => [
- 'StartTime' => [
- 'description' => 'The start time of the text after voice-to-text conversion. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'EndTime' => [
- 'description' => 'The end time of the text after voice-to-text conversion. Unit: seconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'StartTimestamp' => [
- 'description' => 'The start timestamp of the segment. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1659935002123',
- ],
- 'EndTimestamp' => [
- 'description' => 'The end timestamp of the segment. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1685245261939',
- ],
- 'Url' => [
- 'description' => 'If the moderation object is a voice stream, this parameter indicates the temporary access URL of the voice stream to which the text entry corresponds. The validity period of the URL is 30 minutes. You must prepare another URL to store the voice stream at the earliest opportunity.'."\n",
- 'type' => 'string',
- 'example' => 'http://xxxx.abc.img',
- ],
- 'Text' => [
- 'description' => 'The text converted from voice.'."\n",
- 'type' => 'string',
- 'example' => 'Disgusting',
- ],
- 'Labels' => [
- 'description' => 'The details of the labels.'."\n",
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'Score' => [
- 'description' => 'The risk score. Default range: 0 to 99.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '5',
- ],
- 'Extend' => [
- 'description' => 'A reserved parameter.'."\n",
- 'type' => 'string',
- 'example' => '{\\"consoleProduct\\":\\"slbnext\\"}',
- ],
- 'RiskTips' => [
- 'description' => 'Subcategory labels. Multiple labels are separated by commas (,).'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'RiskWords' => [
- 'description' => 'The risk words that are hit. Multiple words are separated by commas (,).'."\n",
- 'type' => 'string',
- 'example' => '""',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'Descriptions' => [
- 'description' => 'The description of the labels.',
- 'type' => 'string',
- 'example' => 'no risk',
- ],
- ],
- ],
- ],
- 'AudioSummarys' => [
- 'description' => 'Summary of voice labels.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'Object'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The voice label.'."\n",
- 'type' => 'string',
- 'example' => 'profanity',
- ],
- 'LabelSum' => [
- 'description' => 'The number of times that the label is matched.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'Description' => [
- 'description' => 'The description of the labels.',
- 'type' => 'string',
- 'example' => 'no risk',
+ 'StartTime' => ['description' => 'The start time of the audio slice, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'EndTime' => ['description' => 'The end time of the audio slice, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''],
+ 'Url' => ['description' => 'The temporary URL of the audio slice.', 'type' => 'string', 'example' => 'http://xxxx.abc.wav', 'title' => ''],
+ 'Text' => ['description' => 'The speech-to-text transcript of the audio slice.', 'type' => 'string', 'example' => '今天天气真不错', 'title' => ''],
+ 'Suggestion' => ['description' => 'The recommended action. Valid values:'."\n"
+ ."\n"
+ .'- `block`: Block the content.'."\n"
+ ."\n"
+ .'- `pass`: Pass the content.'."\n"
+ ."\n"
+ .'- `watch`: The content requires review.'."\n"
+ ."\n"
+ .'- `mask`: Mask the content.', 'type' => 'string', 'example' => 'block', 'title' => ''],
+ 'Detail' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The label of the detection result.', 'type' => 'string', 'example' => 'drug', 'title' => ''],
+ 'Description' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '毒品', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score, ranging from 0 to 100, accurate to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '90', 'title' => ''],
+ 'Level' => ['description' => 'The risk level. Valid values:'."\n"
+ ."\n"
+ .'- `high`: High risk. If the content matches an entry in a custom keyword library, the risk level defaults to high.'."\n"
+ ."\n"
+ .'- `medium`: Medium risk.'."\n"
+ ."\n"
+ .'- `low`: Low risk.'."\n"
+ ."\n"
+ .'- `none`: No risk detected.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'Ext' => ['description' => 'Additional information about the detection result.', 'type' => 'any', 'example' => '{}', 'title' => ''],
+ ],
+ 'description' => 'A single detection result.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'A list of detection results.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Type' => ['description' => 'The detection type. Valid values:'."\n"
+ ."\n"
+ .'- `contentModeration`: Content moderation.'."\n"
+ ."\n"
+ .'- `promptAttack`: Prompt attack detection.'."\n"
+ ."\n"
+ .'- `sensitiveData`: Sensitive data detection.'."\n"
+ ."\n"
+ .'- `modelHallucination`: Model hallucination.'."\n"
+ ."\n"
+ .'- `maliciousFile`: Malicious file detection.', 'type' => 'string', 'example' => 'contentModeration', 'title' => ''],
+ 'Level' => ['description' => 'The risk level. Valid values:'."\n"
+ ."\n"
+ .'- `high`: High risk. If the content matches an entry in a custom keyword library, the risk level defaults to high.'."\n"
+ ."\n"
+ .'- `medium`: Medium risk.'."\n"
+ ."\n"
+ .'- `low`: Low risk.'."\n"
+ ."\n"
+ .'- `none`: No risk detected.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'Suggestion' => ['description' => 'The recommended action. Valid values:'."\n"
+ ."\n"
+ .'- `block`: Block the content.'."\n"
+ ."\n"
+ .'- `pass`: Pass the content.'."\n"
+ ."\n"
+ .'- `watch`: The content requires review.'."\n"
+ ."\n"
+ .'- `mask`: Mask the content.', 'type' => 'string', 'example' => 'block', 'title' => ''],
+ ],
+ 'description' => 'Details for a single detection type.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'Detection details for the audio slice.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => 'Details for a single audio slice.',
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
+ 'description' => 'Details for each audio slice.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => 'The audio moderation result.',
+ 'title' => '',
+ 'example' => '',
],
'FrameResult' => [
- 'description' => 'The image moderation results. If the call is successful, the HTTP status code 200 and moderation results are returned. The moderation results contain a structure.'."\n",
'type' => 'object',
'properties' => [
- 'FrameNum' => [
- 'description' => 'The number of captured frames that are returned for the video file.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'SliceNum' => ['description' => 'The frame count.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'Suggestion' => ['description' => 'The recommended action. Valid values:'."\n"
+ ."\n"
+ .'- `block`: Block the content.'."\n"
+ ."\n"
+ .'- `pass`: Pass the content.'."\n"
+ ."\n"
+ .'- `watch`: The content requires review.'."\n"
+ ."\n"
+ .'- `mask`: Mask the content.', 'type' => 'string', 'example' => 'pass', 'title' => ''],
'Frames' => [
- 'description' => 'The information about the frames that match the labels.'."\n",
'type' => 'array',
'items' => [
- 'description' => 'Object'."\n",
'type' => 'object',
'properties' => [
- 'TempUrl' => [
- 'description' => 'The temporary URL of a captured frame.'."\n",
- 'type' => 'string',
- 'example' => 'http://xxxx.abc.jpg',
- ],
- 'Offset' => [
- 'description' => 'The interval between the start of the video file and the captured frame. Unit: seconds.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '338',
- ],
- 'Results' => [
- 'description' => 'The results of frame moderation parameters such as the label parameter and the confidence parameter.'."\n",
+ 'Url' => ['description' => 'The temporary URL of the video frame.', 'type' => 'string', 'example' => 'https://xxx.jpeg', 'title' => ''],
+ 'Offset' => ['description' => 'The time offset of the frame in the video, in seconds.', 'type' => 'number', 'format' => 'float', 'example' => '1.5', 'title' => ''],
+ 'Suggestion' => ['description' => 'The recommended action. Valid values:'."\n"
+ ."\n"
+ .'- `block`: Block the content.'."\n"
+ ."\n"
+ .'- `pass`: Pass the content.'."\n"
+ ."\n"
+ .'- `watch`: The content requires review.'."\n"
+ ."\n"
+ .'- `mask`: Mask the content.', 'type' => 'string', 'example' => 'block', 'title' => ''],
+ 'Timestamp' => ['description' => 'The absolute timestamp of the frame, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1684559739000', 'title' => ''],
+ 'Detail' => [
'type' => 'array',
'items' => [
- 'description' => 'Object'."\n",
'type' => 'object',
'properties' => [
- 'Service' => [
- 'description' => 'The moderation service that is called.'."\n",
- 'type' => 'string',
- 'example' => 'tonalityImprove',
- ],
'Result' => [
- 'description' => 'The results of frame moderation parameters such as the label parameter and the confidence parameter.'."\n",
'type' => 'array',
'items' => [
- 'description' => 'Object'."\n",
'type' => 'object',
'properties' => [
- 'Confidence' => [
- 'description' => 'The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'Label' => [
- 'description' => 'The label returned after a frame is moderated. Multiple risk labels and the corresponding scores of confidence levels may be returned for a frame.'."\n",
- 'type' => 'string',
- 'example' => 'bloody',
- ],
- 'Description' => [
- 'description' => 'The description of the result.',
- 'type' => 'string',
- 'example' => 'no risk'."\n",
- ],
- ],
- ],
- ],
- 'TextInImage' => [
- 'description' => 'The information about the text hit in the image is returned.'."\n",
- 'type' => 'object',
- ],
- 'CustomImage' => [
- 'description' => 'If a custom image library is hit, information about the custom image library is returned.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'Object'."\n",
- 'type' => 'object',
- 'properties' => [
- 'LibId' => [
- 'description' => 'The ID of the custom image library that is hit.'."\n",
- 'type' => 'string',
- 'example' => '12345678',
- ],
- 'ImageId' => [
- 'description' => 'The ID of the custom image that is hit.'."\n",
- 'type' => 'string',
- 'example' => '1234',
- ],
- ],
- ],
- ],
- 'PublicFigure' => [
- 'description' => 'If the video contains a specific figure, the code of the identified figure is returned.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'Object'."\n",
- 'type' => 'object',
- 'properties' => [
- 'FigureId' => [
- 'description' => 'The information about the code of the identified figure.'."\n",
- 'type' => 'string',
- 'example' => 'xxx001',
- ],
- 'FigureName' => [
- 'type' => 'string',
- ],
- 'Location' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'W' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'H' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'X' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Y' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'LogoData' => [
- 'description' => 'Returns logo information when the video contains a logo.',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Location' => [
- 'description' => 'The location of the logo.',
- 'type' => 'object',
- 'properties' => [
- 'X' => [
- 'description' => 'The distance from the top-left corner of the text area to the y-axis, with the top-left corner of the image as the origin. Unit: pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '111',
- ],
- 'Y' => [
- 'description' => 'The distance from the top-left corner of the text area to the x-axis, with the top-left corner of the image as the origin. Unit: pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '222',
- ],
- 'W' => [
- 'description' => 'The width of the text area. Unit: pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '111',
- ],
- 'H' => [
- 'description' => 'The height of the text area. Unit: pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '111',
- ],
- ],
- ],
- 'Logo' => [
- 'description' => 'Logo information.',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'label' => [
- 'description' => 'label',
- 'type' => 'string',
- 'example' => 'pt_logotoSocialNetwork',
- ],
- 'name' => [
- 'description' => 'Logo name.',
- 'type' => 'string',
- 'example' => '**logo',
- ],
- 'confidence' => [
- 'description' => 'Confidence score, ranging from 0 to 100, with two decimal places.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '99.10',
- ],
- ],
- ],
- ],
+ 'Label' => ['description' => 'The label of the detection result.', 'type' => 'string', 'example' => 'ad', 'title' => ''],
+ 'Description' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '广告', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score, ranging from 0 to 100, accurate to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '80', 'title' => ''],
+ 'Level' => ['description' => 'The risk level. Valid values:'."\n"
+ ."\n"
+ .'- `high`: High risk. If the content matches an entry in a custom keyword library, the risk level defaults to high.'."\n"
+ ."\n"
+ .'- `medium`: Medium risk.'."\n"
+ ."\n"
+ .'- `low`: Low risk.'."\n"
+ ."\n"
+ .'- `none`: No risk detected.', 'type' => 'string', 'example' => 'loose', 'title' => ''],
+ 'Ext' => ['description' => 'Additional information about the detection result.', 'type' => 'any', 'example' => '{}', 'title' => ''],
],
+ 'description' => 'A single detection result.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'A list of detection results.',
+ 'title' => '',
+ 'example' => '',
],
+ 'Type' => ['description' => 'The detection type. Valid values:'."\n"
+ ."\n"
+ .'- `contentModeration`: Content moderation.'."\n"
+ ."\n"
+ .'- `promptAttack`: Prompt attack detection.'."\n"
+ ."\n"
+ .'- `sensitiveData`: Sensitive data detection.'."\n"
+ ."\n"
+ .'- `modelHallucination`: Model hallucination.'."\n"
+ ."\n"
+ .'- `maliciousFile`: Malicious file detection.', 'type' => 'string', 'example' => 'contentModeration', 'title' => ''],
+ 'Level' => ['description' => 'The risk level. Valid values include:'."\n"
+ ."\n"
+ .'- high: High risk. If a match is found in a custom dictionary, the risk level defaults to high.'."\n"
+ ."\n"
+ .'- medium: Medium risk.'."\n"
+ ."\n"
+ .'- low: Low risk.'."\n"
+ ."\n"
+ .'- none: No risk detected.', 'type' => 'string', 'example' => 'low', 'title' => ''],
+ 'Suggestion' => ['description' => 'Suggestion'."\n"
+ ."\n"
+ .'- block: A suggestion to block.'."\n"
+ ."\n"
+ .'- pass: A suggestion to pass.'."\n"
+ ."\n"
+ .'- watch: A suggestion to watch.'."\n"
+ ."\n"
+ .'- mask: A suggestion to mask.', 'type' => 'string', 'example' => 'watch', 'title' => ''],
],
+ 'description' => 'Details for a single detection type.',
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'Timestamp' => [
- 'description' => 'The absolute timestamp. Unit: milliseconds.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1684559739000',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- ],
- ],
- 'FrameSummarys' => [
- 'description' => 'The summary of the labels against which captured frames are matched.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The label against which a captured frame is matched.'."\n",
- 'type' => 'string',
- 'example' => 'violent_armedForces',
- ],
- 'LabelSum' => [
- 'description' => 'The number of times that the label is matched.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'Description' => [
- 'description' => 'The description of the result.',
- 'type' => 'string',
- 'example' => 'no risk'."\n",
+ 'description' => 'A list of detection results.',
+ 'title' => '',
+ 'example' => '',
],
],
- 'description' => '',
+ 'description' => 'The detection results for a video frame.',
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
+ 'description' => 'The moderation results for video frames.',
+ 'title' => '',
+ 'example' => '',
],
],
- ],
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'type' => 'string',
+ 'description' => 'The video frame moderation result.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => 'The response data.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'description' => 'The response schema.',
+ 'example' => '',
],
],
],
- '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' => 'Query Video Moderation Task Results',
- 'description' => 'This operation is free of charge. We recommend that you query moderation results at least 30 seconds after you send an asynchronous moderation request. Content Moderation retains moderation results for at most 24 hours. After 24 hours, the results are deleted.',
- 'translator' => 'machine',
- ],
- 'VideoModerationCancel' => [
- 'summary' => 'Cancels a live stream moderation task.',
- 'methods' => [
- 'post',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'MultiModalGuardAsyncResult',
+ 'description' => 'For APIs that incur charges, add the following sentence in bold at the beginning of the description: "Before you use this API, make sure that you fully understand the billing methods and pricing of the XXX product." Link the word \'pricing\' to 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' => 'The type of the moderation service.',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'liveStreamDetection' => '视频直播流检测',
- 'videoDetection' => '视频文件检测',
- 'liveStreamDetection_cb' => '视频直播流审核_海外版',
- 'videoDetection_cb' => '视频文件审核_海外版',
- ],
- 'example' => 'videoDetection',
- ],
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'Service', 'type' => 'string', 'example' => 'query_security_check', 'required' => false],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"taskId\\":\\"vi_s_4O9gp7GfNQdx9GOqdekFmk-1z2RJT\\"}',
- ],
+ 'schema' => ['title' => '', 'description' => 'The service parameters.', 'type' => 'string', 'example' => '{"content":"test"}', 'required' => false],
+ ],
+ [
+ 'name' => 'ImageBase64Str',
+ 'in' => 'formData',
+ 'schema' => ['title' => '', 'description' => 'The base64-encoded string of the image.', 'type' => 'string', 'example' => '{base64}', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => '6CF2815C-****-****-B52E-FF6E2****492',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'OK',
+ 'RequestId' => ['title' => '', 'description' => 'The unique identifier of the request.', 'type' => 'string', 'example' => 'XXXX'],
+ 'Code' => ['title' => '', 'description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'OK'],
+ 'Data' => [
+ 'title' => '',
+ 'description' => 'The response data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Detail' => [
+ 'title' => '',
+ 'description' => 'The details.',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => 'The detail object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => [
+ 'title' => '',
+ 'description' => 'The result.',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => 'The first result in the detail data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['title' => '', 'description' => 'The label.', 'type' => 'string', 'example' => 'nonLable'],
+ 'Description' => ['title' => '', 'description' => 'The description.', 'type' => 'string', 'example' => '未检测出风险'],
+ 'Confidence' => ['title' => '', 'description' => 'The confidence level.', 'type' => 'number', 'format' => 'float', 'example' => '100'],
+ 'Level' => ['title' => '', 'description' => 'The risk level.', 'type' => 'string', 'example' => 'low'],
+ 'Ext' => ['title' => '', 'description' => 'The extension information.', 'type' => 'any', 'example' => 'json格式数据'],
+ ],
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'Type' => ['title' => '', 'description' => 'The category.', 'type' => 'string', 'example' => 'contentModeration'],
+ 'Level' => ['title' => '', 'description' => 'The risk level.', 'type' => 'string', 'example' => 'low'],
+ 'Suggestion' => ['title' => '', 'description' => 'The suggested action.', 'type' => 'string', 'example' => 'pass'],
+ ],
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'Suggestion' => ['title' => '', 'description' => 'The suggested action.', 'type' => 'string', 'example' => 'pass'],
+ 'DataId' => ['title' => '', 'description' => 'The data ID.', 'type' => 'string', 'example' => 'xxx'],
+ ],
+ 'enumValueTitles' => [],
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]',
- 'title' => 'VideoModerationCancel',
- ],
- 'FileModeration' => [
- 'summary' => 'Moderates files.',
- 'methods' => [
- 'post',
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You don\'t have permission.', 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Multimodal content moderation (Base64)',
+ 'summary' => 'Performs synchronous multimodal content moderation. Supports base64-encoded image strings.',
+ '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' => [],
@@ -2617,621 +3079,540 @@
'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' => 'The type of the moderation service.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'document_detection',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => 'The moderation service category. Valid values:'."\n"
+ ."\n"
+ .'- query_security_check_pro: AI input content security detection (pro edition).'."\n"
+ .'- response_security_check_pro: AI-generated content security detection (pro edition).'."\n"
+ .'- img_query_security_check: AIGC input image security detection.'."\n"
+ .'- img_response_security_check: AIGC output image security detection.'."\n"
+ .'- text_img_mix_guard: Multimodal (text + image) hybrid security detection.'."\n"
+ .'- file_security_sync_check: AIGC input or output file security detection.'."\n"
+ .'- text_file_sec_sync_check: Multimodal (text + file) real-time security detection.', 'type' => 'string', 'required' => false, 'example' => 'query_security_check_pro', 'title' => ''],
],
[
'name' => 'ServiceParameters',
- 'in' => 'formData',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The parameter set required by the moderation service, in JSON string format. The input parameter for text content is content (String), the input parameter for image content is imageUrls (JSONArray), and the input parameter for file content is 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"
+ .'}', 'title' => ''],
+ ],
+ [
+ 'name' => 'ProtocolType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The protocol type. Valid values:'."\n"
+ ."\n"
+ .'- OpenAI'."\n"
+ .'- DashScope'."\n"
+ .'- Anthropic', 'type' => 'string', 'required' => false, 'example' => 'DashScope', 'title' => ''],
+ ],
+ [
+ 'name' => 'ModelType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The model type. Valid values:'."\n"
+ ."\n"
+ .'- LLM', 'type' => 'string', 'required' => false, 'example' => 'LLM', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"url":"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf"}',
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '552F83A7-80C9-17ED-B344-0E13F7D3BF00'],
+ ],
+ 'example' => '',
],
],
],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'AI safety guardrail multimodal detection webSocket API',
+ 'summary' => 'Provides a WebSocket-based multimodal detection API for AI safety guardrails. This API supports content compliance detection, sensitive content detection, prompt attack detection, malicious file detection, malicious URL detection, and other comprehensive detection capabilities.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"552F83A7-80C9-17ED-B344-0E13F7D3BF00\\"\\n}","type":"json"}]',
+ ],
+ 'MultimodalAsyncModeration' => [
+ 'summary' => 'Multimodal-Asynchronous Detection',
+ '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' => 'The type of moderation service. Valid values:'."\n"
+ ."\n"
+ .'- post\\_text\\_image\\_detection: multimodal moderation for post text and images'."\n"
+ ."\n"
+ .'- profile\\_text\\_image\\_detection: multimodal moderation for profile picture and nickname', 'type' => 'string', 'required' => false, 'example' => 'post_text_image_detection', 'title' => ''],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The parameter set required by the moderation service. This value must be a JSON string.', 'type' => 'string', 'required' => false, 'example' => '{"mainData":{"mainContent":"testMainContent","mainTitle":"testMainTitle","mainImages":[{"imageUrl":"https://xxxx.com/001.jpg"}]}}', 'title' => ''],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => 'Return code. A value of 200 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The response message for this request.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'ReqId' => ['description' => 'The ReqId field returned by the URL asynchronous enhanced moderation API. Use this field to query moderation results.', 'type' => 'string', 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2', 'title' => ''],
+ 'DataId' => ['description' => 'The value of dataId passed in the API request. This field is absent if dataId was not included in the request.', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9', 'title' => ''],
],
+ 'description' => 'Returned data.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
],
],
],
- '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' => 'FileModeration',
- ],
- 'DescribeFileModerationResult' => [
- 'summary' => '文档审核结果',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'MultimodalAsyncModeration',
+ 'description' => 'The asynchronous URL moderation service supports two billing methods: pay-as-you-go and resource plan usage.'."\n"
+ ."\n"
+ .'- After you activate the enhanced text moderation service, the default billing method is pay-as-you-go. You are billed daily based on actual usage. No charges apply if you do not invoke the service.'."\n"
+ ."\n"
+ .'- If your moderation volume is large or your moderation needs are relatively stable, purchase a resource plan in advance. Larger resource plans offer greater discounts. You can stack multiple resource plans.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultimodalAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', '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' => 'This service uses dynamic policies and models to defend against adversarial content. It provides moderation services for various business scenarios and detects different types of violations.',
+ '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' => 'The type of the moderation service.'."\n",
+ 'description' => 'The type of moderation service. Valid values:',
+ 'enumValueTitles' => ['pgc_detection' => 'PGC general content moderation', 'nickname_detection' => 'User nickname moderation', 'comment_multilingual_pro' => 'Multilingual moderation for international business', 'chat_detection' => 'Private chat content moderation', 'ad_compliance_detection' => 'Ad compliance moderation', 'comment_detection' => 'Public chat comment moderation', 'ai_art_detection' => 'AIGC-related text moderation'],
'type' => 'string',
- 'required' => false,
- 'example' => 'document_detection',
+ 'docRequired' => true,
+ 'required' => true,
+ 'example' => 'nickname_detection',
+ 'title' => '',
],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.'."\n"
- ."\n"
- .'* taskId: required. The URL of the object that you want to moderate. Make sure that the URL can be accessed over the Internet.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"taskId\\":\\"vi_f_hPgx9PFIQISdlfA888hOFG-1yJq8v\\"}',
- ],
+ 'schema' => ['description' => 'The parameters for the moderation service. The value must be a JSON string.', 'type' => 'string', 'example' => '{"content":"The map is still black"}', 'required' => false, 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
+ 'description' => 'The response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request'."\n",
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code. The status code 200 indicates that the request was successful.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => 'The response code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The response message for the request.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => 'The data returned.'."\n",
+ 'description' => 'The moderation result data.',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'The ID of the moderated object.'."\n",
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'Url' => [
- 'description' => 'The URL of the moderated object.'."\n",
- 'type' => 'string',
- 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf',
- ],
- 'DocType' => [
- 'description' => 'Optional. The document type.'."\n",
- 'type' => 'string',
- 'example' => 'doc',
- ],
- 'PageResult' => [
- 'description' => 'An array that consists of the moderation results.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The results.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'PageNum' => [
- 'description' => 'The page number.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageUrl' => [
- 'description' => 'The image URL.'."\n",
- 'type' => 'string',
- 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.jpg',
- ],
- 'TextUrl' => [
- 'description' => 'The text URL.'."\n",
- 'type' => 'string',
- 'example' => 'https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.txt',
- ],
- 'ImageResult' => [
- 'description' => 'The image moderation results.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The results.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => 'The description.'."\n",
- 'type' => 'string',
- 'example' => 'This is a title.'."\n",
- ],
- 'Service' => [
- 'description' => 'The moderation service.'."\n",
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'Location' => [
- 'description' => 'The location information'."\n",
- 'type' => 'object',
- 'properties' => [
- 'X' => [
- 'description' => 'The X value of the coordinate point.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => 'The Y value of the coordinate point.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => 'The W value of the coordinate point.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'H' => [
- 'description' => 'The H value of the coordinate point.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
- ],
- ],
- 'LabelResult' => [
- 'description' => 'The label information.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The details of the labels.'."\n",
- 'type' => 'string',
- 'example' => 'nonlabel',
- ],
- 'Confidence' => [
- 'description' => 'The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '25.0',
- ],
- 'Description' => [
- 'description' => 'The description.',
- 'type' => 'string',
- 'example' => 'This is a title.'."\n",
- ],
- ],
- ],
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- ],
- ],
- 'TextResult' => [
- 'description' => 'The text moderation results.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The results.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => 'The description.'."\n",
- 'type' => 'string',
- 'example' => 'This is a title.'."\n",
- ],
- 'Service' => [
- 'description' => 'The moderation service.'."\n",
- 'type' => 'string',
- 'example' => 'chat_detection',
- ],
- 'Text' => [
- 'description' => 'The text content.'."\n",
- 'type' => 'string',
- 'example' => 'This is a text.'."\n",
- ],
- 'TextSegment' => [
- 'description' => 'The text segmentation information.'."\n",
- 'type' => 'string',
- 'example' => '[0,999]',
- ],
- 'Labels' => [
- 'description' => 'The details of the labels.'."\n",
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'Descriptions' => [
- 'description' => 'The description of the labels.',
- 'type' => 'string',
- 'example' => 'no risk',
- ],
- 'RiskWords' => [
- 'description' => 'The risk words that are hit.'."\n",
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RiskTips' => [
- 'description' => 'The risk details that are hit.'."\n",
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'PageSummary' => [
- 'description' => 'Summary of results',
+ 'labels' => ['description' => 'The moderation labels. If multiple labels are returned, they are separated by commas (,). Valid values: ad: advertisement profanity: profanity contraband: contraband sexual\\_content: sexual content violence: violent and terrorist content nonsense: meaningless content spam: spam negative\\_content: undesirable content cyberbullying: cyberbullying C\\_customized: A match in a custom library', 'type' => 'string', 'example' => 'porn', 'title' => ''],
+ 'reason' => ['description' => 'A JSON string that contains the reason for the moderation result. The string includes the following fields:'."\n"
+ ."\n"
+ .'1. riskTips: The sub-labels.'."\n"
+ ."\n"
+ .'2. riskWords: The detected risk words.'."\n"
+ ."\n"
+ .'3. adNums: The detected ad-related numbers.'."\n"
+ ."\n"
+ .'4. customizedWords: The detected custom words.'."\n"
+ ."\n"
+ .'5. customizedLibs: The names of the custom libraries that contain a match.'."\n"
+ ."\n"
+ .'6. riskLevel: The risk level, which is recommended by the system. Valid values:'."\n"
+ ."\n"
+ .'- high: high risk'."\n"
+ ."\n"
+ .'- medium: medium risk'."\n"
+ ."\n"
+ .'- low: low risk', 'type' => 'string', 'example' => '{\\"riskLevel\\":\\"high\\",\\"riskTips\\":\\"色情_低俗词\\",\\"riskWords\\":\\"色情服务\\"}', 'title' => ''],
+ 'accountId' => ['description' => 'The \\`accountId\\` specified in the request.', 'type' => 'string', 'example' => '123456', 'title' => ''],
+ 'deviceId' => ['description' => 'The \\`deviceId\\` specified in the request.', 'type' => 'string', 'example' => 'xxxxxx', 'title' => ''],
+ 'dataId' => ['description' => 'The data ID of the moderated object.'."\n"
+ ."\n"
+ .'> If you specify the dataId parameter in the request, its value is returned in this parameter.', 'type' => 'string', 'example' => 'text1234', 'title' => ''],
+ 'descriptions' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '疑似广告内容', 'title' => ''],
+ 'manualTaskId' => ['description' => 'The ID of the manual review task.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
+ 'ext' => [
'type' => 'object',
'properties' => [
- 'PageSum' => [
- 'description' => 'Number of pages',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ImageSummary' => [
- 'description' => 'Image Results Summary',
- 'type' => 'object',
- 'properties' => [
- 'RiskLevel' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ImageLabels' => [
- 'description' => 'Image Label',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The details of the labels.',
- 'type' => 'string',
- 'example' => 'contraband',
- ],
- 'LabelSum' => [
- 'description' => 'The number of times that the label is matched.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => 'The description.',
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
- ],
- ],
- ],
- 'TextSummary' => [
- 'description' => 'Text Results Summary',
+ 'llmContent' => [
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'TextLabels' => [
- 'description' => 'Text Label',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The details of the labels.',
- 'type' => 'string',
- 'example' => 'contraband',
- ],
- 'LabelSum' => [
- 'description' => 'The number of times that the label is matched.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => 'The description of the labels.',
- 'type' => 'string',
- 'example' => 'no risk',
- ],
- ],
- ],
- ],
+ 'outputText' => ['description' => 'The output content.', 'type' => 'string', 'example' => '正常。文本中无风险内容。', 'title' => ''],
],
+ 'description' => 'The output from the Large Language Model (LLM).',
+ 'title' => '',
+ 'example' => '',
],
],
- ],
- 'RiskLevel' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'AccountId' => [
- 'type' => 'string',
+ 'description' => 'Auxiliary reference information for the text.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'Describe File Moderation Result',
- ],
- 'DescribeImageResultExt' => [
- 'summary' => 'Obtains more auxiliary information that is identified by calling the Image Moderation 2.0 API. The auxiliary information includes the moderation results of images and text and the hit information of custom image libraries.',
- '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' => 'TextModeration',
+ 'description' => 'Before you use this operation, review the [billing methods and pricing](https://help.aliyun.com/document_detail/464388.html?#section-itm-m2s-ugq) for Text Moderation Plus.',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-12T02:05:04.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2025-01-06T10:54:43.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-05-08T03:59:29.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-01-03T02:55:25.000Z', 'description' => 'Response parameters changed, Response parameters changed'],
+ ['createdAt' => '2022-11-30T02:27:56.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-08-02T11:31:05.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-06-02T01:46:57.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-03-24T02:48:39.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2022-03-24T02:48:39.000Z', 'description' => 'Request parameters changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'machine',
+ ],
+ 'TextModerationPlus' => [
+ 'summary' => 'Text Moderation Plus is an upgraded service that moderates the input instructions and generated text of large language models (LLMs). This service can retrieve standard answers for specific input instructions and lets you enable or disable moderation labels.',
+ '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' => 'The reqId field returned by the Url Async Moderation API.',
+ 'description' => 'The type of the moderation service.',
+ 'enumValueTitles' => ['chat_detection_pro' => 'Detects content in private chats (Professional Edition).', 'llm_response_moderation' => 'Detects text generated by large language models (LLMs).', 'llm_query_moderation' => 'Detects text input to LLMs.', 'aigc_moderation_byllm' => 'The LLM service for text moderation in AI-generated content (AIGC) scenarios.', 'nickname_detection_pro' => 'Detects user nicknames (Professional Edition).', 'comment_detection_pro' => 'Detects content in public chats and comments (Professional Edition).', 'ugc_moderation_byllm' => 'The LLM service for text moderation in user-generated content (UGC) scenarios.', 'ad_compliance_detection_pro' => 'Detects ad compliance (Professional Edition).'],
'type' => 'string',
'required' => false,
- 'example' => '638EDDC65C82AB39319A9F60',
+ 'example' => 'ugc_moderation_byllm',
+ 'title' => '',
],
],
[
- 'name' => 'InfoType',
+ 'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The content of the information to be obtained. Multiple values are separated by commas.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customImage,textInImage',
- ],
+ 'schema' => ['description' => 'The set of parameters required for the moderation service. The value must be a JSON string.', 'type' => 'string', 'example' => '{"content":"Test content"}', 'required' => false, 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => '',
+ 'description' => 'The response schema.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'A human-readable description of the error.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
'Data' => [
- 'description' => 'The data returned.'."\n",
+ 'description' => 'The data that is returned.',
'type' => 'object',
'properties' => [
- 'CustomImage' => [
- 'description' => 'If a custom image library is hit, information about the hit custom image library is returned.',
+ 'Result' => [
+ 'description' => 'The moderation results.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'A collection is returned.',
'type' => 'object',
'properties' => [
- 'ImageId' => [
- 'description' => 'The image ID.',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => 'The image library name.',
- 'type' => 'string',
- 'example' => '图库123',
+ 'Label' => ['description' => 'The label.', 'type' => 'string', 'example' => 'porn', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score. The value ranges from 0 to 100. The value is accurate to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '81.22', 'title' => ''],
+ 'RiskWords' => ['description' => 'The risk keywords that were hit.', 'type' => 'string', 'example' => 'XXX', 'title' => ''],
+ 'CustomizedHit' => [
+ 'description' => 'The custom keywords that were hit.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of a custom keyword that was hit.',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibName' => ['description' => 'The name of the keyword library.', 'type' => 'string', 'example' => '测试词库', 'title' => ''],
+ 'KeyWords' => ['description' => 'The keywords that were hit, separated by commas.', 'type' => 'string', 'example' => 'xxx', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'LibId' => [
- 'description' => 'The image library ID.',
- 'type' => 'string',
- 'example' => '123456',
+ 'Description' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
+ 'RiskPositions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskWord' => ['description' => 'The non-compliant word.', 'type' => 'string', 'example' => '词A', 'title' => ''],
+ 'StartPos' => ['description' => 'The start position of the non-compliant word.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
+ 'EndPos' => ['description' => 'The end position of the non-compliant word.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''],
+ ],
+ 'description' => 'The position information of the risk words.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The position information of the risk words.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'TextInImage' => [
- 'description' => 'Returns the text information in the hit image.',
- 'type' => 'object',
- 'properties' => [
- 'OcrDatas' => [
- 'description' => 'Returns the text information in the recognized image.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Returns the text information in the recognized image.',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
- ],
- 'RiskWords' => [
- 'description' => 'The risk words that are hit. Multiple words are separated by commas (,).',
- 'type' => 'array',
- 'items' => [
- 'description' => 'The risk words that are hit. Multiple words are separated by commas (,).',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
+ 'Advice' => [
+ 'description' => 'The suggested actions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of a suggested action.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Answer' => ['description' => 'The suggested answer.', 'type' => 'string', 'example' => 'XXX', 'title' => ''],
+ 'HitLabel' => ['description' => 'The label that was hit.', 'type' => 'string', 'example' => 'XXX', 'title' => ''],
+ 'HitLibName' => ['description' => 'The name of the keyword library that was hit.', 'type' => 'string', 'example' => 'XXX', 'title' => ''],
],
- 'CustomTexts' => [
- 'description' => 'When a custom text library is hit, the custom library ID, custom library name, and custom word are returned.',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'LibId' => [
- 'description' => 'Custom library ID.',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => 'Custom library name.',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'KeyWords' => [
- 'description' => 'Custom words, multiple words separated by commas.',
- 'type' => 'string',
- 'example' => 'aaa,bbb',
- ],
- ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Score' => ['description' => 'The score.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'DataId' => ['description' => 'The ID of the data that was moderated.'."\n"
+ ."\n"
+ .'> If you specify the \\`dataId\\` parameter in the request, the value of this parameter is returned.', 'type' => 'string', 'example' => 'text1234', 'title' => ''],
+ 'SensitiveResult' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The label.', 'type' => 'string', 'example' => '1234', 'title' => ''],
+ 'SensitiveLevel' => ['description' => 'The sensitivity level.', 'type' => 'string', 'example' => 'S1', 'title' => ''],
+ 'SensitiveData' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'The sensitive data.', 'type' => 'string', 'example' => '上海', 'title' => ''],
+ 'description' => 'The list of sensitive data.',
+ 'title' => '',
+ 'example' => '',
],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '省份', 'title' => ''],
],
+ 'description' => 'The details of a sensitive data detection result.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'The sensitive data detection results.',
+ 'title' => '',
+ 'example' => '',
],
- 'PublicFigure' => [
- 'description' => 'Person information list.',
+ 'AttackResult' => [
'type' => 'array',
'items' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'FigureId' => [
- 'description' => 'Identified person coding information.',
- 'type' => 'string',
- 'example' => 'yzazhzou',
+ 'Label' => ['description' => 'The label.', 'type' => 'string', 'example' => 'safe', 'title' => ''],
+ 'Confidence' => ['description' => 'The confidence score.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''],
+ 'AttackLevel' => ['description' => 'The attack level.', 'type' => 'string', 'example' => 'none', 'title' => ''],
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'safe', 'title' => ''],
+ ],
+ 'description' => 'The details of a prompt attack detection result.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The prompt attack detection results.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'SensitiveLevel' => ['description' => 'The sensitivity level.', 'type' => 'string', 'example' => 'S0', 'title' => ''],
+ 'AttackLevel' => ['description' => 'The attack level.', 'type' => 'string', 'example' => 'none', 'title' => ''],
+ 'ManualTaskId' => ['description' => 'The ID of the manual review task.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
+ 'DetectedLanguage' => ['description' => 'The detected language.', 'type' => 'string', 'example' => 'en', 'title' => ''],
+ 'TranslatedContent' => ['description' => 'The translated content.', 'type' => 'string', 'example' => 'hello', 'title' => ''],
+ 'AccountId' => ['description' => 'The AccountId from the request.', 'type' => 'string', 'example' => '123456789', 'title' => ''],
+ 'Ext' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LlmContent' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OutputText' => ['description' => 'The output.', 'type' => 'string', 'example' => '正常。文本中无风险内容。', 'title' => ''],
],
+ 'description' => 'The LLM output.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => 'The auxiliary information.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'TextModerationPlus',
+ 'description' => 'Before you use this API, [activate AI Guardrails Pro](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn) and make sure that you understand the [billing methods and pricing](https://help.aliyun.com/document_detail/2671445.html?#section-6od-32j-99n) for Text Moderation Plus.',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-12T02:05:04.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2025-03-19T07:10:46.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2025-01-06T10:54:43.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-09-06T02:38:00.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-07-03T11:18:48.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-05-27T07:14:29.000Z', 'description' => 'Response parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TextModerationPlus'],
+ ],
],
- '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' => 'DescribeImageResultExt',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:TextModerationPlus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'translator' => 'machine',
],
'UrlAsyncModeration' => [
- 'summary' => 'Identifies whether URL links contain risks such as fraud, pornographic, and gambling content, to protect the platform content ecosystem.',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => 'The URL asynchronous moderation service detects threats such as fraud, pornography, and gambling in URLs to protect the content ecosystem of your platform.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3244,33 +3625,21 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '211718',
- 'abilityTreeNodes' => [
- 'FEATURElvwang7UL554',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang7UL554'],
],
'parameters' => [
[
'name' => 'Service',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the moderation service.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'url_detection',
- ],
+ 'schema' => ['description' => 'Service name: URL threat detection', 'type' => 'string', 'example' => 'url_detection_pro', 'required' => false, 'title' => ''],
],
[
'name' => 'ServiceParameters',
'in' => 'query',
- 'schema' => [
- 'description' => 'The parameters required by the moderation service. The value is a JSON string.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "url": "https://help.aliyun.com/",'."\n"
- .' "dataId": "url123******"'."\n"
- .'}',
- ],
+ 'schema' => ['description' => 'The parameter set for the content moderation object. This parameter is a JSON string. For more information, see the description of ServiceParameters.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "url": "https://help.aliyun.com/",'."\n"
+ .' "dataId": "url123******"'."\n"
+ .'}', 'title' => ''],
],
],
'responses' => [
@@ -3280,204 +3649,191 @@
'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' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6CF2815C-****-****-B52E-FF6E2****492'],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Msg' => ['description' => 'The response message for the current request.', 'type' => 'string', 'example' => 'success', 'title' => ''],
'Data' => [
- 'description' => 'The data returned.'."\n",
+ 'description' => 'The returned data.',
'type' => 'object',
'properties' => [
- 'ReqId' => [
- 'description' => 'The reqId field returned by the Url Async Moderation API.',
- 'type' => 'string',
- 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2',
- ],
- 'DataId' => [
- 'description' => 'The ID of the moderated object.',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
+ 'ReqId' => ['description' => 'The ReqId field returned by the enhanced URL asynchronous moderation API. You can use this field to query the detection results.', 'type' => 'string', 'example' => 'A07B3DB9-D762-5C56-95B1-8EC55CF176D2', 'title' => ''],
+ 'DataId' => ['description' => 'The value of dataId that you specified in the API request. If you did not specify this parameter in the request, this field is not returned.', 'type' => 'string', 'example' => '26769ada6e264e7ba9aa048241e12be9', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'UrlAsyncModeration',
- ],
- 'DescribeUrlModerationResult' => [
- 'summary' => 'Queries the moderation results based on the ReqId returned by asynchronous URL moderation.',
- 'methods' => [
- 'post',
+ 'description' => 'The URL asynchronous moderation service supports the pay-as-you-go and resource plan billing methods.'."\n"
+ ."\n"
+ .'- After you activate the enhanced edition of Text Moderation, the default billing method is pay-as-you-go. You are charged CNY 30 per 10,000 calls based on your daily usage. No fees are incurred if you do not call the service.'."\n"
+ ."\n"
+ .'- If you have many moderation requests or relatively fixed moderation requirements, we recommend that you purchase resource plans in advance. The larger the resource plan you purchase, the greater the discount you receive. You can purchase and use multiple resource plans.',
+ 'requestParamsDescription' => '### Description of ServiceParameters'."\n"
+ ."\n"
+ .'| **Name** | **Type** | **Required** | **Example** | **Description** |'."\n"
+ .'| ------------- | -------- | ------------ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n"
+ .'| url | String | Yes | <https://help.aliyun.com/> | The URL to be detected. Note: Make sure that the URL is in a valid format. Make sure that you pass only one URL in each request. |'."\n"
+ .'| **dataId** | String | No | url123\\*\\*\\*\\* | The data ID of the detection object. The value can contain letters, digits, underscores (\\_), hyphens (-), and periods (.). The value can be up to 64 characters in length. You can use this ID to uniquely identify your business data. |'."\n"
+ .'| **callback** | String | No | http\\://www\\.aliyun.com | The callback URL that is used to receive the detection results. The URL can be an HTTP or HTTPS URL. If you do not specify this parameter, you must periodically poll the detection results. The callback interface must support the POST method, UTF-8 encoding, and the form parameters **ReqId**, **Checksum**, and **Content**. AI Guardrails sets **ReqId**, **Checksum**, and **Content** based on the following rules and formats, and calls your callback interface to return the detection results. - **ReqId**: The request ID that is returned after you submit an asynchronous detection task. - **Checksum**: A string that is generated using the SHA256 algorithm based on the user UID, seed, and content. The user UID is the ID of your Alibaba Cloud account. You can view the UID in the [Alibaba Cloud Management Console](https://account.console.aliyun.com/#/secure). For tamper-proofing, after you receive the pushed results, you can generate a string based on the preceding algorithm and compare the string with the value of **Checksum**. **Note** The user UID must be the UID of an Alibaba Cloud account, not the UID of a RAM user. - **Content**: A JSON string. You must parse and invert the string to a JSON object. For an example of the **Content** result, see the sample response of a query for detection results. **Note** After your server-side callback interface receives the results pushed by AI Guardrails, if the returned HTTP status code is 200, the results are received. Other HTTP status codes indicate that the results failed to be received. If the results fail to be received, AI Guardrails repeatedly pushes the detection results for a maximum of 16 times until the results are received. If the results are not received after 16 retries, AI Guardrails stops pushing the results. We recommend that you check the status of the callback interface. |'."\n"
+ .'| **seed** | String | No | abc\\*\\*\\*\\* | A random string. This value is used for the signature in the callback notification request. The value can contain letters, digits, and underscores (\\_). The value can be up to 64 characters in length. You can customize this parameter. You can use this parameter to verify that the request is initiated by the Alibaba Cloud AI Guardrails service when you receive a callback notification from AI Guardrails. **Note** If you use a callback, you must specify this parameter. |'."\n"
+ .'| **cryptType** | String | No | SHA256 | When you use a callback notification (callback), you can set the algorithm that is used to encrypt the content of the callback notification. AI Guardrails encrypts the returned result (a string that consists of the **user UID, seed, and content**) based on the encryption algorithm that you specify, and then sends the encrypted result to your callback URL. Valid values: ● **SHA256** (default): the SHA256 encryption algorithm. ● **SM3**: the SM3 encryption algorithm. A hexadecimal string that consists of lowercase letters and digits is returned. For example, if abc is encrypted using the SM3 algorithm, the encrypted string is returned. |',
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'translator' => 'manual',
+ ],
+ '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' => 'The ReqId field returned by an asynchronous URL moderation operation.'."\n",
+ 'description' => 'The service code for video moderation.',
'type' => 'string',
'required' => false,
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C',
+ 'enumValueTitles' => ['liveStreamDetection' => '视频直播流审核', 'videoDetection' => '视频文件审核', 'liveStreamDetection_cb' => '视频直播流审核_海外版', 'videoDetection_cb' => '视频文件审核_海外版'],
+ 'title' => '',
+ 'example' => 'videoDetection',
],
],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The parameters that are required for the moderation service. The value must be a JSON string.'."\n"
+ ."\n"
+ .'- url: Required. The URL of the object to be moderated. Make sure that the URL can be accessed over the Internet.'."\n"
+ .'- dataId: Optional. The data ID of the object to be moderated.'."\n"
+ ."\n"
+ .'For more information, see [ServiceParameter](https://help.aliyun.com/document_detail/2505810.html).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"url": "https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response'."\n",
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '01F9144A-2088-5D87-935B-2DB865284B1A',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code. The status code 200 indicates that the request was successful.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- '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' => 'The response message.', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'],
+ 'Code' => ['description' => 'The return code. A return code of 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
'Data' => [
- 'description' => 'The data returned.'."\n",
+ 'description' => 'The returned data.',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'The value of dataId that is specified in the API request. If this parameter is not specified in the API request, this field is not available in the response.'."\n",
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'ReqId' => [
- 'description' => 'The ReqId field returned by an asynchronous URL moderation operation.'."\n",
- 'type' => 'string',
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C'."\n",
- ],
- 'Result' => [
- 'description' => 'The returned results.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The returned results.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The labels returned after the asynchronous URL moderation.'."\n",
- 'type' => 'string',
- 'example' => 'sexual_url',
- ],
- 'Confidence' => [
- 'description' => 'The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.'."\n",
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- ],
- ],
- ],
- 'ExtraInfo' => [
- 'description' => 'The supplementary information.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'IcpType' => [
- 'description' => 'The type of the ICP filing.'."\n",
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'IcpNo' => [
- 'description' => 'The ICP number.'."\n",
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'SiteType' => [
- 'description' => 'The type of site',
- 'type' => 'string',
- 'example' => 'game',
- ],
- ],
- ],
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => 'xxxxx-xxxxx'],
+ 'DataId' => ['description' => 'The value of the dataId parameter that you specified in the API request. This parameter is not returned if you did not specify the dataId parameter in the request.', 'type' => 'string', 'title' => '', 'example' => 'data1234'],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'DescribeUrlModerationResult',
- 'description' => '* Billing: This operation is free of charge.'."\n"
- .'* Query timeout: We recommend that you query moderation results at least 480 seconds after you send an asynchronous moderation request. Content Moderation retains moderation results for up to 3 days. After 3 days, the results are deleted.'."\n"
- .'* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n",
- ],
- 'DescribeUploadToken' => [
- 'summary' => 'Queries the token for uploading files.',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'VideoModeration',
+ 'summary' => 'The enhanced video moderation feature of Content Moderation detects threats and non-compliant content in video files. Use this operation to submit a moderation task.',
+ 'description' => 'Before you call this operation, make sure that you have activated the [enhanced Content Moderation](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn) service and understand the [billing methods](https://help.aliyun.com/document_detail/2505807.html) and [pricing](https://www.aliyun.com/price/product?#/lvwang/detail/cdibag) of the enhanced video moderation feature.',
+ 'changeSet' => [
+ ['createdAt' => '2024-03-26T02:18:01.000Z', 'description' => 'Response parameters changed'],
+ ],
+ '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' => 'All Resource', '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' => [
+ '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' => 'The moderation service type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['liveStreamDetection' => '视频直播流检测', 'videoDetection' => '视频文件检测', 'liveStreamDetection_cb' => '视频直播流审核_海外版', 'videoDetection_cb' => '视频文件审核_海外版'],
+ 'title' => '',
+ 'example' => 'videoDetection',
+ ],
+ ],
+ [
+ 'name' => 'ServiceParameters',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The TaskId of the task to be canceled.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{\\"taskId\\":\\"vi_s_4O9gp7GfNQdx9GOqdekFmk-1z2RJT\\"}'],
],
],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
@@ -3485,88 +3841,41 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Code' => [
- 'description' => 'The returned HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'AccessKeyId' => [
- 'description' => 'The AccessKey ID.'."\n",
- 'type' => 'string',
- 'example' => 'STS.NUEUjvDqMuvH6oQA1TXxxH4wVR',
- ],
- 'AccessKeySecret' => [
- 'description' => 'The AccessKey secret.'."\n",
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'SecurityToken' => [
- 'description' => 'The security token.'."\n",
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'FileNamePrefix' => [
- 'description' => 'The file prefix.',
- 'type' => 'string',
- 'example' => 'upload/1xxb89/',
- ],
- 'OssInternalEndPoint' => [
- 'description' => 'the oss intranet point.',
- 'type' => 'string',
- 'example' => 'https://oss-cn-shanghai-internal.aliyuncs.com',
- ],
- 'OssInternetEndPoint' => [
- 'description' => 'the oss internet point.',
- 'type' => 'string',
- 'example' => 'https://oss-cn-shanghai.aliyuncs.com',
- ],
- 'BucketName' => [
- 'description' => 'The bucket name.'."\n",
- 'type' => 'string',
- 'example' => 'oss-cip-shanghai',
- ],
- 'Expiration' => [
- 'description' => 'The time when the file sharing link expires.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1720577200',
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '6CF2815C-****-****-B52E-FF6E2****492'],
+ 'Code' => ['description' => 'The status code. The status code 200 indicates that the request was successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'title' => '', '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' => 'DescribeUploadToken',
- ],
- 'ImageBatchModeration' => [
- 'summary' => '图片批量调用',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'VideoModerationCancel',
+ 'summary' => 'Cancels an ApsaraVideo Live moderation task.',
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]',
+ ],
+ 'VideoModerationResult' => [
+ 'summary' => 'Retrieves the task result of an enhanced video content moderation node.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3577,550 +3886,459 @@
'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' => 'The types of detection supported by the enhanced image review, separated by English commas. Values:'."\n"
- ."\n"
- .'- baselineCheck:General Baseline Detection'."\n"
- .'- baselineCheck_pro:General Baseline Detection_Pro Edition'."\n"
- .'- tonalityImprove:Content governance monitoring'."\n"
- .'- aigcCheck:AIGC image detection',
+ 'description' => 'The ServiceCode for video moderation.',
+ 'enumValueTitles' => ['liveStreamDetection' => 'ApsaraVideo Live stream moderation', 'videoDetection' => 'video file moderation.', 'liveStreamDetection_cb' => 'ApsaraVideo Live stream moderation (international edition)', 'videoDetection_cb' => 'video file moderation (international edition)'],
'type' => 'string',
'required' => false,
- 'example' => 'baselineCheck,tonalityImprove',
+ 'example' => 'videoDetection',
+ 'title' => '',
],
],
[
'name' => 'ServiceParameters',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The set of relevant parameters for content detection objects.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "imageUrl": "https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png",'."\n"
- .' "dataId": "img123****"'."\n"
- .' }',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The parameter set required by the moderation service. taskId specifies the taskId of the moderation task to query. Only one taskId can be specified per request.', 'type' => 'string', 'required' => false, 'example' => '{"taskId":"au_f_8PoWiZKoLbczp5HRn69VdT-1y8@U5"}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'The ID of this invocation request, generated by Alibaba Cloud as a unique identifier for the request, can be used for troubleshooting and pinpointing issues.',
- 'type' => 'string',
- 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'."\n",
- ],
- 'Code' => [
- 'description' => 'Return code. A return of 200 represents success.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The response message for this request.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6CF2815C-C8C7-4A01-B52E-FF6E24F53492'],
+ 'Code' => ['description' => 'The return code. A value of 200 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The return message.', 'type' => 'string', 'example' => 'success finished', 'title' => ''],
'Data' => [
- 'description' => 'The result of image content detection.',
+ 'description' => 'The moderation result data.',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'To detect the data ID corresponding to the object.',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'Results' => [
- 'description' => 'The risk labels, confidence scores, and other parameters for each service\'s image detection, in an array structure.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'data structure.',
- 'type' => 'object',
- 'properties' => [
- 'Service' => [
- 'description' => 'The enhanced image detection service supports various detection services.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'Result' => [
- 'description' => 'The risk labels, confidence scores, and other parameters of image detection results, in an array structure.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'data structure.',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The labels returned after image content detection. A single image may have multiple labels and corresponding scores detected.',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, ranging from 0 to 100, rounded to two decimal places. Some labels do not have a confidence score.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'Description' => [
- 'description' => 'Description.',
- 'type' => 'string',
- 'example' => 'No risk detected',
- ],
- ],
- ],
- ],
- 'Ext' => [
- 'description' => 'Image supplementary reference information.',
+ 'LiveId' => ['description' => 'The unique ID of the live stream.', 'type' => 'string', 'example' => 'liveId', 'title' => ''],
+ 'DataId' => ['description' => 'The value of dataId passed in the API request. This field is not returned if dataId was not specified in the request.', 'type' => 'string', 'example' => 'product_content-2055763', 'title' => ''],
+ 'AudioResult' => [
+ 'description' => 'The segmented results of video audio moderation.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SliceDetails' => [
+ 'description' => 'The list of audio segments.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The segment details.',
'type' => 'object',
'properties' => [
- 'TextInImage' => [
- 'description' => 'Return the text information from the recognized images.',
- 'type' => 'object',
- 'properties' => [
- 'OcrResult' => [
- 'description' => 'Return the text information of each line recognized in the image.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'data structure.',
- 'type' => 'object',
- 'properties' => [
- 'Text' => [
- 'description' => 'Text information.',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
- 'Location' => [
- 'description' => 'Text line coordinate information.',
- 'type' => 'object',
- 'properties' => [
- 'X' => [
- 'description' => 'The distance from the top-left corner of the text area to the y-axis, with the top-left corner of the image as the origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => 'The distance from the top-left corner of the text area to the x-axis, with the top-left corner of the image as the origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'H' => [
- 'description' => 'The height of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '33',
- ],
- 'W' => [
- 'description' => 'The width of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '44',
- ],
- ],
- ],
- ],
- ],
- ],
- 'RiskWord' => [
- 'description' => 'hit risk keywords',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Text information.',
- 'type' => 'string',
- 'example' => 'Rocket.',
- ],
- ],
- 'CustomText' => [
- 'description' => 'When a custom text library is matched, return the custom library ID, custom library name, and custom words.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'data structure.',
- 'type' => 'object',
- 'properties' => [
- 'LibId' => [
- 'description' => 'Custom library ID.',
- 'type' => 'string',
- 'example' => '123456',
- ],
- 'LibName' => [
- 'description' => 'Custom library name.',
- 'type' => 'string',
- 'example' => 'Custom Library 1',
- ],
- 'KeyWords' => [
- 'description' => 'Custom words, separate multiple words with commas.',
- 'type' => 'string',
- 'example' => 'Custom Word 1 and Custom Word 2',
- ],
- ],
- ],
- ],
- ],
- ],
- 'CustomImage' => [
- 'description' => 'Custom image library hit information list.',
+ 'StartTime' => ['description' => 'The start time of the segment, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'EndTime' => ['description' => 'The end time of the segment, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'title' => ''],
+ 'StartTimestamp' => ['description' => 'The start timestamp, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1659935002123', 'title' => ''],
+ 'EndTimestamp' => ['description' => 'The end timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1685245261939', 'title' => ''],
+ 'Url' => ['description' => 'The temporary URL of the audio segment file.', 'type' => 'string', 'example' => 'http://xxxx.abc.img', 'title' => ''],
+ 'Text' => ['description' => 'The transcribed text of the audio segment.', 'type' => 'string', 'example' => '今天天气真不错', 'title' => ''],
+ 'Labels' => ['description' => 'The violated labels that were hit.', 'type' => 'string', 'example' => 'porn', 'title' => ''],
+ 'Score' => ['description' => 'The risk score. Default range: 0 to 99.', 'type' => 'number', 'format' => 'float', 'example' => '5', 'title' => ''],
+ 'Extend' => ['description' => 'The extended field.', 'type' => 'string', 'example' => '{\\"consoleProduct\\":\\"slbnext\\"}', 'title' => ''],
+ 'RiskTips' => ['description' => 'The details of the hit risk.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'RiskWords' => ['description' => 'The risk keywords that were hit.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level, returned based on the configured high and low risk score thresholds. Valid values:'."\n"
+ ."\n"
+ .'- high: High risk.'."\n"
+ ."\n"
+ .'- medium: Medium risk.'."\n"
+ .' '."\n"
+ .'- low: Low risk.'."\n"
+ ."\n"
+ .'- none: No risk detected.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'Descriptions' => ['description' => 'The label descriptions.', 'type' => 'string', 'example' => '疑似违禁内容', 'title' => ''],
+ 'Result' => [
+ 'title' => '',
+ 'description' => 'The text detection result.',
'type' => 'array',
'items' => [
- 'description' => 'data structure.',
+ 'title' => '',
+ 'description' => 'The individual result.',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'Custom library ID',
- 'type' => 'string',
- 'example' => '1965304870002',
- ],
- 'ImageId' => [
- 'description' => 'The ID of the hit custom image.',
- 'type' => 'string',
- 'example' => '1965304870002',
+ 'Label' => ['title' => '', 'description' => 'The label.', 'type' => 'string', 'example' => 'profanity'],
+ 'Confidence' => ['title' => '', 'description' => 'The confidence level.', 'type' => 'number', 'format' => 'float', 'example' => '99.9'],
+ 'RiskWords' => ['title' => '', 'description' => 'The hit risk content.', 'type' => 'string', 'example' => 'fxxk'],
+ 'RiskLevel' => ['title' => '', 'description' => 'The risk level.', 'type' => 'string', 'example' => 'high'],
+ 'CustomizedHit' => [
+ 'title' => '',
+ 'description' => 'The list of hit custom libraries.',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => 'The hit custom library.',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibName' => ['title' => '', 'description' => 'The name of the custom library.', 'type' => 'string', 'example' => '备用词库02'],
+ 'KeyWords' => ['title' => '', 'description' => 'The custom keywords.', 'type' => 'string', 'example' => 'fxxk'],
+ ],
+ 'example' => '',
+ ],
+ 'example' => '',
],
- 'LibName' => [
- 'description' => 'The name of the hit custom gallery.',
- 'type' => 'string',
- 'example' => 'Whitelist',
+ 'Description' => ['title' => '', 'description' => 'The description.', 'type' => 'string', 'example' => '疑似违禁内容'],
+ 'RiskPositions' => [
+ 'title' => '',
+ 'description' => 'The list of risk positions.',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => 'The risk position.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskWord' => ['title' => '', 'description' => 'The detected sensitive word.', 'type' => 'string', 'example' => 'fxxk'],
+ 'StartPos' => ['title' => '', 'description' => 'The start position.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'EndPos' => ['title' => '', 'description' => 'The end position.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ ],
+ 'example' => '',
+ ],
+ 'example' => '',
],
],
+ 'example' => '',
],
+ 'example' => '',
],
- 'PublicFigure' => [
- 'description' => 'List of character information.',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'AudioSummarys' => [
+ 'description' => 'The audio label summary.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The video audio label.', 'type' => 'string', 'example' => 'profanity', 'title' => ''],
+ 'LabelSum' => ['description' => 'The number of times the label was detected.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''],
+ 'Description' => ['description' => 'The label descriptions.', 'type' => 'string', 'example' => '疑似违禁内容', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RiskLevel' => ['description' => 'The risk level, returned based on the configured high and low risk score thresholds. Valid values:'."\n"
+ ."\n"
+ .'- high: High risk.'."\n"
+ ."\n"
+ .'- medium: Medium risk.'."\n"
+ .' '."\n"
+ .'- low: Low risk.'."\n"
+ ."\n"
+ .'- none: No risk detected.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'FrameResult' => [
+ 'description' => 'The list of video frame capture results.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FrameNum' => ['description' => 'The number of result frames.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'Frames' => [
+ 'description' => 'The information about video frames that contain hit labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TempUrl' => ['description' => 'The temporary access URL of the captured frame image.', 'type' => 'string', 'example' => 'http://xxxx.abc.jpg', 'title' => ''],
+ 'Offset' => ['description' => 'The offset of the captured frame.', 'type' => 'number', 'format' => 'float', 'example' => '338', 'title' => ''],
+ 'Results' => [
+ 'description' => 'The frame detection result details.',
'type' => 'array',
'items' => [
- 'description' => 'data structure.',
+ 'description' => 'The object.',
'type' => 'object',
'properties' => [
- 'FigureName' => [
- 'description' => 'The identified person\'s name information.',
- 'type' => 'string',
- 'example' => 'xxxxx',
+ 'Service' => ['description' => 'The image moderation service type.', 'type' => 'string', 'example' => 'tonalityImprove', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The hit result details.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Confidence' => ['description' => 'The confidence score, ranging from 0 to 100, rounded to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '50', 'title' => ''],
+ 'Label' => ['description' => 'The classification of the detection result.', 'type' => 'string', 'example' => 'bloody', 'title' => ''],
+ 'Description' => ['description' => 'The description of the Label field.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'FigureId' => [
- 'description' => 'Identify the encoded information of the person.',
- 'type' => 'string',
- 'example' => '12324222',
+ 'TextInImage' => ['description' => 'The text information detected in the hit image.', 'type' => 'object', 'title' => '', 'example' => ''],
+ 'CustomImage' => [
+ 'description' => 'The custom image library information returned when a custom image library is hit.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => 'The ID of the hit custom image library.', 'type' => 'string', 'example' => '12345678', 'title' => ''],
+ 'ImageId' => ['description' => 'The ID of the hit custom image.', 'type' => 'string', 'example' => '1234', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'Location' => [
- 'description' => 'The location information of the identifier.',
+ 'PublicFigure' => [
+ 'description' => 'The identified public figure codes returned when the video contains specific public figures.',
'type' => 'array',
'items' => [
- 'description' => 'data structure.',
+ 'description' => 'The object.',
'type' => 'object',
'properties' => [
- 'X' => [
- 'description' => 'The distance from the top-left corner of the text area to the y-axis, with the top-left corner of the image as the origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => 'The distance from the top-left corner of the text area to the x-axis, with the top-left corner of the image as the origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => 'The height of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '330',
- ],
- 'H' => [
- 'description' => 'The width of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '440',
+ 'FigureId' => ['description' => 'The code of the identified public figure.', 'type' => 'string', 'example' => 'xxx001', 'title' => ''],
+ 'FigureName' => ['description' => 'The name of the identified public figure.', 'type' => 'string', 'example' => '张三', 'title' => ''],
+ 'Location' => [
+ 'description' => 'The location of the identified public figure.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The location object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'H' => ['description' => 'The height.', 'type' => 'integer', 'format' => 'int32', 'example' => '222', 'title' => ''],
+ 'W' => ['description' => 'The width.', 'type' => 'integer', 'format' => 'int32', 'example' => '111', 'title' => ''],
+ 'X' => ['description' => 'The x-coordinate of the starting point.', 'type' => 'integer', 'format' => 'int32', 'example' => '111', 'title' => ''],
+ 'Y' => ['description' => 'The y-coordinate of the starting point.', 'type' => 'integer', 'format' => 'int32', 'example' => '222', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- ],
- ],
- ],
- 'LogoData' => [
- 'description' => 'Logo identification information.',
- 'type' => 'object',
- 'properties' => [
- 'Location' => [
- 'description' => 'The location information of the identifier.',
- 'type' => 'object',
- 'properties' => [
- 'X' => [
- 'description' => 'The distance from the top-left corner of the text area to the y-axis, with the top-left corner of the image as the origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Y' => [
- 'description' => 'The distance from the top-left corner of the text area to the x-axis, with the top-left corner of the image as the origin, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '22',
- ],
- 'W' => [
- 'description' => 'The height of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '330',
- ],
- 'H' => [
- 'description' => 'The width of the text area, in pixels.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '440',
+ 'LogoData' => [
+ 'description' => 'The logo information returned when a logo is detected in the video.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The logo information object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Location' => [
+ 'description' => 'The text line and coordinate information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => ['description' => 'The distance from the upper-left corner of the text area to the y-axis, with the upper-left corner of the image as the origin. Unit: pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '111', 'title' => ''],
+ 'Y' => ['description' => 'The distance from the upper-left corner of the text area to the x-axis, with the upper-left corner of the image as the origin. Unit: pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '222', 'title' => ''],
+ 'W' => ['description' => 'The width of the text area. Unit: pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '111', 'title' => ''],
+ 'H' => ['description' => 'The height of the text area. Unit: pixels.', 'type' => 'integer', 'format' => 'int32', 'example' => '111', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Logo' => [
+ 'description' => 'The logo information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The logo object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'label' => ['description' => 'The hit label.', 'type' => 'string', 'example' => 'pt_logotoSocialNetwork', 'title' => ''],
+ 'name' => ['description' => 'The logo name.', 'type' => 'string', 'example' => '**卫视', 'title' => ''],
+ 'confidence' => ['description' => 'The confidence score, ranging from 0 to 100, rounded to two decimal places.', 'type' => 'integer', 'format' => 'int64', 'example' => '99.1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'Logo' => [
- 'description' => 'identification information',
- 'type' => 'array',
- 'items' => [
- 'description' => 'data structure.',
+ 'VlContent' => [
+ 'title' => '',
+ 'description' => 'The large model result.',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'Identify the category.',
- 'type' => 'string',
- 'example' => 'logo_sns',
- ],
- 'Name' => [
- 'description' => 'identifier name.',
- 'type' => 'string',
- 'example' => 'Alibaba Cloud',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, from 0 to 100, rounded to two decimal places.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '99.1',
- ],
+ 'OutputText' => ['title' => '', 'description' => 'The output text from the large model.', 'type' => 'string', 'example' => 'in the picture XXX'],
],
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'Timestamp' => ['description' => 'The absolute timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1684559739000', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level, returned based on the configured high and low risk score thresholds. Valid values:'."\n"
+ ."\n"
+ .'- high: High risk.'."\n"
+ ."\n"
+ .'- medium: Medium risk.'."\n"
+ .' '."\n"
+ .'- low: Low risk.'."\n"
+ ."\n"
+ .'- none: No risk detected.', 'type' => 'string', 'example' => 'high', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'RiskLevel' => [
- 'description' => 'Risk level.',
- 'type' => 'string',
- 'example' => 'high',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'FrameSummarys' => [
+ 'description' => 'The video frame label summary.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The video frame label object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'The video frame label.', 'type' => 'string', 'example' => 'violent_armedForces', 'title' => ''],
+ 'LabelSum' => ['description' => 'The number of times the label was detected.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''],
+ 'Description' => ['description' => 'The description of the Label field.', 'type' => 'string', 'example' => '未检测出风险', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'RiskLevel' => ['description' => 'The risk level, returned based on the configured high and low risk score thresholds. Valid values:'."\n"
+ ."\n"
+ .'- high: High risk.'."\n"
+ ."\n"
+ .'- medium: Medium risk.'."\n"
+ .' '."\n"
+ .'- low: Low risk.'."\n"
+ ."\n"
+ .'- none: No risk detected.', 'type' => 'string', 'example' => 'high', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'Result' => [
- 'description' => 'The risk labels, confidence scores, and other parameters of image detection results, in an array structure.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'data structure.',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'The labels returned after image content detection. A single image may be associated with multiple labels and corresponding scores.',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, ranging from 0 to 100, retained to two decimal places. Some labels do not have a confidence score.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '81.22',
- ],
- 'Description' => [
- 'description' => 'Description.',
- 'type' => 'string',
- 'example' => 'No risk detected',
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level, returned based on the configured high and low risk score thresholds. Valid values:'."\n"
+ ."\n"
+ .'- high: High risk.'."\n"
+ ."\n"
+ .'- medium: Medium risk.'."\n"
+ .' '."\n"
+ .'- low: Low risk.'."\n"
+ ."\n"
+ .'- none: No risk detected.', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'ManualTaskId' => ['description' => 'The manual review task ID.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
+ 'Ext' => [
+ 'title' => '',
+ 'description' => 'The extended information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AigcData' => [
+ 'description' => 'The AIGC metadata detection result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AIGC' => [
+ 'description' => 'The AIGC metadata.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => 'Indicates whether the content is generated by artificial intelligence (AI). Valid values:'."\n"
+ ."\n"
+ .'- 1: The content is AI-generated content (AIGC).'."\n"
+ ."\n"
+ .'- 2: (Propagation platforms only) The content may be AI-generated content generation.'."\n"
+ ."\n"
+ .'- 3: (Propagation platforms only) The content is suspected to be AI-generated content generation.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'ProduceID' => ['description' => 'The content production ID, a unique identifier used by the production platform to trace synthesized content.', 'type' => 'string', 'example' => '123******456'."\n"
+ ."\n", 'title' => ''],
+ 'ContentProducer' => ['description' => 'The code or name of the service provider, used to identify the content producer.', 'type' => 'string', 'example' => '001191******M000100Y43', 'title' => ''],
+ 'PropagateID' => ['description' => 'The content propagation ID, a unique identifier assigned by the propagation platform to the distributed AI-generated content.', 'type' => 'string', 'example' => '123******456'."\n", 'title' => ''],
+ 'ContentPropagator' => ['description' => 'The name, code, or identifier of the propagation platform. For services that provide artificial intelligence-generated content, this value can be the same as ContentProducer.', 'type' => 'string', 'example' => '001191******M000100Y43', 'title' => ''],
+ 'ReservedCode1' => ['description' => 'A reserved field.'."\n"
+ ."\n"
+ .'This field can store information used by the content generation service provider for self-initiated security protection and content/identifier integrity assurance. A hashing mechanism based on ContentProducer and ProduceID can be used to securely store and verify critical information.', 'type' => 'string', 'example' => 'd41d**********427e'."\n", 'title' => ''],
+ 'ReservedCode2' => ['description' => 'A reserved field.'."\n"
+ ."\n"
+ .'This field can be used by the content propagation service provider for self-initiated security protection and content/identifier integrity assurance. A hashing mechanism based on ContentProducer and ProduceID can be used to securely store and verify critical information.', 'type' => 'string', 'example' => 'd41d**********427e', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Result' => ['description' => 'The detection result.', 'type' => 'string', 'example' => 'None', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
- ],
- 'RiskLevel' => [
- 'description' => 'Risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ManualTaskId' => [
- 'type' => 'string',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => '图片批量检测',
- 'requestParamsDescription' => '```'."\n"
- .'{'."\n"
- .' "Services": "baselineCheck,tonalityImprove",'."\n"
- .' "ServiceParameters": {'."\n"
- .' "imageUrl": "https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png",'."\n"
- .' "dataId": "img123****"'."\n"
- .' }'."\n"
- .'}'."\n"
- ."\n"
- .'```',
- ],
- 'ManualCallback' => [
- 'summary' => 'Content Security Manual Review Result Callback Interface',
- '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' => 'Query video moderation task results',
+ 'description' => 'This operation is not billed. Set the polling interval to 30 seconds (query results 30 seconds after submitting the asynchronous moderation task). The maximum query window is 24 hours. After that, results are automatically deleted.',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-12T02:05:04.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2025-03-13T01:43:03.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2025-01-09T12:40:10.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-09-23T13:28:56.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-03-26T02:18:01.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-12-27T10:12:17.000Z', 'description' => 'Response parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VideoModerationResult'],
],
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'Code',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'Code value',
- 'type' => 'string',
- 'required' => false,
- 'example' => '200',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'Msg',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'Message information',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OK',
- ],
- ],
- [
- 'name' => 'Checksum',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'Checksum.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abc',
- ],
- ],
- [
- 'name' => 'ReqId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'Platform request ID, used for troubleshooting assistance',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'B0963D30-BAB4-562F-9ED0-7A23AEC51C7C',
- ],
- ],
- [
- 'name' => 'Data',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'Returned data.',
- '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' => 'Channel field',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'ant' => 'ant',
- ],
- 'example' => 'ant',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Response Schema',
- '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 information',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => 'Error code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": 200\\n}","type":"json"}]',
- 'title' => 'Manual Review Channel Callback Interface',
- 'extraInfo' => '无',
- 'translator' => 'machine',
],
- 'ManualModeration' => [
- 'summary' => 'Content Security Manual Review Request Interface',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'VoiceModeration' => [
+ 'summary' => 'Submits a task for enhanced voice moderation.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4129,132 +4347,106 @@
'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' => 'Service.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'imageManualCheck',
- ],
+ 'schema' => ['description' => 'The ServiceCode for voice moderation.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'audio_media_detection'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Parameter set required for the review service, in JSON string format.'."\n"
- .'- url: The URL of the object to be checked. Please ensure that this URL is publicly accessible.'."\n"
- .'- dataId: Optional, the data ID corresponding to the object being checked.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"url": "https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4", "dataId": "data1234"}',
- ],
+ 'schema' => ['description' => 'The set of parameters that are required for the moderation service. The value must be a JSON string.'."\n"
+ ."\n"
+ .'url: Required. The URL of the object to be detected. Make sure that the URL is accessible over the Internet. dataId: Optional. The data ID of the object to be detected. For more information, see ServiceParameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"url": "http://aliyundoc.com/test.flv", "dataId": "data1234"}'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Response Schema',
+ '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' => 'Error message',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => 'Status code',
- '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' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
+ 'Message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'],
'Data' => [
- 'description' => 'Returned data.',
+ 'description' => 'The data structure of the returned task information.',
'type' => 'object',
'properties' => [
- 'DataId' => [
- 'description' => 'The value of dataId passed during the API request. This field will not be present if it was not provided during the request.',
- 'type' => 'string',
- 'example' => '2a5389eb-4ff8-4584-ac99-644e2a539aa1',
- ],
- 'TaskId' => [
- 'description' => 'Task ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => 'xxxxx-xxxxx'],
+ 'DataId' => ['description' => 'The value of the dataId parameter that you specify in the API request. If you do not specify this parameter in the request, this field is not returned.', 'type' => 'string', 'title' => '', 'example' => 'data1234'],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'VoiceModeration',
+ 'changeSet' => [
+ ['createdAt' => '2024-03-26T02:18:00.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-04-04T03:41:29.000Z', 'description' => 'Response parameters changed'],
],
- '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' => 'ManualModeration',
- 'translator' => 'machine',
- ],
- 'ManualModerationResult' => [
- 'summary' => 'Retrieve manual review results',
- 'methods' => [
- 'post',
+ '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' => 'All Resource', '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' => 'The type of moderation service. Valid values include \\`nickname\\_detection\\` for user nicknames. Other values are to be determined.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'nickname_detection'],
+ ],
+ [
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Set of parameters required by the service, in JSON string format.'."\n"
- .'- TaskId: The task ID returned when the task was submitted.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"TaskId\\":\\"e5f2d886-4c23-440d-999c-bd98acde11b6\\"}',
- ],
+ 'schema' => ['description' => 'The ID of the task that you want to cancel.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{'."\n"
+ .' "taskId": "xxxxx-xxxx"'."\n"
+ .' }'],
],
],
'responses' => [
@@ -4264,411 +4456,895 @@
'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' => 'Error message',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'object',
- 'properties' => [
- 'RiskLevel' => [
- 'description' => 'Risk level, returned based on the set high and low risk scores. Possible values include:'."\n"
- ."\n"
- .'- high: High risk'."\n"
- .' '."\n"
- .'- low: Low risk'."\n"
- ."\n"
- .' - none: No risk detected',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'DataId' => [
- 'description' => 'The value of dataId passed during the API request. This field will not be present if it was not provided during the request.',
- 'type' => 'string',
- 'example' => 'data1234',
- ],
- 'TaskId' => [
- 'description' => 'Task ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'Result' => [
- 'description' => 'Detailed label results.',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Label item structure.',
- 'type' => 'object',
- 'properties' => [
- 'Label' => [
- 'description' => 'Risk label',
- 'type' => 'string',
- 'example' => 'violent_explosion',
- ],
- 'Description' => [
- 'description' => 'Label description',
- 'type' => 'string',
- 'example' => 'no risk',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4A926AE2-4C96-573F-824F-0532960799F8'],
+ 'Code' => ['description' => 'The return code. A return code of 200 indicates that the request is successful.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'VoiceModerationCancel',
+ 'summary' => 'This operation cancels an enhanced voice moderation task.',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-04T03:41:29.000Z', 'description' => 'Response parameters changed'],
],
- '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' => 'Content Security Manual Review Result Retrieval Interface',
- 'translator' => 'machine',
- ],
- 'MultiModalGuard' => [
- 'summary' => '同步检测接口',
- 'path' => '',
- 'methods' => [
- 'post',
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A926AE2-4C96-573F-824F-0532960799F8\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
+ ],
+ 'VoiceModerationResult' => [
+ 'summary' => 'Retrieve the detection results for enhanced voice moderation.',
+ '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'query_security_check',
- ],
+ 'schema' => ['description' => 'The moderation service type. Supported values include `nickname_detection` for user nickname moderation. Support for more types is planned.', 'type' => 'string', 'docRequired' => true, 'title' => '', 'required' => true, 'example' => 'nickname_detection'],
],
[
'name' => 'ServiceParameters',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => 'Parameters that the gateway sends to the backend service.'."\n"
+ ."\n"
+ .'For more information, see [ServiceParameter](~~43988~~).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '暂无'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'The response schema.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- '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' => 'The ID of the request.', 'type' => 'string', 'example' => '2881AD4F-638B-52A3-BA20-F74C5B1CEAE3'],
+ 'Code' => ['description' => 'The error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
'Data' => [
- 'description' => '',
+ 'description' => 'The data returned.',
'type' => 'object',
'properties' => [
- 'Detail' => [
- 'description' => '',
+ 'Url' => ['description' => 'The task URL.', 'type' => 'string', 'example' => '暂无', 'title' => ''],
+ 'LiveId' => ['description' => 'The unique ID of the live stream.', 'type' => 'string', 'example' => 'liveId', 'title' => ''],
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'kw24ihd0WGkdi5nniVZM@qOj-1x5Ibb', 'title' => ''],
+ 'SliceDetails' => [
+ 'description' => 'The slice results.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'A slice result entry.',
'type' => 'object',
'properties' => [
- 'Suggestion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'Type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'contentModeration',
- ],
- 'Level' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'none',
- ],
+ 'StartTime' => ['description' => 'The start time of the slice, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
+ 'EndTime' => ['description' => 'The end time of the slice, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
+ 'StartTimestamp' => ['description' => 'The start timestamp of the slice, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1678854649720', 'title' => ''],
+ 'EndTimestamp' => ['description' => 'The end timestamp of the slice, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1678854649720', 'title' => ''],
+ 'Url' => ['description' => 'The temporary URL of the audio slice.', 'type' => 'string', 'example' => '暂无', 'title' => ''],
+ 'Text' => ['description' => 'The transcribed text of the audio slice.', 'type' => 'string', 'example' => '今天天气真不错', 'title' => ''],
+ 'Labels' => ['description' => 'The matched violation labels.', 'type' => 'string', 'example' => 'sexual_sounds', 'title' => ''],
+ 'Score' => ['description' => 'The risk score. The value ranges from 0 to 99.', 'type' => 'number', 'format' => 'float', 'example' => '87.01', 'title' => ''],
+ 'Extend' => ['description' => 'Extended information.', 'type' => 'string', 'example' => '{\\"riskWords\\":\\"色情服务\\","adNums":"\\","riskTips":"涉政_人物,涉政_红歌"}', 'title' => ''],
+ 'RiskTips' => ['description' => 'Details about the matched risk.', 'type' => 'string', 'example' => '涉政_人物', 'title' => ''],
+ 'RiskWords' => ['description' => 'The matched risk keywords.', 'type' => 'string', 'example' => '色情服务', 'title' => ''],
+ 'OriginAlgoResult' => ['description' => 'A reserved field.', 'type' => 'object', 'title' => '', 'example' => ''],
+ 'RiskLevel' => ['description' => 'The risk level, which is determined based on the configured thresholds for high and low risk scores. Valid values:'."\n"
+ ."\n"
+ .'- `high`: high risk'."\n"
+ ."\n"
+ .'- `medium`: medium risk'."\n"
+ ."\n"
+ .'- `low`: low risk'."\n"
+ ."\n"
+ .'- `none`: no risk detected', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'Descriptions' => ['description' => 'The description of the label.', 'type' => 'string', 'example' => '疑似违禁内容', 'title' => ''],
'Result' => [
- 'description' => '',
'type' => 'array',
'items' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'Ext' => [
- 'description' => '',
- 'type' => 'any',
- 'example' => '{}',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
+ 'Label' => ['description' => 'The label.', 'type' => 'string', 'title' => '', 'example' => 'ad'],
+ 'Confidence' => ['description' => 'The confidence score.', 'type' => 'number', 'format' => 'float', 'title' => '', 'example' => '100.00'],
+ 'RiskWords' => ['description' => 'The matched risky content.', 'type' => 'string', 'title' => '', 'example' => 'XX'],
+ 'RiskLevel' => ['description' => 'The risk level.', 'type' => 'string', 'title' => '', 'example' => 'high'],
+ 'CustomizedHit' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LibName' => ['description' => 'The name of the custom library.', 'type' => 'string', 'title' => '', 'example' => 'insultLib'],
+ 'KeyWords' => ['description' => 'The custom keyword.', 'type' => 'string', 'title' => '', 'example' => 'fxxk'],
+ ],
+ 'description' => 'A matched custom library.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The matched custom libraries.',
+ 'title' => '',
'example' => '',
],
- 'Confidence' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0',
- ],
- 'Label' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'contraband_act',
- ],
- 'Level' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'none',
+ 'Description' => ['description' => 'The description.', 'type' => 'string', 'title' => '', 'example' => 'profanity'],
+ 'RiskPositions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RiskWord' => ['description' => 'The detected sensitive word.', 'type' => 'string', 'title' => '', 'example' => 'fxxk'],
+ 'StartPos' => ['description' => 'The start position.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
+ 'EndPos' => ['description' => 'The end position.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '4'],
+ ],
+ 'description' => 'A risk position.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'A list of risk positions.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => 'A single result.',
+ 'title' => '',
+ 'example' => '',
],
+ 'description' => 'The text detection results.',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'Suggestion' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'DataId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'data1234',
- ],
+ 'DataId' => ['description' => 'The value of the `dataId` parameter you specified in the request. This parameter is returned only if you specified it in the request.', 'type' => 'string', 'example' => 'data1234', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level, which is determined based on the configured thresholds for high and low risk scores. Valid values:'."\n"
+ ."\n"
+ .'- `high`: high risk'."\n"
+ ."\n"
+ .'- `medium`: medium risk'."\n"
+ ."\n"
+ .'- `low`: low risk'."\n"
+ ."\n"
+ .'- `none`: no risk detected', 'type' => 'string', 'example' => 'high', 'title' => ''],
+ 'ManualTaskId' => ['description' => 'The ID of the manual review task.', 'type' => 'string', 'example' => 'xxxxx-xxxxx', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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' => 'VoiceModerationResult',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-12T02:05:05.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2025-01-09T12:40:10.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-10-14T10:21:04.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2024-03-26T02:18:00.000Z', 'description' => 'Response parameters changed'],
+ ['createdAt' => '2023-03-15T03:33:44.000Z', 'description' => 'Response parameters changed, Response parameters changed'],
+ ],
+ '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' => 'All Resource', 'arn' => '*'],
+ ],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', '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' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', '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' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ['code' => '411', 'message' => 'You don\'t have permission.', 'http_code' => 403, 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ['code' => 'CustomServiceConfigServicesRequired', 'message' => 'Select at least one instrumentation configuration service when saving a multimodal service configuration.', 'http_code' => 400, 'description' => 'Select at least one instrumentation configuration service when saving a multimodal service configuration'],
+ ['code' => 'NoPermission', 'message' => 'No permissions.', 'http_code' => 200, 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ['code' => 'NoPermission', 'message' => 'you don\'t have permission.', 'http_code' => 200, 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'."\n"],
+ ['code' => 'NoPermission', 'message' => 'You don\'t have permission.', 'http_code' => 403, 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ['code' => 'NoPermission', 'message' => 'You don\'t have permission.', 'http_code' => 403, 'description' => 'The current operation is not authorized. Please contact the main account to authorize the operation in the RAM console.'],
+ ['code' => 'OneFeatureRequired', 'message' => 'Keep at least one switch item when detecting an item configuration to turn off the switch item.', 'http_code' => 400, 'description' => 'Keep at least one switch item when detecting an item configuration to turn off the switch item'."\n"
+ ."\n"],
+ ['code' => 'ScanResultQueryFailed', 'message' => 'Data query failed.', 'http_code' => 200, 'description' => 'Data query failed'],
+ ['code' => 'UserNotOwner', 'message' => 'No permission.', 'http_code' => 401, 'description' => 'No permission'],
+ ['code' => 'USER_NOT_OWNER', 'message' => 'No permission.', 'http_code' => 401, 'description' => 'No permission'],
+ ['code' => 'LibCountOverLimit', 'message' => 'The number of libraries has exceeded the limit.', 'http_code' => 400, 'description' => 'The number of libraries has exceeded the limit'],
+ ['code' => 'InvalidRequestParameters', 'message' => 'Invalid request parameters.', 'http_code' => 400, 'description' => 'Invalid request parameters.'],
+ ['code' => 'SampleCountOverLimit', 'message' => 'The number of samples has exceeded the limit.', 'http_code' => 400, 'description' => 'The number of samples has exceeded the limit.'],
+ ],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'TextModerationPlus'],
],
- '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"}]',
+ 'createdAt' => '2025-03-19T07:10:51.000Z',
+ 'description' => '',
],
- 'MultiModalAgent' => [
- 'summary' => '多模态AgentAPI同步检测接口',
- 'path' => '',
- 'methods' => [
- 'post',
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeImageModerationResult'],
+ ['description' => 'Response parameters changed', 'api' => 'ImageModeration'],
],
- 'schemes' => [
- 'https',
+ 'createdAt' => '2025-03-17T05:57:01.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'VideoModerationResult'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'createdAt' => '2025-03-13T01:43:10.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'DescribeFileModerationResult'],
+ ],
+ '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 Guardrails',
+ 'ramCodes' => ['yundun-greenweb'],
+ 'ramLevel' => 'OPERATION',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'VideoModerationResult',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', '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' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'ServiceParameters',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
+ [
+ 'apiName' => 'ImageAsyncModeration',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'AppID',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'txt_check_agent_01',
+ ],
+ [
+ 'apiName' => 'MultiModalGuardAsyncResult',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalGuardAsyncResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', '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' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Data' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'DataId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '26769ada6e264e7ba9aa048241e12be9',
- ],
- 'RiskLevel' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => 'TRACER_SLB_ALL_DEST_WEIGHT_0',
- ],
- ],
- ],
- ],
- 'Usage' => [
- 'description' => '',
- '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' => 'All Resource', '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' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'MultimodalAsyncModeration',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultimodalAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeImageModerationResult',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeImageModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeImageResultExt',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeImageResultExt',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VoiceModerationCancel',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModerationCancel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VoiceModeration',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeUploadToken',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeUploadToken',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MultiModalGuardAsync',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalGuardAsync',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ImageBatchModeration',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ImageBatchModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TextModeration',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:TextModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFileModerationResult',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeFileModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VoiceModerationResult',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VoiceModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeUrlModerationResult',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:DescribeUrlModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ManualModeration',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ManualModerationResult',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualModerationResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MultiModalGuard',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalGuard',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TextModerationPlus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:TextModerationPlus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MultiModalAgent',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:MultiModalAgent',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VideoModerationCancel',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModerationCancel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'VideoModeration',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:VideoModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ManualCallback',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:ManualCallback',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UrlAsyncModeration',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yundun-greenweb:UrlAsyncModeration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Aligreen', 'resourceType' => 'All Resource', '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"}]',
- ],
- ],
- '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/en_us/green/2022-09-26/api-docs.php b/data/en_us/green/2022-09-26/api-docs.php
index 5eddcae..4b4a2ab 100644
--- a/data/en_us/green/2022-09-26/api-docs.php
+++ b/data/en_us/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,52 @@
'apis' => [
'AddKeywordLib' => [
'summary' => 'Create keyword library',
- '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' => 'The name of the keyword library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_keyword_lib',
- ],
+ 'schema' => ['description' => 'The name of the keyword library.', 'type' => 'string', 'required' => false, 'example' => 'test_keyword_lib'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keywords, with multiple keywords separated by \\n.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'keywords1\\nkeywords2',
- ],
+ 'schema' => ['description' => 'Keywords, with multiple keywords separated by \\n.', 'type' => 'string', 'required' => false, 'example' => 'keywords1\\nkeywords2'],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of the keywords file.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt',
- ],
+ 'schema' => ['description' => 'The name of the keywords file.', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'Properties',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -181,127 +97,58 @@
'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => 'Result.',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => 'Internationalization key.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => 'The tips.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '529',
- ],
- 'SuccessCount' => [
- 'description' => 'Successful keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '278',
- ],
- 'RepeatCount' => [
- 'description' => 'Duplicate keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '118',
- ],
- 'InvalidCount' => [
- 'description' => 'Invalid keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '133',
- ],
+ 'LibId' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => 'Internationalization key.', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => 'The tips.', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => 'The total number of keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '529'],
+ 'SuccessCount' => ['description' => 'Successful keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '278'],
+ 'RepeatCount' => ['description' => 'Duplicate keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '118'],
+ 'InvalidCount' => ['description' => 'Invalid keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '133'],
'RepeatKeywords' => [
'description' => 'List of duplicate keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Duplicate keywords',
- 'type' => 'string',
- 'example' => 'duplicate_keywords',
- ],
+ 'items' => ['description' => 'Duplicate keywords', 'type' => 'string', 'example' => 'duplicate_keywords'],
],
'InvalidKeywords' => [
'description' => 'List of invalid keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Invalid keywords',
- 'type' => 'string',
- 'example' => 'invalid_keywords',
- ],
+ 'items' => ['description' => 'Invalid keywords', 'type' => 'string', 'example' => 'invalid_keywords'],
],
'IllegalLengthKeywords' => [
'description' => 'List of keywords that are too long or too short.',
'type' => 'array',
- 'items' => [
- 'description' => 'Keywords that are too long or too short.',
- 'type' => 'string',
- 'example' => 'keywords',
- ],
+ 'items' => ['description' => 'Keywords that are too long or too short.', 'type' => 'string', 'example' => 'keywords'],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Status code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'The message that is returned in response to the request.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'The request ID.'."\n", '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' => 'Create keyword lib',
],
'DeleteFeatureConfig' => [
'summary' => 'Delete feature configuration',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -314,61 +161,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266680',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => 'Type', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'Field',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Label value, customer-defined',
- 'type' => 'string',
- 'required' => false,
- 'example' => '__config__',
- ],
+ 'schema' => ['description' => 'Label value, customer-defined', 'type' => 'string', 'required' => false, 'example' => '__config__'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -378,39 +198,12 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Response message of this request.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Response message of this request.', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -421,14 +214,8 @@
],
'ExportCipStats' => [
'summary' => 'Export Call Volume',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -440,50 +227,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157301',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-04-15 09:00:00',
- ],
+ 'schema' => ['description' => 'The start time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-04-15 09:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The end time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-04-16 09:00:00',
- ],
+ 'schema' => ['description' => 'The end time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-04-16 09:00:00'],
],
[
'name' => 'Label',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The label of the task to be exported.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => 'The label of the task to be exported.', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to support monthly indexing. Values: -**true**: Supported. -**false**: Not supported.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to support monthly indexing. Values: -**true**: Supported. -**false**: Not supported.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ResourceType',
@@ -492,13 +257,7 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
'default' => 'text',
],
@@ -506,52 +265,27 @@
[
'name' => 'SubUid',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Sub-account UID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '268220485413130979',
- ],
+ 'schema' => ['description' => 'Sub-account UID.', 'type' => 'string', 'required' => false, 'example' => '268220485413130979'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Type, values: -**cip**: Content Security Invocation Count Statistics. -**risk_level**: Content Security Risk Level Statistics. -**content_moderation**: AI Safety Guardrail Content Compliance Risk Level and Label Statistics. -**sensitive_data**: AI Safety Guardrail Sensitive Data Risk Level and Label Statistics. -**prompt_attack**: AI Safety Guardrail Prompt Word Risk Level and Label Statistics.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'risk_level',
- ],
+ 'schema' => ['description' => 'Type, values: -**cip**: Content Security Invocation Count Statistics. -**risk_level**: Content Security Risk Level Statistics. -**content_moderation**: AI Safety Guardrail Content Compliance Risk Level and Label Statistics. -**sensitive_data**: AI Safety Guardrail Sensitive Data Risk Level and Label Statistics. -**prompt_attack**: AI Safety Guardrail Prompt Word Risk Level and Label Statistics.', 'type' => 'string', 'required' => false, 'example' => 'risk_level'],
],
[
'name' => 'ExportType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Export type. Values: -**level**: Export by risk level. -**label**: Export by label.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'label',
- ],
+ 'schema' => ['description' => 'Export type. Values: -**level**: Export by risk level. -**label**: Export by label.', 'type' => 'string', 'required' => false, 'example' => 'label'],
],
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
],
'responses' => [
@@ -561,43 +295,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Export result.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Export result.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -608,14 +311,8 @@
],
'ExportOssCheckStat' => [
'summary' => 'OSS Usage Statistics Export',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -628,60 +325,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '218756',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to support monthly indexing. Values: -true: supported. -false: not supported.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to support monthly indexing. Values: -true: supported. -false: not supported.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ParentTaskId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'OSS detection task ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UX0K5X',
- ],
+ 'schema' => ['description' => 'OSS detection task ID.', 'type' => 'string', 'required' => false, 'example' => 'P_UX0K5X'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -691,17 +361,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Export result.',
- '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 assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Export result.', '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 assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -712,14 +373,8 @@
],
'GetCipStats' => [
'summary' => 'Query Call Volume',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -732,50 +387,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157300',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ResourceType',
@@ -784,13 +417,7 @@
'description' => '',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '',
- 'image' => '',
- 'file' => '',
- 'text' => '',
- 'video' => '',
- ],
+ 'enumValueTitles' => ['voice' => '', 'image' => '', 'file' => '', 'text' => '', 'video' => ''],
'example' => 'text',
'default' => 'text',
],
@@ -798,43 +425,27 @@
[
'name' => 'SubUid',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '253552244990701265',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '253552244990701265'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -851,11 +462,7 @@
'X' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["06-10", "06-11", "06-12", "06-13"]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["06-10", "06-11", "06-12", "06-13"]'],
],
'Y' => [
'description' => '',
@@ -864,20 +471,11 @@
'description' => '',
'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]'],
],
],
],
@@ -885,11 +483,7 @@
'Uids' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["15220*****63446"]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["15220*****63446"]'],
],
'LabelStatChart' => [
'description' => '',
@@ -898,25 +492,12 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'ServiceCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '117',
- ],
+ 'ServiceCode' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '117'],
'X' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n",
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n"],
],
'Y' => [
'description' => '',
@@ -925,20 +506,11 @@
'description' => '',
'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]'],
],
],
],
@@ -950,19 +522,9 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '99.91',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'Value' => ['description' => '', 'type' => 'string', 'example' => '99.91'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -973,19 +535,9 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '99.91',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'Value' => ['description' => '', 'type' => 'string', 'example' => '99.91'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -994,15 +546,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Name' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -1011,15 +557,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Name' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -1033,64 +573,26 @@
'description' => '',
'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]'],
],
],
],
],
'TotalStat' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'object',
- ],
+ 'additionalProperties' => ['type' => 'object'],
],
],
],
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ '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' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1101,13 +603,8 @@
],
'GetFeatureConfig' => [
'summary' => 'Get Feature Configuration',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1120,61 +617,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266679',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => 'Type', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Query',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Query conditions.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}',
- ],
+ 'schema' => ['description' => 'Query conditions.', 'type' => 'string', 'required' => false, 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}'],
],
],
'responses' => [
@@ -1184,69 +654,26 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Data' => [
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '1643953****74290',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'llm_query_moderation',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'Type' => [
- 'description' => 'Type',
- 'type' => 'string',
- 'example' => 'custom_llm_template',
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '1643953****74290'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'llm_query_moderation'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'text'],
+ 'Type' => ['description' => 'Type', 'type' => 'string', 'example' => 'custom_llm_template'],
'FeatureConf' => [
'description' => 'List of feature configurations',
'type' => 'array',
- 'items' => [
- 'description' => 'Feature configuration object',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'items' => ['description' => 'Feature configuration object', 'type' => 'object', 'example' => '{}'],
],
],
],
- 'Msg' => [
- 'description' => 'Response message for this request.',
- 'type' => 'string',
- 'example' => 'success'."\n",
- ],
- 'Success' => [
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Msg' => ['description' => 'Response message for this request.', 'type' => 'string', 'example' => 'success'."\n"],
+ 'Success' => ['description' => 'Success indicator', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -1257,13 +684,8 @@
],
'GetOssCheckResultDetail' => [
'summary' => 'OSS result details',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1276,81 +698,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '233378',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Bucket',
'in' => 'query',
- 'schema' => [
- 'description' => 'Bucket name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-tmp',
- ],
+ 'schema' => ['description' => 'Bucket name.', 'type' => 'string', 'required' => false, 'example' => 'oss-tmp'],
],
[
'name' => 'Object',
'in' => 'query',
- 'schema' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1748396909030.jpg',
- ],
+ 'schema' => ['description' => 'Object name.', 'type' => 'string', 'required' => false, 'example' => '1748396909030.jpg'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'audio_media_detection_01',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'audio_media_detection_01'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'QueryRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Query request ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
- ],
+ 'schema' => ['description' => 'Query request ID.', 'type' => 'string', 'required' => false, 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952'],
],
[
'name' => 'MediaType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Parent task ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_RZQ66T',
- ],
+ 'schema' => ['description' => 'Parent task ID.', 'type' => 'string', 'required' => false, 'example' => 'P_RZQ66T'],
],
],
'responses' => [
@@ -1360,134 +744,41 @@
'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952'],
'Data' => [
'description' => 'Detailed data.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'Bucket name.',
- 'type' => 'string',
- 'example' => 'oss-tmp',
- ],
- 'JobName' => [
- 'description' => 'Job name.',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'example' => '1748396909030.jpg',
- ],
- 'Md5' => [
- 'description' => 'File MD5.',
- 'type' => 'string',
- 'example' => 'f6e2e1946f06310c8a0cc443a05819f3',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => 'Bucket name.', 'type' => 'string', 'example' => 'oss-tmp'],
+ 'JobName' => ['description' => 'Job name.', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'Object name.', 'type' => 'string', 'example' => '1748396909030.jpg'],
+ 'Md5' => ['description' => 'File MD5.', 'type' => 'string', 'example' => 'f6e2e1946f06310c8a0cc443a05819f3'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => 'Error code, consistent with HTTP status.', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => 'Image labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => 'Image labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => 'Text labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => 'Detailed scan results.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => 'Image URL.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => 'Task URL.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'P_Z7OLMN',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => 'Audio and video detection type.',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => 'Overall risk level.',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => 'Image risk level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => 'Text risk level',
- 'type' => 'string',
- 'example' => 'medium',
- ],
- 'FreezeType' => [
- 'description' => 'Freeze type.',
- 'type' => 'string',
- 'example' => 'COPY',
- ],
- 'FreezeStatus' => [
- 'description' => 'Freeze status.',
- 'type' => 'string',
- 'example' => 'UNFREEZED',
- ],
+ 'items' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => 'Detailed scan results.', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => 'Image URL.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => 'Task URL.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'P_Z7OLMN'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => 'Audio and video detection type.', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => 'Overall risk level.', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => 'Image risk level', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => 'Text risk level', 'type' => 'string', 'example' => 'medium'],
+ 'FreezeType' => ['description' => 'Freeze type.', 'type' => 'string', 'example' => 'COPY'],
+ 'FreezeStatus' => ['description' => 'Freeze status.', 'type' => 'string', 'example' => 'UNFREEZED'],
'ScanServiceInfos' => [
'description' => 'Detection service information',
'type' => 'array',
@@ -1495,26 +786,10 @@
'description' => 'Detection service information',
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'CopyFrom' => [
- 'description' => 'Main service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'true'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'CopyFrom' => ['description' => 'Main service.', 'type' => 'string', 'example' => 'audio_media_detection'],
],
],
],
@@ -1525,22 +800,9 @@
'description' => 'Labels.',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => 'Label description.',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, 0 to 100, retained to two decimal places.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'politics',
- ],
+ 'Description' => ['description' => 'Label description.', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => 'Confidence score, 0 to 100, retained to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '50'],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'politics'],
],
],
],
@@ -1551,58 +813,20 @@
'description' => 'Labels.',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => 'Label description.',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, 0 to 100, retained to two decimal places.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'politics',
- ],
+ 'Description' => ['description' => 'Label description.', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => 'Confidence score, 0 to 100, retained to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '50'],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'politics'],
],
],
],
- 'ManualFreezeAction' => [
- 'description' => 'Manual handling status.',
- 'type' => 'string',
- 'example' => 'FREEZE',
- ],
- 'ManualOperateTime' => [
- 'description' => 'Handling time.',
- 'type' => 'string',
- 'example' => '2025-08-09 12:00:00',
- ],
- 'ManualOperator' => [
- 'description' => 'Handler.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'ManualFreezeAction' => ['description' => 'Manual handling status.', 'type' => 'string', 'example' => 'FREEZE'],
+ 'ManualOperateTime' => ['description' => 'Handling time.', 'type' => 'string', 'example' => '2025-08-09 12:00:00'],
+ 'ManualOperator' => ['description' => 'Handler.', 'type' => 'string', 'example' => 'xx'],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Code' => [
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'true'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'success'],
+ 'Code' => ['description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -1613,14 +837,8 @@
],
'GetOssCheckStat' => [
'summary' => 'OSS Check Usage Statistics',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1633,60 +851,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '218755',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to query by month.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to query by month.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ParentTaskId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Parent task ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UNHBH',
- ],
+ 'schema' => ['description' => 'Parent task ID.', 'type' => 'string', 'required' => false, 'example' => 'P_UNHBH'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -1696,12 +887,7 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'BarChart' => [
'description' => 'Bar chart',
'type' => 'object',
@@ -1709,11 +895,7 @@
'X' => [
'description' => 'X values of the coordinates.',
'type' => 'array',
- 'items' => [
- 'description' => 'X values of the coordinates.',
- 'type' => 'string',
- 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]',
- ],
+ 'items' => ['description' => 'X values of the coordinates.', 'type' => 'string', 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]'],
],
'Y' => [
'description' => 'Y values of the coordinates.',
@@ -1722,20 +904,11 @@
'description' => 'Y values of the coordinates.',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'example' => 'document_detection',
- ],
+ 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => 'document_detection'],
'Data' => [
'description' => 'Data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Data.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 0, 0, 0, 0, 34]',
- ],
+ 'items' => ['description' => 'Data.', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 0, 0, 0, 0, 34]'],
],
],
],
@@ -1752,14 +925,8 @@
],
'GetScanResult' => [
'summary' => 'Query the Scan results',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1772,11 +939,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160495',
- 'abilityTreeNodes' => [
- 'FEATURElvwang6CEZ66',
- 'FEATURElvwang5MWEHW',
- 'FEATURElvwangLRLIH6',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang6CEZ66', 'FEATURElvwang5MWEHW', 'FEATURElvwangLRLIH6'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -1784,22 +947,12 @@
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start time.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End time.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
@@ -1809,44 +962,23 @@
'description' => 'Search criteria.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{"RequestId":"xxx"}',
- 'description' => '搜索条件。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{"RequestId":"xxx"}', 'description' => '搜索条件。'],
],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -1856,22 +988,13 @@
'description' => 'Sort fields.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{"RequestTime":"desc"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{"RequestTime":"desc"}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -1885,24 +1008,9 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => 'Number of items per page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => 'Number of items per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data for the current page.',
'type' => 'array',
@@ -1910,142 +1018,46 @@
'description' => 'Data for the current page.',
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2023-08-11 09:00:19'."\n",
- ],
- 'RequestTime' => [
- 'description' => 'Request time.',
- 'type' => 'string',
- 'example' => '2023-08-11 09:00:19'."\n",
- ],
- 'DataId' => [
- 'title' => 'dataId',
- 'description' => 'Data Id',
- 'type' => 'string',
- 'example' => '4f27b8cc7c4544cb90b41882a5b36326',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'ScanResult' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'Labels' => [
- 'description' => 'Labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2023-08-11 09:00:19'."\n"],
+ 'RequestTime' => ['description' => 'Request time.', 'type' => 'string', 'example' => '2023-08-11 09:00:19'."\n"],
+ 'DataId' => ['title' => 'dataId', 'description' => 'Data Id', 'type' => 'string', 'example' => '4f27b8cc7c4544cb90b41882a5b36326'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'ScanResult' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => '{}'],
+ 'Labels' => ['description' => 'Labels.', 'type' => 'string', 'example' => 'nonLabel'],
'NoLabels' => [
'title' => '无标签',
'description' => 'No labels',
'type' => 'array',
- 'items' => [
- 'description' => 'Labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ImageUrl' => [
- 'title' => 'url',
- 'description' => 'URL',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
- ],
- 'Content' => [
- 'description' => 'Content.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9',
- ],
- 'Score' => [
- 'description' => 'Score.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '25',
- ],
- 'Suggestion' => [
- 'description' => 'Suggestion.',
- 'type' => 'string',
- 'example' => 'review',
- ],
- 'ExtFeedback' => [
- 'description' => 'Feedback information.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Url' => [
- 'description' => 'Task URL',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
- ],
- 'TimeStamp' => [
- 'description' => 'Timestamp.',
- 'type' => 'string',
- 'example' => '00:00:40-00:00:42',
- ],
- 'FrameCount' => [
- 'description' => 'Frame count.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'ImageService' => [
- 'description' => 'Image service.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'VoiceService' => [
- 'description' => 'Voice service.',
- 'type' => 'string',
- 'example' => 'live_stream_detection',
- ],
+ 'items' => ['description' => 'Labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ImageUrl' => ['title' => 'url', 'description' => 'URL', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'."\n"],
+ 'Content' => ['description' => 'Content.', 'type' => 'string', 'example' => 'xxx'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9'],
+ 'Score' => ['description' => 'Score.', 'type' => 'number', 'format' => 'float', 'example' => '25'],
+ 'Suggestion' => ['description' => 'Suggestion.', 'type' => 'string', 'example' => 'review'],
+ 'ExtFeedback' => ['description' => 'Feedback information.', 'type' => 'string', 'example' => 'xxx'],
+ 'Url' => ['description' => 'Task URL', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'."\n"],
+ 'TimeStamp' => ['description' => 'Timestamp.', 'type' => 'string', 'example' => '00:00:40-00:00:42'],
+ 'FrameCount' => ['description' => 'Frame count.', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'ImageService' => ['description' => 'Image service.', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'VoiceService' => ['description' => 'Voice service.', 'type' => 'string', 'example' => 'live_stream_detection'],
'ImageLabels' => [
'description' => 'Image labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image label.',
- 'type' => 'object',
- 'example' => '[{nonLabel: 17}]',
- ],
+ 'items' => ['description' => 'Image label.', 'type' => 'object', 'example' => '[{nonLabel: 17}]'],
],
'VoiceLabels' => [
'description' => 'Voice labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Voice label.',
- 'type' => 'object',
- 'example' => '[{political_content: 11}]',
- ],
+ 'items' => ['description' => 'Voice label.', 'type' => 'object', 'example' => '[{political_content: 11}]'],
],
'TextLabels' => [
'description' => 'Text labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text label.',
- 'type' => 'object',
- 'example' => '[{nonLabel: 17}]',
- ],
- ],
- 'VoiceScanOpened' => [
- 'description' => 'Whether audio detection is enabled.',
- 'type' => 'boolean',
- 'example' => 'True',
+ 'items' => ['description' => 'Text label.', 'type' => 'object', 'example' => '[{nonLabel: 17}]'],
],
+ 'VoiceScanOpened' => ['description' => 'Whether audio detection is enabled.', 'type' => 'boolean', 'example' => 'True'],
'Result' => [
'description' => 'Return collection.',
'type' => 'array',
@@ -2053,273 +1065,106 @@
'description' => 'Return collection.',
'type' => 'object',
'properties' => [
- 'Confidence' => [
- 'description' => 'Confidence score, ranging from 0 to 100, with two decimal places.',
- 'type' => 'string',
- 'example' => '50.0',
- ],
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'politics',
- ],
- 'Description' => [
- 'description' => 'Description of the Label field.',
- 'type' => 'string',
- 'example' => '疑似色情内容',
- ],
+ 'Confidence' => ['description' => 'Confidence score, ranging from 0 to 100, with two decimal places.', 'type' => 'string', 'example' => '50.0'],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'politics'],
+ 'Description' => ['description' => 'Description of the Label field.', 'type' => 'string', 'example' => '疑似色情内容'],
],
],
],
- 'Offset' => [
- 'description' => 'Frame offset value.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'StartTime' => [
- 'description' => 'Segment start time (in seconds).',
- 'type' => 'string',
- 'example' => '11',
- ],
- 'EndTime' => [
- 'description' => 'Segment end time (in seconds).',
- 'type' => 'string',
- 'example' => '22',
- ],
- 'RiskTips' => [
- 'description' => 'Details of the detected risk.',
- 'type' => 'string',
- 'example' => '色情服务',
- ],
- 'RiskWords' => [
- 'description' => 'Keywords of the detected risk.',
- 'type' => 'string',
- 'example' => '色情_低俗词',
- ],
- 'Thumbnail' => [
- 'description' => 'Thumbnail URL.',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png',
- ],
- 'Extra' => [
- 'description' => 'Additional parameters.',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'PageNum' => [
- 'description' => 'Page number.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
- ."\n"
- .'- high: High risk'."\n"
- ."\n"
- .'- medium: Medium risk'."\n"
- ."\n"
- .'- low: Low risk'."\n"
- ."\n"
- .'- none: No risk detected',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'SensitiveLevel' => [
- 'description' => 'Sensitive level, returned based on the set high and low risk scores. The return values include:'."\n"
- .'- **S1**: Indicates low sensitivity.'."\n"
- .'- **S2**: Indicates medium sensitivity.'."\n"
- .'- **S3**: Indicates high sensitivity.'."\n"
- .'- **S4**: Indicates very high sensitivity.'."\n"
- .'- **S0**: Indicates no sensitivity.',
- 'type' => 'string',
- 'example' => 'S0',
- ],
- 'AttackLevel' => [
- 'description' => 'Attack level, returned based on the set high and low risk scores. The return values include:'."\n"
- ."\n"
- .'- high: High risk'."\n"
- ."\n"
- .'- medium: Medium risk'."\n"
- ."\n"
- .'- low: Low risk'."\n"
- ."\n"
- .'- none: No risk detected',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'RequestFrom' => [
- 'description' => 'Request source.',
- 'type' => 'string',
- 'example' => 'online_test',
- ],
- 'ApiRequestTime' => [
- 'description' => 'Machine review time.',
- 'type' => 'string',
- 'example' => '1755501226',
- ],
- 'ReviewTime' => [
- 'description' => 'Review time.',
- 'type' => 'string',
- 'example' => '1755501226',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ApiTaskId' => [
- 'description' => 'Automated review task ID.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'ReviewLabels' => [
- 'description' => 'Review labels.',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'ReviewRiskLevel' => [
- 'description' => 'Review status.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ReviewUid' => [
- 'description' => 'Reviewer.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'ApiLabels' => [
- 'description' => 'Automated review labels.',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'ApiRiskLevel' => [
- 'description' => 'Automated review risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ApiService' => [
- 'description' => 'Automated review service',
- 'type' => 'string',
- 'example' => 'basecheckLine',
- ],
- 'ManualOnly' => [
- 'description' => 'Whether it is a pure manual review.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reviewed' => [
- 'description' => 'Whether it has been reviewed.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'MaliciousFileLevel' => [
- 'description' => 'Malicious file risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'MaliciousUrlLevel' => [
- 'description' => 'Malicious URL risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'AppId' => [
- 'title' => 'appId',
- 'type' => 'string',
- 'example' => 'agent_01',
- ],
+ 'Offset' => ['description' => 'Frame offset value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'StartTime' => ['description' => 'Segment start time (in seconds).', 'type' => 'string', 'example' => '11'],
+ 'EndTime' => ['description' => 'Segment end time (in seconds).', 'type' => 'string', 'example' => '22'],
+ 'RiskTips' => ['description' => 'Details of the detected risk.', 'type' => 'string', 'example' => '色情服务'],
+ 'RiskWords' => ['description' => 'Keywords of the detected risk.', 'type' => 'string', 'example' => '色情_低俗词'],
+ 'Thumbnail' => ['description' => 'Thumbnail URL.', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'],
+ 'Extra' => ['description' => 'Additional parameters.', 'type' => 'object', 'example' => '{}'],
+ 'PageNum' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RiskLevel' => ['description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ ."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected', 'type' => 'string', 'example' => 'none'],
+ 'SensitiveLevel' => ['description' => 'Sensitive level, returned based on the set high and low risk scores. The return values include:'."\n"
+ .'- **S1**: Indicates low sensitivity.'."\n"
+ .'- **S2**: Indicates medium sensitivity.'."\n"
+ .'- **S3**: Indicates high sensitivity.'."\n"
+ .'- **S4**: Indicates very high sensitivity.'."\n"
+ .'- **S0**: Indicates no sensitivity.', 'type' => 'string', 'example' => 'S0'],
+ 'AttackLevel' => ['description' => 'Attack level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ ."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected', 'type' => 'string', 'example' => 'none'],
+ 'RequestFrom' => ['description' => 'Request source.', 'type' => 'string', 'example' => 'online_test'],
+ 'ApiRequestTime' => ['description' => 'Machine review time.', 'type' => 'string', 'example' => '1755501226'],
+ 'ReviewTime' => ['description' => 'Review time.', 'type' => 'string', 'example' => '1755501226'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'text'],
+ 'ApiTaskId' => ['description' => 'Automated review task ID.', 'type' => 'string', 'example' => 'xxx'],
+ 'ReviewLabels' => ['description' => 'Review labels.', 'type' => 'string', 'example' => 'porn'],
+ 'ReviewRiskLevel' => ['description' => 'Review status.', 'type' => 'string', 'example' => 'high'],
+ 'ReviewUid' => ['description' => 'Reviewer.', 'type' => 'string', 'example' => 'xx'],
+ 'ApiLabels' => ['description' => 'Automated review labels.', 'type' => 'string', 'example' => 'porn'],
+ 'ApiRiskLevel' => ['description' => 'Automated review risk level.', 'type' => 'string', 'example' => 'high'],
+ 'ApiService' => ['description' => 'Automated review service', 'type' => 'string', 'example' => 'basecheckLine'],
+ 'ManualOnly' => ['description' => 'Whether it is a pure manual review.', 'type' => 'boolean', 'example' => 'false'],
+ 'Reviewed' => ['description' => 'Whether it has been reviewed.', 'type' => 'boolean', 'example' => 'false'],
+ 'MaliciousFileLevel' => ['description' => 'Malicious file risk level.', 'type' => 'string', 'example' => 'high'],
+ 'MaliciousUrlLevel' => ['description' => 'Malicious URL risk level.', 'type' => 'string', 'example' => 'high'],
+ 'AppId' => ['title' => 'appId', 'type' => 'string', 'example' => 'agent_01'],
'GuardImageUrls' => [
'description' => 'Multimodal image URLs.',
'type' => 'array',
- 'items' => [
- 'description' => 'Multimodal image URLs.',
- 'type' => 'string',
- 'example' => 'https://xxx.jpg',
- ],
+ 'items' => ['description' => 'Multimodal image URLs.', 'type' => 'string', 'example' => 'https://xxx.jpg'],
],
'GuardFileUrls' => [
'description' => 'Multimodal file URLs.',
'type' => 'array',
- 'items' => [
- 'description' => 'Multimodal file URLs.',
- 'type' => 'string',
- 'example' => 'http://xxx.docx',
- ],
- ],
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'LiveId' => [
- 'type' => 'string',
+ 'items' => ['description' => 'Multimodal file URLs.', 'type' => 'string', 'example' => 'http://xxx.docx'],
],
+ 'AccountId' => ['type' => 'string'],
+ 'LiveId' => ['type' => 'string'],
'ImageUrls' => [
'title' => 'imageUrls',
'type' => 'array',
- 'items' => [
- 'title' => 'url',
- 'type' => 'string',
- 'example' => 'https://xxxx.001.jpg',
- ],
+ 'items' => ['title' => 'url', 'type' => 'string', 'example' => 'https://xxxx.001.jpg'],
],
+ 'BailianRequestId' => ['type' => 'string'],
],
],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', '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' => 'Query Scan Results',
'translator' => 'machine',
],
'GetServiceConf' => [
'summary' => 'Get a Single Service Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2332,9 +1177,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '161934',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2342,52 +1185,27 @@
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'Scene',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Audit scenario.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pornographic',
- ],
+ 'schema' => ['description' => 'Audit scenario.', 'type' => 'string', 'required' => false, 'example' => 'pornographic'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ByDefault',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Query default configuration',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'False',
- ],
+ 'schema' => ['description' => 'Query default configuration', 'type' => 'boolean', 'required' => false, 'example' => 'False'],
],
],
'responses' => [
@@ -2397,92 +1215,31 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '17726*****370735',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'image',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2023-01-17 12:29:56',
- ],
- 'CustomServiceConf' => [
- 'description' => 'Service details',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => '6CF2815C-****-****-B52E-FF6E2****492',
- ],
- 'Option' => [
- 'description' => 'Options.',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Classify' => [
- 'description' => 'Classification.',
- 'type' => 'string',
- 'example' => 'guard-scene',
- ],
- 'ServiceType' => [
- 'description' => 'Service type.',
- 'type' => 'string',
- 'example' => 'plus',
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '17726*****370735'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'image'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2023-01-17 12:29:56'],
+ 'CustomServiceConf' => ['description' => 'Service details', 'type' => 'object', 'example' => '{}'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => '6CF2815C-****-****-B52E-FF6E2****492'],
+ 'Option' => ['description' => 'Options.', 'type' => 'object', 'example' => '{}'],
+ 'Classify' => ['description' => 'Classification.', 'type' => 'string', 'example' => 'guard-scene'],
+ 'ServiceType' => ['description' => 'Service type.', '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' => 'Get Service Configuration',
'translator' => 'machine',
],
'GetServiceConfig' => [
'summary' => 'Get a Single Service Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2494,41 +1251,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwang9SVL0Q',
- 'FEATURElvwangL7LL9G',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang9SVL0Q', 'FEATURElvwangL7LL9G'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -2542,26 +1281,10 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '165379****31937',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-05-06 03:07:44',
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '165379****31937'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'text'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-05-06 03:07:44'],
'CustomServiceConf' => [
'description' => 'Custom service details',
'type' => 'object',
@@ -2569,88 +1292,42 @@
'KeywordFilterLibs' => [
'description' => 'Ignore word libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Ignore word libraries.',
- 'type' => 'string',
- 'example' => '["kwxxx"]',
- ],
+ 'items' => ['description' => 'Ignore word libraries.', 'type' => 'string', 'example' => '["kwxxx"]'],
],
'KeywordHitLibs' => [
'description' => 'Hit word libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Hit word libraries.',
- 'type' => 'string',
- 'example' => '["kwxxx1"]',
- ],
+ 'items' => ['description' => 'Hit word libraries.', 'type' => 'string', 'example' => '["kwxxx1"]'],
],
'SimilarTextHitLibs' => [
'description' => 'Hit similar text libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Hit similar text libraries.',
- 'type' => 'string',
- 'example' => '["stxxx"]',
- ],
+ 'items' => ['description' => 'Hit similar text libraries.', 'type' => 'string', 'example' => '["stxxx"]'],
],
'ManualMachineConfig' => [
'description' => 'Human-machine review configuration.',
'type' => 'object',
'properties' => [
- 'Enable' => [
- 'description' => 'Whether to enable. Values:'."\n"
- .'- **true**: Enabled'."\n"
- .'- **false**: Disabled',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Enable' => ['description' => 'Whether to enable. Values:'."\n"
+ .'- **true**: Enabled'."\n"
+ .'- **false**: Disabled', 'type' => 'boolean', 'example' => 'true'],
'AuditRiskLevels' => [
'description' => 'Risk levels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Risk levels.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- 'ManualService' => [
- 'description' => 'Manual review service',
- 'type' => 'string',
- 'example' => 'imageManualCheck',
- ],
- 'CallbackId' => [
- 'description' => 'Callback notification ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
+ 'items' => ['description' => 'Risk levels.', 'type' => 'string', 'example' => 'high'],
],
+ 'ManualService' => ['description' => 'Manual review service', 'type' => 'string', 'example' => 'imageManualCheck'],
+ 'CallbackId' => ['description' => 'Callback notification ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2661,14 +1338,8 @@
],
'GetUserBuyStatus' => [
'summary' => 'Get User Purchase Status',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2681,30 +1352,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '158310',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'CommodityCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Commodity code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lvwang_public_cn',
- ],
+ 'schema' => ['description' => 'Commodity code.', 'type' => 'string', 'required' => false, 'example' => 'lvwang_public_cn'],
],
],
'responses' => [
@@ -2718,53 +1377,17 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Buy' => [
- 'description' => 'Indicates whether the product has been activated on Alibaba Cloud.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Indebt' => [
- 'description' => 'Indicates whether there is an outstanding payment.',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bid' => [
- 'description' => 'Bid.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '26842',
- ],
- 'Tag' => [
- 'description' => 'Tag.',
- 'type' => 'string',
- 'example' => 'bailian',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
+ 'Buy' => ['description' => 'Indicates whether the product has been activated on Alibaba Cloud.', 'type' => 'boolean', 'example' => 'True'],
+ 'Indebt' => ['description' => 'Indicates whether there is an outstanding payment.', 'type' => 'boolean', 'example' => 'False'],
+ 'Bid' => ['description' => 'Bid.', 'type' => 'integer', 'format' => 'int64', 'example' => '26842'],
+ 'Tag' => ['description' => 'Tag.', 'type' => 'string', 'example' => 'bailian'],
+ 'InstanceId' => ['type' => 'string'],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2775,39 +1398,32 @@
],
'ListKeywordLibs' => [
'summary' => 'Keyword Library List',
- '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' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['title' => '租户编码', 'type' => 'string'],
],
],
'responses' => [
@@ -2824,60 +1440,21 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '19964*****086772',
- ],
- 'LibId' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'example' => 'custom_xxxxx',
- ],
- 'LibName' => [
- 'description' => 'Library name.',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'KeywordCount' => [
- 'description' => 'Number of keywords.',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'ServiceCodes' => [
- 'description' => 'Service codes.',
- 'type' => 'string',
- 'example' => 'service1,service2',
- ],
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '19964*****086772', 'title' => 'uid'],
+ 'LibId' => ['description' => 'Library ID.', 'type' => 'string', 'example' => 'custom_xxxxx', 'title' => '词库ID'],
+ 'LibName' => ['description' => 'Library name.', 'type' => 'string', 'example' => '测试', 'title' => '词库名称'],
+ 'KeywordCount' => ['description' => 'Number of keywords.', 'type' => 'string', 'example' => '10', 'title' => '词库数量'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2022-11-30 16:30:29', 'title' => '更新时间'],
+ 'ServiceCodes' => ['description' => 'Service codes.', 'type' => 'string', 'example' => 'service1,service2', 'title' => '关联的service'],
+ ],
+ 'title' => '',
],
+ 'title' => '数据对象',
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True', 'title' => '是否成功'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => '错误码'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK', 'title' => '错误码描述信息'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', 'title' => '请求的唯一标识符'],
],
],
],
@@ -2888,103 +1465,57 @@
],
'ListOssCheckResult' => [
'summary' => 'query OSS scan result list',
- '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' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'Task status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
+ 'schema' => ['description' => 'Task status.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => 'Number of completed tasks.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'Number of completed tasks.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => 'Search condition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => 'Search condition.', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -2994,22 +1525,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3019,30 +1541,10 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '13'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -3050,123 +1552,55 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'Storage space.',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'JobName' => [
- 'description' => 'Job name.',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => 'File MD5.',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Bucket' => ['description' => 'Storage space.', 'type' => 'string', 'example' => 'tmp'],
+ 'JobName' => ['description' => 'Job name.', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'Object name.', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => 'File MD5.', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => 'Error code, consistent with HTTP status.', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
'Labels' => [
'description' => 'Image labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => 'Image labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => 'Text labels.',
'type' => 'array',
+ 'items' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => 'Image URL address.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => 'Task URL.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => 'Audio and video detection type.', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => 'Overall risk level', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => 'Image risk level', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => 'Text risk level', 'type' => 'string', 'example' => 'none'],
+ 'FreezeType' => ['description' => 'Freeze type.', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeStatus' => ['description' => 'Freeze status.', 'type' => 'string', 'example' => 'FREEZED'],
+ 'LabelDetails' => [
+ 'type' => 'array',
'items' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ ],
],
],
- 'ScanResult' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => 'Image URL address.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => 'Task URL.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => 'Audio and video detection type.',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => 'Overall risk level',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => 'Image risk level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => 'Text risk level',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'FreezeType' => [
- 'description' => 'Freeze type.',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeStatus' => [
- 'description' => 'Freeze status.',
- 'type' => 'string',
- 'example' => 'FREEZED',
+ 'LabelDetails2' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ ],
+ ],
],
],
],
@@ -3175,19 +1609,14 @@
],
],
],
- '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' => 'Query OSS Scan Result List',
'translator' => 'machine',
],
'ModifyFeatureConfig' => [
'summary' => 'Save Feature Configuration',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3200,81 +1629,44 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266678',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'System-defined parameter. Value: **ModifyFeatureConfig**.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => 'System-defined parameter. Value: **ModifyFeatureConfig**.', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'Field',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => '__config__',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => '__config__'],
],
[
'name' => 'Config',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => '标签2',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => '标签2'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3284,56 +1676,29 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'query',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Returned data',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Msg' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Success' => [
- 'description' => 'Response message of this request.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Success indicator.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'Status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => 'query', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Returned data', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Msg' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'success'],
+ 'Success' => ['description' => 'Response message of this request.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Success indicator.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'Status code.', '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' => 'Modify Feature Configuration',
'translator' => 'machine',
],
'QueryCallback' => [
'summary' => 'Query a Single Callback Configuration',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3346,41 +1711,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '221459',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '11234',
- ],
+ 'schema' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '11234'],
],
[
'name' => 'CheckForOss',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Query data under the OSS detection task.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Query data under the OSS detection task.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3390,63 +1737,17 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Id' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11234',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '19964*****086772',
- ],
- 'Name' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'example' => '回调通知',
- ],
- 'Url' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com',
- ],
- 'Seed' => [
- 'description' => 'Seed.',
- 'type' => 'string',
- 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf',
- ],
- 'CryptType' => [
- 'description' => 'Encryption algorithm.',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => 'Result scope.',
- 'type' => 'string',
- 'example' => 'all',
- ],
- 'ExistsOssCheckTask' => [
- 'description' => 'Whether there is an OSS detection task.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Id' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '11234'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2022-11-30 16:30:29'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '19964*****086772'],
+ 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => '回调通知'],
+ 'Url' => ['description' => 'Callback URL.', 'type' => 'string', 'example' => 'https://www.aliyuncs.com'],
+ 'Seed' => ['description' => 'Seed.', 'type' => 'string', 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf'],
+ 'CryptType' => ['description' => 'Encryption algorithm.', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => 'Result scope.', 'type' => 'string', 'example' => 'all'],
+ 'ExistsOssCheckTask' => ['description' => 'Whether there is an OSS detection task.', 'type' => 'boolean', 'example' => 'false'],
],
],
],
@@ -3457,14 +1758,8 @@
],
'UpdateScanResultFeedback' => [
'summary' => 'Feedback on Scan Results',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3477,21 +1772,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '169771',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
],
'parameters' => [
[
'name' => 'QueryRequestId',
'in' => 'formData',
- 'schema' => [
- 'title' => '请求ID',
- 'description' => 'Request ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '46232656-984E-****-A648-B1D0667B6C3E',
- ],
+ 'schema' => ['title' => '请求ID', 'description' => 'Request ID', 'type' => 'string', 'required' => false, 'example' => '46232656-984E-****-A648-B1D0667B6C3E'],
],
[
'name' => 'Feedback',
@@ -3501,53 +1788,29 @@
'description' => 'Feedback',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'missOut' => '违规漏过',
- 'misreport' => '未违规误报',
- ],
+ 'enumValueTitles' => ['missOut' => '违规漏过', 'misreport' => '未违规误报'],
'example' => 'missOut',
],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => 'Resource Type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => 'Resource Type', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'RiskLevel',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'high',
- ],
+ 'schema' => ['description' => 'Risk Level', 'type' => 'string', 'required' => false, 'example' => 'high'],
],
[
'name' => 'Labels',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Labels.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abuse',
- ],
+ 'schema' => ['description' => 'Labels.', 'type' => 'string', 'required' => false, 'example' => 'abuse'],
],
],
'responses' => [
@@ -3557,17 +1820,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3578,14 +1832,8 @@
],
'UpdateServiceConfig' => [
'summary' => '更新服务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3598,9 +1846,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157299',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -3608,106 +1854,57 @@
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', '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' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ServiceConfig',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -3717,93 +1914,45 @@
'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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- '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' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', '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"}]',
],
'GetKeywordImportResult' => [
'summary' => 'Query the result of keyword import',
- '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' => 'Task ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx-xxx',
- ],
+ 'schema' => ['description' => 'Task ID.', 'type' => 'string', 'required' => false, 'example' => 'xxx-xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3817,101 +1966,35 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => 'Task progress percentage.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'example' => 'customxx_xxx',
- ],
- 'I18nKey' => [
- 'description' => 'Internationalization key.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => 'Tips message.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => 'Total count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => 'Success count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => 'Repeat count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => 'Invalid count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => 'Task progress percentage.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => 'Keyword library ID.', 'type' => 'string', 'example' => 'customxx_xxx'],
+ 'I18nKey' => ['description' => 'Internationalization key.', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => 'Tips message.', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => 'Success count.', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => 'Repeat count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => 'Invalid count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => 'List of repeated keywords.',
'type' => 'array',
- 'items' => [
- 'description' => 'List of repeated keywords.',
- 'type' => 'string',
- 'example' => '重复关键词',
- ],
+ 'items' => ['description' => 'List of repeated keywords.', 'type' => 'string', 'example' => '重复关键词'],
],
'InvalidKeywords' => [
'description' => 'List of invalid keywords.',
'type' => 'array',
- 'items' => [
- 'description' => 'List of invalid keywords.',
- 'type' => 'string',
- 'example' => '不合法关键词',
- ],
+ 'items' => ['description' => 'List of invalid keywords.', 'type' => 'string', 'example' => '不合法关键词'],
],
'IllegalLengthKeywords' => [
'description' => 'List of keywords with illegal length (too long or too short).',
'type' => 'array',
- 'items' => [
- 'description' => 'List of keywords with illegal length (too long or too short).',
- 'type' => 'string',
- 'example' => '过短关键词',
- ],
+ 'items' => ['description' => 'List of keywords with illegal length (too long or too short).', 'type' => 'string', 'example' => '过短关键词'],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request, which can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request, which can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3922,59 +2005,42 @@
],
'UpdateKeywordLib' => [
'summary' => 'Edit Keyword Library',
- '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' => 'Library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => 'Library ID.', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keyword library name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试库',
- ],
+ 'schema' => ['description' => 'Keyword library name.', 'type' => 'string', 'required' => false, 'example' => '测试库'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -3984,32 +2050,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -4020,49 +2065,37 @@
],
'GetKeywordLib' => [
'summary' => 'Keyword Library Information',
- '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' => 'Keyword library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxx',
- ],
+ 'schema' => ['description' => 'Keyword library ID.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -4076,54 +2109,17 @@
'description' => 'Returned data content.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'Primary account ID',
- 'type' => 'string',
- 'example' => '1825457112123838',
- ],
- 'LibId' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'example' => 'customxx_xxx',
- ],
- 'LibName' => [
- 'description' => 'Library name',
- 'type' => 'string',
- 'example' => '测试词库',
- ],
- 'KeywordCount' => [
- 'description' => 'Number of keywords.',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'GmtModified' => [
- 'description' => 'Last modified time.',
- 'type' => 'string',
- 'example' => '2024-01-29 10:26:00',
- ],
+ 'Uid' => ['description' => 'Primary account ID', 'type' => 'string', 'example' => '1825457112123838'],
+ 'LibId' => ['description' => 'Keyword library ID.', 'type' => 'string', 'example' => 'customxx_xxx'],
+ 'LibName' => ['description' => 'Library name', 'type' => 'string', 'example' => '测试词库'],
+ 'KeywordCount' => ['description' => 'Number of keywords.', 'type' => 'string', 'example' => '100'],
+ 'GmtModified' => ['description' => 'Last modified time.', 'type' => 'string', 'example' => '2024-01-29 10:26:00'],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -4134,14 +2130,8 @@
],
'GetUploadInfo' => [
'summary' => 'Get the corresponding information for file upload',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4153,41 +2143,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '158637',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- 'default' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image', 'default' => 'text'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Upload name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试',
- ],
+ 'schema' => ['description' => 'Upload name.', 'type' => 'string', 'required' => false, 'example' => '测试'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -4197,82 +2169,19 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'AccessId' => [
- 'description' => 'Upload authorization ID.',
- 'type' => 'string',
- 'example' => 'LTAI5t9HM*****EXQmw3DVH',
- ],
- 'Policy' => [
- 'description' => 'OSS upload file Policy.',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Signature' => [
- 'description' => 'Upload signature information.',
- 'type' => 'string',
- 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
- ],
- 'Folder' => [
- 'title' => '最好含有用户ID',
- 'description' => 'Folder name.',
- 'type' => 'string',
- 'example' => 'image/upload/xxx'."\n",
- ],
- 'Key' => [
- 'description' => 'Key used for uploading files.',
- 'type' => 'string',
- 'example' => 'image/upload/xxx',
- ],
- 'Host' => [
- 'description' => 'Upload host.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
- ],
- 'Name' => [
- 'title' => '前端上传图片使用',
- 'description' => 'Used for front-end image upload.',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Expire' => [
- 'title' => '单位秒',
- 'description' => 'In seconds.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '900',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'AccessId' => ['description' => 'Upload authorization ID.', 'type' => 'string', 'example' => 'LTAI5t9HM*****EXQmw3DVH'],
+ 'Policy' => ['description' => 'OSS upload file Policy.', 'type' => 'string', 'example' => 'xxxx'],
+ 'Signature' => ['description' => 'Upload signature information.', 'type' => 'string', 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw='],
+ 'Folder' => ['title' => '最好含有用户ID', 'description' => 'Folder name.', 'type' => 'string', 'example' => 'image/upload/xxx'."\n"],
+ 'Key' => ['description' => 'Key used for uploading files.', 'type' => 'string', 'example' => 'image/upload/xxx'],
+ 'Host' => ['description' => 'Upload host.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com'],
+ 'Name' => ['title' => '前端上传图片使用', 'description' => 'Used for front-end image upload.', 'type' => 'string', 'example' => '测试'],
+ 'Expire' => ['title' => '单位秒', 'description' => 'In seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '900'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -4283,28 +2192,21 @@
],
'ListServiceConfigs' => [
'summary' => 'Get Service List',
- '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' => [
[
@@ -4314,45 +2216,29 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Classify',
'in' => 'query',
- 'schema' => [
- 'description' => 'Category.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'guard-scene',
- ],
+ 'schema' => ['description' => 'Category.', 'type' => 'string', 'required' => false, 'example' => 'guard-scene'],
],
[
'name' => 'UseStatus',
'in' => 'query',
- 'schema' => [
- 'description' => 'Usage status.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'in',
- ],
+ 'schema' => ['description' => 'Usage status.', 'type' => 'string', 'required' => false, 'example' => 'in'],
+ ],
+ [
+ 'name' => 'ProtectionType',
+ 'in' => 'query',
+ 'schema' => ['title' => '防护类型', 'type' => 'string'],
],
],
'responses' => [
@@ -4369,31 +2255,11 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '1674*****0071291',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2023-07-11 15:40:04',
- ],
- 'CopyFrom' => [
- 'description' => 'Main service.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '1674*****0071291'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'text'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2023-07-11 15:40:04'],
+ 'CopyFrom' => ['description' => 'Main service.', 'type' => 'string', 'example' => 'nickname_detection'],
'CustomServiceConf' => [
'description' => 'Service configuration.',
'type' => 'object',
@@ -4401,56 +2267,31 @@
'KeywordFilterLibs' => [
'description' => 'Ignored word libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Ignored word libraries.',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => 'Ignored word libraries.', 'type' => 'string', 'example' => '[]'],
],
'KeywordHitLibs' => [
'description' => 'Hit word libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Hit word libraries.',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => 'Hit word libraries.', 'type' => 'string', 'example' => '[]'],
],
'SimilarTextHitLibs' => [
'description' => 'Hit similar text libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Hit similar text libraries.',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => 'Hit similar text libraries.', 'type' => 'string', 'example' => '[]'],
],
'ImageService' => [
'description' => 'Image services.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image services.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- ],
- 'AudioService' => [
- 'description' => 'Audio service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
+ 'items' => ['description' => 'Image services.', 'type' => 'string', 'example' => 'baselineCheck'],
],
+ 'AudioService' => ['description' => 'Audio service.', 'type' => 'string', 'example' => 'audio_media_detection'],
'Rules' => [
'description' => 'Service rules',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => 'Index.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Index' => ['description' => 'Index.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ImageScanRule' => [
'description' => 'Image review rule.',
'type' => 'object',
@@ -4458,11 +2299,7 @@
'Services' => [
'description' => 'Image services.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image services.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
+ 'items' => ['description' => 'Image services.', 'type' => 'string', 'example' => 'baselineCheck'],
],
],
],
@@ -4473,11 +2310,7 @@
'Services' => [
'description' => 'Text services.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text services.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
+ 'items' => ['description' => 'Text services.', 'type' => 'string', 'example' => 'nickname_detection'],
],
],
],
@@ -4486,78 +2319,32 @@
],
],
],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'ServiceDesc' => [
- 'description' => 'Service description.',
- 'type' => 'string',
- 'example' => '服务描述',
- ],
- 'Option' => [
- 'description' => 'Options.',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'ServiceType' => [
- 'description' => 'Service type.',
- 'type' => 'string',
- 'example' => 'plus',
- ],
- 'Classify' => [
- 'description' => 'Category.',
- 'type' => 'string',
- 'example' => 'guard-scene',
- ],
- 'UseStatus' => [
- 'description' => 'Usage status',
- 'type' => 'string',
- 'example' => 'in',
- ],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'ServiceDesc' => ['description' => 'Service description.', 'type' => 'string', 'example' => '服务描述'],
+ 'Option' => ['description' => 'Options.', 'type' => 'object', 'example' => '{}'],
+ 'ServiceType' => ['description' => 'Service type.', 'type' => 'string', 'example' => 'plus'],
+ 'Classify' => ['description' => 'Category.', 'type' => 'string', 'example' => 'guard-scene'],
+ 'UseStatus' => ['description' => 'Usage status', 'type' => 'string', 'example' => 'in'],
+ 'SceneType' => ['type' => 'string'],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '400',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '400'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', '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' => 'Get Rule Configuration List',
'translator' => 'machine',
],
'GetTextScanResult' => [
'summary' => 'Query the invocation result',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4570,30 +2357,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157044',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start date and time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date and time.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End date and time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date and time.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
@@ -4603,34 +2378,18 @@
'description' => 'Search criteria.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '搜索条件。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '搜索条件。'],
],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -4640,22 +2399,13 @@
'description' => 'Sort fields.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -4669,168 +2419,60 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data for the current page.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2023-07-11 14:21:36',
- ],
- 'Content' => [
- 'description' => 'Content.',
- 'type' => 'string',
- 'example' => '测试内容',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'RequestTime' => [
- 'description' => 'Request time.',
- 'type' => 'string',
- 'example' => '2023-07-11 14:21:36'."\n",
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'ScanResult' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'Labels' => [
- 'description' => 'Labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- 'Score' => [
- 'description' => 'Score.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '20',
- ],
- 'Suggestion' => [
- 'description' => 'Suggestion for handling.',
- 'type' => 'string',
- 'example' => 'review',
- ],
- 'ExtFeedback' => [
- 'description' => 'Feedback information.',
- 'type' => 'string',
- 'example' => 'miss',
- ],
- 'Extra' => [
- 'description' => 'Spare parameters.',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2023-07-11 14:21:36'],
+ 'Content' => ['description' => 'Content.', 'type' => 'string', 'example' => '测试内容'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'RequestTime' => ['description' => 'Request time.', 'type' => 'string', 'example' => '2023-07-11 14:21:36'."\n"],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'ScanResult' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => '{}'],
+ 'Labels' => ['description' => 'Labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ 'Score' => ['description' => 'Score.', 'type' => 'number', 'format' => 'float', 'example' => '20'],
+ 'Suggestion' => ['description' => 'Suggestion for handling.', 'type' => 'string', 'example' => 'review'],
+ 'ExtFeedback' => ['description' => 'Feedback information.', 'type' => 'string', 'example' => 'miss'],
+ 'Extra' => ['description' => 'Spare parameters.', 'type' => 'object', 'example' => '{}'],
'Result' => [
'description' => 'Detection results.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'political_n',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, ranging from 0 to 100, with two decimal places retained.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '25.0',
- ],
- 'Description' => [
- 'description' => 'Description.',
- 'type' => 'string',
- 'example' => '疑似色情内容',
- ],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'political_n'],
+ 'Confidence' => ['description' => 'Confidence score, ranging from 0 to 100, with two decimal places retained.', 'type' => 'number', 'format' => 'float', 'example' => '25.0'],
+ 'Description' => ['description' => 'Description.', 'type' => 'string', 'example' => '疑似色情内容'],
],
],
],
- 'BailianRequestId' => [
- 'description' => 'Bailian Request ID',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
- ."\n"
- .'- high: High risk'."\n"
- ."\n"
- .'- medium: Medium risk'."\n"
- .' '."\n"
- .'- low: Low risk'."\n"
- ."\n"
- .'- none: No risk detected',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'AccountId' => [
- 'title' => '客户入参AccountId',
- 'type' => 'string',
- ],
- 'DataId' => [
- 'title' => '客户入参DataId',
- 'type' => 'string',
- ],
+ 'BailianRequestId' => ['description' => 'Bailian Request ID', 'type' => 'string', 'example' => 'xxx'],
+ 'RiskLevel' => ['description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ .' '."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected', 'type' => 'string', 'example' => 'none'],
+ 'AccountId' => ['title' => '客户入参AccountId', 'type' => 'string'],
+ 'DataId' => ['title' => '客户入参DataId', 'type' => 'string'],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -4841,69 +2483,47 @@
],
'AddKeywords' => [
'summary' => 'Add keywords',
- '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' => 'The id of keyword library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'The id of keyword library.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The keywords to be added.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'keywords',
- ],
+ 'schema' => ['description' => 'The keywords to be added.', 'type' => 'string', 'required' => false, 'example' => 'keywords'],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of the keyword file.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
- ],
+ 'schema' => ['description' => 'The name of the keyword file.', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n"],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -4917,117 +2537,43 @@
'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The ID of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => 'The ID of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => 'Result.',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => 'The progress percentage of the task.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => 'The keyword library ID.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => 'Internationalization key.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => 'The tips.',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- 'TotalCount' => [
- 'description' => 'The total count of the keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'SuccessCount' => [
- 'description' => 'The success count of the keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'RepeatCount' => [
- 'description' => 'Duplicate keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => 'Invalid keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => 'The progress percentage of the task.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => 'The keyword library ID.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => 'Internationalization key.', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => 'The tips.', 'type' => 'string', 'example' => 'xxxxx'],
+ 'TotalCount' => ['description' => 'The total count of the keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'SuccessCount' => ['description' => 'The success count of the keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'RepeatCount' => ['description' => 'Duplicate keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => 'Invalid keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => 'List of duplicate keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Duplicate keywords',
- 'type' => 'string',
- 'example' => 'duplicate_keyword',
- ],
+ 'items' => ['description' => 'Duplicate keywords', 'type' => 'string', 'example' => 'duplicate_keyword'],
],
'InvalidKeywords' => [
'description' => 'List of invalid keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Invalid keywords',
- 'type' => 'string',
- 'example' => 'invalid_keyword',
- ],
+ 'items' => ['description' => 'Invalid keywords', 'type' => 'string', 'example' => 'invalid_keyword'],
],
'IllegalLengthKeywords' => [
'description' => 'List of keywords that are too long or too short.',
'type' => 'array',
- 'items' => [
- 'description' => 'Keywords that are too long or too short.',
- 'type' => 'string',
- 'example' => 'keyword',
- ],
+ 'items' => ['description' => 'Keywords that are too long or too short.', 'type' => 'string', 'example' => 'keyword'],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Return code. A return of 200 represents success.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Return code. A return of 200 represents success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'The message that is returned in response to the request.'."\n", 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5037,67 +2583,41 @@
],
'ListKeywords' => [
'summary' => 'Query Keyword List',
- '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' => 'Library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => 'Library ID.', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'Word',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keyword.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试词',
- ],
+ 'schema' => ['description' => 'Keyword.', 'type' => 'string', 'required' => false, 'example' => '测试词'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -5107,22 +2627,18 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['title' => '租户编码', 'type' => 'string'],
],
],
'responses' => [
@@ -5136,24 +2652,9 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'Total count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '23',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '23'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -5161,137 +2662,83 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '112',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2023-06-03 14:43:03',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2023-06-03 14:43:03',
- ],
- 'KeywordLibId' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'KeywordMd5Id' => [
- 'description' => 'Keyword data ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4205334',
- ],
- 'Word' => [
- 'description' => 'Keyword.',
- 'type' => 'string',
- 'example' => '测试词',
+ 'Id' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '112'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2023-06-03 14:43:03'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2023-06-03 14:43:03'],
+ 'KeywordLibId' => ['description' => 'Keyword library ID.', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'KeywordMd5Id' => ['description' => 'Keyword data ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '4205334'],
+ 'Word' => ['description' => 'Keyword.', 'type' => 'string', 'example' => '测试词'],
+ 'Properties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Attribute' => ['type' => 'string'],
+ ],
],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success flag.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => 'Success flag.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', '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' => 'Query Keyword List',
'translator' => 'machine',
],
'DeleteKeyword' => [
'summary' => 'Delete keyword',
- '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' => 'Library id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'Library id', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'KeywordIds',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The ids of keywords.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[16754493]',
- ],
+ 'schema' => ['description' => 'The ids of keywords.', 'type' => 'string', 'required' => false, 'example' => '[16754493]'],
],
[
'name' => 'KeywordIdList',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The ids\' list of keywords.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[6715465]',
- ],
+ 'schema' => ['description' => 'The ids\' list of keywords.', 'type' => 'string', 'required' => false, 'example' => '[6715465]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -5301,32 +2748,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'The returned status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Response message for this request.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'The returned status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Response message for this request.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5340,49 +2766,37 @@
],
'ExportKeyword' => [
'summary' => 'Export Keywords',
- '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' => 'Keyword library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'Keyword library ID.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -5392,32 +2806,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Export result.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Export result.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5428,14 +2821,8 @@
],
'ExportTextScanResult' => [
'summary' => 'Export text scan results, Excel file',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5447,30 +2834,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157038',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'Query',
@@ -5480,22 +2855,13 @@
'description' => 'Query conditions.',
'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' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5505,32 +2871,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Exported results.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Exported results.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5541,49 +2886,37 @@
],
'DeleteKeywordLib' => [
'summary' => 'Delete Keyword Library',
- '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' => 'Keyword library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'Keyword library ID.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -5593,32 +2926,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5629,28 +2941,21 @@
],
'UpdateImageLibFreeInspection' => [
'summary' => 'Edit Image Library Free Inspection Configuration',
- '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' => [
[
@@ -5661,23 +2966,18 @@
'description' => 'Configuration.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'description' => '配置。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'integer', 'format' => 'int32', 'description' => '配置。', 'example' => '{}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -5687,43 +2987,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with the HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with the HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5734,14 +3003,8 @@
],
'AddImages2Lib' => [
'summary' => 'Add image to image lib',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5754,40 +3017,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159538',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The ID of image library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => 'The ID of image library.', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'ImgUrl',
'in' => 'formData',
- 'schema' => [
- 'description' => 'URL of the image to be uploaded.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg',
- ],
+ 'schema' => ['description' => 'URL of the image to be uploaded.', 'type' => 'string', 'required' => false, 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5801,45 +3047,14 @@
'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'ImgId' => [
- 'description' => 'The id of the uploaded image.',
- 'type' => 'string',
- 'example' => '100001',
- ],
+ 'ImgId' => ['description' => 'The id of the uploaded image.', 'type' => 'string', 'example' => '100001'],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Status code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'The message that is returned in response to the request.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5849,14 +3064,8 @@
],
'ListImagesFromLib' => [
'summary' => 'Paged Image List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5868,72 +3077,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159539',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Gallery ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => 'Gallery ID.', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'ImgId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Image ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '112',
- ],
+ 'schema' => ['description' => 'Image ID.', 'type' => 'string', 'required' => false, 'example' => '112'],
],
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -5943,22 +3118,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5968,24 +3134,9 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'Total number of images.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'Total number of images.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -5993,61 +3144,18 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'ImageId' => [
- 'description' => 'Image ID.',
- 'type' => 'string',
- 'example' => '112',
- ],
- 'ImageUrl' => [
- 'description' => 'Image URL.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
- ],
- 'ThumbnailUrl' => [
- 'description' => 'Thumbnail URL.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
- ],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2022-11-30 16:30:29'],
+ 'ImageId' => ['description' => 'Image ID.', 'type' => 'string', 'example' => '112'],
+ 'ImageUrl' => ['description' => 'Image URL.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg'],
+ 'ThumbnailUrl' => ['description' => 'Thumbnail URL.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg'],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6058,14 +3166,8 @@
],
'AddImageLib' => [
'summary' => 'Create Image Library',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6077,40 +3179,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159536',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of image library',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_image_lib',
- ],
+ 'schema' => ['description' => 'The name of image library', 'type' => 'string', 'required' => false, 'example' => 'test_image_lib'],
],
[
'name' => 'Comment',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The remarks of the image library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Explicit_Content_Blacklist_Image_lib',
- ],
+ 'schema' => ['description' => 'The remarks of the image library.', 'type' => 'string', 'required' => false, 'example' => 'Explicit_Content_Blacklist_Image_lib'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6120,43 +3205,12 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Return code. A return of 200 represents success.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Return code. A return of 200 represents success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'The message that is returned in response to the request.'."\n", 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6166,14 +3220,8 @@
],
'ExportScanResult' => [
'summary' => 'Export scan results, Excel file',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6185,30 +3233,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160496',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'Query',
@@ -6218,11 +3254,7 @@
'description' => 'Query content.',
'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****"}'],
],
],
[
@@ -6232,37 +3264,19 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -6272,22 +3286,13 @@
'description' => 'Sort fields.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{"RequestTime":"desc"}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{"RequestTime":"desc"}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6297,43 +3302,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Exported result.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Exported result.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6344,39 +3318,32 @@
],
'ListImageLib' => [
'summary' => 'Image Library List',
- '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' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -6392,137 +3359,56 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'LibName' => [
- 'description' => 'Library name.',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'ImageNum' => [
- 'description' => 'Number of images in the library.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'FreeInspection' => [
- 'description' => 'Exempt from inspection configuration.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Comment' => [
- 'description' => 'Comment.',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
+ 'LibId' => ['description' => 'Library ID.', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'LibName' => ['description' => 'Library name.', 'type' => 'string', 'example' => '测试'],
+ 'ImageNum' => ['description' => 'Number of images in the library.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'FreeInspection' => ['description' => 'Exempt from inspection configuration.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Comment' => ['description' => 'Comment.', 'type' => 'string', 'example' => '备注'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'MaxLibCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
],
- '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' => 'Image Library List',
'translator' => 'machine',
],
'DeleteImagesFromLib' => [
'summary' => 'Delete images from library.',
- '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' => 'Library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'Library ID.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'ImageIds',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The IDs of the images.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[158794]',
- ],
+ 'schema' => ['description' => 'The IDs of the images.'."\n", 'type' => 'string', 'required' => false, 'example' => '[158794]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6532,43 +3418,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'The message that is returned in response to the request.'."\n", 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6578,14 +3433,8 @@
],
'GetImageSceneLabelConf' => [
'summary' => 'Get Image Rule Label Information',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6597,20 +3446,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160095',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE704W7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6623,44 +3465,13 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Returned data.',
- 'type' => 'object',
- 'example' => '{}',
- ],
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with the HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => 'Returned data.', 'type' => 'object', 'example' => '{}'],
],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with the HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6671,14 +3482,8 @@
],
'UpdateImageLib' => [
'summary' => 'Edit Image Library',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6690,61 +3495,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159534',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => 'Library ID.', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Library name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试图库',
- ],
+ 'schema' => ['description' => 'Library name.', 'type' => 'string', 'required' => false, 'example' => '测试图库'],
],
[
'name' => 'Comment',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Comment information for the library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => 'Comment information for the library.', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
[
'name' => 'FreeInspection',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Exemption from review configuration.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => 'Exemption from review configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6754,43 +3531,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6801,49 +3547,32 @@
],
'GetImageSceneLabelListConf' => [
'summary' => 'Get Image Rule Label Information',
- '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' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ImageServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
],
'responses' => [
@@ -6856,18 +3585,9 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Returned data.',
- 'type' => 'any',
- 'example' => '{}',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => 'Returned data.', 'type' => 'any', 'example' => '{}'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6878,14 +3598,8 @@
],
'GetScanNum' => [
'summary' => 'User OSS Check Task Pending Inspection Information',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6897,41 +3611,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179486',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJF4QIZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJF4QIZ'],
],
'parameters' => [
[
'name' => 'Buckets',
'in' => 'query',
- 'schema' => [
- 'description' => 'Storage space.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tmpsample',
- ],
+ 'schema' => ['description' => 'Storage space.', 'type' => 'string', 'required' => false, 'example' => 'tmpsample'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'MediaType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'image'],
],
],
'responses' => [
@@ -6941,35 +3637,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ScanNumber' => [
- 'description' => 'Total number of files pending inspection.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'SumNumber' => [
- 'description' => 'Total number of files.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'LimitNumber' => [
- 'description' => 'Upper limit of the quantity.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Tag' => [
- 'description' => 'Whether it is a whitelist user.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ScanNumber' => ['description' => 'Total number of files pending inspection.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'SumNumber' => ['description' => 'Total number of files.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'LimitNumber' => ['description' => 'Upper limit of the quantity.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Tag' => ['description' => 'Whether it is a whitelist user.', 'type' => 'boolean', 'example' => 'True'],
],
],
],
@@ -6980,14 +3652,8 @@
],
'CancelStockOssCheckTask' => [
'summary' => 'Cancel OSS detection task',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7000,30 +3666,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179017',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UNYVB',
- ],
+ 'schema' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'P_UNYVB'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7033,17 +3687,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7053,14 +3698,8 @@
],
'CreatePreCheck' => [
'summary' => 'Check before creating an OSS scan task',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7073,160 +3712,83 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179987',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'TaskName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Task name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '图片任务 20240709101602004'."\n",
- ],
+ 'schema' => ['description' => 'Task name.', 'type' => 'string', 'required' => false, 'example' => '图片任务 20240709101602004'."\n"],
],
[
'name' => 'Buckets',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Buckets.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]',
- ],
+ 'schema' => ['description' => 'Buckets.', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'],
],
[
'name' => 'IsInc',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether it is a scheduled scan task.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Whether it is a scheduled scan task.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'MediaType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Priority',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Priority.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => 'Priority.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'ScanNoFileType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to scan images without file extensions.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to scan images without file extensions.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ScanService',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Scan service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Scan service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'DistinctHistoryTasks',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to deduplicate historical detected tasks.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to deduplicate historical detected tasks.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'StartTime',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Task start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-17 10:08:00'."\n",
- ],
+ 'schema' => ['description' => 'Task start time.', 'type' => 'string', 'required' => false, 'example' => '2023-12-17 10:08:00'."\n"],
],
[
'name' => 'EndTime',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Task end time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-18 10:08:00'."\n",
- ],
+ 'schema' => ['description' => 'Task end time.', 'type' => 'string', 'required' => false, 'example' => '2023-12-18 10:08:00'."\n"],
],
[
'name' => 'ScanLimit',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Scan limit count.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Scan limit count.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'PrefixFilterType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Prefix filter type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- ],
+ 'schema' => ['description' => 'Prefix filter type.', 'type' => 'string', 'required' => false, 'example' => 'all'],
],
[
'name' => 'PrefixFilters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Prefixes.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dir1,dir2',
- ],
+ 'schema' => ['description' => 'Prefixes.', 'type' => 'string', 'required' => false, 'example' => 'dir1,dir2'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'BucketPrefixFilterConfig',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -7239,18 +3801,9 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'boolean',
- 'description' => 'Returned data.',
- 'example' => 'True',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'additionalProperties' => ['type' => 'boolean', 'description' => 'Returned data.', 'example' => 'True'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -7261,14 +3814,8 @@
],
'GetBucketsList' => [
'summary' => 'Get User OSS Scan Bucket List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7280,21 +3827,14 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '176578',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7311,25 +3851,12 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS file storage bucket name.',
- 'type' => 'string',
- 'example' => 'bucket_test',
- ],
- 'Region' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'Bucket' => ['description' => 'OSS file storage bucket name.', 'type' => 'string', 'example' => 'bucket_test'],
+ 'Region' => ['description' => 'Region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -7340,14 +3867,8 @@
],
'GetOssCheckStatus' => [
'summary' => 'Get User OSS check user status',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7359,20 +3880,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179436',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL1O89D',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL1O89D'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7382,42 +3896,13 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'SlsStatus' => [
- 'description' => 'Whether log analysis function is authorized.',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'RamStatus' => [
- 'description' => 'Whether internal security is authorized.',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'Buy' => [
- 'description' => 'Whether a product has been activated on Alibaba Cloud.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Indebt' => [
- 'description' => 'Whether there is an outstanding payment.',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bid' => [
- 'description' => 'Bid.',
- 'type' => 'string',
- 'example' => '26842',
- ],
- 'CommodityCode' => [
- 'description' => 'Commodity code.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'SlsStatus' => ['description' => 'Whether log analysis function is authorized.', 'type' => 'string', 'example' => 'True'],
+ 'RamStatus' => ['description' => 'Whether internal security is authorized.', 'type' => 'string', 'example' => 'True'],
+ 'Buy' => ['description' => 'Whether a product has been activated on Alibaba Cloud.', 'type' => 'boolean', 'example' => 'True'],
+ 'Indebt' => ['description' => 'Whether there is an outstanding payment.', 'type' => 'boolean', 'example' => 'False'],
+ 'Bid' => ['description' => 'Bid.', 'type' => 'string', 'example' => '26842'],
+ 'CommodityCode' => ['description' => 'Commodity code.', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -7428,14 +3913,8 @@
],
'ExportResult' => [
'summary' => 'Export OSS scan results',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7448,62 +3927,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179021',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Query condition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => 'Query condition.', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Number of items per page in the query result.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => 'Number of items per page in the query result.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page number of the query result. Default is 1.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Page number of the query result. Default is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -7513,22 +3963,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => 'desc',
- 'description' => 'Sort field.',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => 'desc', 'description' => 'Sort field.'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Source',
@@ -7538,10 +3979,7 @@
'type' => 'string',
'required' => false,
'example' => 'disposal',
- 'enum' => [
- 'default',
- 'disposal',
- ],
+ 'enum' => ['default', 'disposal'],
],
],
],
@@ -7552,32 +3990,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Success' => [
- 'description' => 'Success flag.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Success' => ['description' => 'Success flag.', 'type' => 'boolean', 'example' => 'True'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -7588,14 +4005,8 @@
],
'GetStockOssCheckTasksList' => [
'summary' => 'Query OSS Scan Task List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7608,63 +4019,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179018',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartTime',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-06-17 02:08:00',
- ],
+ 'schema' => ['description' => 'Start time.', 'type' => 'string', 'required' => false, 'example' => '2023-06-17 02:08:00'],
],
[
'name' => 'EndTime',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-06-18 02:08:00'."\n",
- ],
+ 'schema' => ['description' => 'End time.', 'type' => 'string', 'required' => false, 'example' => '2023-06-18 02:08:00'."\n"],
],
[
'name' => 'MediaType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'image'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -7674,42 +4055,23 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'IsInc',
'in' => 'query',
- 'schema' => [
- 'description' => 'Whether it is a scheduled scan task.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Whether it is a scheduled scan task.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Task type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'batch',
- ],
+ 'schema' => ['description' => 'Task type.', 'type' => 'string', 'required' => false, 'example' => 'batch'],
],
],
'responses' => [
@@ -7719,30 +4081,10 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -7750,256 +4092,77 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'P_XHDUS',
- ],
- 'TaskName' => [
- 'description' => 'Task name.',
- 'type' => 'string',
- 'example' => '图片定时任务20231205135716797'."\n",
- ],
- 'Buckets' => [
- 'description' => 'Storage space.',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'Status' => [
- 'description' => 'Task status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'StartTime' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'example' => '2023-12-21 15:30:19',
- ],
- 'EndTime' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'example' => '2024-01-10 11:42:31',
- ],
- 'SearchNum' => [
- 'description' => 'Number of scan tasks.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'FinishNum' => [
- 'description' => 'Number of completed tasks.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'MediaType' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'video',
- ],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'P_XHDUS'],
+ 'TaskName' => ['description' => 'Task name.', 'type' => 'string', 'example' => '图片定时任务20231205135716797'."\n"],
+ 'Buckets' => ['description' => 'Storage space.', 'type' => 'string', 'example' => 'tmp'],
+ 'Status' => ['description' => 'Task status.', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'StartTime' => ['description' => 'Start time.', 'type' => 'string', 'example' => '2023-12-21 15:30:19'],
+ 'EndTime' => ['description' => 'End time.', 'type' => 'string', 'example' => '2024-01-10 11:42:31'],
+ 'SearchNum' => ['description' => 'Number of scan tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'FinishNum' => ['description' => 'Number of completed tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'MediaType' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'example' => 'video'],
'Config' => [
'description' => 'Configuration items.',
'type' => 'object',
'properties' => [
- 'ScanNoFileType' => [
- 'description' => 'Whether to scan images without file extensions.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ScanNoFileType' => ['description' => 'Whether to scan images without file extensions.', 'type' => 'boolean', 'example' => 'true'],
'ScanService' => [
'description' => 'Scan service code',
'type' => 'array',
- 'items' => [
- 'description' => 'Scan service code',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- ],
- 'DistinctHistoryTasks' => [
- 'description' => 'Whether to deduplicate historical detected tasks.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'StartTime' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'example' => '2023-12-21 15:30:19',
- ],
- 'EndTime' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'example' => '2024-01-10 11:42:31',
- ],
- 'ScanLimit' => [
- 'description' => 'Scan limit quantity.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PrefixFilterType' => [
- 'description' => 'Prefix filter type.',
- 'type' => 'string',
- 'example' => 'all',
+ 'items' => ['description' => 'Scan service code', 'type' => 'string', 'example' => 'baselineCheck'],
],
+ 'DistinctHistoryTasks' => ['description' => 'Whether to deduplicate historical detected tasks.', 'type' => 'boolean', 'example' => 'false'],
+ 'StartTime' => ['description' => 'Start time.', 'type' => 'string', 'example' => '2023-12-21 15:30:19'],
+ 'EndTime' => ['description' => 'End time.', 'type' => 'string', 'example' => '2024-01-10 11:42:31'],
+ 'ScanLimit' => ['description' => 'Scan limit quantity.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PrefixFilterType' => ['description' => 'Prefix filter type.', 'type' => 'string', 'example' => 'all'],
'PrefixFilters' => [
'description' => 'Prefixes.',
'type' => 'array',
- 'items' => [
- 'description' => 'Prefixes.',
- 'type' => 'string',
- 'example' => 'dir1,dir2',
- ],
- ],
- 'Priority' => [
- 'description' => 'Priority.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TaskCycle' => [
- 'description' => 'Scheduling date.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ExecuteTime' => [
- 'description' => 'Scheduled task expected execution time.',
- 'type' => 'string',
- 'example' => '02:00:00',
- ],
- 'ExecuteDate' => [
- 'description' => 'Scheduled task execution date.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ScanResourceType' => [
- 'description' => 'Scanned file type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ 'items' => ['description' => 'Prefixes.', 'type' => 'string', 'example' => 'dir1,dir2'],
],
+ 'Priority' => ['description' => 'Priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TaskCycle' => ['description' => 'Scheduling date.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ExecuteTime' => ['description' => 'Scheduled task expected execution time.', 'type' => 'string', 'example' => '02:00:00'],
+ 'ExecuteDate' => ['description' => 'Scheduled task execution date.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ScanResourceType' => ['description' => 'Scanned file type.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'ScanServiceInfos' => [
'description' => 'Scan service information',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'baselineCheck_01',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '通用基线检测'."\n",
- ],
- 'CopyFrom' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'false'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'baselineCheck_01'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '通用基线检测'."\n"],
+ 'CopyFrom' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'baselineCheck'],
],
],
],
- 'CallbackId' => [
- 'description' => 'Callback notification ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3942',
- ],
- 'Freeze' => [
- 'description' => 'Whether to freeze',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'FreezeType' => [
- 'description' => 'Freeze type',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeHighRisk1' => [
- 'description' => 'Freeze high-risk images',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk1' => [
- 'description' => 'Freeze medium-risk images',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeHighRisk2' => [
- 'description' => 'Freeze high-risk audio and text',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk2' => [
- 'description' => 'Freeze medium-risk audio and text',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeRestorePath' => [
- 'description' => 'Storage path for transfer',
- 'type' => 'string',
- 'example' => '/backup',
- ],
+ 'CallbackId' => ['description' => 'Callback notification ID', 'type' => 'integer', 'format' => 'int64', 'example' => '3942'],
+ 'Freeze' => ['description' => 'Whether to freeze', 'type' => 'boolean', 'example' => 'false'],
+ 'FreezeType' => ['description' => 'Freeze type', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeHighRisk1' => ['description' => 'Freeze high-risk images', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk1' => ['description' => 'Freeze medium-risk images', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeHighRisk2' => ['description' => 'Freeze high-risk audio and text', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk2' => ['description' => 'Freeze medium-risk audio and text', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeRestorePath' => ['description' => 'Storage path for transfer', 'type' => 'string', 'example' => '/backup'],
'UserFreezeConfig' => [
'description' => 'Manual freeze configuration',
'type' => 'object',
'properties' => [
- 'FreezeType' => [
- 'description' => 'Freeze type',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeRestorePath' => [
- 'description' => 'Storage path for transfer',
- 'type' => 'string',
- 'example' => '/backup'."\n",
- ],
+ 'FreezeType' => ['description' => 'Freeze type', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeRestorePath' => ['description' => 'Storage path for transfer', 'type' => 'string', 'example' => '/backup'."\n"],
],
],
- 'Referer' => [
- 'description' => 'Referer',
- 'type' => 'string',
- 'example' => '*',
- ],
+ 'Referer' => ['description' => 'Referer', 'type' => 'string', 'example' => '*'],
],
],
- 'ObjectNum' => [
- 'description' => 'Total number of files in the bucket',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'NextExecuteDate' => [
- 'description' => 'Last execution time of the scheduled task',
- 'type' => 'string',
- 'example' => '02:00:00'."\n",
- ],
- 'LastExecuteDate' => [
- 'description' => 'Next execution time of the scheduled task',
- 'type' => 'string',
- 'example' => '02:00:00'."\n",
- ],
- 'IsInc' => [
- 'description' => 'Whether it is a scheduled scan task',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'TaskType' => [
- 'description' => 'Task type',
- 'type' => 'string',
- 'example' => 'batch',
- ],
+ 'ObjectNum' => ['description' => 'Total number of files in the bucket', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'NextExecuteDate' => ['description' => 'Last execution time of the scheduled task', 'type' => 'string', 'example' => '02:00:00'."\n"],
+ 'LastExecuteDate' => ['description' => 'Next execution time of the scheduled task', 'type' => 'string', 'example' => '02:00:00'."\n"],
+ 'IsInc' => ['description' => 'Whether it is a scheduled scan task', 'type' => 'boolean', 'example' => 'false'],
+ 'TaskType' => ['description' => 'Task type', 'type' => 'string', 'example' => 'batch'],
],
],
],
@@ -8013,14 +4176,8 @@
],
'OssCheckResultList' => [
'summary' => 'OSS scan result query',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8032,62 +4189,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179020',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'System-defined parameter. Value: **OssCheckResultList**.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-21 16:08:38'."\n",
- ],
+ 'schema' => ['description' => 'System-defined parameter. Value: **OssCheckResultList**.', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'."\n"],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-21 16:08:38'."\n",
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'."\n"],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'Query condition.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Query condition.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -8097,44 +4225,23 @@
'description' => 'Current page number.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{\\"GmtCreate\\":\\"desc\\"}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Sort field.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Sort field.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '55'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'Number of completed items.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Number of completed items.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -8144,35 +4251,11 @@
'description' => 'PortalResponse<SlsPageResponseVO<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Task status.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'AuthStatus' => [
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'TotalCount' => [
- 'description' => 'Authorization status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Task status.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'AuthStatus' => ['description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'OK'],
+ 'TotalCount' => ['description' => 'Authorization status.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageSize' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Current page number.',
'type' => 'array',
@@ -8180,99 +4263,31 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'Data of the current page.',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'Object' => [
- 'description' => 'OSS Bucket name.',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => 'File MD5.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Status code. 200 indicates success.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => 'Data of the current page.', 'type' => 'string', 'example' => 'tmp'],
+ 'Object' => ['description' => 'OSS Bucket name.', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => 'Object name.', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => 'File MD5.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => 'Service code.', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => 'Status code. 200 indicates success.', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => 'Further description of the error code.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'JobName' => [
- 'description' => 'Image URL.',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
+ 'items' => ['description' => 'Image labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
+ 'ScanResult' => ['description' => 'Image labels.', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'JobName' => ['description' => 'Image URL.', 'type' => 'string', 'example' => 'dhT20X2310'],
'Labels2' => [
'description' => 'Job name.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'Url' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => 'Task URL.',
- 'type' => 'string',
- 'example' => 'P_XHDUS',
- ],
- 'ServiceName' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => 'Service name.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => 'Whether to copy.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'audio',
+ 'items' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
+ 'Url' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => 'Task URL.', 'type' => 'string', 'example' => 'P_XHDUS'],
+ 'ServiceName' => ['description' => 'Task ID.', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => 'Service name.', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => 'Whether to copy.', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'audio'],
],
],
],
@@ -8286,14 +4301,8 @@
],
'CreatStockOssCheckTask' => [
'summary' => 'Create stock oss check task',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8306,41 +4315,24 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '179014',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image task 20240709101602004',
- ],
+ 'schema' => ['description' => 'The name of the task.'."\n", 'type' => 'string', 'required' => false, 'example' => 'image task 20240709101602004'],
],
[
'name' => 'Buckets',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS buckets',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n",
- ],
+ 'schema' => ['description' => 'OSS buckets', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n"],
],
[
'name' => 'IsInc',
'in' => 'query',
- 'schema' => [
- 'description' => 'Indicator for scheduled task.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Indicator for scheduled task.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'MediaType',
@@ -8350,11 +4342,7 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- 1 => '',
- '',
- '',
- ],
+ 'enumValueTitles' => [1 => '', '', ''],
'example' => '1',
],
],
@@ -8366,110 +4354,59 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- '',
- '',
- ],
+ 'enumValueTitles' => ['', ''],
'example' => '0',
],
],
[
'name' => 'ScanNoFileType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Indicator for scanning files without file type.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Indicator for scanning files without file type.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ScanService',
'in' => 'query',
- 'schema' => [
- 'description' => 'The code of scan service.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'The code of scan service.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'DistinctHistoryTasks',
'in' => 'query',
- 'schema' => [
- 'description' => 'Flag for deduplicating against previously detected tasks.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Flag for deduplicating against previously detected tasks.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The start time of the task.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-17 10:08:00'."\n",
- ],
+ 'schema' => ['description' => 'The start time of the task.', 'type' => 'string', 'required' => false, 'example' => '2023-12-17 10:08:00'."\n"],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end time of the task.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-18 10:08:00',
- ],
+ 'schema' => ['description' => 'The end time of the task.', 'type' => 'string', 'required' => false, 'example' => '2023-12-18 10:08:00'],
],
[
'name' => 'ScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => 'The scan limit of the task.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The scan limit of the task.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'PrefixFilterType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Prefix filter type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- ],
+ 'schema' => ['description' => 'Prefix filter type.', 'type' => 'string', 'required' => false, 'example' => 'all'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'PrefixFilters',
'in' => 'query',
- 'schema' => [
- 'description' => 'Prefix filters',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dir1,dir2'."\n",
- ],
+ 'schema' => ['description' => 'Prefix filters', 'type' => 'string', 'required' => false, 'example' => 'dir1,dir2'."\n"],
],
[
'name' => 'BucketPrefixFilterConfig',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'TaskCycle',
@@ -8479,34 +4416,19 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- '',
- '',
- '',
- ],
+ 'enumValueTitles' => ['', '', ''],
'example' => '0',
],
],
[
'name' => 'ExecuteDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Execute date of scheduled task.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Execute date of scheduled task.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ExecuteTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'Execute time of scheduled task.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '01:09:30-01:19:30',
- ],
+ 'schema' => ['description' => 'Execute time of scheduled task.', 'type' => 'string', 'required' => false, 'example' => '01:09:30-01:19:30'],
],
[
'name' => 'ScanResourceType',
@@ -8515,11 +4437,7 @@
'description' => 'Scan resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- '',
- '',
- '',
- ],
+ 'enumValueTitles' => ['', '', ''],
'example' => '0',
],
],
@@ -8530,103 +4448,54 @@
'description' => 'Task type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'timing' => '',
- 'batch' => '',
- 'increment' => '',
- ],
+ 'enumValueTitles' => ['timing' => '', 'batch' => '', 'increment' => ''],
'example' => 'batch',
],
],
[
'name' => 'CallbackId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Callback ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1751',
- ],
+ 'schema' => ['description' => 'Callback ID', 'type' => 'string', 'required' => false, 'example' => '1751'],
],
[
'name' => 'Freeze',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze indicator',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze indicator', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACL',
- ],
+ 'schema' => ['description' => 'Freeze type', 'type' => 'string', 'required' => false, 'example' => 'ACL'],
],
[
'name' => 'FreezeHighRisk1',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze High-Risk Images',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze High-Risk Images', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeMediumRisk1',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze Medium-Risk Images',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze Medium-Risk Images', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeHighRisk2',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze High-Risk Audio and Text',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze High-Risk Audio and Text', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeMediumRisk2',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze Medium-Risk Audio and Text',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze Medium-Risk Audio and Text', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeRestorePath',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze Restore Path',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => 'Freeze Restore Path', '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' => [
@@ -8636,17 +4505,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -8656,68 +4516,52 @@
],
'AddKeywordsToLib' => [
'summary' => 'Add keywords to keyword library.',
- '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' => 'The id of the keyword library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The keyword to be added.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'keyword',
- ],
+ 'schema' => ['description' => 'The keyword to be added.', 'type' => 'string', 'required' => false, 'example' => 'keyword'],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of the keyword file.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
- ],
+ 'schema' => ['description' => 'The name of the keyword file.', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n"],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'Properties',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -8731,97 +4575,39 @@
'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => 'Result.',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => 'The progress percentage of the task.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => 'Internationalization key.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => 'The total count of keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => 'The success count of keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => 'Duplicate keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => 'Invalid keyword count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => 'The progress percentage of the task.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => 'Internationalization key.', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => 'The total count of keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => 'The success count of keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => 'Duplicate keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => 'Invalid keyword count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => 'List of duplicate keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Duplicate keywords',
- 'type' => 'string',
- 'example' => 'duplicate_keyword',
- ],
+ 'items' => ['description' => 'Duplicate keywords', 'type' => 'string', 'example' => 'duplicate_keyword'],
],
'InvalidKeywords' => [
'description' => 'List of invalid keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Invalid keywords',
- 'type' => 'string',
- 'example' => 'invalid_keyword',
- ],
+ 'items' => ['description' => 'Invalid keywords', 'type' => 'string', 'example' => 'invalid_keyword'],
],
'IllegalLengthKeywords' => [
'description' => 'List of keywords that are too long or too short.',
'type' => 'array',
- 'items' => [
- 'description' => 'Keywords that are too long or too short.',
- 'type' => 'string',
- 'example' => 'keyword',
- ],
+ 'items' => ['description' => 'Keywords that are too long or too short.', 'type' => 'string', 'example' => 'keyword'],
],
],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8831,14 +4617,8 @@
],
'GetServiceLabelConfig' => [
'summary' => 'Get the label configuration of a single service',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8850,40 +4630,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '174703',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE704W7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -8896,18 +4659,9 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Returned data.',
- 'type' => 'any',
- 'example' => '{}',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => 'Returned data.', 'type' => 'any', 'example' => '{}'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -8918,14 +4672,8 @@
],
'ModifyServiceInfo' => [
'summary' => 'Edit Service',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8937,60 +4685,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '184637',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ServiceName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '通用基线检测',
- ],
+ 'schema' => ['description' => 'Service name.', 'type' => 'string', 'required' => false, 'example' => '通用基线检测'],
],
[
'name' => 'ServiceDesc',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service description.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
+ 'schema' => ['description' => 'Service description.', 'type' => 'string', 'required' => false, 'example' => '描述'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9000,17 +4721,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9021,14 +4733,8 @@
],
'CopyServiceConfig' => [
'summary' => 'copy service config',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9040,40 +4746,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '184636',
- 'abilityTreeNodes' => [
- 'FEATURElvwang9SVL0Q',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang9SVL0Q'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ServiceName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The service name.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_name',
- ],
+ 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_name'],
],
[
'name' => 'ServiceDesc',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service description',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => 'Service description', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
@@ -9082,25 +4771,14 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '',
- 'image' => '',
- 'file' => '',
- 'text' => '',
- 'video' => '',
- ],
+ 'enumValueTitles' => ['voice' => '', 'image' => '', 'file' => '', 'text' => '', 'video' => ''],
'example' => 'text',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9110,17 +4788,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9130,14 +4799,8 @@
],
'GetExecuteTime' => [
'summary' => 'Get Scheduled OSS Scan Task Estimated Execution Time',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9149,20 +4812,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '190608',
- 'abilityTreeNodes' => [
- 'FEATURElvwangKN3PXM',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangKN3PXM'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9172,17 +4828,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'string',
- 'example' => '02:24:30',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'string', 'example' => '02:24:30'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9193,55 +4840,30 @@
],
'GetJobNameList' => [
'summary' => 'OSS scheduled scan detection cycle query',
- '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' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => 'Query condition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => 'Query condition.', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'Sort',
@@ -9251,22 +4873,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => 'desc',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => 'desc'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9279,18 +4892,9 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Returned data.',
- 'type' => 'string',
- 'example' => '["20000101-29990101"]',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ 'items' => ['description' => 'Returned data.', 'type' => 'string', 'example' => '["20000101-29990101"]'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9301,14 +4905,8 @@
],
'GetBackupConfig' => [
'summary' => 'Get Evidence Backup Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9320,20 +4918,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201051',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ResourceType',
@@ -9342,25 +4933,14 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'image',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9370,85 +4950,28 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '1772612608370735',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'image',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2023-01-17 12:29:56',
- ],
- 'Enable' => [
- 'description' => 'Whether it is enabled. Values:'."\n"
- .'- **true**: Enabled'."\n"
- .'- **false**: Disabled',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => 'File server OSS Bucket.',
- 'type' => 'string',
- 'example' => 'buckect_test',
- ],
- 'Region' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Path' => [
- 'description' => 'Path.',
- 'type' => 'string',
- 'example' => 'aliyun/template/',
- ],
- 'ExpireSeconds' => [
- 'description' => 'Expiration time in seconds.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '1772612608370735'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'image'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2023-01-17 12:29:56'],
+ 'Enable' => ['description' => 'Whether it is enabled. Values:'."\n"
+ .'- **true**: Enabled'."\n"
+ .'- **false**: Disabled', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => 'File server OSS Bucket.', 'type' => 'string', 'example' => 'buckect_test'],
+ 'Region' => ['description' => 'Region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'Path' => ['description' => 'Path.', 'type' => 'string', 'example' => 'aliyun/template/'],
+ 'ExpireSeconds' => ['description' => 'Expiration time in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
'BackupMode' => [
'description' => 'Backup scope.',
'type' => 'integer',
'format' => 'int32',
- 'enumValueTitles' => [
- '转存所有结果',
- '仅转存有检出风险的结果',
- ],
+ 'enumValueTitles' => ['转存所有结果', '仅转存有检出风险的结果'],
'example' => '0',
],
- 'EnableBackup' => [
- 'description' => 'Whether to enable backup.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'EnableBackupVoice' => [
- 'description' => 'Whether to enable audio backup.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'PathVoice' => [
- 'description' => 'Audio backup path.',
- 'type' => 'string',
- 'example' => '/back',
- ],
+ 'EnableBackup' => ['description' => 'Whether to enable backup.', 'type' => 'boolean', 'example' => 'True'],
+ 'EnableBackupVoice' => ['description' => 'Whether to enable audio backup.', 'type' => 'boolean', 'example' => 'True'],
+ 'PathVoice' => ['description' => 'Audio backup path.', 'type' => 'string', 'example' => '/back'],
],
],
],
@@ -9459,14 +4982,8 @@
],
'GetBackupBucketsList' => [
'summary' => 'Evidence Transfer to Get User\'s Bucket List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9478,20 +4995,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201048',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9508,25 +5018,12 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS file storage bucket name.',
- 'type' => 'string',
- 'example' => 'gj-bucket1',
- ],
- 'Region' => [
- 'description' => 'Region.',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
+ 'Bucket' => ['description' => 'OSS file storage bucket name.', 'type' => 'string', 'example' => 'gj-bucket1'],
+ 'Region' => ['description' => 'Region.', 'type' => 'string', 'example' => 'cn-shanghai'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9537,14 +5034,8 @@
],
'GetBackupStatus' => [
'summary' => 'User Backup Authorization Verification',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9556,20 +5047,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201049',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9579,17 +5063,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Audit result data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Audit result data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9600,14 +5075,8 @@
],
'UpdateBackupConfig' => [
'summary' => 'Update Evidence Backup Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9619,50 +5088,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201050',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'videoDetection',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'videoDetection'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'video',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'video'],
],
[
'name' => 'BackupConfig',
'in' => 'query',
- 'schema' => [
- 'description' => 'Evidence backup configuration.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => 'Evidence backup configuration.', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9672,17 +5119,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9693,13 +5131,8 @@
],
'ListCallback' => [
'summary' => 'Get Callback List',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9711,20 +5144,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220530',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9740,61 +5166,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11234',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '16537*****831937',
- ],
- 'Name' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'example' => '回调通知',
- ],
- 'Url' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Seed' => [
- 'description' => 'Seed.',
- 'type' => 'string',
- 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n",
- ],
- 'CryptType' => [
- 'description' => 'Encryption algorithm.',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => 'Result scope.',
- 'type' => 'string',
- 'example' => 'all',
- ],
+ 'Id' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '11234'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '16537*****831937'],
+ 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => '回调通知'],
+ 'Url' => ['description' => 'Callback URL.', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Seed' => ['description' => 'Seed.', 'type' => 'string', 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n"],
+ 'CryptType' => ['description' => 'Encryption algorithm.', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => 'Result scope.', 'type' => 'string', 'example' => 'all'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9805,13 +5189,8 @@
],
'QueryCallbackByPage' => [
'summary' => 'Paginated Query of Message Notification List',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9823,42 +5202,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220532',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9868,30 +5228,10 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -9899,52 +5239,15 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1697',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '12161*****398900',
- ],
- 'Name' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'example' => '消息通知',
- ],
- 'Url' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Seed' => [
- 'description' => 'Seed.',
- 'type' => 'string',
- 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq',
- ],
- 'CryptType' => [
- 'description' => 'Encryption algorithm.',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => 'Result scope.',
- 'type' => 'string',
- 'example' => 'all',
- ],
+ 'Id' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1697'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '12161*****398900'],
+ 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => '消息通知'],
+ 'Url' => ['description' => 'Callback URL.', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Seed' => ['description' => 'Seed.', 'type' => 'string', 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq'],
+ 'CryptType' => ['description' => 'Encryption algorithm.', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => 'Result scope.', 'type' => 'string', 'example' => 'all'],
],
],
],
@@ -9958,13 +5261,8 @@
],
'CreateCallback' => [
'summary' => 'Create a new message notification',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9976,30 +5274,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220531',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Plan name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '消息通知1',
- ],
+ 'schema' => ['description' => 'Plan name.', 'type' => 'string', 'required' => false, 'example' => '消息通知1'],
],
[
'name' => 'Url',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://console.aliyun.com',
- ],
+ 'schema' => ['description' => 'Callback URL.', 'type' => 'string', 'required' => false, 'example' => 'https://console.aliyun.com'],
],
[
'name' => 'CryptType',
@@ -10008,15 +5294,9 @@
'description' => 'Encryption algorithm.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SHA256' => 'SHA256',
- 'SM3' => '国密SM3',
- ],
+ 'enumValueTitles' => ['SHA256' => 'SHA256', 'SM3' => '国密SM3'],
'example' => 'SHA256',
- 'enum' => [
- 'SHA256',
- 'SM3',
- ],
+ 'enum' => ['SHA256', 'SM3'],
],
],
[
@@ -10026,26 +5306,15 @@
'description' => 'Review result.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'all' => '所有结果',
- 'risky' => '检出有风险结果',
- ],
+ 'enumValueTitles' => ['all' => '所有结果', 'risky' => '检出有风险结果'],
'example' => 'all',
- 'enum' => [
- 'risky',
- 'all',
- ],
+ 'enum' => ['risky', 'all'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10055,18 +5324,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10077,13 +5336,8 @@
],
'DeleteCallback' => [
'summary' => 'delete callback',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10095,31 +5349,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220529',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => 'callback id.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1480',
- ],
+ 'schema' => ['description' => 'callback id.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1480'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10129,17 +5370,8 @@
'description' => 'Response body',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10149,13 +5381,8 @@
],
'ModifyCallback' => [
'summary' => 'Modify Message Notification',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10167,41 +5394,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220533',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '112',
- ],
+ 'schema' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '112'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '回调通知',
- ],
+ 'schema' => ['description' => 'Name.', 'type' => 'string', 'required' => false, 'example' => '回调通知'],
],
[
'name' => 'Url',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://www.aliyuncs.com',
- ],
+ 'schema' => ['description' => 'Callback URL.', 'type' => 'string', 'required' => false, 'example' => 'https://www.aliyuncs.com'],
],
[
'name' => 'CryptType',
@@ -10211,10 +5420,7 @@
'type' => 'string',
'required' => false,
'example' => 'SHA256',
- 'enum' => [
- 'SHA256',
- 'SM3',
- ],
+ 'enum' => ['SHA256', 'SM3'],
],
],
[
@@ -10225,21 +5431,13 @@
'type' => 'string',
'required' => false,
'example' => 'all',
- 'enum' => [
- 'risky',
- 'all',
- ],
+ 'enum' => ['risky', 'all'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10249,17 +5447,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -10270,14 +5459,8 @@
],
'AddAnswerSample' => [
'summary' => '添加代答样本',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10289,50 +5472,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222579',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alxxxx'],
],
[
'name' => 'Samples',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10342,88 +5503,30 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
'Result' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
- 'I18nKey' => [
- 'description' => '',
- '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' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
+ 'I18nKey' => ['description' => '', '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' => ''],
],
],
],
@@ -10435,14 +5538,8 @@
],
'CreateAnswerLib' => [
'summary' => '创建代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10454,60 +5551,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' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10517,88 +5587,30 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
'Result' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAaaaxxx-xxx',
- ],
- 'I18nKey' => [
- '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' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAaaaxxx-xxx'],
+ 'I18nKey' => ['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'],
'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' => ''],
],
],
],
@@ -10610,14 +5622,8 @@
],
'ExportAnswerSample' => [
'summary' => '导出代答答案',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10629,30 +5635,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222966',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10662,17 +5656,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '', 'type' => 'string', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10681,14 +5666,8 @@
],
'QueryAnswerSampleByPage' => [
'summary' => '分页查询代答样本',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10700,52 +5679,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222578',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '', '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',
@@ -10755,22 +5710,13 @@
'description' => '',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => ''],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10780,30 +5726,10 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- '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' => '', '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',
@@ -10811,32 +5737,11 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '104813*****2399',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'Id' => [
- 'description' => '',
- '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' => '', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1666'],
+ 'Answer' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'GmtCreate' => ['description' => '', 'type' => 'string', 'example' => '2023-07-31 06:16:06'],
],
],
],
@@ -10848,14 +5753,8 @@
],
'DeleteAnswerSample' => [
'summary' => '删除代答答案',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10867,40 +5766,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222581',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'Ids',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[15463605]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[15463605]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10910,17 +5792,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -10929,14 +5802,8 @@
],
'ListAnswerLib' => [
'summary' => '代答库列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10949,20 +5816,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222576',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10978,41 +5838,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '1643953****74290',
- ],
- 'LibId' => [
- 'description' => '',
- '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' => '', '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' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11021,14 +5855,8 @@
],
'ModifyAnswerLib' => [
'summary' => '更新代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11040,40 +5868,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222575',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11083,17 +5894,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11102,14 +5904,8 @@
],
'DeleteAnswerLib' => [
'summary' => '删除代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11121,30 +5917,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222577',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11154,17 +5938,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11173,14 +5948,8 @@
],
'GetAnswerImportProgress' => [
'summary' => '获取代答样本导入进度',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11192,30 +5961,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222580',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alAxbbxxxx-xxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alAxbbxxxx-xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11225,79 +5982,25 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Progress' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx',
- ],
- 'I18nKey' => [
- 'description' => '',
- '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' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'],
+ 'I18nKey' => ['description' => '', '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' => ''],
],
],
],
@@ -11307,13 +6010,8 @@
],
'UpdateOssCheckResultsFeedBack' => [
'summary' => 'oss结果反馈',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11325,61 +6023,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232690',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'QueryRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_7SCUK8',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'P_7SCUK8'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11389,17 +6060,8 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11408,13 +6070,8 @@
],
'UpdateOssCheckResultsFreeze' => [
'summary' => '批量冻结任务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11427,78 +6084,44 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232687',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_15BU42',
- ],
+ 'schema' => ['description' => '', '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' => '', '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' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'FreezeRestorePath',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -11508,40 +6131,15 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', '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'],
],
],
],
@@ -11552,13 +6150,8 @@
],
'GetOssCheckFreezeResult' => [
'summary' => 'Query OSS freeze result',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11571,84 +6164,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232685',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-09 10:28:54',
- ],
+ 'schema' => ['description' => 'Start time.', 'type' => 'string', 'required' => false, 'example' => '2025-01-09 10:28:54'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-05-19 10:05:11',
- ],
+ 'schema' => ['description' => 'End time.', 'type' => 'string', 'required' => false, 'example' => '2025-05-19 10:05:11'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'Task status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Task status.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => 'Number of completed tasks.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => 'Number of completed tasks.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => 'Query condition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}',
- ],
+ 'schema' => ['description' => 'Query condition.', 'type' => 'string', 'required' => false, 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -11658,22 +6210,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{\\"GmtCreate\\":\\"desc\\"}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11683,30 +6226,10 @@
'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
- ],
- 'TotalCount' => [
- 'description' => 'Total count.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '29',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823'],
+ 'TotalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '29'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -11714,174 +6237,58 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'Storage space.',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'JobName' => [
- 'description' => 'Job name.',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => 'File\'s MD5.',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => 'Storage space.', 'type' => 'string', 'example' => 'tmp'],
+ 'JobName' => ['description' => 'Job name.', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'Object name.', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => 'File\'s MD5.', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => 'Error code, consistent with HTTP status.', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => 'Image labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => 'Image labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => 'Text labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => 'Image URL address.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => 'Task URL.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'P_BT3FHS',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => 'Audio and video detection type.',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => 'Overall risk level.',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => 'Image risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => 'Text risk level.',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'FreezeType' => [
- 'description' => 'Freeze type.',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeStatus' => [
- 'description' => 'Freeze status.',
- 'type' => 'string',
- 'example' => 'FREEZED',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
- ],
- 'Freeze' => [
- 'description' => 'Whether frozen.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'items' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => 'Image URL address.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => 'Task URL.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'P_BT3FHS'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => 'Audio and video detection type.', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => 'Overall risk level.', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => 'Image risk level.', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => 'Text risk level.', 'type' => 'string', 'example' => 'none'],
+ 'FreezeType' => ['description' => 'Freeze type.', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeStatus' => ['description' => 'Freeze status.', 'type' => 'string', 'example' => 'FREEZED'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823'],
+ 'Freeze' => ['description' => 'Whether frozen.', 'type' => 'boolean', 'example' => 'true'],
'Feedback' => [
'description' => 'Feedback.',
'type' => 'string',
- 'enumValueTitles' => [
- 'misreport' => '未违规误报',
- 'missOut' => '违规漏过',
- ],
+ 'enumValueTitles' => ['misreport' => '未违规误报', 'missOut' => '违规漏过'],
'example' => 'misreport',
],
'ManualFreezeAction' => [
'description' => 'Manual disposal status.',
'type' => 'string',
- 'enumValueTitles' => [
- 'FREEZE' => '冻结',
- 'UNFREEZE' => '解冻',
- ],
+ 'enumValueTitles' => ['FREEZE' => '冻结', 'UNFREEZE' => '解冻'],
'example' => 'FREEZE',
],
'SysDisposalStatus' => [
'description' => 'System disposal status.',
'type' => 'string',
- 'enumValueTitles' => [
- 'FREEZING' => '冻结中',
- 'FREEZED' => '已冻结',
- 'UNFREEZED' => '已解冻',
- 'NONE' => '未操作',
- 'UNFREEZING' => '解冻中',
- ],
+ 'enumValueTitles' => ['FREEZING' => '冻结中', 'FREEZED' => '已冻结', 'UNFREEZED' => '已解冻', 'NONE' => '未操作', 'UNFREEZING' => '解冻中'],
'example' => 'FREEZED',
],
- 'ManualOperateTime' => [
- 'description' => 'Disposal time.',
- 'type' => 'string',
- 'example' => '2025-08-09 12:00:00',
- ],
- 'ManualOperator' => [
- 'description' => 'Operator.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'ManualOperateTime' => ['description' => 'Disposal time.', 'type' => 'string', 'example' => '2025-08-09 12:00:00'],
+ 'ManualOperator' => ['description' => 'Operator.', 'type' => 'string', 'example' => 'xx'],
'LabelDetails' => [
'description' => 'Labels.',
'type' => 'array',
@@ -11889,22 +6296,9 @@
'description' => 'Labels.',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'politics',
- ],
- 'Description' => [
- 'description' => 'Label description.',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => 'Confidence.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'politics'],
+ 'Description' => ['description' => 'Label description.', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => 'Confidence.', 'type' => 'number', 'format' => 'float', 'example' => '50'],
],
],
],
@@ -11921,13 +6315,8 @@
],
'UpdateOssCheckResultsUnfreeze' => [
'summary' => '批量解冻任务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11939,61 +6328,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232689',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_B6YRVD',
- ],
+ 'schema' => ['description' => '', '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' => '', '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' => '', '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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -12007,37 +6369,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' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -12046,12 +6384,8 @@
],
'DeleteOnlineTest' => [
'summary' => 'Delete online test',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12061,32 +6395,19 @@
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '260298',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -12096,17 +6417,8 @@
'description' => 'PortalResponse<Boolean>',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -12116,12 +6428,8 @@
],
'CreateOnlineTest' => [
'summary' => 'Online Test',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12131,54 +6439,29 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '259357',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => 'Resource Type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'video',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => 'Resource Type', 'type' => 'string', 'required' => false, 'example' => 'video'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'title' => '服务编码',
- 'description' => 'Service Code',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoModeration',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => 'Service Code', 'type' => 'string', 'required' => false, 'example' => 'VideoModeration'],
],
[
'name' => 'Url',
'in' => 'query',
- 'schema' => [
- 'title' => '检测地址',
- 'description' => 'Detection URL',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://xxxxxxxxxx.com/data/data.png',
- ],
+ 'schema' => ['title' => '检测地址', 'description' => 'Detection URL', 'type' => 'string', 'required' => false, 'example' => 'https://xxxxxxxxxx.com/data/data.png'],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Data ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxxxx',
- ],
+ 'schema' => ['description' => 'Data ID', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxx'],
],
],
'responses' => [
@@ -12188,34 +6471,11 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => 'Detection Task ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'TaskStatus' => [
- 'title' => '检测状态',
- 'description' => 'Detection Status',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Url' => [
- 'description' => 'Detection URL',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxxxx.com/data/data.png',
- ],
- 'ServiceCode' => [
- 'description' => 'Service Code',
- 'type' => 'string',
- 'example' => 'VideoModeration',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'TaskId' => ['title' => '检测任务id', 'description' => 'Detection Task ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'TaskStatus' => ['title' => '检测状态', 'description' => 'Detection Status', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Url' => ['description' => 'Detection URL', 'type' => 'string', 'example' => 'https://xxxxxxxxxx.com/data/data.png'],
+ 'ServiceCode' => ['description' => 'Service Code', 'type' => 'string', 'example' => 'VideoModeration'],
],
],
],
@@ -12226,12 +6486,8 @@
],
'StopOnlineTest' => [
'summary' => '停止在线测试',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12241,44 +6497,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' => 'VideoModeration',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoModeration'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'title' => '检测taskId',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'schema' => ['title' => '检测taskId', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxxx'],
],
],
'responses' => [
@@ -12288,34 +6524,11 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => '',
- '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' => 'VideoModeration',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TaskId' => ['title' => '检测任务id', 'description' => '', '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' => 'VideoModeration'],
],
],
],
@@ -12324,13 +6537,8 @@
],
'DescribeOnlineTestResult' => [
'summary' => '查询在线测试结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12340,44 +6548,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' => 'VideoModeration',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoModeration'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'title' => '检测taskId',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'schema' => ['title' => '检测taskId', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxxx'],
],
],
'responses' => [
@@ -12387,48 +6575,17 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => '',
- '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' => 'VideoModeration',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'TaskId' => ['title' => '检测任务id', 'description' => '', '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' => 'VideoModeration'],
'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' => [
@@ -12438,54 +6595,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' => '', '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'],
],
],
],
@@ -12496,13 +6623,8 @@
],
'GetUploadLink' => [
'summary' => '获取上传链接',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12512,21 +6634,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' => [
@@ -12536,17 +6651,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35',
- ],
+ 'Data' => ['description' => '', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35'],
],
],
],
@@ -12556,13 +6662,8 @@
'LlmStreamChat' => [
'summary' => 'Use SSE interface to stream large model calls',
'path' => '/portal/llm/streamChat',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'sse',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
@@ -12574,9 +6675,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXYAQ5C',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXYAQ5C'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -12584,53 +6683,27 @@
[
'name' => 'Messages',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Conversation information',
- 'type' => 'any',
- 'required' => false,
- 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]',
- ],
+ 'schema' => ['description' => 'Conversation information', 'type' => 'any', 'required' => false, 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]'],
],
[
'name' => 'Temperature',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Temperature value for the large model',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['description' => 'Temperature value for the large model', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5'],
],
[
'name' => 'TopP',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Top p parameter controlling the randomness of the large model\'s output.',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['description' => 'Top p parameter controlling the randomness of the large model\'s output.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Type of conversation',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Type of conversation', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'Channel',
'in' => 'formData',
- 'schema' => [
- 'title' => 'channel',
- 'type' => 'string',
- 'example' => 'guardCustomTest',
- ],
+ 'schema' => ['title' => 'channel', 'type' => 'string', 'example' => 'guardCustomTest'],
],
],
'responses' => [
@@ -12640,11 +6713,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Usage' => [
- 'description' => 'Token usage',
- 'type' => 'string',
- 'example' => 'null',
- ],
+ 'Usage' => ['description' => 'Token usage', 'type' => 'string', 'example' => 'null'],
'Choices' => [
'description' => 'List of model generation results',
'type' => 'array',
@@ -12656,114 +6725,45 @@
'description' => 'Incremental content object',
'type' => 'object',
'properties' => [
- 'Role' => [
- 'description' => 'Role identifier',
- 'type' => 'string',
- 'example' => 'assistant',
- ],
- 'Content' => [
- 'description' => 'Real-time generated text content',
- 'type' => 'string',
- 'example' => '我是Deepseek-V3,有什么可以帮你',
- ],
+ 'Role' => ['description' => 'Role identifier', 'type' => 'string', 'example' => 'assistant'],
+ 'Content' => ['description' => 'Real-time generated text content', 'type' => 'string', 'example' => '我是Deepseek-V3,有什么可以帮你'],
],
],
- 'Logprobs' => [
- 'description' => 'Token probability information',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Index' => [
- 'description' => 'Stream sequence number',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'FinishReason' => [
- 'description' => 'For streaming output, it is null while generating and becomes \'stop\' if the generation ends due to a stop token.',
- 'type' => 'string',
- 'example' => 'stop',
- ],
+ 'Logprobs' => ['description' => 'Token probability information', 'type' => 'string', 'example' => 'null'],
+ 'Index' => ['description' => 'Stream sequence number', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'FinishReason' => ['description' => 'For streaming output, it is null while generating and becomes \'stop\' if the generation ends due to a stop token.', 'type' => 'string', 'example' => 'stop'],
],
],
],
- 'Model' => [
- 'description' => 'Model identifier',
- 'type' => 'string',
- 'example' => 'deepseek-v3',
- ],
- 'SystemFingerprint' => [
- 'description' => 'System fingerprint',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Object' => [
- 'description' => 'Response type',
- 'type' => 'string',
- 'example' => 'chat.completion.chunk',
- ],
- 'Id' => [
- 'description' => 'Unique ID for this session',
- 'type' => 'string',
- 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f',
- ],
- 'Created' => [
- 'description' => 'Timestamp of session creation',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1750990728',
- ],
- 'RequestId' => [
- 'description' => 'Unique request ID',
- 'type' => 'string',
- 'example' => '21d296d6-594e-97de-812f-925ec6e05673',
- ],
+ 'Model' => ['description' => 'Model identifier', 'type' => 'string', 'example' => 'deepseek-v3'],
+ 'SystemFingerprint' => ['description' => 'System fingerprint', 'type' => 'string', 'example' => 'null'],
+ 'Object' => ['description' => 'Response type', 'type' => 'string', 'example' => 'chat.completion.chunk'],
+ 'Id' => ['description' => 'Unique ID for this session', 'type' => 'string', 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f'],
+ 'Created' => ['description' => 'Timestamp of session creation', 'type' => 'integer', 'format' => 'int64', 'example' => '1750990728'],
+ 'RequestId' => ['description' => 'Unique request ID', 'type' => 'string', 'example' => '21d296d6-594e-97de-812f-925ec6e05673'],
'Error' => [
'description' => 'Streaming response error information content',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Error code',
- 'type' => 'string',
- 'example' => 'data_inspection_failed',
- ],
- 'Message' => [
- 'description' => 'Error message',
- 'type' => 'string',
- 'example' => 'Input data may contain inappropriate content.',
- ],
- 'Param' => [
- 'description' => 'Parameter that caused the error',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Type' => [
- 'description' => 'Error type',
- 'type' => 'string',
- 'example' => 'data_inspection_failed',
- ],
+ 'Code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'data_inspection_failed'],
+ 'Message' => ['description' => 'Error message', 'type' => 'string', 'example' => 'Input data may contain inappropriate content.'],
+ 'Param' => ['description' => 'Parameter that caused the error', 'type' => 'string', 'example' => 'null'],
+ 'Type' => ['description' => 'Error type', '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' => 'Large Model Streaming Conversation Forwarding Interface',
'translator' => 'machine',
],
'GetOssCheckTaskInfo' => [
'summary' => '查询oss扫描任务详情',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12775,20 +6775,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_AAA**',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'P_AAA**'],
],
],
'responses' => [
@@ -12798,143 +6791,41 @@
'description' => '{@link PortalResponse<OssCheckTaskVO>}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxx-xxx'."\n",
- ],
- 'TaskName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- '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' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'xxxx-xxx'."\n"],
+ 'TaskName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ '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'],
'Config' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'ScanNoFileType' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ScanNoFileType' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
'ScanService' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- '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' => '', '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'],
'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' => '', 'type' => 'string', 'example' => '2025-07-09 10:30:00'."\n"],
+ 'ScanResourceType' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'ScanServiceInfos' => [
'description' => '',
'type' => 'array',
@@ -12942,89 +6833,28 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ServiceCode' => [
- 'description' => '',
- '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' => '', 'type' => 'string', 'example' => 'oss_baselineCheck'],
+ 'ServiceName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'CopyFrom' => ['description' => '', 'type' => 'string', 'example' => 'oss_baselineCheck'],
],
],
],
- 'CallbackId' => [
- 'description' => '',
- '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' => '', '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' => [
@@ -13032,46 +6862,21 @@
'additionalProperties' => [
'type' => 'object',
'properties' => [
- 'PrefixFilterType' => [
- 'type' => 'string',
- ],
+ 'PrefixFilterType' => ['type' => 'string'],
'PrefixFilters' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
],
],
],
- 'ObjectNum' => [
- 'description' => '',
- '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' => '', '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"],
],
],
],
@@ -13080,13 +6885,8 @@
],
'UpdateOssCheckResultsBatchFeedback' => [
'summary' => '批量反馈任务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -13098,40 +6898,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ85HXA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ85HXA'],
],
'parameters' => [
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_XHDUS',
- ],
+ 'schema' => ['description' => '', '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' => [
@@ -13141,64 +6924,219 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- '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' => [
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', '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'],
+ ],
+ ],
+ ],
+ ],
+ '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"}]',
+ ],
+ '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' => '', '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' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Result' => [
'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Content' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'RiskLevel' => ['description' => '', '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' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
- 'InvalidCount' => [
+ ],
+ ],
+ ],
+ ],
+ '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"}]',
+ ],
+ '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' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'PortalResponse<Boolean>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => '138xxxxx'],
+ ],
],
- 'Tips' => [
+ 'Success' => ['title' => '成功标志', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', '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"}]',
+ ],
+ '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' => '', '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' => 'string',
- 'example' => 'xxxxx',
+ 'type' => 'object',
+ 'properties' => [
+ 'JsonContent' => ['description' => '', 'type' => 'string', 'example' => '{"example":"xxxx"}'],
+ ],
],
],
],
],
],
- '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"}]',
+ '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"}]',
],
],
'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'],
],
];