summaryrefslogtreecommitdiff
path: root/data/zh_cn/green/2022-09-26
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/green/2022-09-26')
-rw-r--r--data/zh_cn/green/2022-09-26/api-docs.php13232
1 files changed, 13232 insertions, 0 deletions
diff --git a/data/zh_cn/green/2022-09-26/api-docs.php b/data/zh_cn/green/2022-09-26/api-docs.php
new file mode 100644
index 0000000..4b63ea4
--- /dev/null
+++ b/data/zh_cn/green/2022-09-26/api-docs.php
@@ -0,0 +1,13232 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Green',
+ 'version' => '2022-09-26',
+ ],
+ 'directories' => [
+ 'AddKeywordLib',
+ 'DeleteFeatureConfig',
+ 'ExportCipStats',
+ 'ExportOssCheckStat',
+ 'GetCipStats',
+ 'GetFeatureConfig',
+ 'GetOssCheckResultDetail',
+ 'GetOssCheckStat',
+ 'GetScanResult',
+ 'GetServiceConf',
+ 'GetServiceConfig',
+ 'GetUserBuyStatus',
+ 'ListKeywordLibs',
+ 'ListOssCheckResult',
+ 'ModifyFeatureConfig',
+ 'QueryCallback',
+ 'UpdateScanResultFeedback',
+ 'UpdateServiceConfig',
+ [
+ 'id' => 0,
+ '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',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'AddKeywordLib' => [
+ 'summary' => '创建关键词库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157041',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '词库名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试词库',
+ ],
+ ],
+ [
+ 'name' => 'Keywords',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词,多个关键词以\\n分割。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '关键词1\\n关键词2',
+ ],
+ ],
+ [
+ 'name' => 'KeywordsObject',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词文件名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddKeywordLibResult>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'KeywordsResult' => [
+ 'description' => '结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'I18nKey' => [
+ 'description' => '国际化key。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Tips' => [
+ 'description' => '提示信息。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '529',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '278',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复次数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '118',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '133',
+ ],
+ 'RepeatKeywords' => [
+ 'description' => '重复的关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '重复的关键词。',
+ 'type' => 'string',
+ 'example' => '重复关键词',
+ ],
+ ],
+ 'InvalidKeywords' => [
+ 'description' => '不合法关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '不合法关键词。',
+ 'type' => 'string',
+ 'example' => '非法关键词',
+ ],
+ ],
+ 'IllegalLengthKeywords' => [
+ 'description' => '长度过长或过短关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '长度过长或过短关键词。',
+ 'type' => 'string',
+ 'example' => '过短关键词',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxx\\",\\n \\"TotalCount\\": 529,\\n \\"SuccessCount\\": 278,\\n \\"RepeatCount\\": 118,\\n \\"InvalidCount\\": 133,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"非法关键词\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\"\\n ]\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '添加关键词库',
+ ],
+ 'DeleteFeatureConfig' => [
+ 'summary' => '删除特性配置',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '266680',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'llm_query_moderation',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_llm_template',
+ ],
+ ],
+ [
+ 'name' => 'Field',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '标签值,客户自定义',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '__config__',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '区域',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '本次请求的响应消息。',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '删除特性配置',
+ ],
+ 'ExportCipStats' => [
+ 'summary' => '导出调用量',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157301',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangMSWOCX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-04-15 09:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-04-16 09:00:00',
+ ],
+ ],
+ [
+ 'name' => 'Label',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '要导出的任务标签。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ ],
+ [
+ 'name' => 'ByMonth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '是否支持月份索引,取值:-**true**:支持。-**false**:不支持。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'text',
+ 'default' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'SubUid',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '子账户UID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '268220485413130979',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '类型,取值:-**cip**:内容安全调用量统计。-**risk_level**:内容安全风险等级统计。-**content_moderation**:AI安全护栏内容合规风险等级及标签统计。-**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。-**prompt_attack**:AI安全护栏提示词风险等级及标签统计。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'risk_level',
+ ],
+ ],
+ [
+ 'name' => 'ExportType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '导出类型。取值:-**level**:风险等级导出。-**label**:标签导出。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'label',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<String>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '导出结果。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '导出用量',
+ ],
+ 'ExportOssCheckStat' => [
+ 'summary' => 'oss用量统计导出',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '218756',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-10 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-11 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'ByMonth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '是否支持月份索引,取值:-true:支持。-false:不支持。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'oss检测任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_UX0K5X',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<OssCheckStatResultVO>}',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '导出结果。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'oss检测任务用量统计导出',
+ ],
+ 'GetCipStats' => [
+ 'summary' => '查询调用量',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157300',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangMSWOCX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-10 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-11 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'Label',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ ],
+ [
+ 'name' => 'ByMonth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '是否支持月份索引,取值:true:支持。false:不支持。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ 'audio' => '音频',
+ ],
+ 'example' => 'text',
+ 'default' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'SubUid',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '子账户UID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '253552244990701265',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '类型,取值:**cip**:内容安全调用量统计。**risk_level**:内容安全风险等级统计。**content_moderation**:AI安全护栏内容合规风险等级及标签统计。**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。**prompt_attack**:AI安全护栏提示词风险等级及标签统计。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'risk_level',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<CipStatisticsChartVO>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => [
+ 'description' => '坐标点的X值。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标点的X值。',
+ 'type' => 'string',
+ 'example' => '["06-10", "06-11", "06-12", "06-13"]',
+ ],
+ ],
+ 'Y' => [
+ 'description' => '坐标点的Y值。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标点的Y值。',
+ 'type' => 'object',
+ 'properties' => [
+ '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]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Uids' => [
+ 'description' => 'UID列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'UID列表。',
+ 'type' => 'string',
+ 'example' => '["15220*****63446"]',
+ ],
+ ],
+ 'LabelStatChart' => [
+ 'description' => '标签用量图。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签用量图。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '117',
+ ],
+ 'X' => [
+ 'description' => '坐标点的X值。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标点的X值。',
+ 'type' => 'string',
+ 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n",
+ ],
+ ],
+ 'Y' => [
+ 'description' => '坐标点的Y值。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标点的Y值。',
+ 'type' => 'object',
+ 'properties' => [
+ '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]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TreeChart' => [
+ 'description' => '树状图。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '树状图。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'Value' => [
+ 'description' => '分值。',
+ 'type' => 'string',
+ 'example' => '99.91',
+ ],
+ 'Description' => [
+ 'description' => '标签描述。',
+ 'type' => 'string',
+ 'example' => '疑似政治人物',
+ ],
+ ],
+ ],
+ ],
+ 'VoiceTreeChart' => [
+ 'description' => '音频树状图。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '音频树状图。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'Value' => [
+ 'description' => '分值。',
+ 'type' => 'string',
+ 'example' => '99.91',
+ ],
+ 'Description' => [
+ 'description' => '标签描述。',
+ 'type' => 'string',
+ 'example' => '疑似特定歌曲'."\n",
+ ],
+ ],
+ ],
+ ],
+ 'ImageTreeChar' => [
+ 'description' => '图片标签统计',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '标签',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ 'Value' => [
+ 'description' => '标签占比',
+ 'type' => 'string',
+ 'example' => '0.0274',
+ ],
+ 'Description' => [
+ 'description' => '描述',
+ 'type' => 'string',
+ 'example' => '未检测出风险',
+ ],
+ ],
+ ],
+ ],
+ 'TextTreeChart' => [
+ 'description' => '文本标签统计',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '标签',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ 'Value' => [
+ 'description' => '占比',
+ 'type' => 'string',
+ 'example' => '0.0274',
+ ],
+ 'Description' => [
+ 'description' => '描述',
+ 'type' => 'string',
+ 'example' => '未检测出风险',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Z' => [
+ 'description' => '命中数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '命中数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'Data' => [
+ 'description' => '数量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数量。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TotalStat' => [
+ 'description' => '总数量分类统计。',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'description' => '总数量分类统计。',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"X\\": [\\n \\"[\\\\\\"06-10\\\\\\", \\\\\\"06-11\\\\\\", \\\\\\"06-12\\\\\\", \\\\\\"06-13\\\\\\"]\\"\\n ],\\n \\"Y\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Data\\": [\\n 0\\n ]\\n }\\n ],\\n \\"Uids\\": [\\n \\"[\\\\\\"15220*****63446\\\\\\"]\\"\\n ],\\n \\"LabelStatChart\\": [\\n {\\n \\"ServiceCode\\": \\"nickNameDetection\\",\\n \\"TotalCount\\": 117,\\n \\"X\\": [\\n \\"[\\\\\\"06-10\\\\\\", \\\\\\"06-11\\\\\\", \\\\\\"06-12\\\\\\", \\\\\\"06-13\\\\\\"]\\\\n\\"\\n ],\\n \\"Y\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Data\\": [\\n 0\\n ]\\n }\\n ],\\n \\"TreeChart\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Value\\": \\"99.91\\",\\n \\"Description\\": \\"疑似政治人物\\"\\n }\\n ],\\n \\"VoiceTreeChart\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Value\\": \\"99.91\\",\\n \\"Description\\": \\"疑似特定歌曲\\\\n\\"\\n }\\n ],\\n \\"ImageTreeChar\\": [\\n {\\n \\"Name\\": \\"nonLabel\\",\\n \\"Value\\": \\"0.0274\\",\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"TextTreeChart\\": [\\n {\\n \\"Name\\": \\"nonLabel\\",\\n \\"Value\\": \\"0.0274\\",\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ]\\n }\\n ],\\n \\"Z\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Data\\": [\\n 0\\n ]\\n }\\n ],\\n \\"TotalStat\\": {\\n \\"key\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\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' => '查询用量统计',
+ ],
+ 'GetFeatureConfig' => [
+ 'summary' => '获取特性配置',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '266679',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'llm_query_moderation',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_llm_template',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询条件',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '1643953****74290',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'llm_query_moderation',
+ ],
+ 'ResourceType' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'Type' => [
+ 'description' => '类型',
+ 'type' => 'string',
+ 'example' => 'custom_llm_template',
+ ],
+ 'FeatureConf' => [
+ 'description' => '特性配置列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '特性配置对象',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ ],
+ 'Msg' => [
+ 'description' => '本次请求的响应消息。',
+ 'type' => 'string',
+ 'example' => 'success'."\n",
+ ],
+ 'Success' => [
+ 'description' => '成功标志',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Data\\": {\\n \\"Uid\\": \\"1643953****74290\\",\\n \\"ServiceCode\\": \\"llm_query_moderation\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"Type\\": \\"custom_llm_template\\",\\n \\"FeatureConf\\": [\\n {}\\n ]\\n },\\n \\"Msg\\": \\"success\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '查询特性配置',
+ ],
+ 'GetOssCheckResultDetail' => [
+ 'summary' => '获取OSS检查结果的详细信息',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '233378',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Bucket',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-tmp',
+ ],
+ ],
+ [
+ 'name' => 'Object',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'object名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1748396909030.jpg',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '服务编码',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'audio_media_detection_01',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'QueryRequestId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '查询的请求ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '媒资类型。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '父任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_RZQ66T',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
+ ],
+ 'Data' => [
+ 'description' => '详情数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'example' => 'oss-tmp',
+ ],
+ 'JobName' => [
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'example' => 'dhT20X2310',
+ ],
+ 'Object' => [
+ 'description' => 'object名称',
+ 'type' => 'string',
+ 'example' => '1748396909030.jpg',
+ ],
+ 'Md5' => [
+ 'description' => '文件的MD5。',
+ 'type' => 'string',
+ 'example' => 'f6e2e1946f06310c8a0cc443a05819f3',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'Code' => [
+ 'description' => '错误码,和http status一致',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Labels' => [
+ 'description' => '图片标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'Labels2' => [
+ 'description' => '文本标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ScanResult' => [
+ 'description' => '结果详情。',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'ImageUrl' => [
+ 'description' => '图片url地址。',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.jpg',
+ ],
+ 'Url' => [
+ 'description' => '任务URL',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'P_Z7OLMN',
+ ],
+ 'ServiceName' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'IsCopy' => [
+ 'description' => '是否复制。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CopyFrom' => [
+ 'description' => '主服务。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'ContentType' => [
+ 'description' => '音视频检测类型。',
+ 'type' => 'string',
+ 'example' => 'audio',
+ ],
+ 'RiskLevel0' => [
+ 'description' => '整体风险等级。',
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'RiskLevel' => [
+ 'description' => '图片风险等级',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'RiskLevel2' => [
+ 'description' => '文本风险等级',
+ 'type' => 'string',
+ 'example' => 'medium',
+ ],
+ 'FreezeType' => [
+ 'description' => '冻结类型。',
+ 'type' => 'string',
+ 'example' => 'COPY',
+ ],
+ 'FreezeStatus' => [
+ 'description' => '冻结状态。',
+ 'type' => 'string',
+ 'example' => 'UNFREEZED',
+ ],
+ 'ScanServiceInfos' => [
+ 'description' => '检测服务信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测服务信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsCopy' => [
+ 'description' => '是否复制。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'ServiceName' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'CopyFrom' => [
+ 'description' => '主服务。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ ],
+ ],
+ ],
+ 'LabelDetails' => [
+ 'description' => '标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => '标签描述。',
+ 'type' => 'string',
+ 'example' => '涉政',
+ ],
+ 'Confidence' => [
+ 'description' => '置信分值,0到100分,保留到小数点后2位。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '50',
+ ],
+ 'Label' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'politics',
+ ],
+ ],
+ ],
+ ],
+ 'LabelDetails2' => [
+ 'description' => '标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => '标签描述。',
+ 'type' => 'string',
+ 'example' => '涉政',
+ ],
+ 'Confidence' => [
+ 'description' => '置信分值,0到100分,保留到小数点后2位。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '50',
+ ],
+ 'Label' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'politics',
+ ],
+ ],
+ ],
+ ],
+ 'ManualFreezeAction' => [
+ 'description' => '人工处置状态。',
+ 'type' => 'string',
+ 'example' => 'FREEZE',
+ ],
+ 'ManualOperateTime' => [
+ 'description' => '处置时间。',
+ 'type' => 'string',
+ 'example' => '2025-08-09 12:00:00',
+ ],
+ 'ManualOperator' => [
+ 'description' => '处置人。',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Code' => [
+ 'description' => '错误码,和http status一致',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"62E97001-1255-50A9-8E1E-4FD05473D952\\",\\n \\"Data\\": {\\n \\"Bucket\\": \\"oss-tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1748396909030.jpg\\",\\n \\"Md5\\": \\"f6e2e1946f06310c8a0cc443a05819f3\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"success\\",\\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\\": \\"P_Z7OLMN\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"medium\\",\\n \\"FreezeType\\": \\"COPY\\",\\n \\"FreezeStatus\\": \\"UNFREEZED\\",\\n \\"ScanServiceInfos\\": [\\n {\\n \\"IsCopy\\": true,\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"CopyFrom\\": \\"audio_media_detection\\"\\n }\\n ],\\n \\"LabelDetails\\": [\\n {\\n \\"Description\\": \\"涉政\\",\\n \\"Confidence\\": 50,\\n \\"Label\\": \\"politics\\"\\n }\\n ],\\n \\"LabelDetails2\\": [\\n {\\n \\"Description\\": \\"涉政\\",\\n \\"Confidence\\": 50,\\n \\"Label\\": \\"politics\\"\\n }\\n ],\\n \\"ManualFreezeAction\\": \\"FREEZE\\",\\n \\"ManualOperateTime\\": \\"2025-08-09 12:00:00\\",\\n \\"ManualOperator\\": \\"xx\\"\\n },\\n \\"Success\\": true,\\n \\"Msg\\": \\"success\\",\\n \\"Code\\": 200\\n}","type":"json"}]',
+ 'title' => '查询OSS检测结果详情',
+ ],
+ 'GetOssCheckStat' => [
+ 'summary' => 'oss用量统计',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '218755',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'ByMonth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '是否按月查询。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '父任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_UNHBH',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<OssCheckStatResultVO>}',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'BarChart' => [
+ 'description' => '柱状图',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => [
+ 'description' => '坐标点的X值。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标点的X值。',
+ 'type' => 'string',
+ 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]',
+ ],
+ ],
+ 'Y' => [
+ 'description' => '坐标点的Y值。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标点的Y值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '名称。',
+ 'type' => 'string',
+ 'example' => 'document_detection',
+ ],
+ 'Data' => [
+ 'description' => '数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '[0, 0, 0, 0, 0, 0, 34]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"BarChart\\": {\\n \\"X\\": [\\n \\"[\\\\\\"06-11\\\\\\", \\\\\\"06-12\\\\\\", \\\\\\"06-13\\\\\\", \\\\\\"06-14\\\\\\", \\\\\\"06-15\\\\\\"]\\"\\n ],\\n \\"Y\\": [\\n {\\n \\"Name\\": \\"document_detection\\",\\n \\"Data\\": [\\n 0\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'oss用量统计',
+ ],
+ 'GetScanResult' => [
+ 'summary' => '查询调用结果',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '160495',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang6CEZ66',
+ 'FEATURElvwang5MWEHW',
+ 'FEATURElvwangLRLIH6',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '搜索条件。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{"RequestId":"xxx"}',
+ 'description' => '搜索条件。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '当前页。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => '{"RequestTime":"desc"}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PortalPageResponse<ImageScanResultVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '总记录数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '每页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2023-08-11 09:00:19'."\n",
+ ],
+ 'RequestTime' => [
+ 'description' => '请求时间。',
+ 'type' => 'string',
+ 'example' => '2023-08-11 09:00:19'."\n",
+ ],
+ 'DataId' => [
+ 'title' => 'dataId',
+ 'description' => 'dataId',
+ 'type' => 'string',
+ 'example' => '4f27b8cc7c4544cb90b41882a5b36326',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ 'ScanResult' => [
+ 'description' => '结果详情。',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'Labels' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ 'NoLabels' => [
+ 'title' => '无标签',
+ 'description' => '无标签',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ImageUrl' => [
+ 'title' => 'url',
+ 'description' => 'url',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
+ ],
+ 'Content' => [
+ 'description' => '内容。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9',
+ ],
+ 'Score' => [
+ 'description' => '分数。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '25',
+ ],
+ 'Suggestion' => [
+ 'description' => '建议。',
+ 'type' => 'string',
+ 'example' => 'review',
+ ],
+ 'ExtFeedback' => [
+ 'description' => '反馈信息。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Url' => [
+ 'description' => '任务URL',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
+ ],
+ 'TimeStamp' => [
+ 'description' => '时间戳。',
+ 'type' => 'string',
+ 'example' => '00:00:40-00:00:42',
+ ],
+ 'FrameCount' => [
+ 'description' => '帧数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '20',
+ ],
+ 'ImageService' => [
+ 'description' => '图片服务。',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ 'VoiceService' => [
+ 'description' => '音频服务。',
+ 'type' => 'string',
+ 'example' => 'live_stream_detection',
+ ],
+ 'ImageLabels' => [
+ 'description' => '图片标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片标签。',
+ 'type' => 'object',
+ 'example' => '[{nonLabel: 17}]',
+ ],
+ ],
+ 'VoiceLabels' => [
+ 'description' => '音频标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '音频标签。',
+ 'type' => 'object',
+ 'example' => '[{political_content: 11}]',
+ ],
+ ],
+ 'TextLabels' => [
+ 'description' => '文本标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本标签。',
+ 'type' => 'object',
+ 'example' => '[{nonLabel: 17}]',
+ ],
+ ],
+ 'VoiceScanOpened' => [
+ 'description' => '是否开启音频检测。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Result' => [
+ 'description' => '返回集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Confidence' => [
+ 'description' => '置信分值,0到100分,保留到小数点后2位。',
+ 'type' => 'string',
+ 'example' => '50.0',
+ ],
+ 'Label' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'politics',
+ ],
+ 'Description' => [
+ 'description' => '对Labal字段的说明。',
+ 'type' => 'string',
+ 'example' => '疑似色情内容',
+ ],
+ ],
+ ],
+ ],
+ 'Offset' => [
+ 'description' => '截帧偏移值。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'StartTime' => [
+ 'description' => '分段开始时间(秒)。',
+ 'type' => 'string',
+ 'example' => '11',
+ ],
+ 'EndTime' => [
+ 'description' => '分段结束时间(秒)。',
+ 'type' => 'string',
+ 'example' => '22',
+ ],
+ 'RiskTips' => [
+ 'description' => '命中风险详情。',
+ 'type' => 'string',
+ 'example' => '色情服务',
+ ],
+ 'RiskWords' => [
+ 'description' => '命中风险关键词。',
+ 'type' => 'string',
+ 'example' => '色情_低俗词',
+ ],
+ 'Thumbnail' => [
+ 'description' => '缩略图地址。',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyuncs.com/xxx.png',
+ ],
+ 'Extra' => [
+ 'description' => '备用参数。',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'PageNum' => [
+ 'description' => '页码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RiskLevel' => [
+ 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'SensitiveLevel' => [
+ 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ .'- **S1**:表示低敏感。'."\n"
+ .'- **S2**:表示中敏感。'."\n"
+ .'- **S3**:表示较高敏感。'."\n"
+ .'- **S4**:表示高敏感。'."\n"
+ .'- **S0**:表示非敏感。',
+ 'type' => 'string',
+ 'example' => 'S0',
+ ],
+ 'AttackLevel' => [
+ 'description' => '攻击等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'RequestFrom' => [
+ 'description' => '请求来源',
+ 'type' => 'string',
+ 'example' => 'online_test',
+ ],
+ 'ApiRequestTime' => [
+ 'description' => '机审时间。',
+ 'type' => 'string',
+ 'example' => '1755501226',
+ ],
+ 'ReviewTime' => [
+ 'description' => '复审时间。',
+ 'type' => 'string',
+ 'example' => '1755501226',
+ ],
+ 'ResourceType' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'ApiTaskId' => [
+ 'description' => '机审任务ID。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'ReviewLabels' => [
+ 'description' => '复审标签。',
+ 'type' => 'string',
+ 'example' => 'porn',
+ ],
+ 'ReviewRiskLevel' => [
+ 'description' => '复审状态。',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'ReviewUid' => [
+ 'description' => '复审人。',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'ApiLabels' => [
+ 'description' => '机审标签。',
+ 'type' => 'string',
+ 'example' => 'porn',
+ ],
+ 'ApiRiskLevel' => [
+ 'description' => '机审风险等级。',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'ApiService' => [
+ 'description' => '机审service',
+ 'type' => 'string',
+ 'example' => 'basecheckLine',
+ ],
+ 'ManualOnly' => [
+ 'description' => '是否纯人审。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Reviewed' => [
+ 'description' => '是否已复审。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'MaliciousFileLevel' => [
+ 'description' => '恶意文件风险等级。',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'MaliciousUrlLevel' => [
+ 'description' => '恶意url风险等级。',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'AppId' => [
+ 'title' => 'appId',
+ 'description' => 'appId',
+ 'type' => 'string',
+ 'example' => 'agent_01',
+ ],
+ 'GuardImageUrls' => [
+ 'description' => '多模态图片地址。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '多模态图片地址。',
+ 'type' => 'string',
+ 'example' => 'https://xxx.jpg',
+ ],
+ ],
+ 'GuardFileUrls' => [
+ 'description' => '多模态文件地址。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '多模态文件地址。',
+ 'type' => 'string',
+ 'example' => 'http://xxx.docx',
+ ],
+ ],
+ 'AccountId' => [
+ 'description' => '客户入参AccountId',
+ 'type' => 'string',
+ 'example' => 'accountIdtest123',
+ ],
+ 'LiveId' => [
+ 'description' => '客户入参LiveId',
+ 'type' => 'string',
+ 'example' => 'liveIdtest123',
+ ],
+ 'ImageUrls' => [
+ 'title' => 'imageUrls',
+ 'description' => 'imageUrls',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'url',
+ 'description' => 'url',
+ 'type' => 'string',
+ 'example' => 'https://xxxx.001.jpg',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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 }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '查询检测结果',
+ ],
+ 'GetServiceConf' => [
+ 'summary' => '获取单个服务',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '161934',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '审核场景。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pornographic',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'ByDefault',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询默认配置',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'False',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<CustomServiceConfigDTO<JSONObject>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '17726*****370735',
+ ],
+ 'ResourceType' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'example' => 'image',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2023-01-17 12:29:56',
+ ],
+ 'CustomServiceConf' => [
+ 'description' => '服务详情',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => '6CF2815C-****-****-B52E-FF6E2****492',
+ ],
+ 'Option' => [
+ 'description' => '选项。',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'Classify' => [
+ 'description' => '分类。',
+ 'type' => 'string',
+ 'example' => 'guard-scene',
+ ],
+ 'ServiceType' => [
+ 'description' => '服务类型。',
+ 'type' => 'string',
+ 'example' => 'plus',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Uid\\": \\"17726*****370735\\",\\n \\"ResourceType\\": \\"image\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"GmtModified\\": \\"2023-01-17 12:29:56\\",\\n \\"CustomServiceConf\\": {},\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Option\\": {},\\n \\"Classify\\": \\"guard-scene\\",\\n \\"ServiceType\\": \\"plus\\"\\n}","type":"json"}]',
+ 'title' => '获取规则配置',
+ ],
+ 'GetServiceConfig' => [
+ 'summary' => '获取单个服务',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang9SVL0Q',
+ 'FEATURElvwangL7LL9G',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nickname_detection',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<CustomServiceConfigDTO>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '165379****31937',
+ ],
+ 'ResourceType' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2024-05-06 03:07:44',
+ ],
+ 'CustomServiceConf' => [
+ 'description' => '自定义服务详情',
+ 'type' => 'object',
+ 'properties' => [
+ 'KeywordFilterLibs' => [
+ 'description' => '忽略词库。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '忽略词库。',
+ 'type' => 'string',
+ 'example' => '["kwxxx"]',
+ ],
+ ],
+ 'KeywordHitLibs' => [
+ 'description' => '命中词库。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '命中词库。',
+ 'type' => 'string',
+ 'example' => '["kwxxx1"]',
+ ],
+ ],
+ 'SimilarTextHitLibs' => [
+ 'description' => '命中相似文本库。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '命中相似文本库。',
+ 'type' => 'string',
+ 'example' => '["stxxx"]',
+ ],
+ ],
+ 'ManualMachineConfig' => [
+ 'description' => '人机审核配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enable' => [
+ 'description' => '是否启用。取值:'."\n"
+ .'- **true**:启用'."\n"
+ .'- **false**:禁用',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AuditRiskLevels' => [
+ 'description' => '风险等级。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '风险等级。',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ ],
+ 'ManualService' => [
+ 'description' => '人审service',
+ 'type' => 'string',
+ 'example' => 'imageManualCheck',
+ ],
+ 'CallbackId' => [
+ 'description' => '回调通知ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Uid\\": \\"165379****31937\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2024-05-06 03:07:44\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[\\\\\\"kwxxx\\\\\\"]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[\\\\\\"kwxxx1\\\\\\"]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[\\\\\\"stxxx\\\\\\"]\\"\\n ],\\n \\"ManualMachineConfig\\": {\\n \\"Enable\\": true,\\n \\"AuditRiskLevels\\": [\\n \\"high\\"\\n ],\\n \\"ManualService\\": \\"imageManualCheck\\",\\n \\"CallbackId\\": 123\\n }\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '获取规则配置',
+ ],
+ 'GetUserBuyStatus' => [
+ 'summary' => '获取用户购买状态',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '158310',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangMSWOCX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'CommodityCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '商品编码。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'lvwang_public_cn',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<BuyStatusDTO>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Buy' => [
+ 'description' => '是否在阿里云开通了商品。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Indebt' => [
+ 'description' => '是否欠费。',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'Bid' => [
+ 'description' => 'Bid。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '26842',
+ ],
+ 'Tag' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'bailian',
+ ],
+ 'InstanceId' => [
+ 'description' => '实例id',
+ 'type' => 'string',
+ 'example' => 'xxx-xxx-xxx',
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Buy\\": true,\\n \\"Indebt\\": true,\\n \\"Bid\\": 26842,\\n \\"Tag\\": \\"bailian\\",\\n \\"InstanceId\\": \\"xxx-xxx-xxx\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '获取用户购买状态',
+ ],
+ 'ListKeywordLibs' => [
+ 'summary' => '关键词库列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157043',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<KeywordLibVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '19964*****086772',
+ ],
+ 'LibId' => [
+ 'description' => '词库ID。',
+ 'type' => 'string',
+ 'example' => 'custom_xxxxx',
+ ],
+ 'LibName' => [
+ 'description' => '库名称。',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'KeywordCount' => [
+ 'description' => '关键词数量。',
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2022-11-30 16:30:29',
+ ],
+ 'ServiceCodes' => [
+ 'description' => 'service服务',
+ 'type' => 'string',
+ 'example' => 'service1,service2',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"19964*****086772\\",\\n \\"LibId\\": \\"custom_xxxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"KeywordCount\\": \\"10\\",\\n \\"GmtModified\\": \\"2022-11-30 16:30:29\\",\\n \\"ServiceCodes\\": \\"service1,service2\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '关键词库列表',
+ ],
+ 'ListOssCheckResult' => [
+ 'summary' => 'oss扫描结果查询',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '197375',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务状态。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'FinishNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '已完成数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '搜索条件。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"TaskId":"P_11TL5T"}',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => '总记录条数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '13',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'example' => 'tmp',
+ ],
+ 'JobName' => [
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'example' => 'dhT20X2310',
+ ],
+ 'Object' => [
+ 'description' => 'object名称',
+ 'type' => 'string',
+ 'example' => '1713014531569_958.png.jpeg',
+ ],
+ 'Md5' => [
+ 'description' => '文件的MD5。',
+ 'type' => 'string',
+ 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'Code' => [
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Labels' => [
+ 'description' => '图片标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'Labels2' => [
+ 'description' => '文本标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ScanResult' => [
+ 'description' => '结果详情。',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'ImageUrl' => [
+ 'description' => '图片url地址。',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.jpg',
+ ],
+ 'Url' => [
+ 'description' => '任务URL。',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX',
+ ],
+ 'ServiceName' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'IsCopy' => [
+ 'description' => '是否复制。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CopyFrom' => [
+ 'description' => '主服务。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'ContentType' => [
+ 'description' => '音视频检测类型。',
+ 'type' => 'string',
+ 'example' => 'audio',
+ ],
+ 'RiskLevel0' => [
+ 'description' => '整体风险等级',
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'RiskLevel' => [
+ 'description' => '图片风险等级',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'RiskLevel2' => [
+ 'description' => '文本风险等级',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'FreezeType' => [
+ 'description' => '冻结类型。',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeStatus' => [
+ 'description' => '冻结状态。',
+ 'type' => 'string',
+ 'example' => 'FREEZED',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => '查询oss扫描结果列表',
+ ],
+ 'ModifyFeatureConfig' => [
+ 'summary' => '保存特性配置',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '266678',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'llm_query_moderation',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_llm_template',
+ ],
+ ],
+ [
+ 'name' => 'Field',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '标签值,客户自定义',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '__config__',
+ ],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '配置,json格式',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '标签含义',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '标签2',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '区域',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Msg' => [
+ 'description' => '本次请求的响应消息。',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Msg\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '编辑特性配置',
+ ],
+ 'QueryCallback' => [
+ 'summary' => '查询单个回调配置',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '221459',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '主键ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11234',
+ ],
+ ],
+ [
+ 'name' => 'CheckForOss',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询oss检测任务下的数据。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Id' => [
+ 'description' => '主键ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11234',
+ ],
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2022-11-30 16:30:29',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '19964*****086772',
+ ],
+ 'Name' => [
+ 'description' => '名称。',
+ 'type' => 'string',
+ 'example' => '回调通知',
+ ],
+ 'Url' => [
+ 'description' => '回调URL。',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyuncs.com',
+ ],
+ 'Seed' => [
+ 'description' => 'Seed。',
+ 'type' => 'string',
+ 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf',
+ ],
+ 'CryptType' => [
+ 'description' => '加密算法。',
+ 'type' => 'string',
+ 'example' => 'SHA256',
+ ],
+ 'Scope' => [
+ 'description' => '结果范围。',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ 'ExistsOssCheckTask' => [
+ 'description' => '是否存在oss检测任务',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Id\\": 11234,\\n \\"GmtCreate\\": \\"2022-11-30 16:30:29\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\",\\n \\"Uid\\": \\"19964*****086772\\",\\n \\"Name\\": \\"回调通知\\",\\n \\"Url\\": \\"https://www.aliyuncs.com\\",\\n \\"Seed\\": \\"cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf\\",\\n \\"CryptType\\": \\"SHA256\\",\\n \\"Scope\\": \\"all\\",\\n \\"ExistsOssCheckTask\\": false\\n}","type":"json"}]',
+ 'title' => '查询消息通知',
+ ],
+ 'UpdateScanResultFeedback' => [
+ 'summary' => '检测结果反馈',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '169771',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'QueryRequestId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '46232656-984E-****-A648-B1D0667B6C3E',
+ ],
+ ],
+ [
+ 'name' => 'Feedback',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '反馈',
+ 'description' => '反馈',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'missOut' => '违规漏过',
+ 'misreport' => '未违规误报',
+ ],
+ 'example' => 'missOut',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '资源类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '风险等级',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'high',
+ ],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abuse',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '检测结果反馈',
+ ],
+ 'UpdateServiceConfig' => [
+ 'summary' => '更新服务。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157299',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'KeywordFilterLibs',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '忽略词库。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'KeywordHitLibs',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '命中词库。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '审核场景。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pornographic',
+ ],
+ ],
+ [
+ 'name' => 'SceneConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '场景配置信息。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'VideoConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '视频配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'FileConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '文档配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'ManualMachineConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '人机审核配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'ServiceConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'service配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '修改服务配置',
+ ],
+ 'GetKeywordImportResult' => [
+ 'summary' => '查询导入关键词结果',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxx-xxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddKeywordsResultVO>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '任务进度百分比。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'customxx_xxx',
+ ],
+ 'I18nKey' => [
+ 'description' => '国际化key。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Tips' => [
+ 'description' => '提示信息。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatKeywords' => [
+ 'description' => '重复的关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '重复的关键词列表。',
+ 'type' => 'string',
+ 'example' => '重复关键词',
+ ],
+ ],
+ 'InvalidKeywords' => [
+ 'description' => '不合法关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '不合法关键词列表。',
+ 'type' => 'string',
+ 'example' => '不合法关键词',
+ ],
+ ],
+ 'IllegalLengthKeywords' => [
+ 'description' => '长度过长或过短关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '长度过长或过短关键词列表。',
+ 'type' => 'string',
+ 'example' => '过短关键词',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"customxx_xxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxx\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"不合法关键词\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\"\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '获取关键词导入结果',
+ ],
+ 'UpdateKeywordLib' => [
+ 'summary' => '编辑关键词库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157975',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '词库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词库名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试库',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '编辑关键词库',
+ ],
+ 'GetKeywordLib' => [
+ 'summary' => '关键词库信息',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157047',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<KeywordLibVO>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回的数据内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => '主账号ID',
+ 'type' => 'string',
+ 'example' => '1825457112123838',
+ ],
+ 'LibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'customxx_xxx',
+ ],
+ 'LibName' => [
+ 'description' => '库名称',
+ 'type' => 'string',
+ 'example' => '测试词库',
+ ],
+ 'KeywordCount' => [
+ 'description' => '关键词数量。',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'GmtModified' => [
+ 'description' => '最后修改时间。',
+ 'type' => 'string',
+ 'example' => '2024-01-29 10:26:00',
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Uid\\": \\"1825457112123838\\",\\n \\"LibId\\": \\"customxx_xxx\\",\\n \\"LibName\\": \\"测试词库\\",\\n \\"KeywordCount\\": \\"100\\",\\n \\"GmtModified\\": \\"2024-01-29 10:26:00\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '获取关键词库信息',
+ ],
+ 'GetUploadInfo' => [
+ 'summary' => '文件上传获取相应信息',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '158637',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ 'default' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '上传名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'UploadFileSettingResponse',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessId' => [
+ 'description' => '上传授权id。',
+ 'type' => 'string',
+ 'example' => 'LTAI5t9HM*****EXQmw3DVH',
+ ],
+ 'Policy' => [
+ 'description' => 'OSS上传文件的Policy。',
+ 'type' => 'string',
+ 'example' => 'xxxx',
+ ],
+ 'Signature' => [
+ 'description' => '上传的签名信息。',
+ 'type' => 'string',
+ 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
+ ],
+ 'Folder' => [
+ 'title' => '最好含有用户ID',
+ 'description' => '文件名称。',
+ 'type' => 'string',
+ 'example' => 'image/upload/xxx'."\n",
+ ],
+ 'Key' => [
+ 'description' => '上传文件的使用key。',
+ 'type' => 'string',
+ 'example' => 'image/upload/xxx',
+ ],
+ 'Host' => [
+ 'description' => '上传的host。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
+ ],
+ 'Name' => [
+ 'title' => '前端上传图片使用',
+ 'description' => '前端上传图片使用',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Expire' => [
+ 'title' => '单位秒',
+ 'description' => '单位秒',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '900',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessId\\": \\"LTAI5t9HM*****EXQmw3DVH\\",\\n \\"Policy\\": \\"xxxx\\",\\n \\"Signature\\": \\"iyu7VHblYj+mEF9p46cdGOlNPAw=\\",\\n \\"Folder\\": \\"image/upload/xxx\\\\n\\",\\n \\"Key\\": \\"image/upload/xxx\\",\\n \\"Host\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com\\",\\n \\"Name\\": \\"测试\\",\\n \\"Expire\\": 900,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '获取文件上传的相应信息',
+ ],
+ 'ListServiceConfigs' => [
+ 'summary' => '获取服务列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157042',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Classify',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分类。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'guard-scene',
+ ],
+ ],
+ [
+ 'name' => 'UseStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '使用状态。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'in',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<CustomServiceConfigDTO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '1674*****0071291',
+ ],
+ 'ResourceType' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2023-07-11 15:40:04',
+ ],
+ 'CopyFrom' => [
+ 'description' => '主服务。',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ 'CustomServiceConf' => [
+ 'description' => '服务配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'KeywordFilterLibs' => [
+ 'description' => '忽略词库。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '忽略词库。',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ ],
+ 'KeywordHitLibs' => [
+ 'description' => '命中词库。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '命中词库。',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ ],
+ 'SimilarTextHitLibs' => [
+ 'description' => '命中相似文本库。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '命中相似文本库。',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ ],
+ 'ImageService' => [
+ 'description' => '图片服务。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片服务。',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ 'AudioService' => [
+ 'description' => '音频服务。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'Rules' => [
+ 'description' => '服务规则',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => [
+ 'description' => '序号。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ImageScanRule' => [
+ 'description' => '图像审核规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Services' => [
+ 'description' => '图片服务。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片服务。',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ ],
+ 'TextScanRule' => [
+ 'description' => '文本审核规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Services' => [
+ 'description' => '文本服务。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本服务。',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceName' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'ServiceDesc' => [
+ 'description' => '服务描述。',
+ 'type' => 'string',
+ 'example' => '服务描述',
+ ],
+ 'Option' => [
+ 'description' => '选项。',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'ServiceType' => [
+ 'description' => '服务类型。',
+ 'type' => 'string',
+ 'example' => 'plus',
+ ],
+ 'Classify' => [
+ 'description' => '分类。',
+ 'type' => 'string',
+ 'example' => 'guard-scene',
+ ],
+ 'UseStatus' => [
+ 'description' => '使用状态',
+ 'type' => 'string',
+ 'example' => 'in',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '400',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1674*****0071291\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2023-07-11 15:40:04\\",\\n \\"CopyFrom\\": \\"nickname_detection\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"ImageService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"AudioService\\": \\"audio_media_detection\\",\\n \\"Rules\\": [\\n {\\n \\"Index\\": 1,\\n \\"ImageScanRule\\": {\\n \\"Services\\": [\\n \\"baselineCheck\\"\\n ]\\n },\\n \\"TextScanRule\\": {\\n \\"Services\\": [\\n \\"nickname_detection\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"ServiceDesc\\": \\"服务描述\\",\\n \\"Option\\": {},\\n \\"ServiceType\\": \\"plus\\",\\n \\"Classify\\": \\"guard-scene\\",\\n \\"UseStatus\\": \\"in\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 400,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '获取规则配置列表',
+ ],
+ 'GetTextScanResult' => [
+ 'summary' => '查询调用结果',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157044',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangL296SE',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '搜索条件。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '搜索条件。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '当前页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PortalPageResponse<TextScanResultVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '总记录数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2023-07-11 14:21:36',
+ ],
+ 'Content' => [
+ 'description' => '内容。',
+ 'type' => 'string',
+ 'example' => '测试内容',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk',
+ ],
+ 'RequestId' => [
+ 'description' => '请求id。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'RequestTime' => [
+ 'description' => '请求时间。',
+ 'type' => 'string',
+ 'example' => '2023-07-11 14:21:36'."\n",
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ 'ScanResult' => [
+ 'description' => '结果详情。',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'Labels' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ 'Score' => [
+ 'description' => '分数。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '20',
+ ],
+ 'Suggestion' => [
+ 'description' => '处理建议。',
+ 'type' => 'string',
+ 'example' => 'review',
+ ],
+ 'ExtFeedback' => [
+ 'description' => '反馈信息。',
+ 'type' => 'string',
+ 'example' => 'miss',
+ ],
+ 'Extra' => [
+ 'description' => '备用参数。',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'Result' => [
+ 'description' => '检测结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'political_n',
+ ],
+ 'Confidence' => [
+ 'description' => '置信分值,0到100分,保留到小数点后2位。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '25.0',
+ ],
+ 'Description' => [
+ 'description' => '描述。',
+ 'type' => 'string',
+ 'example' => '疑似色情内容',
+ ],
+ ],
+ ],
+ ],
+ 'BailianRequestId' => [
+ 'description' => '百炼RequestId',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'RiskLevel' => [
+ 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n"
+ ."\n"
+ .'- high:高风险'."\n"
+ ."\n"
+ .'- medium:中风险'."\n"
+ .' '."\n"
+ .'- low:低风险'."\n"
+ ."\n"
+ .' - none:未检测到风险',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'AccountId' => [
+ 'title' => '客户入参AccountId',
+ 'description' => '客户入参AccountId',
+ 'type' => 'string',
+ 'example' => 'accountIdtest123',
+ ],
+ 'DataId' => [
+ 'title' => '客户入参DataId',
+ 'description' => '客户入参DataId',
+ 'type' => 'string',
+ 'example' => 'xxxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 5,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-07-11 14:21:36\\",\\n \\"Content\\": \\"测试内容\\",\\n \\"TaskId\\": \\"txtwkgb******AsYNXoJswy-1Aa1Qk\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"RequestTime\\": \\"2023-07-11 14:21:36\\\\n\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"Score\\": 20,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"miss\\",\\n \\"Extra\\": {},\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"political_n\\",\\n \\"Confidence\\": 25,\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"BailianRequestId\\": \\"xxx\\",\\n \\"RiskLevel\\": \\"none\\",\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"DataId\\": \\"xxxx\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '查询文本检测结果',
+ ],
+ 'AddKeywords' => [
+ 'summary' => '添加关键词',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157048',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Keywords',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词,多个关键词以\\n分割。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '关键词1\\n关键词2'."\n",
+ ],
+ ],
+ [
+ 'name' => 'KeywordsObject',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词文件名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddKeywordsResult>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'KeywordsResult' => [
+ 'description' => '结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '任务进度百分比。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'I18nKey' => [
+ 'description' => '国际化key。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Tips' => [
+ 'description' => '提示信息。',
+ 'type' => 'string',
+ 'example' => 'xxxxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatKeywords' => [
+ 'description' => '重复的关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '重复的关键词。',
+ 'type' => 'string',
+ 'example' => '重复关键词'."\n",
+ ],
+ ],
+ 'InvalidKeywords' => [
+ 'description' => '不合法关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '不合法关键词。',
+ 'type' => 'string',
+ 'example' => '非法关键词'."\n",
+ ],
+ ],
+ 'IllegalLengthKeywords' => [
+ 'description' => '长度过长或过短关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '长度过长或过短关键词。',
+ 'type' => 'string',
+ 'example' => '过短关键词'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxxxx\\",\\n \\"TotalCount\\": 8,\\n \\"SuccessCount\\": 6,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\\\n\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"非法关键词\\\\n\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\\\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' => '添加关键词',
+ ],
+ 'ListKeywords' => [
+ 'summary' => '查询关键词列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '词库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Word',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键字。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试词',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PortalPageResponse<KeywordSampleVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '总条数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '23',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '主键ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '112',
+ ],
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2023-06-03 14:43:03',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2023-06-03 14:43:03',
+ ],
+ 'KeywordLibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'custom_xxxx',
+ ],
+ 'KeywordMd5Id' => [
+ 'description' => '关键词数据ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4205334',
+ ],
+ 'Word' => [
+ 'description' => '关键词。',
+ 'type' => 'string',
+ 'example' => '测试词',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 23,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 112,\\n \\"GmtCreate\\": \\"2023-06-03 14:43:03\\",\\n \\"GmtModified\\": \\"2023-06-03 14:43:03\\",\\n \\"KeywordLibId\\": \\"custom_xxxx\\",\\n \\"KeywordMd5Id\\": 4205334,\\n \\"Word\\": \\"测试词\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '查询关键词列表',
+ ],
+ 'DeleteKeyword' => [
+ 'summary' => '删除关键词',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157037',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'KeywordIds',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '要删除的关键词ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[16754493]',
+ ],
+ ],
+ [
+ 'name' => 'KeywordIdList',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '要删除的关键词ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[6715465]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '删除关键词',
+ ],
+ 'ExportKeyword' => [
+ 'summary' => '导出关键词',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '158882',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<String>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '导出结果。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr',
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '导出关键词',
+ ],
+ 'ExportTextScanResult' => [
+ 'summary' => '导出调用结果,excel文件',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157038',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangL296SE',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-10 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-11 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '查询条件。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '查询条件。',
+ 'example' => '{"RequestId":"8488665D-32D3-5DD6-8BF1-B4DE2******"}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'oss链接',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '导出结果。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '文本检测结果导出',
+ ],
+ 'DeleteKeywordLib' => [
+ 'summary' => '删除关键词库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157040',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'description' => '成功标识。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '删除关键词库',
+ ],
+ 'UpdateImageLibFreeInspection' => [
+ 'summary' => '编辑图库免检配置',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159537',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang7CSAZW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Config',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '配置。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'description' => '配置。',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '编辑图库免检配置',
+ ],
+ 'AddImages2Lib' => [
+ 'summary' => '批量添加图片',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159538',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxx',
+ ],
+ ],
+ [
+ 'name' => 'ImgUrl',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图片地址。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ImgId' => [
+ 'description' => '图片ID。',
+ 'type' => 'string',
+ 'example' => '100001',
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ImgId\\": \\"100001\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '添加图片到图库',
+ ],
+ 'ListImagesFromLib' => [
+ 'summary' => '图片列表 分页',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159539',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'ImgId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图片ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '112',
+ ],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '当前页号。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PortalPageResponse<SimilarImageSampleVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '图片总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前分页。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2022-11-30 16:30:29',
+ ],
+ 'ImageId' => [
+ 'description' => '图片ID。',
+ 'type' => 'string',
+ 'example' => '112',
+ ],
+ 'ImageUrl' => [
+ 'description' => '图片url地址。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
+ ],
+ 'ThumbnailUrl' => [
+ 'description' => '缩略图地址。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2022-11-30 16:30:29\\",\\n \\"ImageId\\": \\"112\\",\\n \\"ImageUrl\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg\\",\\n \\"ThumbnailUrl\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg\\"\\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' => '图库中的图片列表',
+ ],
+ 'AddImageLib' => [
+ 'summary' => '创建图库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159536',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图库名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试图库',
+ ],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图库的备注信息。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '色情内容黑名单图库',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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\\"\\n}","type":"json"}]',
+ 'title' => '添加图库',
+ ],
+ 'ExportScanResult' => [
+ 'summary' => '导出调用结果,excel文件',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '160496',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangL296SE',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-10 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-11 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '查询内容。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '查询条件。',
+ 'example' => '{"RequestId":"D83A46FF-9EA6-1477-A0C3-C8XXXXX****"}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '当前页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{"RequestTime":"desc"}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'oss链接',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '导出结果。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '检测结果导出',
+ ],
+ 'ListImageLib' => [
+ 'summary' => '图库列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159540',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<ListImageLibResult>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibList' => [
+ 'description' => '图库信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => '图库ID。',
+ 'type' => 'string',
+ 'example' => 'custom_xxxx',
+ ],
+ 'LibName' => [
+ 'description' => '图库名称。',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'ImageNum' => [
+ 'description' => '图库的数量。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FreeInspection' => [
+ 'description' => '免审配置。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Comment' => [
+ 'description' => '备注。',
+ 'type' => 'string',
+ 'example' => '备注',
+ ],
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => '图库列表',
+ ],
+ 'DeleteImagesFromLib' => [
+ 'summary' => '批量删除',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图库的id。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'ImageIds',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '要删除的图片id。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[158794]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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\\"\\n}","type":"json"}]',
+ 'title' => '删除图库中的图片',
+ ],
+ 'GetImageSceneLabelConf' => [
+ 'summary' => '获取图片规则标签信息',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '160095',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangE704W7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<Pair<String, Object>>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\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' => '获取图片规则标签信息',
+ ],
+ 'UpdateImageLib' => [
+ 'summary' => '编辑图库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159534',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '库名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试图库',
+ ],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '图库的备注信息。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '备注',
+ ],
+ ],
+ [
+ 'name' => 'FreeInspection',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '免审配置。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '成功标志',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '错误码,和http status一致',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '错误码的进一步描述',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'http状态码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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\\"\\n}","type":"json"}]',
+ 'title' => '编辑图库',
+ ],
+ 'GetImageSceneLabelListConf' => [
+ 'summary' => '获取图片规则标签信息',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '163937',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangE704W7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'ImageServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<?>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'any',
+ 'example' => '{}',
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n \\"{}\\"\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '获取图片规则标签信息',
+ ],
+ 'GetScanNum' => [
+ 'summary' => '用户待检测信息',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179486',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangJF4QIZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Buckets',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'tmpsample',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '媒资类型。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<ScanInfoVO>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'ScanNumber' => [
+ 'description' => '待检测文件总数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'SumNumber' => [
+ 'description' => '总文件数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'LimitNumber' => [
+ 'description' => '数量上限。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'Tag' => [
+ 'description' => '是否为白名单用户。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ScanNumber\\": 10,\\n \\"SumNumber\\": 10,\\n \\"LimitNumber\\": 10,\\n \\"Tag\\": true\\n}","type":"json"}]',
+ 'title' => '获取用户待检测信息',
+ ],
+ 'CancelStockOssCheckTask' => [
+ 'summary' => '取消oss扫描任务',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179017',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_UNYVB',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '取消oss检测任务',
+ ],
+ 'CreatePreCheck' => [
+ 'summary' => '创建oss扫描任务前检查',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179987',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '图片任务 20240709101602004'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Buckets',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]',
+ ],
+ ],
+ [
+ 'name' => 'IsInc',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '是否定时扫描任务。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '媒资类型。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Priority',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '优先级。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'ScanNoFileType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '是否扫描无后缀图片。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ScanService',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '扫描服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'DistinctHistoryTasks',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '是否对历史已检测任务去重。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '任务开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-12-17 10:08:00'."\n",
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '任务结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-12-18 10:08:00'."\n",
+ ],
+ ],
+ [
+ 'name' => 'ScanLimit',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '扫描限制数量。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'PrefixFilterType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '前缀过滤类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all',
+ ],
+ ],
+ [
+ 'name' => 'PrefixFilters',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '前缀。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dir1,dir2',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'BucketPrefixFilterConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Map<String, Boolean>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'boolean',
+ 'description' => '返回数据。',
+ 'example' => 'True',
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"key\\": true\\n },\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'oss检测任务创建前预检测',
+ ],
+ 'GetBucketsList' => [
+ 'summary' => 'bucket列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '176578',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<BucketInfo>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'OSS文件保存Bucket名称。',
+ 'type' => 'string',
+ 'example' => 'bucket_test',
+ ],
+ 'Region' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Bucket\\": \\"bucket_test\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '获取bucket列表',
+ ],
+ 'GetOssCheckStatus' => [
+ 'summary' => '获取OSS检测用户状态',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179436',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangL1O89D',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<OssCheckStatusDTO>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'SlsStatus' => [
+ 'description' => '是否授权日志分析功能。',
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ 'RamStatus' => [
+ 'description' => '是否已授权内安。',
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ 'Buy' => [
+ 'description' => '是否在阿里云开通了商品。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Indebt' => [
+ 'description' => '是否欠费。',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'Bid' => [
+ 'description' => 'Bid。',
+ 'type' => 'string',
+ 'example' => '26842',
+ ],
+ 'CommodityCode' => [
+ 'description' => '商品代码。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"SlsStatus\\": \\"True\\",\\n \\"RamStatus\\": \\"True\\",\\n \\"Buy\\": true,\\n \\"Indebt\\": true,\\n \\"Bid\\": \\"26842\\",\\n \\"CommodityCode\\": \\"xxx\\"\\n}","type":"json"}]',
+ 'title' => '获取OSS检测状态',
+ ],
+ 'ExportResult' => [
+ 'summary' => '导出oss扫描结果',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179021',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询条件。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"TaskId":"P_11TL5T"}',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询结果分页的每页项目数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '查询结果分页的页码。默认为1。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => 'desc',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Source',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '操作来源。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'disposal',
+ 'enum' => [
+ 'default',
+ 'disposal',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<String>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Success' => [
+ 'description' => '成功标志。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Code' => [
+ 'description' => '错误码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Success\\": true,\\n \\"Msg\\": \\"OK\\",\\n \\"Code\\": 200\\n}","type":"json"}]',
+ 'title' => 'oss检测任务结果导出',
+ ],
+ 'GetStockOssCheckTasksList' => [
+ 'summary' => '查询oss扫描任务列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179018',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-06-17 02:08:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-06-18 02:08:00'."\n",
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '媒资类型。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '当前页数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'IsInc',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否定时扫描任务',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'TaskType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'batch',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<StockOssCheckTaskVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => '总记录数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'P_XHDUS',
+ ],
+ 'TaskName' => [
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'example' => '图片定时任务20231205135716797'."\n",
+ ],
+ 'Buckets' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'example' => 'tmp',
+ ],
+ 'Status' => [
+ 'description' => '任务状态。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'StartTime' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'example' => '2023-12-21 15:30:19',
+ ],
+ 'EndTime' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'example' => '2024-01-10 11:42:31',
+ ],
+ 'SearchNum' => [
+ 'description' => '扫描任务数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'FinishNum' => [
+ 'description' => '已完成数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'MediaType' => [
+ 'description' => '媒资类型。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'video',
+ ],
+ 'Config' => [
+ 'description' => '配置项',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScanNoFileType' => [
+ 'description' => '是否扫描无后缀图片。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScanService' => [
+ 'description' => '扫描服务code',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '扫描服务code',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ 'DistinctHistoryTasks' => [
+ 'description' => '是否对历史已检测任务去重。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'StartTime' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'example' => '2023-12-21 15:30:19',
+ ],
+ 'EndTime' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'example' => '2024-01-10 11:42:31',
+ ],
+ 'ScanLimit' => [
+ 'description' => '扫描限制数量。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'PrefixFilterType' => [
+ 'description' => '前缀过滤类型。',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ 'PrefixFilters' => [
+ 'description' => '前缀。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '前缀。',
+ 'type' => 'string',
+ 'example' => 'dir1,dir2',
+ ],
+ ],
+ 'Priority' => [
+ 'description' => '优先级。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TaskCycle' => [
+ 'description' => '调度日期。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ExecuteTime' => [
+ 'description' => '定时任务预计执行时间。',
+ 'type' => 'string',
+ 'example' => '02:00:00',
+ ],
+ 'ExecuteDate' => [
+ 'description' => '定时任务执行日期。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScanResourceType' => [
+ 'description' => '检测文件类型。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ScanServiceInfos' => [
+ 'description' => '检测服务信息',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'IsCopy' => [
+ 'description' => '是否复制。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'baselineCheck_01',
+ ],
+ 'ServiceName' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'example' => '通用基线检测'."\n",
+ ],
+ 'CopyFrom' => [
+ 'description' => '主服务。',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ ],
+ 'CallbackId' => [
+ 'description' => '回调通知ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3942',
+ ],
+ 'Freeze' => [
+ 'description' => '是否冻结',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'FreezeType' => [
+ 'description' => '冻结类型',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeHighRisk1' => [
+ 'description' => '冻结高风险图片',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeMediumRisk1' => [
+ 'description' => '冻结中风险图片',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeHighRisk2' => [
+ 'description' => '冻结高风险语音、文本',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeMediumRisk2' => [
+ 'description' => '冻结中风险语音、文本',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeRestorePath' => [
+ 'description' => '转存路径',
+ 'type' => 'string',
+ 'example' => '/backup',
+ ],
+ 'UserFreezeConfig' => [
+ 'description' => '人工冻结配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FreezeType' => [
+ 'description' => '冻结类型。',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeRestorePath' => [
+ 'description' => '转存路径。',
+ 'type' => 'string',
+ 'example' => '/backup'."\n",
+ ],
+ ],
+ ],
+ 'Referer' => [
+ 'description' => 'Referer。',
+ 'type' => 'string',
+ 'example' => '*',
+ ],
+ ],
+ ],
+ 'ObjectNum' => [
+ 'description' => 'bucket总文件数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'NextExecuteDate' => [
+ 'description' => '定时任务上次执行时间。',
+ 'type' => 'string',
+ 'example' => '02:00:00'."\n",
+ ],
+ 'LastExecuteDate' => [
+ 'description' => '定时任务下次执行时间。',
+ 'type' => 'string',
+ 'example' => '02:00:00'."\n",
+ ],
+ 'IsInc' => [
+ 'description' => '是否定时扫描任务。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TaskType' => [
+ 'description' => '任务类型。',
+ 'type' => 'string',
+ 'example' => 'batch',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"TaskId\\": \\"P_XHDUS\\",\\n \\"TaskName\\": \\"图片定时任务20231205135716797\\\\n\\",\\n \\"Buckets\\": \\"tmp\\",\\n \\"Status\\": 4,\\n \\"StartTime\\": \\"2023-12-21 15:30:19\\",\\n \\"EndTime\\": \\"2024-01-10 11:42:31\\",\\n \\"SearchNum\\": 10,\\n \\"FinishNum\\": 2,\\n \\"MediaType\\": 0,\\n \\"Config\\": {\\n \\"ScanNoFileType\\": true,\\n \\"ScanService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"DistinctHistoryTasks\\": false,\\n \\"StartTime\\": \\"2023-12-21 15:30:19\\",\\n \\"EndTime\\": \\"2024-01-10 11:42:31\\",\\n \\"ScanLimit\\": 10,\\n \\"PrefixFilterType\\": \\"all\\",\\n \\"PrefixFilters\\": [\\n \\"dir1,dir2\\"\\n ],\\n \\"Priority\\": 1,\\n \\"TaskCycle\\": 0,\\n \\"ExecuteTime\\": \\"02:00:00\\",\\n \\"ExecuteDate\\": 1,\\n \\"ScanResourceType\\": 0,\\n \\"ScanServiceInfos\\": [\\n {\\n \\"IsCopy\\": false,\\n \\"ServiceCode\\": \\"baselineCheck_01\\",\\n \\"ServiceName\\": \\"通用基线检测\\\\n\\",\\n \\"CopyFrom\\": \\"baselineCheck\\"\\n }\\n ],\\n \\"CallbackId\\": 3942,\\n \\"Freeze\\": false,\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeHighRisk1\\": true,\\n \\"FreezeMediumRisk1\\": true,\\n \\"FreezeHighRisk2\\": true,\\n \\"FreezeMediumRisk2\\": true,\\n \\"FreezeRestorePath\\": \\"/backup\\",\\n \\"UserFreezeConfig\\": {\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeRestorePath\\": \\"/backup\\\\n\\"\\n },\\n \\"Referer\\": \\"*\\"\\n },\\n \\"ObjectNum\\": 10,\\n \\"NextExecuteDate\\": \\"02:00:00\\\\n\\",\\n \\"LastExecuteDate\\": \\"02:00:00\\\\n\\",\\n \\"IsInc\\": false,\\n \\"TaskType\\": \\"batch\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询oss扫描任务列表',
+ ],
+ 'OssCheckResultList' => [
+ 'summary' => '获取OSS检测结果列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179020',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-21 16:08:38'."\n",
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-10-21 16:08:38'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '查询条件',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'FinishNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '已完成数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '55',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务状态。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<SlsPageResponseVO<OssStockResultVO>>',
+ 'description' => 'PortalResponse<SlsPageResponseVO<OssStockResultVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'AuthStatus' => [
+ 'description' => '授权状态',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'TotalCount' => [
+ 'description' => '总记录条数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'OSS Bucket名称。',
+ 'type' => 'string',
+ 'example' => 'tmp',
+ ],
+ 'Object' => [
+ 'description' => 'object名称',
+ 'type' => 'string',
+ 'example' => '1713014531569_958.png.jpeg',
+ ],
+ 'Md5' => [
+ 'description' => '文件的MD5。',
+ 'type' => 'string',
+ 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'Code' => [
+ 'description' => '状态码。200表示成功。',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Labels' => [
+ 'description' => '图片标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ScanResult' => [
+ 'description' => '结果详情。',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'ImageUrl' => [
+ 'description' => '图片url地址。',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.jpg',
+ ],
+ 'JobName' => [
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'example' => 'dhT20X2310',
+ ],
+ 'Labels2' => [
+ 'description' => '文本标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'Url' => [
+ 'description' => '任务URL。',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'P_XHDUS',
+ ],
+ 'ServiceName' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'IsCopy' => [
+ 'description' => '是否复制。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CopyFrom' => [
+ 'description' => '主服务。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'ContentType' => [
+ 'description' => '音视频检测类型。',
+ 'type' => 'string',
+ 'example' => 'audio',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"AuthStatus\\": \\"OK\\",\\n \\"TotalCount\\": 10,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"success\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"P_XHDUS\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询OSS检测结果列表',
+ ],
+ 'CreatStockOssCheckTask' => [
+ 'summary' => '创建oss扫描任务',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '179014',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '图片任务 20240709101602004',
+ ],
+ ],
+ [
+ 'name' => 'Buckets',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n",
+ ],
+ ],
+ [
+ 'name' => 'IsInc',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否定时扫描任务。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '媒资类型。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 1 => '图片',
+ '音视频',
+ '文档',
+ ],
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Priority',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '优先级。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enumValueTitles' => [
+ '不限制',
+ '24小时',
+ ],
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'ScanNoFileType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否扫描无后缀图片。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ScanService',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '扫描服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'DistinctHistoryTasks',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否对历史已检测任务去重。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-12-17 10:08:00'."\n",
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-12-18 10:08:00',
+ ],
+ ],
+ [
+ 'name' => 'ScanLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '扫描限制数量。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'PrefixFilterType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '前缀过滤类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'PrefixFilters',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '前缀。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dir1,dir2'."\n",
+ ],
+ ],
+ [
+ 'name' => 'BucketPrefixFilterConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"',
+ ],
+ ],
+ [
+ 'name' => 'TaskCycle',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '调度日期。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enumValueTitles' => [
+ '天',
+ '周',
+ '月',
+ ],
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'ExecuteDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '定时任务执行日期。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ExecuteTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '定时任务预计执行时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '01:09:30-01:19:30',
+ ],
+ ],
+ [
+ 'name' => 'ScanResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '检测文件类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ '音视频',
+ '仅视频',
+ '仅音频',
+ ],
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'TaskType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'timing' => '定时任务',
+ 'batch' => '存量任务',
+ 'increment' => '增量任务',
+ ],
+ 'example' => 'batch',
+ ],
+ ],
+ [
+ 'name' => 'CallbackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '消息通知ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1751',
+ ],
+ ],
+ [
+ 'name' => 'Freeze',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否冻结',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACL',
+ ],
+ ],
+ [
+ 'name' => 'FreezeHighRisk1',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结高风险图片',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeMediumRisk1',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结中风险图片',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeHighRisk2',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结高风险语音、文本',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeMediumRisk2',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结中风险语音、文本',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeRestorePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '转存路径',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'Referer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Referer。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://www.aliyun.com',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '创建oss检测任务',
+ ],
+ 'AddKeywordsToLib' => [
+ 'summary' => '添加关键词',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '180474',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Keywords',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词,多个关键词以\\n分割。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '关键词1\\n关键词2'."\n",
+ ],
+ ],
+ [
+ 'name' => 'KeywordsObject',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '关键词文件名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddKeywordsResult>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'KeywordsResult' => [
+ 'description' => '结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '任务进度百分比。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '关键词库ID。',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'I18nKey' => [
+ 'description' => '国际化key',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatKeywords' => [
+ 'description' => '重复的关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '重复的关键词。',
+ 'type' => 'string',
+ 'example' => '重复的关键词',
+ ],
+ ],
+ 'InvalidKeywords' => [
+ 'description' => '不合法关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '不合法关键词。',
+ 'type' => 'string',
+ 'example' => '过短关键词'."\n",
+ ],
+ ],
+ 'IllegalLengthKeywords' => [
+ 'description' => '长度过长或过短关键词列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '长度过长或过短关键词。',
+ 'type' => 'string',
+ 'example' => '过短关键词'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatKeywords\\": [\\n \\"重复的关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"过短关键词\\\\n\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\\\n\\"\\n ]\\n }\\n },\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '添加关键词到词库',
+ ],
+ 'GetServiceLabelConfig' => [
+ 'summary' => '获取单个服务的标签配置',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '174703',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangE704W7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nickname_detection',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<?>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'any',
+ 'example' => '{}',
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n \\"{}\\"\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '获取规则配置的标签配置',
+ ],
+ 'ModifyServiceInfo' => [
+ 'summary' => '编辑服务',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '184637',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '通用基线检测',
+ ],
+ ],
+ [
+ 'name' => 'ServiceDesc',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务描述。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '描述',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '编辑规则配置',
+ ],
+ 'CopyServiceConfig' => [
+ 'summary' => '复制服务',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '184636',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang9SVL0Q',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nickname_detection',
+ ],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '用户昵称检测'."\n",
+ ],
+ ],
+ [
+ 'name' => 'ServiceDesc',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '服务描述。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '服务备注',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '复制规则配置',
+ ],
+ 'GetExecuteTime' => [
+ 'summary' => '获取定时任务预计执行时间',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '190608',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangKN3PXM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<String>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'string',
+ 'example' => '02:24:30',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"02:24:30\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '获取定时任务预计执行时间',
+ ],
+ 'GetJobNameList' => [
+ 'summary' => 'oss定时扫描检测周期查询',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '查询条件。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"TaskId":"P_11TL5T"}',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => 'desc',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<String>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'string',
+ 'example' => '["20000101-29990101"]',
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n \\"[\\\\\\"20000101-29990101\\\\\\"]\\"\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'oss定时扫描检测周期查询',
+ ],
+ 'GetBackupConfig' => [
+ 'summary' => '获取证据转存配置',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201051',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangHKCO82',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<CustomBackupConfigVO>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '1772612608370735',
+ ],
+ 'ResourceType' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'example' => 'image',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2023-01-17 12:29:56',
+ ],
+ 'Enable' => [
+ 'description' => '是否启用。取值:'."\n"
+ .'- **true**:启用'."\n"
+ .'- **false**:禁用',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Bucket' => [
+ 'description' => '文件服务器OSS Bucket',
+ 'type' => 'string',
+ 'example' => 'buckect_test',
+ ],
+ 'Region' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'Path' => [
+ 'description' => '路径。',
+ 'type' => 'string',
+ 'example' => 'aliyun/template/',
+ ],
+ 'ExpireSeconds' => [
+ 'description' => '过期时间,单位秒。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '300',
+ ],
+ 'BackupMode' => [
+ 'description' => '转存范围。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'enumValueTitles' => [
+ '转存所有结果',
+ '仅转存有检出风险的结果',
+ ],
+ 'example' => '0',
+ ],
+ 'EnableBackup' => [
+ 'description' => '是否开启转存。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'EnableBackupVoice' => [
+ 'description' => '是否开启音频转存',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'PathVoice' => [
+ 'description' => '音频转存路径。',
+ 'type' => 'string',
+ 'example' => '/back',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Uid\\": \\"1772612608370735\\",\\n \\"ResourceType\\": \\"image\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"GmtModified\\": \\"2023-01-17 12:29:56\\",\\n \\"Enable\\": true,\\n \\"Bucket\\": \\"buckect_test\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Path\\": \\"aliyun/template/\\",\\n \\"ExpireSeconds\\": 300,\\n \\"BackupMode\\": 0,\\n \\"EnableBackup\\": true,\\n \\"EnableBackupVoice\\": true,\\n \\"PathVoice\\": \\"/back\\"\\n}","type":"json"}]',
+ 'title' => '获取证据转存配置',
+ ],
+ 'GetBackupBucketsList' => [
+ 'summary' => '证据转存获取用户bucket列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201048',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangHKCO82',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<BucketInfo>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'OSS文件保存Bucket名称。',
+ 'type' => 'string',
+ 'example' => 'gj-bucket1',
+ ],
+ 'Region' => [
+ 'description' => '地域。',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Bucket\\": \\"gj-bucket1\\",\\n \\"Region\\": \\"cn-shanghai\\"\\n }\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '证据转存获取bucket列表',
+ ],
+ 'GetBackupStatus' => [
+ 'summary' => '用户授权校验',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201049',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangHKCO82',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '审核结果数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '获取证据转存用户状态',
+ ],
+ 'UpdateBackupConfig' => [
+ 'summary' => '更新证据转存配置',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201050',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangHKCO82',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'videoDetection',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '资源类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'video',
+ ],
+ ],
+ [
+ 'name' => 'BackupConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '证据转存配置',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '编辑证据转存配置',
+ ],
+ 'ListCallback' => [
+ 'summary' => '消息通知列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220530',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<CallbackVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '主键ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11234',
+ ],
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '16537*****831937',
+ ],
+ 'Name' => [
+ 'description' => '名称。',
+ 'type' => 'string',
+ 'example' => '回调通知',
+ ],
+ 'Url' => [
+ 'description' => '回调URL。',
+ 'type' => 'string',
+ 'example' => 'https://console.aliyun.com/'."\n",
+ ],
+ 'Seed' => [
+ 'description' => 'Seed。',
+ 'type' => 'string',
+ 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n",
+ ],
+ 'CryptType' => [
+ 'description' => '加密算法。',
+ 'type' => 'string',
+ 'example' => 'SHA256',
+ ],
+ 'Scope' => [
+ 'description' => '结果范围。',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Id\\": 11234,\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\",\\n \\"Uid\\": \\"16537*****831937\\",\\n \\"Name\\": \\"回调通知\\",\\n \\"Url\\": \\"https://console.aliyun.com/\\\\n\\",\\n \\"Seed\\": \\"cbupVnpBjkgjFxfINMHKkrHS-1zZPUm\\\\n\\",\\n \\"CryptType\\": \\"SHA256\\",\\n \\"Scope\\": \\"all\\"\\n }\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '消息通知列表',
+ ],
+ 'QueryCallbackByPage' => [
+ 'summary' => '消息通知',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220532',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<CallbackVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => '总记录数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '主键ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1697',
+ ],
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '12161*****398900',
+ ],
+ 'Name' => [
+ 'description' => '名称。',
+ 'type' => 'string',
+ 'example' => '消息通知',
+ ],
+ 'Url' => [
+ 'description' => '回调URL。',
+ 'type' => 'string',
+ 'example' => 'https://console.aliyun.com/'."\n",
+ ],
+ 'Seed' => [
+ 'description' => 'Seed。',
+ 'type' => 'string',
+ 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq',
+ ],
+ 'CryptType' => [
+ 'description' => '加密算法。',
+ 'type' => 'string',
+ 'example' => 'SHA256',
+ ],
+ 'Scope' => [
+ 'description' => '结果范围。',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 1697,\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\",\\n \\"Uid\\": \\"12161*****398900\\",\\n \\"Name\\": \\"消息通知\\",\\n \\"Url\\": \\"https://console.aliyun.com/\\\\n\\",\\n \\"Seed\\": \\"cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq\\",\\n \\"CryptType\\": \\"SHA256\\",\\n \\"Scope\\": \\"all\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '分页查询消息通知列表',
+ ],
+ 'CreateCallback' => [
+ 'summary' => '新建消息通知',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220531',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '方案名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '消息通知1',
+ ],
+ ],
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '回调地址。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://console.aliyun.com',
+ ],
+ ],
+ [
+ 'name' => 'CryptType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '加密算法。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'SHA256' => 'SHA256',
+ 'SM3' => '国密SM3',
+ ],
+ 'example' => 'SHA256',
+ 'enum' => [
+ 'SHA256',
+ 'SM3',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '审核结果。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'all' => '所有结果',
+ 'risky' => '检出有风险结果',
+ ],
+ 'example' => 'all',
+ 'enum' => [
+ 'risky',
+ 'all',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Long>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 0,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '新增消息通知',
+ ],
+ 'DeleteCallback' => [
+ 'summary' => '删除消息通知',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220529',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '消息通知数据ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1480',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '删除消息通知',
+ ],
+ 'ModifyCallback' => [
+ 'summary' => '修改消息通知',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220533',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '主键ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '112',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '回调通知',
+ ],
+ ],
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '回调URL。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://www.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'CryptType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '加密算法。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHA256',
+ 'enum' => [
+ 'SHA256',
+ 'SM3',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '结果范围。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all',
+ 'enum' => [
+ 'risky',
+ 'all',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '编辑消息通知',
+ ],
+ 'AddAnswerSample' => [
+ 'summary' => '添加代答答案。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222579',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Samples',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '待添加的样本。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '代答答案1\\n代答答案2',
+ ],
+ ],
+ [
+ 'name' => 'SampleObject',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '待添加代答样本的文件名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'data/xxx.xlsx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddAnswerSampleResult>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'LibId' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'alAxbbxxxx-xxx'."\n",
+ ],
+ 'Result' => [
+ 'description' => '结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '进度,90表示90%',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'alAxbbxxxx-xxx'."\n",
+ ],
+ 'I18nKey' => [
+ 'description' => '国际化key。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '总记录条数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '534',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '318',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '98',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '118',
+ ],
+ 'RepeatSamples' => [
+ 'description' => '重复样本集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '重复样本。',
+ 'type' => 'string',
+ 'example' => '重复代答答案',
+ ],
+ ],
+ 'IllegalLengthSamples' => [
+ 'description' => '长度过长或过短的样本集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '长度过长或过短的样本。',
+ 'type' => 'string',
+ 'example' => '过短代答答案',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAxbbxxxx-xxx\\\\n\\",\\n \\"Result\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAxbbxxxx-xxx\\\\n\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"TotalCount\\": 534,\\n \\"SuccessCount\\": 318,\\n \\"RepeatCount\\": 98,\\n \\"InvalidCount\\": 118,\\n \\"RepeatSamples\\": [\\n \\"重复代答答案\\"\\n ],\\n \\"IllegalLengthSamples\\": [\\n \\"过短代答答案\\"\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '添加代答答案',
+ ],
+ 'CreateAnswerLib' => [
+ 'summary' => '创建代答库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222574',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '代答库名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试代答库',
+ ],
+ ],
+ [
+ 'name' => 'Samples',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '待添加的样本。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '代答答案1\\n代答答案2'."\n",
+ ],
+ ],
+ [
+ 'name' => 'SampleObject',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '待添加代答样本的文件名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'data/xxx.xlsx'."\n",
+ ],
+ ],
+ [
+ 'name' => 'SampleBucket',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '存储空间名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-cip-shanghai'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddAnswerSampleResult>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'LibId' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'alAxbbxxxx-xxx'."\n",
+ ],
+ 'Result' => [
+ 'description' => '结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '任务进度百分比。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'alAaaaxxx-xxx',
+ ],
+ 'I18nKey' => [
+ 'description' => '国际化key。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatSamples' => [
+ 'description' => '重复代答答案列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '重复代答答案。',
+ 'type' => 'string',
+ 'example' => '重复代答答案',
+ ],
+ ],
+ 'IllegalLengthSamples' => [
+ 'description' => '不合法代答答案列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '不合法代答答案。',
+ 'type' => 'string',
+ 'example' => '不合法代答答案',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAxbbxxxx-xxx\\\\n\\",\\n \\"Result\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAaaaxxx-xxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatSamples\\": [\\n \\"重复代答答案\\"\\n ],\\n \\"IllegalLengthSamples\\": [\\n \\"不合法代答答案\\"\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '创建代答库',
+ ],
+ 'ExportAnswerSample' => [
+ 'summary' => '导出代答答案',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222966',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alxxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<String>}',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"True\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '导出代答答案',
+ ],
+ 'QueryAnswerSampleByPage' => [
+ 'summary' => '分页查询代答样本',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222578',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Answer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '答案。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '答案',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<AnswerSamplePortalVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => '记录总数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '58',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '104813*****2399',
+ ],
+ 'LibId' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'example' => 'custom_xxxx',
+ ],
+ 'Id' => [
+ 'description' => '主键ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1666',
+ ],
+ 'Answer' => [
+ 'description' => '答案',
+ 'type' => 'string',
+ 'example' => '答案',
+ ],
+ 'GmtCreate' => [
+ 'description' => '创建时间。',
+ 'type' => 'string',
+ 'example' => '2023-07-31 06:16:06',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 58,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Uid\\": \\"104813*****2399\\",\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"Id\\": 1666,\\n \\"Answer\\": \\"答案\\",\\n \\"GmtCreate\\": \\"2023-07-31 06:16:06\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '分页查询代答答案',
+ ],
+ 'DeleteAnswerSample' => [
+ 'summary' => '删除代答答案',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222581',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alxxx',
+ ],
+ ],
+ [
+ 'name' => 'Ids',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '要删除的id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[15463605]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '删除代答答案',
+ ],
+ 'ListAnswerLib' => [
+ 'summary' => '代答库列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222576',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<AnswerLibPortalVO>>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '1643953****74290',
+ ],
+ 'LibId' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'example' => 'alxxx',
+ ],
+ 'LibName' => [
+ 'description' => '库名称。',
+ 'type' => 'string',
+ 'example' => '代答库名称',
+ ],
+ 'AnswerCount' => [
+ 'description' => '代答答案数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'string',
+ 'example' => '2024-06-03 18:15:01',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1643953****74290\\",\\n \\"LibId\\": \\"alxxx\\",\\n \\"LibName\\": \\"代答库名称\\",\\n \\"AnswerCount\\": 100,\\n \\"GmtModified\\": \\"2024-06-03 18:15:01\\"\\n }\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '代答库列表',
+ ],
+ 'ModifyAnswerLib' => [
+ 'summary' => '更新代答库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222575',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'LibName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '库名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试库',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '编辑代答库',
+ ],
+ 'DeleteAnswerLib' => [
+ 'summary' => '删除代答库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222577',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alxxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '删除代答库',
+ ],
+ 'GetAnswerImportProgress' => [
+ 'summary' => '获取代答样本导入进度',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222580',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alAxbbxxxx-xxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Result>',
+ 'description' => '响应体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Progress' => [
+ 'description' => '任务进度百分比。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '代答库ID。',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'alAxbbxxxx-xxx',
+ ],
+ 'I18nKey' => [
+ 'description' => '国际化key。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Tips' => [
+ 'description' => '提示信息。',
+ 'type' => 'string',
+ 'example' => 'xxxxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatSamples' => [
+ 'description' => '重复代答答案列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '重复代答答案。',
+ 'type' => 'string',
+ 'example' => '重复答案',
+ ],
+ ],
+ 'IllegalLengthSamples' => [
+ 'description' => '不合法代答答案列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '不合法代答答案。',
+ 'type' => 'string',
+ 'example' => '不合法答案',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAxbbxxxx-xxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxxxx\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatSamples\\": [\\n \\"重复答案\\"\\n ],\\n \\"IllegalLengthSamples\\": [\\n \\"不合法答案\\"\\n ]\\n}","type":"json"}]',
+ 'title' => '获取代答答案导入进度',
+ ],
+ 'UpdateOssCheckResultsFeedBack' => [
+ 'summary' => '更新OSS检测结果反馈',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232690',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'QueryRequestId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '查询的请求ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ [
+ 'name' => 'Feedback',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '反馈。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'misreport',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_7SCUK8',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '更新OSS检测结果反馈',
+ ],
+ 'UpdateOssCheckResultsFreeze' => [
+ 'summary' => '批量冻结OSS检测结果。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232687',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_15BU42',
+ ],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-21 16:08:38',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-10-21 16:08:38',
+ ],
+ ],
+ [
+ 'name' => 'FreezeItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结项。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'FreezeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACL',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'FreezeRestorePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结文件到指定目录。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'uploadTest/',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '总记录数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Data\\": {\\n \\"TotalCount\\": 5,\\n \\"SuccessCount\\": 5,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1\\n }\\n}","type":"json"}]',
+ 'title' => '更新OSS检测结果冻结',
+ ],
+ 'GetOssCheckFreezeResult' => [
+ 'summary' => 'oss检测冻结结果查询',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232685',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-01-09 10:28:54',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-05-19 10:05:11',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务状态。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'FinishNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '已完成数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '查询条件',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '排序字段。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '29',
+ ],
+ 'PageSize' => [
+ 'description' => '分页大小。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页码。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'example' => 'tmp',
+ ],
+ 'JobName' => [
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'example' => 'dhT20X2310',
+ ],
+ 'Object' => [
+ 'description' => 'object名称',
+ 'type' => 'string',
+ 'example' => '1713014531569_958.png.jpeg',
+ ],
+ 'Md5' => [
+ 'description' => '文件的MD5。',
+ 'type' => 'string',
+ 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'Code' => [
+ 'description' => '错误码,和http status一致。',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => '错误码的进一步描述。',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Labels' => [
+ 'description' => '图片标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'Labels2' => [
+ 'description' => '文本标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本标签。',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ScanResult' => [
+ 'description' => '结果详情。',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'ImageUrl' => [
+ 'description' => '图片url地址。',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.jpg',
+ ],
+ 'Url' => [
+ 'description' => '任务URL。',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'P_BT3FHS',
+ ],
+ 'ServiceName' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'IsCopy' => [
+ 'description' => '是否复制。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CopyFrom' => [
+ 'description' => '主服务。',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'ContentType' => [
+ 'description' => '音视频检测类型。',
+ 'type' => 'string',
+ 'example' => 'audio',
+ ],
+ 'RiskLevel0' => [
+ 'description' => '整体风险等级',
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'RiskLevel' => [
+ 'description' => '图片风险等级',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'RiskLevel2' => [
+ 'description' => '文本风险等级',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'FreezeType' => [
+ 'description' => '冻结类型。',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeStatus' => [
+ 'description' => '冻结状态。',
+ 'type' => 'string',
+ 'example' => 'FREEZED',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
+ ],
+ 'Freeze' => [
+ 'description' => '是否冻结',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Feedback' => [
+ 'description' => '反馈。',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'misreport' => '未违规误报',
+ 'missOut' => '违规漏过',
+ ],
+ 'example' => 'misreport',
+ ],
+ 'ManualFreezeAction' => [
+ 'description' => '人工处置状态。',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'FREEZE' => '冻结',
+ 'UNFREEZE' => '解冻',
+ ],
+ 'example' => 'FREEZE',
+ ],
+ 'SysDisposalStatus' => [
+ 'description' => '系统处置状态。',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'FREEZING' => '冻结中',
+ 'FREEZED' => '已冻结',
+ 'UNFREEZED' => '已解冻',
+ 'NONE' => '未操作',
+ 'UNFREEZING' => '解冻中',
+ ],
+ 'example' => 'FREEZED',
+ ],
+ 'ManualOperateTime' => [
+ 'description' => '处置时间。',
+ 'type' => 'string',
+ 'example' => '2025-08-09 12:00:00',
+ ],
+ 'ManualOperator' => [
+ 'description' => '处置人。',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'LabelDetails' => [
+ 'description' => '标签。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => [
+ 'description' => '标签。',
+ 'type' => 'string',
+ 'example' => 'politics',
+ ],
+ 'Description' => [
+ 'description' => '标签描述。',
+ 'type' => 'string',
+ 'example' => '涉政',
+ ],
+ 'Confidence' => [
+ 'description' => '置信度。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '50',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0A594BB-FA7A-580F-AE9E-A4188E092823\\",\\n \\"TotalCount\\": 29,\\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\\": \\"success\\",\\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\\": \\"P_BT3FHS\\",\\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 \\"RequestId\\": \\"F0A594BB-FA7A-580F-AE9E-A4188E092823\\",\\n \\"Freeze\\": true,\\n \\"Feedback\\": \\"misreport\\",\\n \\"ManualFreezeAction\\": \\"FREEZE\\",\\n \\"SysDisposalStatus\\": \\"FREEZED\\",\\n \\"ManualOperateTime\\": \\"2025-08-09 12:00:00\\",\\n \\"ManualOperator\\": \\"xx\\",\\n \\"LabelDetails\\": [\\n {\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"涉政\\",\\n \\"Confidence\\": 50\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询OSS检测冻结结果',
+ ],
+ 'UpdateOssCheckResultsUnfreeze' => [
+ 'summary' => '批量解冻OSS检测结果',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232689',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_B6YRVD',
+ ],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-21 16:08:38',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-10-21 16:08:38',
+ ],
+ ],
+ [
+ 'name' => 'FreezeItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '冻结项。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ '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',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1\\n },\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '解冻OSS检测结果',
+ ],
+ 'DeleteOnlineTest' => [
+ 'summary' => '删除在线检测任务',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '260298',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '资源类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '地域ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'PortalResponse<Boolean>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => '取消在线测试任务',
+ ],
+ 'CreateOnlineTest' => [
+ 'summary' => '创建在线检测任务',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '259357',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '资源类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'video',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '服务编码',
+ 'description' => '服务编码',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VideoModeration',
+ ],
+ ],
+ [
+ 'name' => 'Url',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '检测地址',
+ 'description' => '检测地址',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://xxxxxxxxxx.com/data/data.png',
+ ],
+ ],
+ [
+ 'name' => 'DataId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '数据ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'TaskId' => [
+ 'title' => '检测任务id',
+ 'description' => '检测任务id',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'TaskStatus' => [
+ 'title' => '检测状态',
+ 'description' => '检测状态',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Url' => [
+ 'description' => '检测地址',
+ 'type' => 'string',
+ 'example' => 'https://xxxxxxxxxx.com/data/data.png',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务编码',
+ 'type' => 'string',
+ 'example' => 'VideoModeration',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"TaskStatus\\": \\"SUCCESS\\",\\n \\"Url\\": \\"https://xxxxxxxxxx.com/data/data.png\\",\\n \\"ServiceCode\\": \\"VideoModeration\\"\\n}","type":"json"}]',
+ 'title' => '创建在线测试任务',
+ ],
+ 'StopOnlineTest' => [
+ 'summary' => '中止在线检测任务',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '259538',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '资源类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '服务编码',
+ 'description' => '服务编码',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '检测taskId',
+ 'description' => '检测taskId',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TaskId' => [
+ 'title' => '检测任务id',
+ 'description' => '检测任务id',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'TaskStatus' => [
+ 'title' => '检测状态',
+ 'description' => '检测状态',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Url' => [
+ 'description' => '检测地址',
+ 'type' => 'string',
+ 'example' => 'https://xxxxxxxx.com/data/data.png',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务编码',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"TaskStatus\\": \\"SUCCESS\\",\\n \\"Url\\": \\"https://xxxxxxxx.com/data/data.png\\",\\n \\"ServiceCode\\": \\"baselineCheck\\"\\n}","type":"json"}]',
+ 'title' => '中止在线检测任务',
+ ],
+ 'DescribeOnlineTestResult' => [
+ 'summary' => '查询在线检测的检测结果',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '259358',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '资源类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '服务编码',
+ 'description' => '服务编码',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'videoDetection',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '检测taskId',
+ 'description' => '检测taskId',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'TaskId' => [
+ 'title' => '检测任务id',
+ 'description' => '检测任务id',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'TaskStatus' => [
+ 'title' => '检测状态',
+ 'description' => '检测状态',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Url' => [
+ 'description' => '检测地址',
+ 'type' => 'string',
+ 'example' => 'https://xxxxxxxxx.com/data/data.png',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务编码',
+ 'type' => 'string',
+ 'example' => 'videoDetection',
+ ],
+ 'FrameData' => [
+ 'description' => '视频帧数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => [
+ 'description' => '检测地址',
+ 'type' => 'string',
+ 'example' => 'https://xxxxxxxxx.com/data/data.mp4',
+ ],
+ 'TimeStamp' => [
+ 'description' => '时间戳。',
+ 'type' => 'string',
+ 'example' => '1725761005419',
+ ],
+ ],
+ ],
+ 'SummaryList' => [
+ 'description' => '检测结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测结果',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModerationTime' => [
+ 'description' => '检测时间',
+ 'type' => 'string',
+ 'example' => '1725761005419',
+ ],
+ 'RiskLevel' => [
+ 'description' => '风险等级',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'AudioData' => [
+ 'description' => '音频数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TimeStamp' => [
+ 'description' => '时间戳。',
+ 'type' => 'string',
+ 'example' => '1724378510396',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"TaskStatus\\": \\"SUCCESS\\",\\n \\"Url\\": \\"https://xxxxxxxxx.com/data/data.png\\",\\n \\"ServiceCode\\": \\"videoDetection\\",\\n \\"FrameData\\": {\\n \\"Url\\": \\"https://xxxxxxxxx.com/data/data.mp4\\",\\n \\"TimeStamp\\": \\"1725761005419\\"\\n },\\n \\"SummaryList\\": [\\n {\\n \\"ResourceType\\": \\"video\\",\\n \\"SliceCount\\": 10,\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevelSummary\\": {\\n \\"key\\": 0\\n }\\n }\\n ],\\n \\"ModerationTime\\": \\"1725761005419\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"AudioData\\": {\\n \\"TimeStamp\\": \\"1724378510396\\"\\n }\\n}","type":"json"}]',
+ 'title' => '查询在线检测的检测结果',
+ ],
+ 'GetUploadLink' => [
+ 'summary' => '获取上传链接',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '259304',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UploadUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '上传链接地址',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '包含上传链接响应结果的PortalResponse对象',
+ 'description' => '包含上传链接响应结果的PortalResponse对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"RequestId\\": \\"E37E2B77-A664-5278-8219-23BBC0EB2A35\\"\\n}","type":"json"}]',
+ 'title' => '查询上传链接',
+ ],
+ 'LlmStreamChat' => [
+ 'summary' => '使用SSE接口流式调用大模型',
+ 'path' => '/portal/llm/streamChat',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'sse',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXYAQ5C',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Messages',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '对话信息',
+ 'type' => 'any',
+ 'required' => false,
+ 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]',
+ ],
+ ],
+ [
+ 'name' => 'Temperature',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '大模型温度值',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ ],
+ [
+ 'name' => 'TopP',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '控制大模型输出随机性的top p参数。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '对话类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'Channel',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => 'channel',
+ 'description' => 'channel',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'guardCustomTest',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Usage' => [
+ 'description' => 'Token使用情况',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Choices' => [
+ 'description' => '模型生成结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '模型生成结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'Delta' => [
+ 'description' => '增量内容对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'description' => '角色标识',
+ 'type' => 'string',
+ 'example' => 'assistant',
+ ],
+ 'Content' => [
+ 'description' => '实时生成的文本内容',
+ 'type' => 'string',
+ 'example' => '我是Deepseek-V3,有什么可以帮你',
+ ],
+ ],
+ ],
+ 'Logprobs' => [
+ 'description' => 'Token概率信息',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Index' => [
+ 'description' => '流序号',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'FinishReason' => [
+ 'description' => '如果是流式输出,正在生成时为null,生成结束时如果由于停止token导致则为stop',
+ 'type' => 'string',
+ 'example' => 'stop',
+ ],
+ ],
+ ],
+ ],
+ 'Model' => [
+ 'description' => '模型标识',
+ 'type' => 'string',
+ 'example' => 'deepseek-v3',
+ ],
+ 'SystemFingerprint' => [
+ 'description' => '系统指纹',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Object' => [
+ 'description' => '响应类型',
+ 'type' => 'string',
+ 'example' => 'chat.completion.chunk',
+ ],
+ 'Id' => [
+ 'description' => '本次会话唯一ID',
+ 'type' => 'string',
+ 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f',
+ ],
+ 'Created' => [
+ 'description' => '会话创建时间戳',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1750990728',
+ ],
+ 'RequestId' => [
+ 'description' => '唯一请求ID',
+ 'type' => 'string',
+ 'example' => '21d296d6-594e-97de-812f-925ec6e05673',
+ ],
+ 'Error' => [
+ 'description' => '流式响应错误信息内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => 'data_inspection_failed',
+ ],
+ 'Message' => [
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'Input data may contain inappropriate content.',
+ ],
+ 'Param' => [
+ 'description' => '引发错误的参数',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Type' => [
+ 'description' => '错误类型',
+ 'type' => 'string',
+ 'example' => 'data_inspection_failed',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Usage\\": \\"null\\",\\n \\"Choices\\": [\\n {\\n \\"Delta\\": {\\n \\"Role\\": \\"assistant\\",\\n \\"Content\\": \\"我是Deepseek-V3,有什么可以帮你\\"\\n },\\n \\"Logprobs\\": \\"null\\",\\n \\"Index\\": 0,\\n \\"FinishReason\\": \\"stop\\"\\n }\\n ],\\n \\"Model\\": \\"deepseek-v3\\",\\n \\"SystemFingerprint\\": \\"null\\",\\n \\"Object\\": \\"chat.completion.chunk\\",\\n \\"Id\\": \\"chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f\\",\\n \\"Created\\": 1750990728,\\n \\"RequestId\\": \\"21d296d6-594e-97de-812f-925ec6e05673\\",\\n \\"Error\\": {\\n \\"Code\\": \\"data_inspection_failed\\",\\n \\"Message\\": \\"Input data may contain inappropriate content.\\",\\n \\"Param\\": \\"null\\",\\n \\"Type\\": \\"data_inspection_failed\\"\\n }\\n}","type":"json"}]',
+ 'title' => '大模型流式对话转发接口',
+ ],
+ 'GetOssCheckTaskInfo' => [
+ 'summary' => '查询oss扫描任务详情',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '父任务ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_AAA**',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<OssCheckTaskVO>}',
+ 'description' => '{@link PortalResponse<OssCheckTaskVO>}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TaskId' => [
+ 'description' => '任务ID。',
+ 'type' => 'string',
+ 'example' => 'xxxx-xxx'."\n",
+ ],
+ 'TaskName' => [
+ 'description' => '任务名称。',
+ 'type' => 'string',
+ 'example' => '文档存量任务 20240914100517757',
+ ],
+ 'Buckets' => [
+ 'description' => '存储空间。',
+ 'type' => 'string',
+ 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]',
+ ],
+ 'Status' => [
+ 'description' => '任务状态。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'Success',
+ ],
+ 'StartTime' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'example' => '2023-08-21 16:08:38'."\n",
+ ],
+ 'EndTime' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'example' => '2025-07-09 10:30:00',
+ ],
+ 'SearchNum' => [
+ 'description' => '扫描任务数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'FinishNum' => [
+ 'description' => '已完成数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '56',
+ ],
+ 'MediaType' => [
+ 'description' => '媒资类型。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Config' => [
+ 'description' => '配置项',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScanNoFileType' => [
+ 'description' => '是否扫描无后缀图片。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScanService' => [
+ 'description' => '扫描服务code',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '扫描服务code',
+ 'type' => 'string',
+ 'example' => 'oss_baselineCheck',
+ ],
+ ],
+ 'DistinctHistoryTasks' => [
+ 'description' => '是否对历史已检测任务去重。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'StartTime' => [
+ 'description' => '开始时间。',
+ 'type' => 'string',
+ 'example' => '2023-08-21 16:08:38'."\n",
+ ],
+ 'EndTime' => [
+ 'description' => '结束时间。',
+ 'type' => 'string',
+ 'example' => '2025-07-09 10:30:00',
+ ],
+ 'ScanLimit' => [
+ 'description' => '扫描限制数量。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'PrefixFilterType' => [
+ 'description' => '前缀过滤类型。',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ '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',
+ ],
+ 'ScanServiceInfos' => [
+ 'description' => '检测服务信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '检测服务信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsCopy' => [
+ 'description' => '是否复制。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'ServiceCode' => [
+ 'description' => '服务code。',
+ 'type' => 'string',
+ 'example' => 'oss_baselineCheck',
+ ],
+ 'ServiceName' => [
+ 'description' => '服务名称。',
+ 'type' => 'string',
+ 'example' => '内容检测',
+ ],
+ 'CopyFrom' => [
+ 'description' => '主服务。',
+ 'type' => 'string',
+ 'example' => 'oss_baselineCheck',
+ ],
+ ],
+ ],
+ ],
+ 'CallbackId' => [
+ 'description' => '回调通知ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '188',
+ ],
+ 'Freeze' => [
+ 'description' => '是否冻结',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeType' => [
+ 'description' => '冻结类型。',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeHighRisk1' => [
+ 'description' => '冻结高风险图片',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeMediumRisk1' => [
+ 'description' => '冻结中风险图片',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeHighRisk2' => [
+ 'description' => '冻结高风险语音、文本',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeMediumRisk2' => [
+ 'description' => '冻结中风险语音、文本',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'FreezeRestorePath' => [
+ 'description' => '转存路径',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Referer' => [
+ 'description' => 'Referer。',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyun.com/',
+ ],
+ 'UserFreezeConfig' => [
+ 'description' => '用户冻结配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'FreezeType' => [
+ 'description' => '冻结类型',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeRestorePath' => [
+ 'description' => '转存目录',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'BucketPrefixFilterConfig' => [
+ 'description' => '每个桶对应的过滤配置。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PrefixFilterType' => [
+ 'type' => 'string',
+ 'description' => '前缀过滤类型。',
+ 'example' => 'all',
+ ],
+ 'PrefixFilters' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ 'description' => '前缀',
+ 'example' => 'testprefix1',
+ ],
+ 'description' => '前缀列表',
+ ],
+ ],
+ 'description' => '过滤配置',
+ ],
+ ],
+ ],
+ ],
+ 'ObjectNum' => [
+ 'description' => 'bucket总文件数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'IsInc' => [
+ 'description' => '是否定时扫描任务。',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TaskType' => [
+ 'description' => '任务类型。',
+ 'type' => 'string',
+ 'example' => 'increment',
+ ],
+ 'LastExecuteDate' => [
+ 'description' => '定时任务下次执行时间。',
+ 'type' => 'string',
+ 'example' => '2025-07-09 10:30:00'."\n",
+ ],
+ 'NextExecuteDate' => [
+ 'description' => '定时任务上次执行时间。',
+ 'type' => 'string',
+ 'example' => '2025-07-08 10:30:00'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TaskId\\": \\"xxxx-xxx\\\\n\\",\\n \\"TaskName\\": \\"文档存量任务 20240914100517757\\",\\n \\"Buckets\\": \\"[{\\\\\\\\\\\\\\"Bucket\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aileshijie\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Region\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cn-hangzhou\\\\\\\\\\\\\\"}]\\",\\n \\"Status\\": 0,\\n \\"StartTime\\": \\"2023-08-21 16:08:38\\\\n\\",\\n \\"EndTime\\": \\"2025-07-09 10:30:00\\",\\n \\"SearchNum\\": 100,\\n \\"FinishNum\\": 56,\\n \\"MediaType\\": 1,\\n \\"Config\\": {\\n \\"ScanNoFileType\\": true,\\n \\"ScanService\\": [\\n \\"oss_baselineCheck\\"\\n ],\\n \\"DistinctHistoryTasks\\": true,\\n \\"StartTime\\": \\"2023-08-21 16:08:38\\\\n\\",\\n \\"EndTime\\": \\"2025-07-09 10:30:00\\",\\n \\"ScanLimit\\": 100,\\n \\"PrefixFilterType\\": \\"all\\",\\n \\"PrefixFilters\\": [\\n \\"ugc/img\\"\\n ],\\n \\"Priority\\": 1,\\n \\"TaskCycle\\": 1,\\n \\"ExecuteDate\\": 1,\\n \\"ExecuteTime\\": \\"2025-07-09 10:30:00\\\\n\\",\\n \\"ScanResourceType\\": 0,\\n \\"ScanServiceInfos\\": [\\n {\\n \\"IsCopy\\": false,\\n \\"ServiceCode\\": \\"oss_baselineCheck\\",\\n \\"ServiceName\\": \\"内容检测\\",\\n \\"CopyFrom\\": \\"oss_baselineCheck\\"\\n }\\n ],\\n \\"CallbackId\\": 188,\\n \\"Freeze\\": true,\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeHighRisk1\\": true,\\n \\"FreezeMediumRisk1\\": true,\\n \\"FreezeHighRisk2\\": true,\\n \\"FreezeMediumRisk2\\": false,\\n \\"FreezeRestorePath\\": \\"test\\",\\n \\"Referer\\": \\"https://www.aliyun.com/\\",\\n \\"UserFreezeConfig\\": {\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeRestorePath\\": \\"test\\"\\n },\\n \\"BucketPrefixFilterConfig\\": {\\n \\"key\\": {\\n \\"PrefixFilterType\\": \\"all\\",\\n \\"PrefixFilters\\": [\\n \\"testprefix1\\"\\n ]\\n }\\n }\\n },\\n \\"ObjectNum\\": 100,\\n \\"IsInc\\": false,\\n \\"TaskType\\": \\"increment\\",\\n \\"LastExecuteDate\\": \\"2025-07-09 10:30:00\\\\n\\",\\n \\"NextExecuteDate\\": \\"2025-07-08 10:30:00\\\\n\\"\\n}","type":"json"}]',
+ 'title' => '获取oss检测任务信息',
+ ],
+ 'UpdateOssCheckResultsBatchFeedback' => [
+ 'summary' => '批量更新OSS检测结果反馈',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangJ85HXA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '父任务id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_XHDUS',
+ ],
+ ],
+ [
+ 'name' => 'Items',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '结果项。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'Feedback',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '反馈。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'misreport',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '成功个数。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '重复数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '不合法数量。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Tips' => [
+ 'description' => '提示信息。',
+ 'type' => 'string',
+ 'example' => 'xxxxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"Tips\\": \\"xxxxx\\"\\n}","type":"json"}]',
+ 'title' => '批量更新检测结果反馈',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com',
+ ],
+ ],
+];