From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/zh_cn/green/2022-09-26/api-docs.php | 9950 ++++++------------------------ 1 file changed, 1942 insertions(+), 8008 deletions(-) (limited to 'data/zh_cn/green/2022-09-26/api-docs.php') diff --git a/data/zh_cn/green/2022-09-26/api-docs.php b/data/zh_cn/green/2022-09-26/api-docs.php index 4b63ea4..3384f09 100644 --- a/data/zh_cn/green/2022-09-26/api-docs.php +++ b/data/zh_cn/green/2022-09-26/api-docs.php @@ -1,10 +1,6 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Green', - 'version' => '2022-09-26', - ], + 'info' => ['style' => 'RPC', 'product' => 'Green', 'version' => '2022-09-26'], 'directories' => [ 'AddKeywordLib', 'DeleteFeatureConfig', @@ -29,73 +25,10 @@ 'title' => '其它', 'type' => 'directory', 'children' => [ - 'GetKeywordImportResult', - 'UpdateKeywordLib', - 'GetKeywordLib', - 'GetUploadInfo', - 'ListServiceConfigs', - 'GetTextScanResult', - 'AddKeywords', - 'ListKeywords', - 'DeleteKeyword', - 'ExportKeyword', - 'ExportTextScanResult', - 'DeleteKeywordLib', - 'UpdateImageLibFreeInspection', - 'AddImages2Lib', - 'ListImagesFromLib', - 'AddImageLib', - 'ExportScanResult', - 'ListImageLib', - 'DeleteImagesFromLib', - 'GetImageSceneLabelConf', - 'UpdateImageLib', - 'GetImageSceneLabelListConf', - 'GetScanNum', - 'CancelStockOssCheckTask', - 'CreatePreCheck', - 'GetBucketsList', - 'GetOssCheckStatus', - 'ExportResult', - 'GetStockOssCheckTasksList', - 'OssCheckResultList', - 'CreatStockOssCheckTask', - 'AddKeywordsToLib', - 'GetServiceLabelConfig', - 'ModifyServiceInfo', - 'CopyServiceConfig', - 'GetExecuteTime', - 'GetJobNameList', - 'GetBackupConfig', - 'GetBackupBucketsList', - 'GetBackupStatus', - 'UpdateBackupConfig', - 'ListCallback', - 'QueryCallbackByPage', - 'CreateCallback', - 'DeleteCallback', - 'ModifyCallback', - 'AddAnswerSample', - 'CreateAnswerLib', - 'ExportAnswerSample', - 'QueryAnswerSampleByPage', - 'DeleteAnswerSample', - 'ListAnswerLib', - 'ModifyAnswerLib', - 'DeleteAnswerLib', - 'GetAnswerImportProgress', - 'UpdateOssCheckResultsFeedBack', - 'UpdateOssCheckResultsFreeze', - 'GetOssCheckFreezeResult', - 'UpdateOssCheckResultsUnfreeze', - 'DeleteOnlineTest', - 'CreateOnlineTest', - 'StopOnlineTest', - 'DescribeOnlineTestResult', - 'GetUploadLink', - 'LlmStreamChat', - 'GetOssCheckTaskInfo', - 'UpdateOssCheckResultsBatchFeedback', + 'GetKeywordImportResult', 'UpdateKeywordLib', 'GetKeywordLib', 'GetUploadInfo', 'ListServiceConfigs', 'GetTextScanResult', 'AddKeywords', 'ListKeywords', 'DeleteKeyword', 'ExportKeyword', 'ExportTextScanResult', 'DeleteKeywordLib', 'UpdateImageLibFreeInspection', 'AddImages2Lib', 'ListImagesFromLib', 'AddImageLib', 'ExportScanResult', 'ListImageLib', 'DeleteImagesFromLib', 'GetImageSceneLabelConf', + 'UpdateImageLib', 'GetImageSceneLabelListConf', 'GetScanNum', 'CancelStockOssCheckTask', 'CreatePreCheck', 'GetBucketsList', 'GetOssCheckStatus', 'ExportResult', 'GetStockOssCheckTasksList', 'OssCheckResultList', 'CreatStockOssCheckTask', 'AddKeywordsToLib', 'GetServiceLabelConfig', 'ModifyServiceInfo', 'CopyServiceConfig', 'GetExecuteTime', 'GetJobNameList', 'GetBackupConfig', 'GetBackupBucketsList', 'GetBackupStatus', + 'UpdateBackupConfig', 'ListCallback', 'QueryCallbackByPage', 'CreateCallback', 'DeleteCallback', 'ModifyCallback', 'AddAnswerSample', 'CreateAnswerLib', 'ExportAnswerSample', 'QueryAnswerSampleByPage', 'DeleteAnswerSample', 'ListAnswerLib', 'ModifyAnswerLib', 'DeleteAnswerLib', 'GetAnswerImportProgress', 'UpdateOssCheckResultsFeedBack', 'UpdateOssCheckResultsFreeze', 'GetOssCheckFreezeResult', 'UpdateOssCheckResultsUnfreeze', 'DeleteOnlineTest', + 'CreateOnlineTest', 'StopOnlineTest', 'DescribeOnlineTestResult', 'GetUploadLink', 'LlmStreamChat', 'GetOssCheckTaskInfo', 'UpdateOssCheckResultsBatchFeedback', 'GetPromptTestResult', 'CreateImageLib', 'GetTuneProposalById', ], ], ], @@ -105,69 +38,54 @@ 'apis' => [ 'AddKeywordLib' => [ 'summary' => '创建关键词库', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157041', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'LibName', 'in' => 'formData', - 'schema' => [ - 'description' => '词库名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试词库', - ], + 'schema' => ['description' => '词库名称。', 'type' => 'string', 'required' => false, 'example' => '测试词库'], ], [ 'name' => 'Keywords', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词,多个关键词以\\n分割。', - 'type' => 'string', - 'required' => false, - 'example' => '关键词1\\n关键词2', - ], + 'schema' => ['description' => '关键词,多个关键词以\\n分割。', 'type' => 'string', 'required' => false, 'example' => '关键词1\\n关键词2'], ], [ 'name' => 'KeywordsObject', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词文件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt', - ], + 'schema' => ['description' => '关键词文件名称。', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], + ], + [ + 'name' => 'Properties', + 'in' => 'query', + 'schema' => ['description' => '属性', 'type' => 'string', 'required' => false, 'example' => '{"attribute":"xx"}'], ], ], 'responses' => [ @@ -181,127 +99,58 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'LibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'customxx_xxxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'xxxxx-xxxxx', - ], + 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxxx-xxxxx'], 'KeywordsResult' => [ 'description' => '结果。', 'type' => 'object', 'properties' => [ - 'LibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'customxx_xxxx', - ], - 'I18nKey' => [ - 'description' => '国际化key。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Tips' => [ - 'description' => '提示信息。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '529', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '278', - ], - 'RepeatCount' => [ - 'description' => '重复次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '118', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '133', - ], + 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'], + 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'], + 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxx'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '529'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '278'], + 'RepeatCount' => ['description' => '重复次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '118'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '133'], 'RepeatKeywords' => [ 'description' => '重复的关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '重复的关键词。', - 'type' => 'string', - 'example' => '重复关键词', - ], + 'items' => ['description' => '重复的关键词。', 'type' => 'string', 'example' => '重复关键词'], ], 'InvalidKeywords' => [ 'description' => '不合法关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '不合法关键词。', - 'type' => 'string', - 'example' => '非法关键词', - ], + 'items' => ['description' => '不合法关键词。', 'type' => 'string', 'example' => '非法关键词'], ], 'IllegalLengthKeywords' => [ 'description' => '长度过长或过短关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '长度过长或过短关键词。', - 'type' => 'string', - 'example' => '过短关键词', - ], + 'items' => ['description' => '长度过长或过短关键词。', 'type' => 'string', 'example' => '过短关键词'], ], ], ], ], ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'LibCountOverLimit', 'errorMessage' => 'The number of libraries has exceeded the limit.'], + ], + ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxx\\",\\n \\"TotalCount\\": 529,\\n \\"SuccessCount\\": 278,\\n \\"RepeatCount\\": 118,\\n \\"InvalidCount\\": 133,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"非法关键词\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\"\\n ]\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]', 'title' => '添加关键词库', ], 'DeleteFeatureConfig' => [ 'summary' => '删除特性配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -314,61 +163,34 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '266680', - 'abilityTreeNodes' => [ - 'FEATURElvwangXKZ6SI', - ], + 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'llm_query_moderation', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'text', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'], ], [ 'name' => 'Type', 'in' => 'formData', - 'schema' => [ - 'description' => '类型', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_llm_template', - ], + 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'], ], [ 'name' => 'Field', 'in' => 'formData', - 'schema' => [ - 'description' => '标签值,客户自定义', - 'type' => 'string', - 'required' => false, - 'example' => '__config__', - ], + 'schema' => ['description' => '标签值,客户自定义', 'type' => 'string', 'required' => false, 'example' => '__config__'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '区域', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '区域', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -378,39 +200,12 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回结果。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '本次请求的响应消息。', - 'type' => 'string', - 'example' => 'success', - ], - 'HttpStatusCode' => [ - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'], + 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], @@ -420,14 +215,8 @@ ], 'ExportCipStats' => [ 'summary' => '导出调用量', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -439,50 +228,28 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157301', - 'abilityTreeNodes' => [ - 'FEATURElvwangMSWOCX', - ], + 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-04-15 09:00:00', - ], + 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-04-15 09:00:00'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-04-16 09:00:00', - ], + 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-04-16 09:00:00'], ], [ 'name' => 'Label', 'in' => 'formData', - 'schema' => [ - 'description' => '要导出的任务标签。', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '要导出的任务标签。', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'ByMonth', 'in' => 'formData', - 'schema' => [ - 'description' => '是否支持月份索引,取值:-**true**:支持。-**false**:不支持。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否支持月份索引,取值:-**true**:支持。-**false**:不支持。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ResourceType', @@ -491,13 +258,7 @@ 'description' => '资源类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'voice' => '音频', - 'image' => '图片', - 'file' => '文档', - 'text' => '文本', - 'video' => '视频', - ], + 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'], 'example' => 'text', 'default' => 'text', ], @@ -505,52 +266,27 @@ [ 'name' => 'SubUid', 'in' => 'formData', - 'schema' => [ - 'description' => '子账户UID。', - 'type' => 'string', - 'required' => false, - 'example' => '268220485413130979', - ], + 'schema' => ['description' => '子账户UID。', 'type' => 'string', 'required' => false, 'example' => '268220485413130979'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'Type', 'in' => 'formData', - 'schema' => [ - 'description' => '类型,取值:-**cip**:内容安全调用量统计。-**risk_level**:内容安全风险等级统计。-**content_moderation**:AI安全护栏内容合规风险等级及标签统计。-**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。-**prompt_attack**:AI安全护栏提示词风险等级及标签统计。', - 'type' => 'string', - 'required' => false, - 'example' => 'risk_level', - ], + 'schema' => ['description' => '类型,取值:-**cip**:内容安全调用量统计。-**risk_level**:内容安全风险等级统计。-**content_moderation**:AI安全护栏内容合规风险等级及标签统计。-**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。-**prompt_attack**:AI安全护栏提示词风险等级及标签统计。', 'type' => 'string', 'required' => false, 'example' => 'risk_level'], ], [ 'name' => 'ExportType', 'in' => 'formData', - 'schema' => [ - 'description' => '导出类型。取值:-**level**:风险等级导出。-**label**:标签导出。', - 'type' => 'string', - 'required' => false, - 'example' => 'label', - ], + 'schema' => ['description' => '导出类型。取值:-**level**:风险等级导出。-**label**:标签导出。', 'type' => 'string', 'required' => false, 'example' => 'label'], ], [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], ], 'responses' => [ @@ -560,43 +296,12 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '导出结果。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -606,14 +311,8 @@ ], 'ExportOssCheckStat' => [ 'summary' => 'oss用量统计导出', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -626,60 +325,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '218756', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-10 10:00:00', - ], + 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-11 10:00:00', - ], + 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'], ], [ 'name' => 'ByMonth', 'in' => 'formData', - 'schema' => [ - 'description' => '是否支持月份索引,取值:-true:支持。-false:不支持。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否支持月份索引,取值:-true:支持。-false:不支持。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ParentTaskId', 'in' => 'formData', - 'schema' => [ - 'description' => 'oss检测任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'P_UX0K5X', - ], + 'schema' => ['description' => 'oss检测任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_UX0K5X'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -689,17 +361,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '导出结果。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -709,14 +372,8 @@ ], 'GetCipStats' => [ 'summary' => '查询调用量', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -729,50 +386,28 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157300', - 'abilityTreeNodes' => [ - 'FEATURElvwangMSWOCX', - ], + 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-10 10:00:00', - ], + 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-11 10:00:00', - ], + 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'], ], [ 'name' => 'Label', 'in' => 'formData', - 'schema' => [ - 'description' => '标签。', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'ByMonth', 'in' => 'formData', - 'schema' => [ - 'description' => '是否支持月份索引,取值:true:支持。false:不支持。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否支持月份索引,取值:true:支持。false:不支持。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ResourceType', @@ -781,14 +416,7 @@ 'description' => '资源类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'voice' => '音频', - 'image' => '图片', - 'file' => '文档', - 'text' => '文本', - 'video' => '视频', - 'audio' => '音频', - ], + 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频', 'audio' => '音频'], 'example' => 'text', 'default' => 'text', ], @@ -796,50 +424,27 @@ [ 'name' => 'SubUid', 'in' => 'formData', - 'schema' => [ - 'description' => '子账户UID。', - 'type' => 'string', - 'required' => false, - 'example' => '253552244990701265', - ], + 'schema' => ['description' => '子账户UID。', 'type' => 'string', 'required' => false, 'example' => '253552244990701265'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '类型,取值:**cip**:内容安全调用量统计。**risk_level**:内容安全风险等级统计。**content_moderation**:AI安全护栏内容合规风险等级及标签统计。**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。**prompt_attack**:AI安全护栏提示词风险等级及标签统计。', - 'type' => 'string', - 'required' => false, - 'example' => 'risk_level', - ], + 'schema' => ['description' => '类型,取值:**cip**:内容安全调用量统计。**risk_level**:内容安全风险等级统计。**content_moderation**:AI安全护栏内容合规风险等级及标签统计。**sensitive_data**:AI安全护栏敏感数据风险等级及标签统计。**prompt_attack**:AI安全护栏提示词风险等级及标签统计。', 'type' => 'string', 'required' => false, 'example' => 'risk_level'], ], [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{}'], ], ], 'responses' => [ @@ -856,11 +461,7 @@ 'X' => [ 'description' => '坐标点的X值。', 'type' => 'array', - 'items' => [ - 'description' => '坐标点的X值。', - 'type' => 'string', - 'example' => '["06-10", "06-11", "06-12", "06-13"]', - ], + 'items' => ['description' => '坐标点的X值。', 'type' => 'string', 'example' => '["06-10", "06-11", "06-12", "06-13"]'], ], 'Y' => [ 'description' => '坐标点的Y值。', @@ -869,20 +470,11 @@ 'description' => '坐标点的Y值。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '名称。', - 'type' => 'string', - 'example' => 'nickNameDetection', - ], + 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'nickNameDetection'], 'Data' => [ 'description' => '返回数据。', 'type' => 'array', - 'items' => [ - 'description' => '用量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]', - ], + 'items' => ['description' => '用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'], ], ], ], @@ -890,11 +482,7 @@ 'Uids' => [ 'description' => 'UID列表。', 'type' => 'array', - 'items' => [ - 'description' => 'UID列表。', - 'type' => 'string', - 'example' => '["15220*****63446"]', - ], + 'items' => ['description' => 'UID列表。', 'type' => 'string', 'example' => '["15220*****63446"]'], ], 'LabelStatChart' => [ 'description' => '标签用量图。', @@ -903,25 +491,12 @@ 'description' => '标签用量图。', 'type' => 'object', 'properties' => [ - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'nickNameDetection', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '117', - ], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickNameDetection'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '117'], 'X' => [ 'description' => '坐标点的X值。', 'type' => 'array', - 'items' => [ - 'description' => '坐标点的X值。', - 'type' => 'string', - 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n", - ], + 'items' => ['description' => '坐标点的X值。', 'type' => 'string', 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n"], ], 'Y' => [ 'description' => '坐标点的Y值。', @@ -930,20 +505,11 @@ 'description' => '坐标点的Y值。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '名称。', - 'type' => 'string', - 'example' => 'nickNameDetection', - ], + 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'nickNameDetection'], 'Data' => [ 'description' => '返回数据。', 'type' => 'array', - 'items' => [ - 'description' => '用量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]', - ], + 'items' => ['description' => '用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'], ], ], ], @@ -955,21 +521,9 @@ 'description' => '树状图。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'nickNameDetection', - ], - 'Value' => [ - 'description' => '分值。', - 'type' => 'string', - 'example' => '99.91', - ], - 'Description' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => '疑似政治人物', - ], + 'Name' => ['description' => '标签。', 'type' => 'string', 'example' => 'nickNameDetection'], + 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => '99.91'], + 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似政治人物'], ], ], ], @@ -980,21 +534,9 @@ 'description' => '音频树状图。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'nickNameDetection', - ], - 'Value' => [ - 'description' => '分值。', - 'type' => 'string', - 'example' => '99.91', - ], - 'Description' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => '疑似特定歌曲'."\n", - ], + 'Name' => ['description' => '标签。', 'type' => 'string', 'example' => 'nickNameDetection'], + 'Value' => ['description' => '分值。', 'type' => 'string', 'example' => '99.91'], + 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '疑似特定歌曲'."\n"], ], ], ], @@ -1004,21 +546,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '标签', - 'type' => 'string', - 'example' => 'nonLabel', - ], - 'Value' => [ - 'description' => '标签占比', - 'type' => 'string', - 'example' => '0.0274', - ], - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => '未检测出风险', - ], + 'Name' => ['description' => '标签', 'type' => 'string', 'example' => 'nonLabel'], + 'Value' => ['description' => '标签占比', 'type' => 'string', 'example' => '0.0274'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '未检测出风险'], ], ], ], @@ -1028,21 +558,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '标签', - 'type' => 'string', - 'example' => 'nonLabel', - ], - 'Value' => [ - 'description' => '占比', - 'type' => 'string', - 'example' => '0.0274', - ], - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => '未检测出风险', - ], + 'Name' => ['description' => '标签', 'type' => 'string', 'example' => 'nonLabel'], + 'Value' => ['description' => '占比', 'type' => 'string', 'example' => '0.0274'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '未检测出风险'], ], ], ], @@ -1056,20 +574,11 @@ 'description' => '命中数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'nickNameDetection', - ], + 'Name' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickNameDetection'], 'Data' => [ 'description' => '数量。', 'type' => 'array', - 'items' => [ - 'description' => '数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]', - ], + 'items' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'], ], ], ], @@ -1077,45 +586,15 @@ 'TotalStat' => [ 'description' => '总数量分类统计。', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'description' => '总数量分类统计。', - ], + 'additionalProperties' => ['type' => 'object', 'description' => '总数量分类统计。'], ], ], ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -1125,13 +604,8 @@ ], 'GetFeatureConfig' => [ 'summary' => '获取特性配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1144,61 +618,34 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '266679', - 'abilityTreeNodes' => [ - 'FEATURElvwangXKZ6SI', - ], + 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'text', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'], ], [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'llm_query_moderation', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'], ], [ 'name' => 'Type', 'in' => 'formData', - 'schema' => [ - 'description' => '类型', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_llm_template', - ], + 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'Query', 'in' => 'formData', - 'schema' => [ - 'description' => '查询条件', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}', - ], + 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}'], ], ], 'responses' => [ @@ -1208,69 +655,26 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '1643953****74290', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'llm_query_moderation', - ], - 'ResourceType' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'text', - ], - 'Type' => [ - 'description' => '类型', - 'type' => 'string', - 'example' => 'custom_llm_template', - ], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1643953****74290'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'llm_query_moderation'], + 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'text'], + 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'custom_llm_template'], 'FeatureConf' => [ 'description' => '特性配置列表', 'type' => 'array', - 'items' => [ - 'description' => '特性配置对象', - 'type' => 'object', - 'example' => '{}', - ], + 'items' => ['description' => '特性配置对象', 'type' => 'object', 'example' => '{}'], ], ], ], - 'Msg' => [ - 'description' => '本次请求的响应消息。', - 'type' => 'string', - 'example' => 'success'."\n", - ], - 'Success' => [ - 'description' => '成功标志', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'HttpStatusCode' => [ - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'."\n"], + 'Success' => ['description' => '成功标志', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], @@ -1280,13 +684,8 @@ ], 'GetOssCheckResultDetail' => [ 'summary' => '获取OSS检查结果的详细信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1299,81 +698,43 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '233378', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'Bucket', 'in' => 'query', - 'schema' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'required' => false, - 'example' => 'oss-tmp', - ], + 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => 'oss-tmp'], ], [ 'name' => 'Object', 'in' => 'query', - 'schema' => [ - 'description' => 'object名称。', - 'type' => 'string', - 'required' => false, - 'example' => '1748396909030.jpg', - ], + 'schema' => ['description' => 'object名称。', 'type' => 'string', 'required' => false, 'example' => '1748396909030.jpg'], ], [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '服务编码', - 'type' => 'string', - 'required' => false, - 'example' => 'audio_media_detection_01', - ], + 'schema' => ['description' => '服务编码', 'type' => 'string', 'required' => false, 'example' => 'audio_media_detection_01'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'QueryRequestId', 'in' => 'query', - 'schema' => [ - 'description' => '查询的请求ID', - 'type' => 'string', - 'required' => false, - 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952', - ], + 'schema' => ['description' => '查询的请求ID', 'type' => 'string', 'required' => false, 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952'], ], [ 'name' => 'MediaType', 'in' => 'query', - 'schema' => [ - 'description' => '媒资类型。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ParentTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '父任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'P_RZQ66T', - ], + 'schema' => ['description' => '父任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_RZQ66T'], ], ], 'responses' => [ @@ -1383,134 +744,41 @@ 'description' => 'PortalResponse>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952'], 'Data' => [ 'description' => '详情数据', 'type' => 'object', 'properties' => [ - 'Bucket' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'example' => 'oss-tmp', - ], - 'JobName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'dhT20X2310', - ], - 'Object' => [ - 'description' => 'object名称', - 'type' => 'string', - 'example' => '1748396909030.jpg', - ], - 'Md5' => [ - 'description' => '文件的MD5。', - 'type' => 'string', - 'example' => 'f6e2e1946f06310c8a0cc443a05819f3', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'audio_media_detection_01', - ], - 'Code' => [ - 'description' => '错误码,和http status一致', - 'type' => 'string', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'success', - ], + 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'oss-tmp'], + 'JobName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'dhT20X2310'], + 'Object' => ['description' => 'object名称', 'type' => 'string', 'example' => '1748396909030.jpg'], + 'Md5' => ['description' => '文件的MD5。', 'type' => 'string', 'example' => 'f6e2e1946f06310c8a0cc443a05819f3'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'], + 'Code' => ['description' => '错误码,和http status一致', 'type' => 'string', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'success'], 'Labels' => [ 'description' => '图片标签。', 'type' => 'array', - 'items' => [ - 'description' => '图片标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], + 'items' => ['description' => '图片标签。', 'type' => 'string', 'example' => 'nonLabel'], ], 'Labels2' => [ 'description' => '文本标签。', 'type' => 'array', - 'items' => [ - 'description' => '文本标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], - ], - 'ScanResult' => [ - 'description' => '结果详情。', - 'type' => 'string', - 'example' => '{}', - ], - 'ImageUrl' => [ - 'description' => '图片url地址。', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.jpg', - ], - 'Url' => [ - 'description' => '任务URL', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.mp3', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'P_Z7OLMN', - ], - 'ServiceName' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'example' => '服务名称', - ], - 'IsCopy' => [ - 'description' => '是否复制。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CopyFrom' => [ - 'description' => '主服务。', - 'type' => 'string', - 'example' => 'audio_media_detection', - ], - 'ContentType' => [ - 'description' => '音视频检测类型。', - 'type' => 'string', - 'example' => 'audio', - ], - 'RiskLevel0' => [ - 'description' => '整体风险等级。', - 'type' => 'string', - 'example' => 'low', - ], - 'RiskLevel' => [ - 'description' => '图片风险等级', - 'type' => 'string', - 'example' => 'high', - ], - 'RiskLevel2' => [ - 'description' => '文本风险等级', - 'type' => 'string', - 'example' => 'medium', - ], - 'FreezeType' => [ - 'description' => '冻结类型。', - 'type' => 'string', - 'example' => 'COPY', - ], - 'FreezeStatus' => [ - 'description' => '冻结状态。', - 'type' => 'string', - 'example' => 'UNFREEZED', - ], + 'items' => ['description' => '文本标签。', 'type' => 'string', 'example' => 'nonLabel'], + ], + 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'], + 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'], + 'Url' => ['description' => '任务URL', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'P_Z7OLMN'], + 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'], + 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'], + 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'], + 'ContentType' => ['description' => '音视频检测类型。', 'type' => 'string', 'example' => 'audio'], + 'RiskLevel0' => ['description' => '整体风险等级。', 'type' => 'string', 'example' => 'low'], + 'RiskLevel' => ['description' => '图片风险等级', 'type' => 'string', 'example' => 'high'], + 'RiskLevel2' => ['description' => '文本风险等级', 'type' => 'string', 'example' => 'medium'], + 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'COPY'], + 'FreezeStatus' => ['description' => '冻结状态。', 'type' => 'string', 'example' => 'UNFREEZED'], 'ScanServiceInfos' => [ 'description' => '检测服务信息', 'type' => 'array', @@ -1518,26 +786,10 @@ 'description' => '检测服务信息', 'type' => 'object', 'properties' => [ - 'IsCopy' => [ - 'description' => '是否复制。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'audio_media_detection_01', - ], - 'ServiceName' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'example' => '服务名称', - ], - 'CopyFrom' => [ - 'description' => '主服务。', - 'type' => 'string', - 'example' => 'audio_media_detection', - ], + 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'], + 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'], + 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'], ], ], ], @@ -1548,22 +800,9 @@ 'description' => '标签。', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => '涉政', - ], - 'Confidence' => [ - 'description' => '置信分值,0到100分,保留到小数点后2位。', - 'type' => 'number', - 'format' => 'float', - 'example' => '50', - ], - 'Label' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'politics', - ], + 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '涉政'], + 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '50'], + 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'], ], ], ], @@ -1574,58 +813,20 @@ 'description' => '标签。', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => '涉政', - ], - 'Confidence' => [ - 'description' => '置信分值,0到100分,保留到小数点后2位。', - 'type' => 'number', - 'format' => 'float', - 'example' => '50', - ], - 'Label' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'politics', - ], + 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '涉政'], + 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '50'], + 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'], ], ], ], - 'ManualFreezeAction' => [ - 'description' => '人工处置状态。', - 'type' => 'string', - 'example' => 'FREEZE', - ], - 'ManualOperateTime' => [ - 'description' => '处置时间。', - 'type' => 'string', - 'example' => '2025-08-09 12:00:00', - ], - 'ManualOperator' => [ - 'description' => '处置人。', - 'type' => 'string', - 'example' => 'xx', - ], + 'ManualFreezeAction' => ['description' => '人工处置状态。', 'type' => 'string', 'example' => 'FREEZE'], + 'ManualOperateTime' => ['description' => '处置时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-08-09 12:00:00'], + 'ManualOperator' => ['description' => '处置人。', 'type' => 'string', 'example' => 'xx'], ], ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => '错误码,和http status一致', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'true'], + 'Msg' => ['description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'success'], + 'Code' => ['description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], @@ -1635,14 +836,8 @@ ], 'GetOssCheckStat' => [ 'summary' => 'oss用量统计', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1655,60 +850,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '218755', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-11 09:00:19', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-24 10:01:55', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'], ], [ 'name' => 'ByMonth', 'in' => 'formData', - 'schema' => [ - 'description' => '是否按月查询。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否按月查询。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ParentTaskId', 'in' => 'formData', - 'schema' => [ - 'description' => '父任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'P_UNHBH', - ], + 'schema' => ['description' => '父任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_UNHBH'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -1718,12 +886,7 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], 'BarChart' => [ 'description' => '柱状图', 'type' => 'object', @@ -1731,11 +894,7 @@ 'X' => [ 'description' => '坐标点的X值。', 'type' => 'array', - 'items' => [ - 'description' => '坐标点的X值。', - 'type' => 'string', - 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]', - ], + 'items' => ['description' => '坐标点的X值。', 'type' => 'string', 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]'], ], 'Y' => [ 'description' => '坐标点的Y值。', @@ -1744,20 +903,11 @@ 'description' => '坐标点的Y值。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '名称。', - 'type' => 'string', - 'example' => 'document_detection', - ], + 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'document_detection'], 'Data' => [ 'description' => '数据。', 'type' => 'array', - 'items' => [ - 'description' => '数据。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '[0, 0, 0, 0, 0, 0, 34]', - ], + 'items' => ['description' => '数据。', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 0, 0, 0, 0, 34]'], ], ], ], @@ -1773,14 +923,8 @@ ], 'GetScanResult' => [ 'summary' => '查询调用结果', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1793,11 +937,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '160495', - 'abilityTreeNodes' => [ - 'FEATURElvwang6CEZ66', - 'FEATURElvwang5MWEHW', - 'FEATURElvwangLRLIH6', - ], + 'abilityTreeNodes' => ['FEATURElvwang6CEZ66', 'FEATURElvwang5MWEHW', 'FEATURElvwangLRLIH6'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -1805,22 +945,12 @@ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-11 09:00:19', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-24 10:01:55', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'], ], [ 'name' => 'Query', @@ -1830,44 +960,23 @@ 'description' => '搜索条件。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{"RequestId":"xxx"}', - 'description' => '搜索条件。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '{"RequestId":"xxx"}', 'description' => '搜索条件。'], ], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'description' => '当前页。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -1877,22 +986,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '排序字段。', - 'example' => '{"RequestTime":"desc"}', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{"RequestTime":"desc"}'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -1906,24 +1006,9 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CurrentPage' => [ - 'description' => '当前页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CurrentPage' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -1931,142 +1016,46 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-08-11 09:00:19'."\n", - ], - 'RequestTime' => [ - 'description' => '请求时间。', - 'type' => 'string', - 'example' => '2023-08-11 09:00:19'."\n", - ], - 'DataId' => [ - 'title' => 'dataId', - 'description' => 'dataId', - 'type' => 'string', - 'example' => '4f27b8cc7c4544cb90b41882a5b36326', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'baselineCheck', - ], - 'ScanResult' => [ - 'description' => '结果详情。', - 'type' => 'string', - 'example' => '{}', - ], - 'Labels' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], + 'GmtCreate' => ['description' => '创建时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-08-11 09:00:19'."\n"], + 'RequestTime' => ['description' => '请求时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-08-11 09:00:19'."\n"], + 'DataId' => ['title' => 'dataId', 'description' => 'dataId', 'type' => 'string', 'example' => '4f27b8cc7c4544cb90b41882a5b36326'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'baselineCheck'], + 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'], + 'Labels' => ['description' => '标签。', 'type' => 'string', 'example' => 'nonLabel'], 'NoLabels' => [ 'title' => '无标签', 'description' => '无标签', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], - ], - 'ImageUrl' => [ - 'title' => 'url', - 'description' => 'url', - 'type' => 'string', - 'example' => 'https://www.aliyuncs.com/xxx.png'."\n", - ], - 'Content' => [ - 'description' => '内容。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9', - ], - 'Score' => [ - 'description' => '分数。', - 'type' => 'number', - 'format' => 'float', - 'example' => '25', - ], - 'Suggestion' => [ - 'description' => '建议。', - 'type' => 'string', - 'example' => 'review', - ], - 'ExtFeedback' => [ - 'description' => '反馈信息。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Url' => [ - 'description' => '任务URL', - 'type' => 'string', - 'example' => 'https://www.aliyuncs.com/xxx.png'."\n", - ], - 'TimeStamp' => [ - 'description' => '时间戳。', - 'type' => 'string', - 'example' => '00:00:40-00:00:42', - ], - 'FrameCount' => [ - 'description' => '帧数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'ImageService' => [ - 'description' => '图片服务。', - 'type' => 'string', - 'example' => 'baselineCheck', - ], - 'VoiceService' => [ - 'description' => '音频服务。', - 'type' => 'string', - 'example' => 'live_stream_detection', - ], + 'items' => ['description' => '标签。', 'type' => 'string', 'example' => 'nonLabel'], + ], + 'ImageUrl' => ['title' => 'url', 'description' => 'url', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'."\n"], + 'Content' => ['description' => '内容。', 'type' => 'string', 'example' => 'xxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9'], + 'Score' => ['description' => '分数。', 'type' => 'number', 'format' => 'float', 'example' => '25'], + 'Suggestion' => ['description' => '建议。', 'type' => 'string', 'example' => 'review'], + 'ExtFeedback' => ['description' => '反馈信息。', 'type' => 'string', 'example' => 'xxx'], + 'Url' => ['description' => '任务URL', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'."\n"], + 'TimeStamp' => ['description' => '时间戳。', 'type' => 'string', 'example' => '00:00:40-00:00:42'], + 'FrameCount' => ['description' => '帧数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'ImageService' => ['description' => '图片服务。', 'type' => 'string', 'example' => 'baselineCheck'], + 'VoiceService' => ['description' => '音频服务。', 'type' => 'string', 'example' => 'live_stream_detection'], 'ImageLabels' => [ 'description' => '图片标签。', 'type' => 'array', - 'items' => [ - 'description' => '图片标签。', - 'type' => 'object', - 'example' => '[{nonLabel: 17}]', - ], + 'items' => ['description' => '图片标签。', 'type' => 'object', 'example' => '[{nonLabel: 17}]'], ], 'VoiceLabels' => [ 'description' => '音频标签。', 'type' => 'array', - 'items' => [ - 'description' => '音频标签。', - 'type' => 'object', - 'example' => '[{political_content: 11}]', - ], + 'items' => ['description' => '音频标签。', 'type' => 'object', 'example' => '[{political_content: 11}]'], ], 'TextLabels' => [ 'description' => '文本标签。', 'type' => 'array', - 'items' => [ - 'description' => '文本标签。', - 'type' => 'object', - 'example' => '[{nonLabel: 17}]', - ], - ], - 'VoiceScanOpened' => [ - 'description' => '是否开启音频检测。', - 'type' => 'boolean', - 'example' => 'True', + 'items' => ['description' => '文本标签。', 'type' => 'object', 'example' => '[{nonLabel: 17}]'], ], + 'VoiceScanOpened' => ['description' => '是否开启音频检测。', 'type' => 'boolean', 'example' => 'True'], 'Result' => [ 'description' => '返回集合。', 'type' => 'array', @@ -2074,279 +1063,106 @@ 'description' => '返回集合。', 'type' => 'object', 'properties' => [ - 'Confidence' => [ - 'description' => '置信分值,0到100分,保留到小数点后2位。', - 'type' => 'string', - 'example' => '50.0', - ], - 'Label' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'politics', - ], - 'Description' => [ - 'description' => '对Labal字段的说明。', - 'type' => 'string', - 'example' => '疑似色情内容', - ], + 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'string', 'example' => '50.0'], + 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'], + 'Description' => ['description' => '对Labal字段的说明。', 'type' => 'string', 'example' => '疑似色情内容'], ], ], ], - 'Offset' => [ - 'description' => '截帧偏移值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'StartTime' => [ - 'description' => '分段开始时间(秒)。', - 'type' => 'string', - 'example' => '11', - ], - 'EndTime' => [ - 'description' => '分段结束时间(秒)。', - 'type' => 'string', - 'example' => '22', - ], - 'RiskTips' => [ - 'description' => '命中风险详情。', - 'type' => 'string', - 'example' => '色情服务', - ], - 'RiskWords' => [ - 'description' => '命中风险关键词。', - 'type' => 'string', - 'example' => '色情_低俗词', - ], - 'Thumbnail' => [ - 'description' => '缩略图地址。', - 'type' => 'string', - 'example' => 'https://www.aliyuncs.com/xxx.png', - ], - 'Extra' => [ - 'description' => '备用参数。', - 'type' => 'object', - 'example' => '{}', - ], - 'PageNum' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RiskLevel' => [ - 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n" - ."\n" - .'- high:高风险'."\n" - ."\n" - .'- medium:中风险'."\n" - .' '."\n" - .'- low:低风险'."\n" - ."\n" - .' - none:未检测到风险', - 'type' => 'string', - 'example' => 'none', - ], - 'SensitiveLevel' => [ - 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n" - .'- **S1**:表示低敏感。'."\n" - .'- **S2**:表示中敏感。'."\n" - .'- **S3**:表示较高敏感。'."\n" - .'- **S4**:表示高敏感。'."\n" - .'- **S0**:表示非敏感。', - 'type' => 'string', - 'example' => 'S0', - ], - 'AttackLevel' => [ - 'description' => '攻击等级,根据设置的高低风险分返回,返回值包括:'."\n" - ."\n" - .'- high:高风险'."\n" - ."\n" - .'- medium:中风险'."\n" - .' '."\n" - .'- low:低风险'."\n" - ."\n" - .' - none:未检测到风险', - 'type' => 'string', - 'example' => 'none', - ], - 'RequestFrom' => [ - 'description' => '请求来源', - 'type' => 'string', - 'example' => 'online_test', - ], - 'ApiRequestTime' => [ - 'description' => '机审时间。', - 'type' => 'string', - 'example' => '1755501226', - ], - 'ReviewTime' => [ - 'description' => '复审时间。', - 'type' => 'string', - 'example' => '1755501226', - ], - 'ResourceType' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'text', - ], - 'ApiTaskId' => [ - 'description' => '机审任务ID。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'ReviewLabels' => [ - 'description' => '复审标签。', - 'type' => 'string', - 'example' => 'porn', - ], - 'ReviewRiskLevel' => [ - 'description' => '复审状态。', - 'type' => 'string', - 'example' => 'high', - ], - 'ReviewUid' => [ - 'description' => '复审人。', - 'type' => 'string', - 'example' => 'xx', - ], - 'ApiLabels' => [ - 'description' => '机审标签。', - 'type' => 'string', - 'example' => 'porn', - ], - 'ApiRiskLevel' => [ - 'description' => '机审风险等级。', - 'type' => 'string', - 'example' => 'high', - ], - 'ApiService' => [ - 'description' => '机审service', - 'type' => 'string', - 'example' => 'basecheckLine', - ], - 'ManualOnly' => [ - 'description' => '是否纯人审。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Reviewed' => [ - 'description' => '是否已复审。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'MaliciousFileLevel' => [ - 'description' => '恶意文件风险等级。', - 'type' => 'string', - 'example' => 'high', - ], - 'MaliciousUrlLevel' => [ - 'description' => '恶意url风险等级。', - 'type' => 'string', - 'example' => 'high', - ], - 'AppId' => [ - 'title' => 'appId', - 'description' => 'appId', - 'type' => 'string', - 'example' => 'agent_01', - ], + 'Offset' => ['description' => '截帧偏移值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'StartTime' => ['description' => '分段开始时间(秒)。', 'type' => 'string', 'example' => '11'], + 'EndTime' => ['description' => '分段结束时间(秒)。', 'type' => 'string', 'example' => '22'], + 'RiskTips' => ['description' => '命中风险详情。', 'type' => 'string', 'example' => '色情服务'], + 'RiskWords' => ['description' => '命中风险关键词。', 'type' => 'string', 'example' => '色情_低俗词'], + 'Thumbnail' => ['description' => '缩略图地址。', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'], + 'Extra' => ['description' => '备用参数。', 'type' => 'object', 'example' => '{}'], + 'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n" + ."\n" + .'- high:高风险'."\n" + ."\n" + .'- medium:中风险'."\n" + .' '."\n" + .'- low:低风险'."\n" + ."\n" + .' - none:未检测到风险', 'type' => 'string', 'example' => 'none'], + 'SensitiveLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n" + .'- **S1**:表示低敏感。'."\n" + .'- **S2**:表示中敏感。'."\n" + .'- **S3**:表示较高敏感。'."\n" + .'- **S4**:表示高敏感。'."\n" + .'- **S0**:表示非敏感。', 'type' => 'string', 'example' => 'S0'], + 'AttackLevel' => ['description' => '攻击等级,根据设置的高低风险分返回,返回值包括:'."\n" + ."\n" + .'- high:高风险'."\n" + ."\n" + .'- medium:中风险'."\n" + .' '."\n" + .'- low:低风险'."\n" + ."\n" + .' - none:未检测到风险', 'type' => 'string', 'example' => 'none'], + 'RequestFrom' => ['description' => '请求来源', 'type' => 'string', 'example' => 'online_test'], + 'ApiRequestTime' => ['description' => '机审时间。使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1755501226'], + 'ReviewTime' => ['description' => '复审时间。使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1755501226'], + 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'text'], + 'ApiTaskId' => ['description' => '机审任务ID。', 'type' => 'string', 'example' => 'xxx'], + 'ReviewLabels' => ['description' => '复审标签。', 'type' => 'string', 'example' => 'porn'], + 'ReviewRiskLevel' => ['description' => '复审状态。', 'type' => 'string', 'example' => 'high'], + 'ReviewUid' => ['description' => '复审人。', 'type' => 'string', 'example' => 'xx'], + 'ApiLabels' => ['description' => '机审标签。', 'type' => 'string', 'example' => 'porn'], + 'ApiRiskLevel' => ['description' => '机审风险等级。', 'type' => 'string', 'example' => 'high'], + 'ApiService' => ['description' => '机审service', 'type' => 'string', 'example' => 'basecheckLine'], + 'ManualOnly' => ['description' => '是否纯人审。', 'type' => 'boolean', 'example' => 'false'], + 'Reviewed' => ['description' => '是否已复审。', 'type' => 'boolean', 'example' => 'false'], + 'MaliciousFileLevel' => ['description' => '恶意文件风险等级。', 'type' => 'string', 'example' => 'high'], + 'MaliciousUrlLevel' => ['description' => '恶意url风险等级。', 'type' => 'string', 'example' => 'high'], + 'AppId' => ['title' => 'appId', 'description' => 'appId', 'type' => 'string', 'example' => 'agent_01'], 'GuardImageUrls' => [ 'description' => '多模态图片地址。', 'type' => 'array', - 'items' => [ - 'description' => '多模态图片地址。', - 'type' => 'string', - 'example' => 'https://xxx.jpg', - ], + 'items' => ['description' => '多模态图片地址。', 'type' => 'string', 'example' => 'https://xxx.jpg'], ], 'GuardFileUrls' => [ 'description' => '多模态文件地址。', 'type' => 'array', - 'items' => [ - 'description' => '多模态文件地址。', - 'type' => 'string', - 'example' => 'http://xxx.docx', - ], - ], - 'AccountId' => [ - 'description' => '客户入参AccountId', - 'type' => 'string', - 'example' => 'accountIdtest123', - ], - 'LiveId' => [ - 'description' => '客户入参LiveId', - 'type' => 'string', - 'example' => 'liveIdtest123', + 'items' => ['description' => '多模态文件地址。', 'type' => 'string', 'example' => 'http://xxx.docx'], ], + 'AccountId' => ['description' => '客户入参AccountId', 'type' => 'string', 'example' => 'accountIdtest123'], + 'LiveId' => ['description' => '客户入参LiveId', 'type' => 'string', 'example' => 'liveIdtest123'], 'ImageUrls' => [ 'title' => 'imageUrls', 'description' => 'imageUrls', 'type' => 'array', - 'items' => [ - 'title' => 'url', - 'description' => 'url', - 'type' => 'string', - 'example' => 'https://xxxx.001.jpg', - ], + 'items' => ['title' => 'url', 'description' => 'url', 'type' => 'string', 'example' => 'https://xxxx.001.jpg'], ], + 'BailianRequestId' => ['description' => '百炼RequestId', 'type' => 'string', 'example' => '93a2f484-ac61-9b2e-9765-88600c83c1ea'], ], ], ], ], ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ScanResultQueryFailed', 'errorMessage' => 'Data query failed.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"RequestTime\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"DataId\\": \\"4f27b8cc7c4544cb90b41882a5b36326\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"NoLabels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ImageUrl\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"Content\\": \\"xxx\\",\\n \\"TaskId\\": \\"vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9\\",\\n \\"Score\\": 25,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"xxx\\",\\n \\"Url\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"TimeStamp\\": \\"00:00:40-00:00:42\\",\\n \\"FrameCount\\": 20,\\n \\"ImageService\\": \\"baselineCheck\\",\\n \\"VoiceService\\": \\"live_stream_detection\\",\\n \\"ImageLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"TextLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceScanOpened\\": true,\\n \\"Result\\": [\\n {\\n \\"Confidence\\": \\"50.0\\",\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"Offset\\": 1,\\n \\"StartTime\\": \\"11\\",\\n \\"EndTime\\": \\"22\\",\\n \\"RiskTips\\": \\"色情服务\\",\\n \\"RiskWords\\": \\"色情_低俗词\\",\\n \\"Thumbnail\\": \\"https://www.aliyuncs.com/xxx.png\\",\\n \\"Extra\\": {},\\n \\"PageNum\\": 1,\\n \\"RiskLevel\\": \\"none\\",\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"RequestFrom\\": \\"online_test\\",\\n \\"ApiRequestTime\\": \\"1755501226\\",\\n \\"ReviewTime\\": \\"1755501226\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ApiTaskId\\": \\"xxx\\",\\n \\"ReviewLabels\\": \\"porn\\",\\n \\"ReviewRiskLevel\\": \\"high\\",\\n \\"ReviewUid\\": \\"xx\\",\\n \\"ApiLabels\\": \\"porn\\",\\n \\"ApiRiskLevel\\": \\"high\\",\\n \\"ApiService\\": \\"basecheckLine\\",\\n \\"ManualOnly\\": false,\\n \\"Reviewed\\": false,\\n \\"MaliciousFileLevel\\": \\"high\\",\\n \\"MaliciousUrlLevel\\": \\"high\\",\\n \\"AppId\\": \\"agent_01\\",\\n \\"GuardImageUrls\\": [\\n \\"https://xxx.jpg\\"\\n ],\\n \\"GuardFileUrls\\": [\\n \\"http://xxx.docx\\"\\n ],\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"LiveId\\": \\"liveIdtest123\\",\\n \\"ImageUrls\\": [\\n \\"https://xxxx.001.jpg\\"\\n ]\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"RequestTime\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"DataId\\": \\"4f27b8cc7c4544cb90b41882a5b36326\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"NoLabels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ImageUrl\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"Content\\": \\"xxx\\",\\n \\"TaskId\\": \\"vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9\\",\\n \\"Score\\": 25,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"xxx\\",\\n \\"Url\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"TimeStamp\\": \\"00:00:40-00:00:42\\",\\n \\"FrameCount\\": 20,\\n \\"ImageService\\": \\"baselineCheck\\",\\n \\"VoiceService\\": \\"live_stream_detection\\",\\n \\"ImageLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"TextLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceScanOpened\\": true,\\n \\"Result\\": [\\n {\\n \\"Confidence\\": \\"50.0\\",\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"Offset\\": 1,\\n \\"StartTime\\": \\"11\\",\\n \\"EndTime\\": \\"22\\",\\n \\"RiskTips\\": \\"色情服务\\",\\n \\"RiskWords\\": \\"色情_低俗词\\",\\n \\"Thumbnail\\": \\"https://www.aliyuncs.com/xxx.png\\",\\n \\"Extra\\": {},\\n \\"PageNum\\": 1,\\n \\"RiskLevel\\": \\"none\\",\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"RequestFrom\\": \\"online_test\\",\\n \\"ApiRequestTime\\": \\"1755501226\\",\\n \\"ReviewTime\\": \\"1755501226\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ApiTaskId\\": \\"xxx\\",\\n \\"ReviewLabels\\": \\"porn\\",\\n \\"ReviewRiskLevel\\": \\"high\\",\\n \\"ReviewUid\\": \\"xx\\",\\n \\"ApiLabels\\": \\"porn\\",\\n \\"ApiRiskLevel\\": \\"high\\",\\n \\"ApiService\\": \\"basecheckLine\\",\\n \\"ManualOnly\\": false,\\n \\"Reviewed\\": false,\\n \\"MaliciousFileLevel\\": \\"high\\",\\n \\"MaliciousUrlLevel\\": \\"high\\",\\n \\"AppId\\": \\"agent_01\\",\\n \\"GuardImageUrls\\": [\\n \\"https://xxx.jpg\\"\\n ],\\n \\"GuardFileUrls\\": [\\n \\"http://xxx.docx\\"\\n ],\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"LiveId\\": \\"liveIdtest123\\",\\n \\"ImageUrls\\": [\\n \\"https://xxxx.001.jpg\\"\\n ],\\n \\"BailianRequestId\\": \\"93a2f484-ac61-9b2e-9765-88600c83c1ea\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]', 'title' => '查询检测结果', ], 'GetServiceConf' => [ 'summary' => '获取单个服务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2359,9 +1175,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '161934', - 'abilityTreeNodes' => [ - 'FEATURElvwang78REFZ', - ], + 'abilityTreeNodes' => ['FEATURElvwang78REFZ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2369,52 +1183,27 @@ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'], ], [ 'name' => 'Scene', 'in' => 'formData', - 'schema' => [ - 'description' => '审核场景。', - 'type' => 'string', - 'required' => false, - 'example' => 'pornographic', - ], + 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => false, 'example' => 'pornographic'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'ByDefault', 'in' => 'formData', - 'schema' => [ - 'description' => '查询默认配置', - 'type' => 'boolean', - 'required' => false, - 'example' => 'False', - ], + 'schema' => ['description' => '查询默认配置', 'type' => 'boolean', 'required' => false, 'example' => 'False'], ], ], 'responses' => [ @@ -2424,91 +1213,30 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '17726*****370735', - ], - 'ResourceType' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'image', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'baselineCheck', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2023-01-17 12:29:56', - ], - 'CustomServiceConf' => [ - 'description' => '服务详情', - 'type' => 'object', - 'example' => '{}', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => '6CF2815C-****-****-B52E-FF6E2****492', - ], - 'Option' => [ - 'description' => '选项。', - 'type' => 'object', - 'example' => '{}', - ], - 'Classify' => [ - 'description' => '分类。', - 'type' => 'string', - 'example' => 'guard-scene', - ], - 'ServiceType' => [ - 'description' => '服务类型。', - 'type' => 'string', - 'example' => 'plus', - ], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '17726*****370735'], + 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'image'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'baselineCheck'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-01-17 12:29:56'], + 'CustomServiceConf' => ['description' => '服务详情', 'type' => 'object', 'example' => '{}'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => '6CF2815C-****-****-B52E-FF6E2****492'], + 'Option' => ['description' => '选项。', 'type' => 'object', 'example' => '{}'], + 'Classify' => ['description' => '分类。', 'type' => 'string', 'example' => 'guard-scene'], + 'ServiceType' => ['description' => '服务类型。', 'type' => 'string', 'example' => 'plus'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Uid\\": \\"17726*****370735\\",\\n \\"ResourceType\\": \\"image\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"GmtModified\\": \\"2023-01-17 12:29:56\\",\\n \\"CustomServiceConf\\": {},\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Option\\": {},\\n \\"Classify\\": \\"guard-scene\\",\\n \\"ServiceType\\": \\"plus\\"\\n}","type":"json"}]', 'title' => '获取规则配置', ], 'GetServiceConfig' => [ 'summary' => '获取单个服务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2520,41 +1248,23 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElvwang9SVL0Q', - 'FEATURElvwangL7LL9G', - ], + 'abilityTreeNodes' => ['FEATURElvwang9SVL0Q', 'FEATURElvwangL7LL9G'], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'nickname_detection', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'text', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -2568,26 +1278,10 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '165379****31937', - ], - 'ResourceType' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'text', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'nickname_detection', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2024-05-06 03:07:44', - ], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '165379****31937'], + 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'text'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickname_detection'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-05-06 03:07:44'], 'CustomServiceConf' => [ 'description' => '自定义服务详情', 'type' => 'object', @@ -2595,88 +1289,42 @@ 'KeywordFilterLibs' => [ 'description' => '忽略词库。', 'type' => 'array', - 'items' => [ - 'description' => '忽略词库。', - 'type' => 'string', - 'example' => '["kwxxx"]', - ], + 'items' => ['description' => '忽略词库。', 'type' => 'string', 'example' => '["kwxxx"]'], ], 'KeywordHitLibs' => [ 'description' => '命中词库。', 'type' => 'array', - 'items' => [ - 'description' => '命中词库。', - 'type' => 'string', - 'example' => '["kwxxx1"]', - ], + 'items' => ['description' => '命中词库。', 'type' => 'string', 'example' => '["kwxxx1"]'], ], 'SimilarTextHitLibs' => [ 'description' => '命中相似文本库。', 'type' => 'array', - 'items' => [ - 'description' => '命中相似文本库。', - 'type' => 'string', - 'example' => '["stxxx"]', - ], + 'items' => ['description' => '命中相似文本库。', 'type' => 'string', 'example' => '["stxxx"]'], ], 'ManualMachineConfig' => [ 'description' => '人机审核配置。', 'type' => 'object', 'properties' => [ - 'Enable' => [ - 'description' => '是否启用。取值:'."\n" - .'- **true**:启用'."\n" - .'- **false**:禁用', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Enable' => ['description' => '是否启用。取值:'."\n" + .'- **true**:启用'."\n" + .'- **false**:禁用', 'type' => 'boolean', 'example' => 'true'], 'AuditRiskLevels' => [ 'description' => '风险等级。', 'type' => 'array', - 'items' => [ - 'description' => '风险等级。', - 'type' => 'string', - 'example' => 'high', - ], - ], - 'ManualService' => [ - 'description' => '人审service', - 'type' => 'string', - 'example' => 'imageManualCheck', - ], - 'CallbackId' => [ - 'description' => '回调通知ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', + 'items' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'high'], ], + 'ManualService' => ['description' => '人审service', 'type' => 'string', 'example' => 'imageManualCheck'], + 'CallbackId' => ['description' => '回调通知ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], ], ], ], ], ], ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -2686,14 +1334,8 @@ ], 'GetUserBuyStatus' => [ 'summary' => '获取用户购买状态', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2706,30 +1348,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '158310', - 'abilityTreeNodes' => [ - 'FEATURElvwangMSWOCX', - ], + 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'CommodityCode', 'in' => 'formData', - 'schema' => [ - 'description' => '商品编码。', - 'type' => 'string', - 'required' => false, - 'example' => 'lvwang_public_cn', - ], + 'schema' => ['description' => '商品编码。', 'type' => 'string', 'required' => false, 'example' => 'lvwang_public_cn'], ], ], 'responses' => [ @@ -2743,55 +1373,17 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Buy' => [ - 'description' => '是否在阿里云开通了商品。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Indebt' => [ - 'description' => '是否欠费。', - 'type' => 'boolean', - 'example' => 'False', - ], - 'Bid' => [ - 'description' => 'Bid。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26842', - ], - 'Tag' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'bailian', - ], - 'InstanceId' => [ - 'description' => '实例id', - 'type' => 'string', - 'example' => 'xxx-xxx-xxx', - ], + 'Buy' => ['description' => '是否在阿里云开通了商品。', 'type' => 'boolean', 'example' => 'True'], + 'Indebt' => ['description' => '是否欠费。', 'type' => 'boolean', 'example' => 'False'], + 'Bid' => ['description' => 'Bid。', 'type' => 'integer', 'format' => 'int64', 'example' => '26842'], + 'Tag' => ['description' => '标签。', 'type' => 'string', 'example' => 'bailian'], + 'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => 'xxx-xxx-xxx'], ], ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -2801,39 +1393,34 @@ ], 'ListKeywordLibs' => [ 'summary' => '关键词库列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157043', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['title' => '租户编码', 'description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], ], ], 'responses' => [ @@ -2844,66 +1431,27 @@ 'type' => 'object', 'properties' => [ 'Data' => [ + 'title' => '数据对象', 'description' => '返回数据。', 'type' => 'array', 'items' => [ + 'title' => '', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '19964*****086772', - ], - 'LibId' => [ - 'description' => '词库ID。', - 'type' => 'string', - 'example' => 'custom_xxxxx', - ], - 'LibName' => [ - 'description' => '库名称。', - 'type' => 'string', - 'example' => '测试', - ], - 'KeywordCount' => [ - 'description' => '关键词数量。', - 'type' => 'string', - 'example' => '10', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2022-11-30 16:30:29', - ], - 'ServiceCodes' => [ - 'description' => 'service服务', - 'type' => 'string', - 'example' => 'service1,service2', - ], + 'Uid' => ['title' => 'uid', 'description' => 'UID。', 'type' => 'string', 'example' => '19964*****086772'], + 'LibId' => ['title' => '词库ID', 'description' => '词库ID。', 'type' => 'string', 'example' => 'custom_xxxxx'], + 'LibName' => ['title' => '词库名称', 'description' => '库名称。', 'type' => 'string', 'example' => '测试'], + 'KeywordCount' => ['title' => '词库数量', 'description' => '关键词数量。', 'type' => 'string', 'example' => '10'], + 'GmtModified' => ['title' => '更新时间', 'description' => '修改时间。', 'type' => 'string', 'example' => '2022-11-30 16:30:29'], + 'ServiceCodes' => ['title' => '关联的service', 'description' => 'service服务', 'type' => 'string', 'example' => 'service1,service2'], ], ], ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['title' => '是否成功', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码', 'description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码描述信息', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['title' => '请求的唯一标识符', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -2913,103 +1461,57 @@ ], 'ListOssCheckResult' => [ 'summary' => 'oss扫描结果查询', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197375', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-11 09:00:19', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-24 10:01:55', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '任务状态。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '4', - ], + 'schema' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'], ], [ 'name' => 'FinishNum', 'in' => 'query', - 'schema' => [ - 'description' => '已完成数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], ], [ 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => '搜索条件。', - 'type' => 'string', - 'required' => false, - 'example' => '{"TaskId":"P_11TL5T"}', - ], + 'schema' => ['description' => '搜索条件。', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -3019,22 +1521,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '排序字段。', - 'example' => '{}', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{}'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -3044,30 +1537,10 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'TotalCount' => [ - 'description' => '总记录条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'TotalCount' => ['description' => '总记录条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -3075,123 +1548,57 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'Bucket' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'example' => 'tmp', - ], - 'JobName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'dhT20X2310', - ], - 'Object' => [ - 'description' => 'object名称', - 'type' => 'string', - 'example' => '1713014531569_958.png.jpeg', - ], - 'Md5' => [ - 'description' => '文件的MD5。', - 'type' => 'string', - 'example' => '54416c9b159df4a60ae03c04ccb94cb5', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'audio_media_detection_01', - ], - 'Code' => [ - 'description' => '错误码,和http status一致。', - 'type' => 'string', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], + 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'tmp'], + 'JobName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'dhT20X2310'], + 'Object' => ['description' => 'object名称', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'], + 'Md5' => ['description' => '文件的MD5。', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'], + 'Code' => ['description' => '错误码,和http status一致。', 'type' => 'string', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], 'Labels' => [ 'description' => '图片标签。', 'type' => 'array', - 'items' => [ - 'description' => '图片标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], + 'items' => ['description' => '图片标签。', 'type' => 'string', 'example' => 'nonLabel'], ], 'Labels2' => [ 'description' => '文本标签。', 'type' => 'array', + 'items' => ['description' => '文本标签。', 'type' => 'string', 'example' => 'nonLabel'], + ], + 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'], + 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'], + 'Url' => ['description' => '任务URL。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX'], + 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'], + 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'], + 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'], + 'ContentType' => ['description' => '音视频检测类型。', 'type' => 'string', 'example' => 'audio'], + 'RiskLevel0' => ['description' => '整体风险等级', 'type' => 'string', 'example' => 'low'], + 'RiskLevel' => ['description' => '图片风险等级', 'type' => 'string', 'example' => 'high'], + 'RiskLevel2' => ['description' => '文本风险等级', 'type' => 'string', 'example' => 'none'], + 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'ACL'], + 'FreezeStatus' => ['description' => '冻结状态。', 'type' => 'string', 'example' => 'FREEZED'], + 'LabelDetails' => [ + 'description' => '视频画面命中标签列表', + 'type' => 'array', 'items' => [ - 'description' => '文本标签。', - 'type' => 'string', - 'example' => 'nonLabel', + 'type' => 'object', + 'properties' => [ + 'Label' => ['description' => '视频画面命中标签', 'type' => 'string', 'example' => 'logo_streaming'], + 'Description' => ['description' => '标签对应描述', 'type' => 'string', 'example' => '影音娱乐类'], + ], ], ], - 'ScanResult' => [ - 'description' => '结果详情。', - 'type' => 'string', - 'example' => '{}', - ], - 'ImageUrl' => [ - 'description' => '图片url地址。', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.jpg', - ], - 'Url' => [ - 'description' => '任务URL。', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.mp3', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX', - ], - 'ServiceName' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'example' => '服务名称', - ], - 'IsCopy' => [ - 'description' => '是否复制。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CopyFrom' => [ - 'description' => '主服务。', - 'type' => 'string', - 'example' => 'audio_media_detection', - ], - 'ContentType' => [ - 'description' => '音视频检测类型。', - 'type' => 'string', - 'example' => 'audio', - ], - 'RiskLevel0' => [ - 'description' => '整体风险等级', - 'type' => 'string', - 'example' => 'low', - ], - 'RiskLevel' => [ - 'description' => '图片风险等级', - 'type' => 'string', - 'example' => 'high', - ], - 'RiskLevel2' => [ - 'description' => '文本风险等级', - 'type' => 'string', - 'example' => 'none', - ], - 'FreezeType' => [ - 'description' => '冻结类型。', - 'type' => 'string', - 'example' => 'ACL', - ], - 'FreezeStatus' => [ - 'description' => '冻结状态。', - 'type' => 'string', - 'example' => 'FREEZED', + 'LabelDetails2' => [ + 'description' => '视频语音命中标签列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Label' => ['description' => '语音命中标签', 'type' => 'string', 'example' => 'abuse'], + 'Description' => ['description' => '标签对应描述', 'type' => 'string', 'example' => '辱骂内容'], + ], + ], ], ], ], @@ -3200,18 +1607,13 @@ ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"OK\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"EP6TI7_au_Zo25ITvCbkocNuF801QOQX\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"none\\",\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeStatus\\": \\"FREEZED\\"\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"OK\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"EP6TI7_au_Zo25ITvCbkocNuF801QOQX\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"none\\",\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeStatus\\": \\"FREEZED\\",\\n \\"LabelDetails\\": [\\n {\\n \\"Label\\": \\"logo_streaming\\",\\n \\"Description\\": \\"影音娱乐类\\"\\n }\\n ],\\n \\"LabelDetails2\\": [\\n {\\n \\"Label\\": \\"abuse\\",\\n \\"Description\\": \\"辱骂内容\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => '查询oss扫描结果列表', ], 'ModifyFeatureConfig' => [ 'summary' => '保存特性配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3224,81 +1626,44 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '266678', - 'abilityTreeNodes' => [ - 'FEATURElvwangXKZ6SI', - ], + 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'llm_query_moderation', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'text', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'], ], [ 'name' => 'Type', 'in' => 'formData', - 'schema' => [ - 'description' => '类型', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_llm_template', - ], + 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'], ], [ 'name' => 'Field', 'in' => 'formData', - 'schema' => [ - 'description' => '标签值,客户自定义', - 'type' => 'string', - 'required' => false, - 'example' => '__config__', - ], + 'schema' => ['description' => '标签值,客户自定义', 'type' => 'string', 'required' => false, 'example' => '__config__'], ], [ 'name' => 'Config', 'in' => 'formData', - 'schema' => [ - 'description' => '配置,json格式', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '配置,json格式', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => '标签含义', - 'type' => 'string', - 'required' => false, - 'example' => '标签2', - ], + 'schema' => ['description' => '标签含义', 'type' => 'string', 'required' => false, 'example' => '标签2'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '区域', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '区域', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -3308,55 +1673,28 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'Msg' => [ - 'description' => '本次请求的响应消息。', - 'type' => 'string', - 'example' => 'success', - ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'HttpStatusCode' => [ - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Data' => ['description' => '返回数据', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'Msg' => ['description' => '本次请求的响应消息。', 'type' => 'string', 'example' => 'success'], + 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'OneFeatureRequired', 'errorMessage' => 'Keep at least one switch item when detecting an item configuration to turn off the switch item.'], + ], + ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Msg\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', 'title' => '编辑特性配置', ], 'QueryCallback' => [ 'summary' => '查询单个回调配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3369,41 +1707,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '221459', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', - 'schema' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '11234', - ], + 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '11234'], ], [ 'name' => 'CheckForOss', 'in' => 'formData', - 'schema' => [ - 'description' => '查询oss检测任务下的数据。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '查询oss检测任务下的数据。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -3413,63 +1733,17 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'Id' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11234', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2022-11-30 16:30:29', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2024-06-03 15:20:14', - ], - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '19964*****086772', - ], - 'Name' => [ - 'description' => '名称。', - 'type' => 'string', - 'example' => '回调通知', - ], - 'Url' => [ - 'description' => '回调URL。', - 'type' => 'string', - 'example' => 'https://www.aliyuncs.com', - ], - 'Seed' => [ - 'description' => 'Seed。', - 'type' => 'string', - 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf', - ], - 'CryptType' => [ - 'description' => '加密算法。', - 'type' => 'string', - 'example' => 'SHA256', - ], - 'Scope' => [ - 'description' => '结果范围。', - 'type' => 'string', - 'example' => 'all', - ], - 'ExistsOssCheckTask' => [ - 'description' => '是否存在oss检测任务', - 'type' => 'boolean', - 'example' => 'false', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11234'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-11-30 16:30:29'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '19964*****086772'], + 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => '回调通知'], + 'Url' => ['description' => '回调URL。', 'type' => 'string', 'example' => 'https://www.aliyuncs.com'], + 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf'], + 'CryptType' => ['description' => '加密算法。', 'type' => 'string', 'example' => 'SHA256'], + 'Scope' => ['description' => '结果范围。', 'type' => 'string', 'example' => 'all'], + 'ExistsOssCheckTask' => ['description' => '是否存在oss检测任务', 'type' => 'boolean', 'example' => 'false'], ], ], ], @@ -3479,14 +1753,8 @@ ], 'UpdateScanResultFeedback' => [ 'summary' => '检测结果反馈', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3499,21 +1767,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '169771', - 'abilityTreeNodes' => [ - 'FEATURElvwang78REFZ', - ], + 'abilityTreeNodes' => ['FEATURElvwang78REFZ'], ], 'parameters' => [ [ 'name' => 'QueryRequestId', 'in' => 'formData', - 'schema' => [ - 'title' => '请求ID', - 'description' => '请求ID', - 'type' => 'string', - 'required' => false, - 'example' => '46232656-984E-****-A648-B1D0667B6C3E', - ], + 'schema' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'required' => false, 'example' => '46232656-984E-****-A648-B1D0667B6C3E'], ], [ 'name' => 'Feedback', @@ -3523,53 +1783,29 @@ 'description' => '反馈', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'missOut' => '违规漏过', - 'misreport' => '未违规误报', - ], + 'enumValueTitles' => ['missOut' => '违规漏过', 'misreport' => '未违规误报'], 'example' => 'missOut', ], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'title' => '资源类型', - 'description' => '资源类型', - 'type' => 'string', - 'required' => false, - 'example' => 'text', - ], + 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'text'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'RiskLevel', 'in' => 'formData', - 'schema' => [ - 'description' => '风险等级', - 'type' => 'string', - 'required' => false, - 'example' => 'high', - ], + 'schema' => ['description' => '风险等级', 'type' => 'string', 'required' => false, 'example' => 'high'], ], [ 'name' => 'Labels', 'in' => 'formData', - 'schema' => [ - 'description' => '标签。', - 'type' => 'string', - 'required' => false, - 'example' => 'abuse', - ], + 'schema' => ['description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'abuse'], ], ], 'responses' => [ @@ -3579,17 +1815,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -3599,14 +1826,8 @@ ], 'UpdateServiceConfig' => [ 'summary' => '更新服务。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3619,9 +1840,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157299', - 'abilityTreeNodes' => [ - 'FEATURElvwangXKZ6SI', - ], + 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -3629,112 +1848,57 @@ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'], ], [ 'name' => 'KeywordFilterLibs', 'in' => 'formData', - 'schema' => [ - 'description' => '忽略词库。', - 'type' => 'string', - 'required' => false, - 'example' => '[]', - ], + 'schema' => ['description' => '忽略词库。', 'type' => 'string', 'required' => false, 'example' => '[]'], ], [ 'name' => 'KeywordHitLibs', 'in' => 'formData', - 'schema' => [ - 'description' => '命中词库。', - 'type' => 'string', - 'required' => false, - 'example' => '[]', - ], + 'schema' => ['description' => '命中词库。', 'type' => 'string', 'required' => false, 'example' => '[]'], ], [ 'name' => 'Scene', 'in' => 'formData', - 'schema' => [ - 'description' => '审核场景。', - 'type' => 'string', - 'required' => false, - 'example' => 'pornographic', - ], + 'schema' => ['description' => '审核场景。', 'type' => 'string', 'required' => false, 'example' => 'pornographic'], ], [ 'name' => 'SceneConfig', 'in' => 'formData', - 'schema' => [ - 'description' => '场景配置信息。', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '场景配置信息。', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'VideoConfig', 'in' => 'formData', - 'schema' => [ - 'description' => '视频配置。', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '视频配置。', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ 'name' => 'FileConfig', 'in' => 'formData', - 'schema' => [ - 'description' => '文档配置。', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '文档配置。', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ 'name' => 'ManualMachineConfig', 'in' => 'formData', - 'schema' => [ - 'description' => '人机审核配置。', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '人机审核配置。', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ 'name' => 'ServiceConfig', 'in' => 'formData', - 'schema' => [ - 'description' => 'service配置。', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => 'service配置。', 'type' => 'string', 'required' => false, 'example' => '{}'], ], ], 'responses' => [ @@ -3744,94 +1908,46 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'CustomServiceConfigServicesRequired', 'errorMessage' => 'Select at least one instrumentation configuration service when saving a multimodal service configuration.'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]', 'title' => '修改服务配置', ], 'GetKeywordImportResult' => [ 'summary' => '查询导入关键词结果', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'formData', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx-xxx', - ], + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'xxx-xxx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -3845,101 +1961,35 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Progress' => [ - 'description' => '任务进度百分比。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'LibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'customxx_xxx', - ], - 'I18nKey' => [ - 'description' => '国际化key。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Tips' => [ - 'description' => '提示信息。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxx'], + 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'], + 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxx'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'RepeatKeywords' => [ 'description' => '重复的关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '重复的关键词列表。', - 'type' => 'string', - 'example' => '重复关键词', - ], + 'items' => ['description' => '重复的关键词列表。', 'type' => 'string', 'example' => '重复关键词'], ], 'InvalidKeywords' => [ 'description' => '不合法关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '不合法关键词列表。', - 'type' => 'string', - 'example' => '不合法关键词', - ], + 'items' => ['description' => '不合法关键词列表。', 'type' => 'string', 'example' => '不合法关键词'], ], 'IllegalLengthKeywords' => [ 'description' => '长度过长或过短关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '长度过长或过短关键词列表。', - 'type' => 'string', - 'example' => '过短关键词', - ], + 'items' => ['description' => '长度过长或过短关键词列表。', 'type' => 'string', 'example' => '过短关键词'], ], ], ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -3949,59 +1999,44 @@ ], 'UpdateKeywordLib' => [ 'summary' => '编辑关键词库', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157975', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '词库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_xxxx', - ], + 'schema' => ['description' => '词库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'], ], [ 'name' => 'LibName', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词库名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试库', - ], + 'schema' => ['description' => '关键词库名称。', 'type' => 'string', 'required' => false, 'example' => '测试库'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], ], ], 'responses' => [ @@ -4011,32 +2046,11 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -4046,49 +2060,39 @@ ], 'GetKeywordLib' => [ 'summary' => '关键词库信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157047', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'customxx_xxx', - ], + 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], ], ], 'responses' => [ @@ -4102,54 +2106,17 @@ 'description' => '返回的数据内容。', 'type' => 'object', 'properties' => [ - 'Uid' => [ - 'description' => '主账号ID', - 'type' => 'string', - 'example' => '1825457112123838', - ], - 'LibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'customxx_xxx', - ], - 'LibName' => [ - 'description' => '库名称', - 'type' => 'string', - 'example' => '测试词库', - ], - 'KeywordCount' => [ - 'description' => '关键词数量。', - 'type' => 'string', - 'example' => '100', - ], - 'GmtModified' => [ - 'description' => '最后修改时间。', - 'type' => 'string', - 'example' => '2024-01-29 10:26:00', - ], + 'Uid' => ['description' => '主账号ID', 'type' => 'string', 'example' => '1825457112123838'], + 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxx'], + 'LibName' => ['description' => '库名称', 'type' => 'string', 'example' => '测试词库'], + 'KeywordCount' => ['description' => '关键词数量。', 'type' => 'string', 'example' => '100'], + 'GmtModified' => ['description' => '最后修改时间。', 'type' => 'string', 'example' => '2024-01-29 10:26:00'], ], ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -4159,14 +2126,8 @@ ], 'GetUploadInfo' => [ 'summary' => '文件上传获取相应信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4178,41 +2139,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '158637', - 'abilityTreeNodes' => [ - 'FEATURElvwang78REFZ', - ], + 'abilityTreeNodes' => ['FEATURElvwang78REFZ'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - 'default' => 'text', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image', 'default' => 'text'], ], [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '上传名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试', - ], + 'schema' => ['description' => '上传名称。', 'type' => 'string', 'required' => false, 'example' => '测试'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -4222,82 +2165,19 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'AccessId' => [ - 'description' => '上传授权id。', - 'type' => 'string', - 'example' => 'LTAI5t9HM*****EXQmw3DVH', - ], - 'Policy' => [ - 'description' => 'OSS上传文件的Policy。', - 'type' => 'string', - 'example' => 'xxxx', - ], - 'Signature' => [ - 'description' => '上传的签名信息。', - 'type' => 'string', - 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=', - ], - 'Folder' => [ - 'title' => '最好含有用户ID', - 'description' => '文件名称。', - 'type' => 'string', - 'example' => 'image/upload/xxx'."\n", - ], - 'Key' => [ - 'description' => '上传文件的使用key。', - 'type' => 'string', - 'example' => 'image/upload/xxx', - ], - 'Host' => [ - 'description' => '上传的host。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com', - ], - 'Name' => [ - 'title' => '前端上传图片使用', - 'description' => '前端上传图片使用', - 'type' => 'string', - 'example' => '测试', - ], - 'Expire' => [ - 'title' => '单位秒', - 'description' => '单位秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '900', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'AccessId' => ['description' => '上传授权id。', 'type' => 'string', 'example' => 'LTAI5t9HM*****EXQmw3DVH'], + 'Policy' => ['description' => 'OSS上传文件的Policy。', 'type' => 'string', 'example' => 'xxxx'], + 'Signature' => ['description' => '上传的签名信息。', 'type' => 'string', 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw='], + 'Folder' => ['title' => '最好含有用户ID', 'description' => '文件名称。', 'type' => 'string', 'example' => 'image/upload/xxx'."\n"], + 'Key' => ['description' => '上传文件的使用key。', 'type' => 'string', 'example' => 'image/upload/xxx'], + 'Host' => ['description' => '上传的host。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com'], + 'Name' => ['title' => '前端上传图片使用', 'description' => '前端上传图片使用', 'type' => 'string', 'example' => '测试'], + 'Expire' => ['title' => '单位秒', 'description' => '单位秒', 'type' => 'integer', 'format' => 'int64', 'example' => '900'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -4307,28 +2187,21 @@ ], 'ListServiceConfigs' => [ 'summary' => '获取服务列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157042', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ @@ -4338,45 +2211,35 @@ 'description' => '资源类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'voice' => '音频', - 'image' => '图片', - 'file' => '文档', - 'text' => '文本', - 'video' => '视频', - ], + 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'], 'example' => 'text', ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'Classify', 'in' => 'query', - 'schema' => [ - 'description' => '分类。', - 'type' => 'string', - 'required' => false, - 'example' => 'guard-scene', - ], + 'schema' => ['description' => '分类。', 'type' => 'string', 'required' => false, 'example' => 'guard-scene'], ], [ 'name' => 'UseStatus', 'in' => 'query', - 'schema' => [ - 'description' => '使用状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'in', - ], + 'schema' => ['description' => '使用状态。', 'type' => 'string', 'required' => false, 'example' => 'in'], + ], + [ + 'name' => 'ProtectionType', + 'in' => 'query', + 'schema' => ['title' => '防护类型', 'description' => '防护类型'."\n" + ."\n" + .'- modelProtection: 模型防护'."\n" + ."\n" + .'- agentRealtimeProtection: Agent实时防护'."\n" + ."\n" + .'- agentBehaviorAudit: Agent行为审计', 'type' => 'string', 'required' => false, 'example' => 'modelProtection'], ], ], 'responses' => [ @@ -4393,31 +2256,11 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '1674*****0071291', - ], - 'ResourceType' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'text', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'nickname_detection', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2023-07-11 15:40:04', - ], - 'CopyFrom' => [ - 'description' => '主服务。', - 'type' => 'string', - 'example' => 'nickname_detection', - ], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1674*****0071291'], + 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'text'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickname_detection'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-07-11 15:40:04'], + 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'nickname_detection'], 'CustomServiceConf' => [ 'description' => '服务配置。', 'type' => 'object', @@ -4425,56 +2268,31 @@ 'KeywordFilterLibs' => [ 'description' => '忽略词库。', 'type' => 'array', - 'items' => [ - 'description' => '忽略词库。', - 'type' => 'string', - 'example' => '[]', - ], + 'items' => ['description' => '忽略词库。', 'type' => 'string', 'example' => '[]'], ], 'KeywordHitLibs' => [ 'description' => '命中词库。', 'type' => 'array', - 'items' => [ - 'description' => '命中词库。', - 'type' => 'string', - 'example' => '[]', - ], + 'items' => ['description' => '命中词库。', 'type' => 'string', 'example' => '[]'], ], 'SimilarTextHitLibs' => [ 'description' => '命中相似文本库。', 'type' => 'array', - 'items' => [ - 'description' => '命中相似文本库。', - 'type' => 'string', - 'example' => '[]', - ], + 'items' => ['description' => '命中相似文本库。', 'type' => 'string', 'example' => '[]'], ], 'ImageService' => [ 'description' => '图片服务。', 'type' => 'array', - 'items' => [ - 'description' => '图片服务。', - 'type' => 'string', - 'example' => 'baselineCheck', - ], - ], - 'AudioService' => [ - 'description' => '音频服务。', - 'type' => 'string', - 'example' => 'audio_media_detection', + 'items' => ['description' => '图片服务。', 'type' => 'string', 'example' => 'baselineCheck'], ], + 'AudioService' => ['description' => '音频服务。', 'type' => 'string', 'example' => 'audio_media_detection'], 'Rules' => [ 'description' => '服务规则', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Index' => [ - 'description' => '序号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Index' => ['description' => '序号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'ImageScanRule' => [ 'description' => '图像审核规则。', 'type' => 'object', @@ -4482,11 +2300,7 @@ 'Services' => [ 'description' => '图片服务。', 'type' => 'array', - 'items' => [ - 'description' => '图片服务。', - 'type' => 'string', - 'example' => 'baselineCheck', - ], + 'items' => ['description' => '图片服务。', 'type' => 'string', 'example' => 'baselineCheck'], ], ], ], @@ -4497,11 +2311,7 @@ 'Services' => [ 'description' => '文本服务。', 'type' => 'array', - 'items' => [ - 'description' => '文本服务。', - 'type' => 'string', - 'example' => 'nickname_detection', - ], + 'items' => ['description' => '文本服务。', 'type' => 'string', 'example' => 'nickname_detection'], ], ], ], @@ -4510,77 +2320,35 @@ ], ], ], - 'ServiceName' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'example' => '服务名称', - ], - 'ServiceDesc' => [ - 'description' => '服务描述。', - 'type' => 'string', - 'example' => '服务描述', - ], - 'Option' => [ - 'description' => '选项。', - 'type' => 'object', - 'example' => '{}', - ], - 'ServiceType' => [ - 'description' => '服务类型。', - 'type' => 'string', - 'example' => 'plus', - ], - 'Classify' => [ - 'description' => '分类。', - 'type' => 'string', - 'example' => 'guard-scene', - ], - 'UseStatus' => [ - 'description' => '使用状态', - 'type' => 'string', - 'example' => 'in', - ], + 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'], + 'ServiceDesc' => ['description' => '服务描述。', 'type' => 'string', 'example' => '服务描述'], + 'Option' => ['description' => '选项。', 'type' => 'object', 'example' => '{}'], + 'ServiceType' => ['description' => '服务类型。', 'type' => 'string', 'example' => 'plus'], + 'Classify' => ['description' => '分类。', 'type' => 'string', 'example' => 'guard-scene'], + 'UseStatus' => ['description' => '使用状态', 'type' => 'string', 'example' => 'in'], + 'SceneType' => ['description' => '场景类型'."\n" + ."\n" + .'- recommended_scene 推荐场景'."\n" + ."\n" + .'- all_scene 全部场景', 'type' => 'string', 'example' => 'all_scene'], ], ], ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '400', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '400'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1674*****0071291\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2023-07-11 15:40:04\\",\\n \\"CopyFrom\\": \\"nickname_detection\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"ImageService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"AudioService\\": \\"audio_media_detection\\",\\n \\"Rules\\": [\\n {\\n \\"Index\\": 1,\\n \\"ImageScanRule\\": {\\n \\"Services\\": [\\n \\"baselineCheck\\"\\n ]\\n },\\n \\"TextScanRule\\": {\\n \\"Services\\": [\\n \\"nickname_detection\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"ServiceDesc\\": \\"服务描述\\",\\n \\"Option\\": {},\\n \\"ServiceType\\": \\"plus\\",\\n \\"Classify\\": \\"guard-scene\\",\\n \\"UseStatus\\": \\"in\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 400,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1674*****0071291\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2023-07-11 15:40:04\\",\\n \\"CopyFrom\\": \\"nickname_detection\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"ImageService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"AudioService\\": \\"audio_media_detection\\",\\n \\"Rules\\": [\\n {\\n \\"Index\\": 1,\\n \\"ImageScanRule\\": {\\n \\"Services\\": [\\n \\"baselineCheck\\"\\n ]\\n },\\n \\"TextScanRule\\": {\\n \\"Services\\": [\\n \\"nickname_detection\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"ServiceDesc\\": \\"服务描述\\",\\n \\"Option\\": {},\\n \\"ServiceType\\": \\"plus\\",\\n \\"Classify\\": \\"guard-scene\\",\\n \\"UseStatus\\": \\"in\\",\\n \\"SceneType\\": \\"all_scene\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 400,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]', 'title' => '获取规则配置列表', ], 'GetTextScanResult' => [ 'summary' => '查询调用结果', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4593,30 +2361,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157044', - 'abilityTreeNodes' => [ - 'FEATURElvwangL296SE', - ], + 'abilityTreeNodes' => ['FEATURElvwangL296SE'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-11 09:00:19', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-24 10:01:55', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'], ], [ 'name' => 'Query', @@ -4626,34 +2382,18 @@ 'description' => '搜索条件。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{}', - 'description' => '搜索条件。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '搜索条件。'], ], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -4663,22 +2403,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{}', - 'description' => '排序字段。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -4692,172 +2423,60 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-11 14:21:36', - ], - 'Content' => [ - 'description' => '内容。', - 'type' => 'string', - 'example' => '测试内容', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk', - ], - 'RequestId' => [ - 'description' => '请求id。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'RequestTime' => [ - 'description' => '请求时间。', - 'type' => 'string', - 'example' => '2023-07-11 14:21:36'."\n", - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'nickname_detection', - ], - 'ScanResult' => [ - 'description' => '结果详情。', - 'type' => 'string', - 'example' => '{}', - ], - 'Labels' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], - 'Score' => [ - 'description' => '分数。', - 'type' => 'number', - 'format' => 'float', - 'example' => '20', - ], - 'Suggestion' => [ - 'description' => '处理建议。', - 'type' => 'string', - 'example' => 'review', - ], - 'ExtFeedback' => [ - 'description' => '反馈信息。', - 'type' => 'string', - 'example' => 'miss', - ], - 'Extra' => [ - 'description' => '备用参数。', - 'type' => 'object', - 'example' => '{}', - ], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-11 14:21:36'], + 'Content' => ['description' => '内容。', 'type' => 'string', 'example' => '测试内容'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk'], + 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'RequestTime' => ['description' => '请求时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-07-11 14:21:36'."\n"], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'nickname_detection'], + 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'], + 'Labels' => ['description' => '标签。', 'type' => 'string', 'example' => 'nonLabel'], + 'Score' => ['description' => '分数。', 'type' => 'number', 'format' => 'float', 'example' => '20'], + 'Suggestion' => ['description' => '处理建议。', 'type' => 'string', 'example' => 'review'], + 'ExtFeedback' => ['description' => '反馈信息。', 'type' => 'string', 'example' => 'miss'], + 'Extra' => ['description' => '备用参数。', 'type' => 'object', 'example' => '{}'], 'Result' => [ 'description' => '检测结果。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Label' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'political_n', - ], - 'Confidence' => [ - 'description' => '置信分值,0到100分,保留到小数点后2位。', - 'type' => 'number', - 'format' => 'float', - 'example' => '25.0', - ], - 'Description' => [ - 'description' => '描述。', - 'type' => 'string', - 'example' => '疑似色情内容', - ], + 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'political_n'], + 'Confidence' => ['description' => '置信分值,0到100分,保留到小数点后2位。', 'type' => 'number', 'format' => 'float', 'example' => '25.0'], + 'Description' => ['description' => '描述。', 'type' => 'string', 'example' => '疑似色情内容'], ], ], ], - 'BailianRequestId' => [ - 'description' => '百炼RequestId', - 'type' => 'string', - 'example' => 'xxx', - ], - 'RiskLevel' => [ - 'description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n" - ."\n" - .'- high:高风险'."\n" - ."\n" - .'- medium:中风险'."\n" - .' '."\n" - .'- low:低风险'."\n" - ."\n" - .' - none:未检测到风险', - 'type' => 'string', - 'example' => 'none', - ], - 'AccountId' => [ - 'title' => '客户入参AccountId', - 'description' => '客户入参AccountId', - 'type' => 'string', - 'example' => 'accountIdtest123', - ], - 'DataId' => [ - 'title' => '客户入参DataId', - 'description' => '客户入参DataId', - 'type' => 'string', - 'example' => 'xxxx', - ], + 'BailianRequestId' => ['description' => '百炼RequestId', 'type' => 'string', 'example' => 'xxx'], + 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n" + ."\n" + .'- high:高风险'."\n" + ."\n" + .'- medium:中风险'."\n" + .' '."\n" + .'- low:低风险'."\n" + ."\n" + .' - none:未检测到风险', 'type' => 'string', 'example' => 'none'], + 'AccountId' => ['title' => '客户入参AccountId', 'description' => '客户入参AccountId', 'type' => 'string', 'example' => 'accountIdtest123'], + 'DataId' => ['title' => '客户入参DataId', 'description' => '客户入参DataId', 'type' => 'string', 'example' => 'xxxx'], ], ], ], ], ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -4867,69 +2486,49 @@ ], 'AddKeywords' => [ 'summary' => '添加关键词', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157048', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'customxx_xxxx', - ], + 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'], ], [ 'name' => 'Keywords', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词,多个关键词以\\n分割。', - 'type' => 'string', - 'required' => false, - 'example' => '关键词1\\n关键词2'."\n", - ], + 'schema' => ['description' => '关键词,多个关键词以\\n分割。', 'type' => 'string', 'required' => false, 'example' => '关键词1\\n关键词2'."\n"], ], [ 'name' => 'KeywordsObject', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词文件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n", - ], + 'schema' => ['description' => '关键词文件名称。', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n"], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], ], ], 'responses' => [ @@ -4943,117 +2542,43 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'LibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'customxx_xxxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'xxxxx-xxxxx', - ], + 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxxx-xxxxx'], 'KeywordsResult' => [ 'description' => '结果。', 'type' => 'object', 'properties' => [ - 'Progress' => [ - 'description' => '任务进度百分比。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'LibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'customxx_xxxx', - ], - 'I18nKey' => [ - 'description' => '国际化key。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Tips' => [ - 'description' => '提示信息。', - 'type' => 'string', - 'example' => 'xxxxx', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'], + 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'], + 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxxxx'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'RepeatKeywords' => [ 'description' => '重复的关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '重复的关键词。', - 'type' => 'string', - 'example' => '重复关键词'."\n", - ], + 'items' => ['description' => '重复的关键词。', 'type' => 'string', 'example' => '重复关键词'."\n"], ], 'InvalidKeywords' => [ 'description' => '不合法关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '不合法关键词。', - 'type' => 'string', - 'example' => '非法关键词'."\n", - ], + 'items' => ['description' => '不合法关键词。', 'type' => 'string', 'example' => '非法关键词'."\n"], ], 'IllegalLengthKeywords' => [ 'description' => '长度过长或过短关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '长度过长或过短关键词。', - 'type' => 'string', - 'example' => '过短关键词'."\n", - ], + 'items' => ['description' => '长度过长或过短关键词。', 'type' => 'string', 'example' => '过短关键词'."\n"], ], ], ], ], ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -5063,67 +2588,41 @@ ], 'ListKeywords' => [ 'summary' => '查询关键词列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '词库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_xxxx', - ], + 'schema' => ['description' => '词库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'], ], [ 'name' => 'Word', 'in' => 'formData', - 'schema' => [ - 'description' => '关键字。', - 'type' => 'string', - 'required' => false, - 'example' => '测试词', - ], + 'schema' => ['description' => '关键字。', 'type' => 'string', 'required' => false, 'example' => '测试词'], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -5133,22 +2632,21 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{}', - 'description' => '排序字段。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'], + 'example' => '{\\"GmtCreate\\":\\"desc\\"}', ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['title' => '租户编码', 'description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], ], ], 'responses' => [ @@ -5162,24 +2660,9 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '23', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '23'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -5187,136 +2670,85 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '112', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-06-03 14:43:03', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2023-06-03 14:43:03', - ], - 'KeywordLibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'custom_xxxx', - ], - 'KeywordMd5Id' => [ - 'description' => '关键词数据ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4205334', - ], - 'Word' => [ - 'description' => '关键词。', - 'type' => 'string', - 'example' => '测试词', + 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '112'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-06-03 14:43:03'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-06-03 14:43:03'], + 'KeywordLibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'custom_xxxx'], + 'KeywordMd5Id' => ['description' => '关键词数据ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '4205334'], + 'Word' => ['description' => '关键词。', 'type' => 'string', 'example' => '测试词'], + 'Properties' => [ + 'description' => '属性', + 'type' => 'object', + 'properties' => [ + 'Attribute' => ['description' => '属性', 'type' => 'string', 'example' => 'xxx'], + ], ], ], ], ], ], ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 23,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 112,\\n \\"GmtCreate\\": \\"2023-06-03 14:43:03\\",\\n \\"GmtModified\\": \\"2023-06-03 14:43:03\\",\\n \\"KeywordLibId\\": \\"custom_xxxx\\",\\n \\"KeywordMd5Id\\": 4205334,\\n \\"Word\\": \\"测试词\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequestParameters', 'errorMessage' => 'Invalid request parameters.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 23,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 112,\\n \\"GmtCreate\\": \\"2023-06-03 14:43:03\\",\\n \\"GmtModified\\": \\"2023-06-03 14:43:03\\",\\n \\"KeywordLibId\\": \\"custom_xxxx\\",\\n \\"KeywordMd5Id\\": 4205334,\\n \\"Word\\": \\"测试词\\",\\n \\"Properties\\": {\\n \\"Attribute\\": \\"xxx\\"\\n }\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]', 'title' => '查询关键词列表', ], 'DeleteKeyword' => [ 'summary' => '删除关键词', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157037', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'customxx_xxxx', - ], + 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'], ], [ 'name' => 'KeywordIds', 'in' => 'formData', - 'schema' => [ - 'description' => '要删除的关键词ID。', - 'type' => 'string', - 'required' => false, - 'example' => '[16754493]', - ], + 'schema' => ['description' => '要删除的关键词ID。', 'type' => 'string', 'required' => false, 'example' => '[16754493]'], ], [ 'name' => 'KeywordIdList', 'in' => 'formData', - 'schema' => [ - 'description' => '要删除的关键词ID。', - 'type' => 'string', - 'required' => false, - 'example' => '[6715465]', - ], + 'schema' => ['description' => '要删除的关键词ID。', 'type' => 'string', 'required' => false, 'example' => '[6715465]'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], ], ], 'responses' => [ @@ -5326,32 +2758,11 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -5365,49 +2776,39 @@ ], 'ExportKeyword' => [ 'summary' => '导出关键词', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '158882', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'customxx_xxxx', - ], + 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], ], ], 'responses' => [ @@ -5417,32 +2818,11 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '导出结果。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr', - ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr'], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -5452,14 +2832,8 @@ ], 'ExportTextScanResult' => [ 'summary' => '导出调用结果,excel文件', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5471,30 +2845,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157038', - 'abilityTreeNodes' => [ - 'FEATURElvwangL296SE', - ], + 'abilityTreeNodes' => ['FEATURElvwangL296SE'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-10 10:00:00', - ], + 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-11 10:00:00', - ], + 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'], ], [ 'name' => 'Query', @@ -5504,22 +2866,13 @@ 'description' => '查询条件。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '查询条件。', - 'example' => '{"RequestId":"8488665D-32D3-5DD6-8BF1-B4DE2******"}', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '查询条件。', 'example' => '{"RequestId":"8488665D-32D3-5DD6-8BF1-B4DE2******"}'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -5529,32 +2882,11 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '导出结果。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx', - ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx'], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -5564,49 +2896,39 @@ ], 'DeleteKeywordLib' => [ 'summary' => '删除关键词库', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '157040', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'customxx_xxxx', - ], + 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], ], ], 'responses' => [ @@ -5616,32 +2938,11 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Success' => [ - 'description' => '成功标识。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'Success' => ['description' => '成功标识。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -5651,28 +2952,21 @@ ], 'UpdateImageLibFreeInspection' => [ 'summary' => '编辑图库免检配置', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '159537', - 'abilityTreeNodes' => [ - 'FEATURElvwang7CSAZW', - ], + 'abilityTreeNodes' => ['FEATURElvwangE704W7'], ], 'parameters' => [ [ @@ -5683,23 +2977,19 @@ 'description' => '配置。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => '配置。', - 'example' => '{}', - ], + 'additionalProperties' => ['type' => 'integer', 'format' => 'int32', 'description' => '配置。', 'example' => '1'], + 'example' => '{\\"2833014490001\\":0}', ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'ServiceCode', + 'in' => 'formData', + 'schema' => ['description' => '选择的服务标识', 'type' => 'string', 'required' => false, 'example' => 'response_security_check'], ], ], 'responses' => [ @@ -5709,43 +2999,12 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回结果。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'True'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -5755,14 +3014,8 @@ ], 'AddImages2Lib' => [ 'summary' => '批量添加图片', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5775,40 +3028,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '159538', - 'abilityTreeNodes' => [ - 'FEATURElvwangYDUT0K', - ], + 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '图库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx', - ], + 'schema' => ['description' => '图库ID。', 'type' => 'string', 'required' => false, 'example' => 'xxx'], ], [ 'name' => 'ImgUrl', 'in' => 'formData', - 'schema' => [ - 'description' => '图片地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg', - ], + 'schema' => ['description' => '图片地址。', 'type' => 'string', 'required' => false, 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -5822,45 +3058,14 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'ImgId' => [ - 'description' => '图片ID。', - 'type' => 'string', - 'example' => '100001', - ], + 'ImgId' => ['description' => '图片ID。', 'type' => 'string', 'example' => '100001'], ], ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -5870,14 +3075,8 @@ ], 'ListImagesFromLib' => [ 'summary' => '图片列表 分页', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5889,72 +3088,38 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '159539', - 'abilityTreeNodes' => [ - 'FEATURElvwangYDUT0K', - ], + 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '图库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_xxxx', - ], + 'schema' => ['description' => '图库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'], ], [ 'name' => 'ImgId', 'in' => 'formData', - 'schema' => [ - 'description' => '图片ID。', - 'type' => 'string', - 'required' => false, - 'example' => '112', - ], + 'schema' => ['description' => '图片ID。', 'type' => 'string', 'required' => false, 'example' => '112'], ], [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-11 09:00:19', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-24 10:01:55', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'description' => '当前页号。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页号。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -5964,22 +3129,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '排序字段。', - 'example' => '{}', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{}'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -5989,24 +3145,9 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '图片总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CurrentPage' => [ - 'description' => '当前分页。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '图片总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CurrentPage' => ['description' => '当前分页。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -6014,61 +3155,18 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2022-11-30 16:30:29', - ], - 'ImageId' => [ - 'description' => '图片ID。', - 'type' => 'string', - 'example' => '112', - ], - 'ImageUrl' => [ - 'description' => '图片url地址。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg', - ], - 'ThumbnailUrl' => [ - 'description' => '缩略图地址。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg', - ], + 'GmtCreate' => ['description' => '创建时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2022-11-30 16:30:29'], + 'ImageId' => ['description' => '图片ID。', 'type' => 'string', 'example' => '112'], + 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg'], + 'ThumbnailUrl' => ['description' => '缩略图地址。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg'], ], ], ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -6078,14 +3176,8 @@ ], 'AddImageLib' => [ 'summary' => '创建图库', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6097,40 +3189,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '159536', - 'abilityTreeNodes' => [ - 'FEATURElvwangYDUT0K', - ], + 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'], ], 'parameters' => [ [ 'name' => 'LibName', 'in' => 'formData', - 'schema' => [ - 'description' => '图库名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试图库', - ], + 'schema' => ['description' => '图库名称。', 'type' => 'string', 'required' => false, 'example' => '测试图库'], ], [ 'name' => 'Comment', 'in' => 'formData', - 'schema' => [ - 'description' => '图库的备注信息。', - 'type' => 'string', - 'required' => false, - 'example' => '色情内容黑名单图库', - ], + 'schema' => ['description' => '图库的备注信息。', 'type' => 'string', 'required' => false, 'example' => '色情内容黑名单图库'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -6140,43 +3215,12 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -6186,14 +3230,8 @@ ], 'ExportScanResult' => [ 'summary' => '导出调用结果,excel文件', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6205,30 +3243,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '160496', - 'abilityTreeNodes' => [ - 'FEATURElvwangL296SE', - ], + 'abilityTreeNodes' => ['FEATURElvwangL296SE'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-10 10:00:00', - ], + 'schema' => ['description' => '查询的开始时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-11 10:00:00', - ], + 'schema' => ['description' => '查询的结束时间,格式为yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'], ], [ 'name' => 'Query', @@ -6238,11 +3264,7 @@ 'description' => '查询内容。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '查询条件。', - 'example' => '{"RequestId":"D83A46FF-9EA6-1477-A0C3-C8XXXXX****"}', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '查询条件。', 'example' => '{"RequestId":"D83A46FF-9EA6-1477-A0C3-C8XXXXX****"}'], ], ], [ @@ -6252,37 +3274,19 @@ 'description' => '资源类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'voice' => '音频', - 'image' => '图片', - 'file' => '文档', - 'text' => '文本', - 'video' => '视频', - ], + 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'], 'example' => 'text', ], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -6292,22 +3296,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{"RequestTime":"desc"}', - 'description' => '排序字段。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '{"RequestTime":"desc"}', 'description' => '排序字段。'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -6317,43 +3312,12 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '导出结果。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '导出结果。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -6363,39 +3327,32 @@ ], 'ListImageLib' => [ 'summary' => '图库列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '159540', - 'abilityTreeNodes' => [ - 'FEATURElvwangYDUT0K', - ], + 'abilityTreeNodes' => ['FEATURElvwangE704W7'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'ServiceCode', + 'in' => 'formData', + 'schema' => ['description' => '选取的服务标识', 'type' => 'string', 'required' => false, 'example' => 'response_security_check'], ], ], 'responses' => [ @@ -6411,136 +3368,55 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'LibId' => [ - 'description' => '图库ID。', - 'type' => 'string', - 'example' => 'custom_xxxx', - ], - 'LibName' => [ - 'description' => '图库名称。', - 'type' => 'string', - 'example' => '测试', - ], - 'ImageNum' => [ - 'description' => '图库的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'FreeInspection' => [ - 'description' => '免审配置。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Comment' => [ - 'description' => '备注。', - 'type' => 'string', - 'example' => '备注', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2024-06-03 15:20:14', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2024-06-03 15:20:14', - ], + 'LibId' => ['description' => '图库ID。', 'type' => 'string', 'example' => 'custom_xxxx'], + 'LibName' => ['description' => '图库名称。', 'type' => 'string', 'example' => '测试'], + 'ImageNum' => ['description' => '图库的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'FreeInspection' => ['description' => '免审配置。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Comment' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'], ], ], ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + 'MaxLibCount' => ['description' => '支持的最大库数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LibList\\": [\\n {\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"ImageNum\\": 1,\\n \\"FreeInspection\\": 1,\\n \\"Comment\\": \\"备注\\",\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LibList\\": [\\n {\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"ImageNum\\": 1,\\n \\"FreeInspection\\": 1,\\n \\"Comment\\": \\"备注\\",\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"MaxLibCount\\": 5\\n}","type":"json"}]', 'title' => '图库列表', ], 'DeleteImagesFromLib' => [ 'summary' => '批量删除', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '图库的id。', - 'type' => 'string', - 'required' => false, - 'example' => 'customxx_xxxx', - ], + 'schema' => ['description' => '图库的id。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'], ], [ 'name' => 'ImageIds', 'in' => 'formData', - 'schema' => [ - 'description' => '要删除的图片id。', - 'type' => 'string', - 'required' => false, - 'example' => '[158794]', - ], + 'schema' => ['description' => '要删除的图片id。', 'type' => 'string', 'required' => false, 'example' => '[158794]'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -6550,43 +3426,12 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回结果。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'True'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -6596,14 +3441,8 @@ ], 'GetImageSceneLabelConf' => [ 'summary' => '获取图片规则标签信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6615,20 +3454,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '160095', - 'abilityTreeNodes' => [ - 'FEATURElvwangE704W7', - ], + 'abilityTreeNodes' => ['FEATURElvwangE704W7'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -6641,44 +3473,13 @@ 'Data' => [ 'description' => '返回数据。', 'type' => 'array', - 'items' => [ - 'description' => '返回数据。', - 'type' => 'object', - 'example' => '{}', - ], - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', + 'items' => ['description' => '返回数据。', 'type' => 'object', 'example' => '{}'], ], + 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -6688,14 +3489,8 @@ ], 'UpdateImageLib' => [ 'summary' => '编辑图库', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6707,61 +3502,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '159534', - 'abilityTreeNodes' => [ - 'FEATURElvwangYDUT0K', - ], + 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '图库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_xxxx', - ], + 'schema' => ['description' => '图库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'], ], [ 'name' => 'LibName', 'in' => 'formData', - 'schema' => [ - 'description' => '库名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试图库', - ], + 'schema' => ['description' => '库名称。', 'type' => 'string', 'required' => false, 'example' => '测试图库'], ], [ 'name' => 'Comment', 'in' => 'formData', - 'schema' => [ - 'description' => '图库的备注信息。', - 'type' => 'string', - 'required' => false, - 'example' => '备注', - ], + 'schema' => ['description' => '图库的备注信息。', 'type' => 'string', 'required' => false, 'example' => '备注'], ], [ 'name' => 'FreeInspection', 'in' => 'formData', - 'schema' => [ - 'description' => '免审配置。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '免审配置。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -6771,43 +3538,12 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Success' => [ - 'title' => '成功标志', - 'description' => '成功标志', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Code' => [ - 'title' => '错误码,和http status一致', - 'description' => '错误码,和http status一致', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Msg' => [ - 'title' => '错误码的进一步描述', - 'description' => '错误码的进一步描述', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'title' => 'http状态码', - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -6817,49 +3553,32 @@ ], 'GetImageSceneLabelListConf' => [ 'summary' => '获取图片规则标签信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '163937', - 'abilityTreeNodes' => [ - 'FEATURElvwangE704W7', - ], + 'abilityTreeNodes' => ['FEATURElvwangE704W7'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'ImageServiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], ], 'responses' => [ @@ -6872,18 +3591,9 @@ 'Data' => [ 'description' => '返回数据。', 'type' => 'array', - 'items' => [ - 'description' => '返回数据。', - 'type' => 'any', - 'example' => '{}', - ], - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', + 'items' => ['description' => '返回数据。', 'type' => 'any', 'example' => '{}'], ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -6893,14 +3603,8 @@ ], 'GetScanNum' => [ 'summary' => '用户待检测信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6912,41 +3616,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179486', - 'abilityTreeNodes' => [ - 'FEATURElvwangJF4QIZ', - ], + 'abilityTreeNodes' => ['FEATURElvwangJF4QIZ'], ], 'parameters' => [ [ 'name' => 'Buckets', 'in' => 'query', - 'schema' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'required' => false, - 'example' => 'tmpsample', - ], + 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => 'tmpsample'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'MediaType', 'in' => 'query', - 'schema' => [ - 'description' => '媒资类型。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -6956,35 +3642,11 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'ScanNumber' => [ - 'description' => '待检测文件总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SumNumber' => [ - 'description' => '总文件数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'LimitNumber' => [ - 'description' => '数量上限。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Tag' => [ - 'description' => '是否为白名单用户。', - 'type' => 'boolean', - 'example' => 'True', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'ScanNumber' => ['description' => '待检测文件总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SumNumber' => ['description' => '总文件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'LimitNumber' => ['description' => '数量上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Tag' => ['description' => '是否为白名单用户。', 'type' => 'boolean', 'example' => 'True'], ], ], ], @@ -6994,14 +3656,8 @@ ], 'CancelStockOssCheckTask' => [ 'summary' => '取消oss扫描任务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7014,30 +3670,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179017', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'P_UNYVB', - ], + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_UNYVB'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -7047,17 +3691,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -7067,14 +3702,8 @@ ], 'CreatePreCheck' => [ 'summary' => '创建oss扫描任务前检查', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7087,163 +3716,83 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179987', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'TaskName', 'in' => 'formData', - 'schema' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '图片任务 20240709101602004'."\n", - ], + 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '图片任务 20240709101602004'."\n"], ], [ 'name' => 'Buckets', 'in' => 'formData', - 'schema' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'required' => false, - 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]', - ], + 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'], ], [ 'name' => 'IsInc', 'in' => 'formData', - 'schema' => [ - 'description' => '是否定时扫描任务。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '是否定时扫描任务。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'MediaType', 'in' => 'formData', - 'schema' => [ - 'description' => '媒资类型。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Priority', 'in' => 'formData', - 'schema' => [ - 'description' => '优先级。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '优先级。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], [ 'name' => 'ScanNoFileType', 'in' => 'formData', - 'schema' => [ - 'description' => '是否扫描无后缀图片。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否扫描无后缀图片。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ScanService', 'in' => 'formData', - 'schema' => [ - 'description' => '扫描服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '扫描服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'DistinctHistoryTasks', 'in' => 'formData', - 'schema' => [ - 'description' => '是否对历史已检测任务去重。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否对历史已检测任务去重。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'StartTime', 'in' => 'formData', - 'schema' => [ - 'description' => '任务开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-12-17 10:08:00'."\n", - ], + 'schema' => ['description' => '任务开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-12-17 10:08:00'."\n"], ], [ 'name' => 'EndTime', 'in' => 'formData', - 'schema' => [ - 'description' => '任务结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-12-18 10:08:00'."\n", - ], + 'schema' => ['description' => '任务结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-12-18 10:08:00'."\n"], ], [ 'name' => 'ScanLimit', 'in' => 'formData', - 'schema' => [ - 'description' => '扫描限制数量。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '扫描限制数量。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ 'name' => 'PrefixFilterType', 'in' => 'formData', - 'schema' => [ - 'description' => '前缀过滤类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => '前缀过滤类型。', 'type' => 'string', 'required' => false, 'example' => 'all'], ], [ 'name' => 'PrefixFilters', 'in' => 'formData', - 'schema' => [ - 'description' => '前缀。', - 'type' => 'string', - 'required' => false, - 'example' => 'dir1,dir2', - ], + 'schema' => ['description' => '前缀。', 'type' => 'string', 'required' => false, 'example' => 'dir1,dir2'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'BucketPrefixFilterConfig', 'in' => 'formData', - 'schema' => [ - 'description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)', - 'type' => 'string', - 'required' => false, - 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"', - ], + 'schema' => ['description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)', 'type' => 'string', 'required' => false, 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"'], ], ], 'responses' => [ @@ -7256,18 +3805,9 @@ 'Data' => [ 'description' => '返回数据。', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'boolean', - 'description' => '返回数据。', - 'example' => 'True', - ], - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', + 'additionalProperties' => ['type' => 'boolean', 'description' => '返回数据。', 'example' => 'True'], ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -7277,14 +3817,8 @@ ], 'GetBucketsList' => [ 'summary' => 'bucket列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7296,21 +3830,14 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '176578', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -7327,25 +3854,12 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Bucket' => [ - 'description' => 'OSS文件保存Bucket名称。', - 'type' => 'string', - 'example' => 'bucket_test', - ], - 'Region' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'Bucket' => ['description' => 'OSS文件保存Bucket名称。', 'type' => 'string', 'example' => 'bucket_test'], + 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -7355,14 +3869,8 @@ ], 'GetOssCheckStatus' => [ 'summary' => '获取OSS检测用户状态', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7374,20 +3882,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179436', - 'abilityTreeNodes' => [ - 'FEATURElvwangL1O89D', - ], + 'abilityTreeNodes' => ['FEATURElvwangL1O89D'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -7397,42 +3898,13 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'SlsStatus' => [ - 'description' => '是否授权日志分析功能。', - 'type' => 'string', - 'example' => 'True', - ], - 'RamStatus' => [ - 'description' => '是否已授权内安。', - 'type' => 'string', - 'example' => 'True', - ], - 'Buy' => [ - 'description' => '是否在阿里云开通了商品。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Indebt' => [ - 'description' => '是否欠费。', - 'type' => 'boolean', - 'example' => 'False', - ], - 'Bid' => [ - 'description' => 'Bid。', - 'type' => 'string', - 'example' => '26842', - ], - 'CommodityCode' => [ - 'description' => '商品代码。', - 'type' => 'string', - 'example' => 'xxx', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'SlsStatus' => ['description' => '是否授权日志分析功能。', 'type' => 'string', 'example' => 'True'], + 'RamStatus' => ['description' => '是否已授权内安。', 'type' => 'string', 'example' => 'True'], + 'Buy' => ['description' => '是否在阿里云开通了商品。', 'type' => 'boolean', 'example' => 'True'], + 'Indebt' => ['description' => '是否欠费。', 'type' => 'boolean', 'example' => 'False'], + 'Bid' => ['description' => 'Bid。', 'type' => 'string', 'example' => '26842'], + 'CommodityCode' => ['description' => '商品代码。', 'type' => 'string', 'example' => 'xxx'], ], ], ], @@ -7442,14 +3914,8 @@ ], 'ExportResult' => [ 'summary' => '导出oss扫描结果', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7462,62 +3928,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179021', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-11 09:00:19', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-24 10:01:55', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'], ], [ 'name' => 'Query', 'in' => 'formData', - 'schema' => [ - 'description' => '查询条件。', - 'type' => 'string', - 'required' => false, - 'example' => '{"TaskId":"P_11TL5T"}', - ], + 'schema' => ['description' => '查询条件。', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '查询结果分页的每页项目数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '查询结果分页的每页项目数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'description' => '查询结果分页的页码。默认为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '查询结果分页的页码。默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -7527,22 +3964,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => 'desc', - 'description' => '排序字段。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => 'desc', 'description' => '排序字段。'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'Source', @@ -7551,11 +3979,9 @@ 'description' => '操作来源。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['default' => '默认来源(检测结果页)', 'disposal' => '处置来源(冻结处置页)'], 'example' => 'disposal', - 'enum' => [ - 'default', - 'disposal', - ], + 'enum' => ['default', 'disposal'], ], ], ], @@ -7566,32 +3992,11 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'string', - 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'Success' => [ - 'description' => '成功标志。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Code' => [ - 'description' => '错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'Success' => ['description' => '成功标志。', 'type' => 'boolean', 'example' => 'True'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'OK'], + 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], @@ -7601,14 +4006,8 @@ ], 'GetStockOssCheckTasksList' => [ 'summary' => '查询oss扫描任务列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7621,63 +4020,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179018', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'formData', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-06-17 02:08:00', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-06-17 02:08:00'], ], [ 'name' => 'EndTime', 'in' => 'formData', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-06-18 02:08:00'."\n", - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-06-18 02:08:00'."\n"], ], [ 'name' => 'MediaType', 'in' => 'formData', - 'schema' => [ - 'description' => '媒资类型。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'image'], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -7687,42 +4056,23 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{}', - 'description' => '排序字段。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'IsInc', 'in' => 'query', - 'schema' => [ - 'description' => '是否定时扫描任务', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '是否定时扫描任务', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '任务类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'batch', - ], + 'schema' => ['description' => '任务类型。', 'type' => 'string', 'required' => false, 'example' => 'batch'], ], ], 'responses' => [ @@ -7732,30 +4082,10 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -7763,256 +4093,77 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'P_XHDUS', - ], - 'TaskName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => '图片定时任务20231205135716797'."\n", - ], - 'Buckets' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'example' => 'tmp', - ], - 'Status' => [ - 'description' => '任务状态。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2023-12-21 15:30:19', - ], - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2024-01-10 11:42:31', - ], - 'SearchNum' => [ - 'description' => '扫描任务数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'FinishNum' => [ - 'description' => '已完成数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'MediaType' => [ - 'description' => '媒资类型。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'video', - ], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'P_XHDUS'], + 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => '图片定时任务20231205135716797'."\n"], + 'Buckets' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'tmp'], + 'Status' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'StartTime' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-12-21 15:30:19'], + 'EndTime' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2024-01-10 11:42:31'], + 'SearchNum' => ['description' => '扫描任务数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'FinishNum' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'MediaType' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'example' => 'video'], 'Config' => [ 'description' => '配置项', 'type' => 'object', 'properties' => [ - 'ScanNoFileType' => [ - 'description' => '是否扫描无后缀图片。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'ScanNoFileType' => ['description' => '是否扫描无后缀图片。', 'type' => 'boolean', 'example' => 'true'], 'ScanService' => [ 'description' => '扫描服务code', 'type' => 'array', - 'items' => [ - 'description' => '扫描服务code', - 'type' => 'string', - 'example' => 'baselineCheck', - ], - ], - 'DistinctHistoryTasks' => [ - 'description' => '是否对历史已检测任务去重。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2023-12-21 15:30:19', - ], - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2024-01-10 11:42:31', - ], - 'ScanLimit' => [ - 'description' => '扫描限制数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PrefixFilterType' => [ - 'description' => '前缀过滤类型。', - 'type' => 'string', - 'example' => 'all', + 'items' => ['description' => '扫描服务code', 'type' => 'string', 'example' => 'baselineCheck'], ], + 'DistinctHistoryTasks' => ['description' => '是否对历史已检测任务去重。', 'type' => 'boolean', 'example' => 'false'], + 'StartTime' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-12-21 15:30:19'], + 'EndTime' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2024-01-10 11:42:31'], + 'ScanLimit' => ['description' => '扫描限制数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'PrefixFilterType' => ['description' => '前缀过滤类型。', 'type' => 'string', 'example' => 'all'], 'PrefixFilters' => [ 'description' => '前缀。', 'type' => 'array', - 'items' => [ - 'description' => '前缀。', - 'type' => 'string', - 'example' => 'dir1,dir2', - ], - ], - 'Priority' => [ - 'description' => '优先级。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TaskCycle' => [ - 'description' => '调度日期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ExecuteTime' => [ - 'description' => '定时任务预计执行时间。', - 'type' => 'string', - 'example' => '02:00:00', - ], - 'ExecuteDate' => [ - 'description' => '定时任务执行日期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ScanResourceType' => [ - 'description' => '检测文件类型。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'items' => ['description' => '前缀。', 'type' => 'string', 'example' => 'dir1,dir2'], ], + 'Priority' => ['description' => '优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TaskCycle' => ['description' => '调度日期。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'ExecuteTime' => ['description' => '定时任务预计执行时间。具体格式为 HH:mm:ss', 'type' => 'string', 'example' => '02:00:00'], + 'ExecuteDate' => ['description' => '定时任务执行日期。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ScanResourceType' => ['description' => '检测文件类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'ScanServiceInfos' => [ 'description' => '检测服务信息', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'IsCopy' => [ - 'description' => '是否复制。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'baselineCheck_01', - ], - 'ServiceName' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'example' => '通用基线检测'."\n", - ], - 'CopyFrom' => [ - 'description' => '主服务。', - 'type' => 'string', - 'example' => 'baselineCheck', - ], + 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'false'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'baselineCheck_01'], + 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '通用基线检测'."\n"], + 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'baselineCheck'], ], ], ], - 'CallbackId' => [ - 'description' => '回调通知ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3942', - ], - 'Freeze' => [ - 'description' => '是否冻结', - 'type' => 'boolean', - 'example' => 'false', - ], - 'FreezeType' => [ - 'description' => '冻结类型', - 'type' => 'string', - 'example' => 'ACL', - ], - 'FreezeHighRisk1' => [ - 'description' => '冻结高风险图片', - 'type' => 'boolean', - 'example' => 'true', - ], - 'FreezeMediumRisk1' => [ - 'description' => '冻结中风险图片', - 'type' => 'boolean', - 'example' => 'true', - ], - 'FreezeHighRisk2' => [ - 'description' => '冻结高风险语音、文本', - 'type' => 'boolean', - 'example' => 'true', - ], - 'FreezeMediumRisk2' => [ - 'description' => '冻结中风险语音、文本', - 'type' => 'boolean', - 'example' => 'true', - ], - 'FreezeRestorePath' => [ - 'description' => '转存路径', - 'type' => 'string', - 'example' => '/backup', - ], + 'CallbackId' => ['description' => '回调通知ID', 'type' => 'integer', 'format' => 'int64', 'example' => '3942'], + 'Freeze' => ['description' => '是否冻结', 'type' => 'boolean', 'example' => 'false'], + 'FreezeType' => ['description' => '冻结类型', 'type' => 'string', 'example' => 'ACL'], + 'FreezeHighRisk1' => ['description' => '冻结高风险图片', 'type' => 'boolean', 'example' => 'true'], + 'FreezeMediumRisk1' => ['description' => '冻结中风险图片', 'type' => 'boolean', 'example' => 'true'], + 'FreezeHighRisk2' => ['description' => '冻结高风险语音、文本', 'type' => 'boolean', 'example' => 'true'], + 'FreezeMediumRisk2' => ['description' => '冻结中风险语音、文本', 'type' => 'boolean', 'example' => 'true'], + 'FreezeRestorePath' => ['description' => '转存路径', 'type' => 'string', 'example' => '/backup'], 'UserFreezeConfig' => [ 'description' => '人工冻结配置。', 'type' => 'object', 'properties' => [ - 'FreezeType' => [ - 'description' => '冻结类型。', - 'type' => 'string', - 'example' => 'ACL', - ], - 'FreezeRestorePath' => [ - 'description' => '转存路径。', - 'type' => 'string', - 'example' => '/backup'."\n", - ], + 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'ACL'], + 'FreezeRestorePath' => ['description' => '转存路径。', 'type' => 'string', 'example' => '/backup'."\n"], ], ], - 'Referer' => [ - 'description' => 'Referer。', - 'type' => 'string', - 'example' => '*', - ], + 'Referer' => ['description' => 'Referer。', 'type' => 'string', 'example' => '*'], ], ], - 'ObjectNum' => [ - 'description' => 'bucket总文件数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'NextExecuteDate' => [ - 'description' => '定时任务上次执行时间。', - 'type' => 'string', - 'example' => '02:00:00'."\n", - ], - 'LastExecuteDate' => [ - 'description' => '定时任务下次执行时间。', - 'type' => 'string', - 'example' => '02:00:00'."\n", - ], - 'IsInc' => [ - 'description' => '是否定时扫描任务。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'TaskType' => [ - 'description' => '任务类型。', - 'type' => 'string', - 'example' => 'batch', - ], + 'ObjectNum' => ['description' => 'bucket总文件数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'NextExecuteDate' => ['description' => '定时任务上次执行时间。具体格式为 HH:mm:ss', 'type' => 'string', 'example' => '02:00:00'."\n"], + 'LastExecuteDate' => ['description' => '定时任务下次执行时间。具体格式为 HH:mm:ss', 'type' => 'string', 'example' => '02:00:00'."\n"], + 'IsInc' => ['description' => '是否定时扫描任务。', 'type' => 'boolean', 'example' => 'false'], + 'TaskType' => ['description' => '任务类型。', 'type' => 'string', 'example' => 'batch'], ], ], ], @@ -8025,14 +4176,8 @@ ], 'OssCheckResultList' => [ 'summary' => '获取OSS检测结果列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8044,62 +4189,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179020', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-21 16:08:38'."\n", - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'."\n"], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-10-21 16:08:38'."\n", - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'."\n"], ], [ 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => '查询条件', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -8109,44 +4225,23 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{\\"GmtCreate\\":\\"desc\\"}', - 'description' => '排序字段。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '{\\"GmtCreate\\":\\"desc\\"}', 'description' => '排序字段。'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'FinishNum', 'in' => 'query', - 'schema' => [ - 'description' => '已完成数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '55', - ], + 'schema' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '55'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '任务状态。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -8156,35 +4251,11 @@ 'description' => 'PortalResponse>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'AuthStatus' => [ - 'description' => '授权状态', - 'type' => 'string', - 'example' => 'OK', - ], - 'TotalCount' => [ - 'description' => '总记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'AuthStatus' => ['description' => '授权状态', 'type' => 'string', 'example' => 'OK'], + 'TotalCount' => ['description' => '总记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -8192,99 +4263,31 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'Bucket' => [ - 'description' => 'OSS Bucket名称。', - 'type' => 'string', - 'example' => 'tmp', - ], - 'Object' => [ - 'description' => 'object名称', - 'type' => 'string', - 'example' => '1713014531569_958.png.jpeg', - ], - 'Md5' => [ - 'description' => '文件的MD5。', - 'type' => 'string', - 'example' => '54416c9b159df4a60ae03c04ccb94cb5', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'audio_media_detection_01', - ], - 'Code' => [ - 'description' => '状态码。200表示成功。', - 'type' => 'string', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'success', - ], + 'Bucket' => ['description' => 'OSS Bucket名称。', 'type' => 'string', 'example' => 'tmp'], + 'Object' => ['description' => 'object名称', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'], + 'Md5' => ['description' => '文件的MD5。', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'], + 'Code' => ['description' => '状态码。200表示成功。', 'type' => 'string', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'success'], 'Labels' => [ 'description' => '图片标签。', 'type' => 'array', - 'items' => [ - 'description' => '图片标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], - ], - 'ScanResult' => [ - 'description' => '结果详情。', - 'type' => 'string', - 'example' => '{}', - ], - 'ImageUrl' => [ - 'description' => '图片url地址。', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.jpg', - ], - 'JobName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'dhT20X2310', + 'items' => ['description' => '图片标签。', 'type' => 'string', 'example' => 'nonLabel'], ], + 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'], + 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'], + 'JobName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'dhT20X2310'], 'Labels2' => [ 'description' => '文本标签。', 'type' => 'array', - 'items' => [ - 'description' => '文本标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], - ], - 'Url' => [ - 'description' => '任务URL。', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.mp3', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'P_XHDUS', - ], - 'ServiceName' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'example' => '服务名称', - ], - 'IsCopy' => [ - 'description' => '是否复制。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CopyFrom' => [ - 'description' => '主服务。', - 'type' => 'string', - 'example' => 'audio_media_detection', - ], - 'ContentType' => [ - 'description' => '音视频检测类型。', - 'type' => 'string', - 'example' => 'audio', + 'items' => ['description' => '文本标签。', 'type' => 'string', 'example' => 'nonLabel'], ], + 'Url' => ['description' => '任务URL。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'P_XHDUS'], + 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'], + 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'], + 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'], + 'ContentType' => ['description' => '音视频检测类型。', 'type' => 'string', 'example' => 'audio'], ], ], ], @@ -8297,14 +4300,8 @@ ], 'CreatStockOssCheckTask' => [ 'summary' => '创建oss扫描任务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8317,41 +4314,24 @@ 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '179014', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '图片任务 20240709101602004', - ], + 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => '图片任务 20240709101602004'], ], [ 'name' => 'Buckets', 'in' => 'query', - 'schema' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'required' => false, - 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n", - ], + 'schema' => ['description' => '存储空间。', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n"], ], [ 'name' => 'IsInc', 'in' => 'query', - 'schema' => [ - 'description' => '是否定时扫描任务。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '是否定时扫描任务。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'MediaType', @@ -8361,11 +4341,7 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 1 => '图片', - '音视频', - '文档', - ], + 'enumValueTitles' => [1 => '图片', '音视频', '文档'], 'example' => '1', ], ], @@ -8377,113 +4353,59 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - '不限制', - '24小时', - ], + 'enumValueTitles' => ['不限制', '24小时'], 'example' => '0', ], ], [ 'name' => 'ScanNoFileType', 'in' => 'query', - 'schema' => [ - 'description' => '是否扫描无后缀图片。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否扫描无后缀图片。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ScanService', 'in' => 'query', - 'schema' => [ - 'description' => '扫描服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '扫描服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'DistinctHistoryTasks', 'in' => 'query', - 'schema' => [ - 'description' => '是否对历史已检测任务去重。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否对历史已检测任务去重。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '任务开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-12-17 10:08:00'."\n", - ], + 'schema' => ['description' => '任务开始时间。具体格式为 `YYYY-MM-DD HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2023-12-17 10:08:00'."\n"], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '任务结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-12-18 10:08:00', - ], + 'schema' => ['description' => '任务结束时间。具体格式为 `YYYY-MM-DD HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2023-12-18 10:08:00'], ], [ 'name' => 'ScanLimit', 'in' => 'query', - 'schema' => [ - 'description' => '扫描限制数量。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '扫描限制数量。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ 'name' => 'PrefixFilterType', 'in' => 'query', - 'schema' => [ - 'description' => '前缀过滤类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'all', - ], + 'schema' => ['description' => '前缀过滤类型。', 'type' => 'string', 'required' => false, 'example' => 'all'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'PrefixFilters', 'in' => 'query', - 'schema' => [ - 'description' => '前缀。', - 'type' => 'string', - 'required' => false, - 'example' => 'dir1,dir2'."\n", - ], + 'schema' => ['description' => '前缀。', 'type' => 'string', 'required' => false, 'example' => 'dir1,dir2'."\n"], ], [ 'name' => 'BucketPrefixFilterConfig', 'in' => 'query', - 'schema' => [ - 'description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)', - 'type' => 'string', - 'required' => false, - 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"', - ], + 'schema' => ['description' => '每个桶对应的过滤配置, 可以被解析为 json map格式。其中key为桶名称,value为过滤配置(包含前缀/后缀过滤,过滤字符列表)', 'type' => 'string', 'required' => false, 'example' => '"{\\"test-bucket1\\":{\\"prefixFilterType\\":\\"include\\",\\"prefixFilters\\":[\\"test1\\"]},\\"test-bucket2\\":{\\"prefixFilterType\\":\\"exclude\\",\\"prefixFilters\\":[\\"test2\\"]}}"'], ], [ 'name' => 'TaskCycle', @@ -8493,34 +4415,19 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - '天', - '周', - '月', - ], + 'enumValueTitles' => ['天', '周', '月'], 'example' => '0', ], ], [ 'name' => 'ExecuteDate', 'in' => 'query', - 'schema' => [ - 'description' => '定时任务执行日期。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '定时任务执行日期。整数类型格式', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ExecuteTime', 'in' => 'query', - 'schema' => [ - 'description' => '定时任务预计执行时间。', - 'type' => 'string', - 'required' => false, - 'example' => '01:09:30-01:19:30', - ], + 'schema' => ['description' => '定时任务预计执行时间。具体格式为 `HH:mm:ss-HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '01:09:30-01:19:30'], ], [ 'name' => 'ScanResourceType', @@ -8529,11 +4436,7 @@ 'description' => '检测文件类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '音视频', - '仅视频', - '仅音频', - ], + 'enumValueTitles' => ['音视频', '仅视频', '仅音频'], 'example' => '0', ], ], @@ -8544,103 +4447,54 @@ 'description' => '任务类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'timing' => '定时任务', - 'batch' => '存量任务', - 'increment' => '增量任务', - ], + 'enumValueTitles' => ['timing' => '定时任务', 'batch' => '存量任务', 'increment' => '增量任务'], 'example' => 'batch', ], ], [ 'name' => 'CallbackId', 'in' => 'query', - 'schema' => [ - 'description' => '消息通知ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1751', - ], + 'schema' => ['description' => '消息通知ID。', 'type' => 'string', 'required' => false, 'example' => '1751'], ], [ 'name' => 'Freeze', 'in' => 'query', - 'schema' => [ - 'description' => '是否冻结', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否冻结', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'FreezeType', 'in' => 'query', - 'schema' => [ - 'description' => '冻结类型', - 'type' => 'string', - 'required' => false, - 'example' => 'ACL', - ], + 'schema' => ['description' => '冻结类型', 'type' => 'string', 'required' => false, 'example' => 'ACL'], ], [ 'name' => 'FreezeHighRisk1', 'in' => 'query', - 'schema' => [ - 'description' => '冻结高风险图片', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '冻结高风险图片', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'FreezeMediumRisk1', 'in' => 'query', - 'schema' => [ - 'description' => '冻结中风险图片', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '冻结中风险图片', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'FreezeHighRisk2', 'in' => 'query', - 'schema' => [ - 'description' => '冻结高风险语音、文本', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '冻结高风险语音、文本', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'FreezeMediumRisk2', 'in' => 'query', - 'schema' => [ - 'description' => '冻结中风险语音、文本', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '冻结中风险语音、文本', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'FreezeRestorePath', 'in' => 'query', - 'schema' => [ - 'description' => '转存路径', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '转存路径', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Referer', 'in' => 'query', - 'schema' => [ - 'description' => 'Referer。', - 'type' => 'string', - 'required' => false, - 'example' => 'https://www.aliyun.com', - ], + 'schema' => ['description' => 'Referer。', 'type' => 'string', 'required' => false, 'example' => 'https://www.aliyun.com'], ], ], 'responses' => [ @@ -8650,17 +4504,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -8670,68 +4515,54 @@ ], 'AddKeywordsToLib' => [ 'summary' => '添加关键词', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '180474', - 'abilityTreeNodes' => [ - 'FEATURElvwangGBPV1P', - ], + 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'customxx_xxxx', - ], + 'schema' => ['description' => '关键词库ID。', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'], ], [ 'name' => 'Keywords', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词,多个关键词以\\n分割。', - 'type' => 'string', - 'required' => false, - 'example' => '关键词1\\n关键词2'."\n", - ], + 'schema' => ['description' => '关键词,多个关键词以\\n分割。', 'type' => 'string', 'required' => false, 'example' => '关键词1\\n关键词2'."\n"], ], [ 'name' => 'KeywordsObject', 'in' => 'formData', - 'schema' => [ - 'description' => '关键词文件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n", - ], + 'schema' => ['description' => '关键词文件名称。', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n"], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'TenantCode', + 'in' => 'query', + 'schema' => ['description' => '词库编码'."\n" + ."\n" + .'- desensitize 脱敏词库', 'type' => 'string', 'required' => false, 'example' => 'desensitize'], + ], + [ + 'name' => 'Properties', + 'in' => 'query', + 'schema' => ['description' => '属性', 'type' => 'string', 'required' => false, 'example' => '{"attribute":"xx"}'], ], ], 'responses' => [ @@ -8745,97 +4576,39 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'LibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'customxx_xxxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'xxxxx-xxxxx', - ], + 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxxx-xxxxx'], 'KeywordsResult' => [ 'description' => '结果。', 'type' => 'object', 'properties' => [ - 'Progress' => [ - 'description' => '任务进度百分比。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'LibId' => [ - 'description' => '关键词库ID。', - 'type' => 'string', - 'example' => 'customxx_xxxx', - ], - 'I18nKey' => [ - 'description' => '国际化key', - 'type' => 'string', - 'example' => 'xxx', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'LibId' => ['description' => '关键词库ID。', 'type' => 'string', 'example' => 'customxx_xxxx'], + 'I18nKey' => ['description' => '国际化key', 'type' => 'string', 'example' => 'xxx'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'RepeatKeywords' => [ 'description' => '重复的关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '重复的关键词。', - 'type' => 'string', - 'example' => '重复的关键词', - ], + 'items' => ['description' => '重复的关键词。', 'type' => 'string', 'example' => '重复的关键词'], ], 'InvalidKeywords' => [ 'description' => '不合法关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '不合法关键词。', - 'type' => 'string', - 'example' => '过短关键词'."\n", - ], + 'items' => ['description' => '不合法关键词。', 'type' => 'string', 'example' => '过短关键词'."\n"], ], 'IllegalLengthKeywords' => [ 'description' => '长度过长或过短关键词列表。', 'type' => 'array', - 'items' => [ - 'description' => '长度过长或过短关键词。', - 'type' => 'string', - 'example' => '过短关键词'."\n", - ], + 'items' => ['description' => '长度过长或过短关键词。', 'type' => 'string', 'example' => '过短关键词'."\n"], ], ], ], ], ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -8845,14 +4618,8 @@ ], 'GetServiceLabelConfig' => [ 'summary' => '获取单个服务的标签配置', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8864,40 +4631,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '174703', - 'abilityTreeNodes' => [ - 'FEATURElvwangE704W7', - ], + 'abilityTreeNodes' => ['FEATURElvwangE704W7'], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'nickname_detection', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'text', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'text'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -8910,18 +4660,9 @@ 'Data' => [ 'description' => '返回数据。', 'type' => 'array', - 'items' => [ - 'description' => '返回数据。', - 'type' => 'any', - 'example' => '{}', - ], - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', + 'items' => ['description' => '返回数据。', 'type' => 'any', 'example' => '{}'], ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -8931,14 +4672,8 @@ ], 'ModifyServiceInfo' => [ 'summary' => '编辑服务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8950,60 +4685,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '184637', - 'abilityTreeNodes' => [ - 'FEATURElvwangXKZ6SI', - ], + 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'ServiceName', 'in' => 'formData', - 'schema' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '通用基线检测', - ], + 'schema' => ['description' => '服务名称。', 'type' => 'string', 'required' => false, 'example' => '通用基线检测'], ], [ 'name' => 'ServiceDesc', 'in' => 'formData', - 'schema' => [ - 'description' => '服务描述。', - 'type' => 'string', - 'required' => false, - 'example' => '描述', - ], + 'schema' => ['description' => '服务描述。', 'type' => 'string', 'required' => false, 'example' => '描述'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9013,17 +4721,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -9033,14 +4732,8 @@ ], 'CopyServiceConfig' => [ 'summary' => '复制服务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9052,40 +4745,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '184636', - 'abilityTreeNodes' => [ - 'FEATURElvwang9SVL0Q', - ], + 'abilityTreeNodes' => ['FEATURElvwang9SVL0Q'], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'nickname_detection', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'], ], [ 'name' => 'ServiceName', 'in' => 'formData', - 'schema' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'required' => false, - 'example' => '用户昵称检测'."\n", - ], + 'schema' => ['description' => '服务名称。', 'type' => 'string', 'required' => false, 'example' => '用户昵称检测'."\n"], ], [ 'name' => 'ServiceDesc', 'in' => 'formData', - 'schema' => [ - 'description' => '服务描述。', - 'type' => 'string', - 'required' => false, - 'example' => '服务备注', - ], + 'schema' => ['description' => '服务描述。', 'type' => 'string', 'required' => false, 'example' => '服务备注'], ], [ 'name' => 'ResourceType', @@ -9094,25 +4770,14 @@ 'description' => '资源类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'voice' => '音频', - 'image' => '图片', - 'file' => '文档', - 'text' => '文本', - 'video' => '视频', - ], + 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'], 'example' => 'text', ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9122,17 +4787,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -9142,14 +4798,8 @@ ], 'GetExecuteTime' => [ 'summary' => '获取定时任务预计执行时间', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9161,20 +4811,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '190608', - 'abilityTreeNodes' => [ - 'FEATURElvwangKN3PXM', - ], + 'abilityTreeNodes' => ['FEATURElvwangKN3PXM'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9184,17 +4827,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'string', - 'example' => '02:24:30', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => '02:24:30'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -9204,55 +4838,30 @@ ], 'GetJobNameList' => [ 'summary' => 'oss定时扫描检测周期查询', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-11 09:00:19', - ], + 'schema' => ['description' => '开始时间。具体格式为 `YYYY-MM-DD HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-24 10:01:55', - ], + 'schema' => ['description' => '结束时间。具体格式为 `YYYY-MM-DD HH:mm:ss`', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'], ], [ 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => '查询条件。', - 'type' => 'string', - 'required' => false, - 'example' => '{"TaskId":"P_11TL5T"}', - ], + 'schema' => ['description' => '查询条件。', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'], ], [ 'name' => 'Sort', @@ -9262,22 +4871,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '排序字段。', - 'example' => 'desc', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => 'desc'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9290,18 +4890,9 @@ 'Data' => [ 'description' => '返回数据。', 'type' => 'array', - 'items' => [ - 'description' => '返回数据。', - 'type' => 'string', - 'example' => '["20000101-29990101"]', - ], - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", + 'items' => ['description' => '返回数据。', 'type' => 'string', 'example' => '["20000101-29990101"]'], ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -9311,14 +4902,8 @@ ], 'GetBackupConfig' => [ 'summary' => '获取证据转存配置', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9330,20 +4915,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '201051', - 'abilityTreeNodes' => [ - 'FEATURElvwangHKCO82', - ], + 'abilityTreeNodes' => ['FEATURElvwangHKCO82'], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'ResourceType', @@ -9352,25 +4930,14 @@ 'description' => '资源类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'voice' => '音频', - 'image' => '图片', - 'file' => '文档', - 'text' => '文本', - 'video' => '视频', - ], + 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'], 'example' => 'image', ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9380,85 +4947,28 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '1772612608370735', - ], - 'ResourceType' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'image', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'baselineCheck', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2023-01-17 12:29:56', - ], - 'Enable' => [ - 'description' => '是否启用。取值:'."\n" - .'- **true**:启用'."\n" - .'- **false**:禁用', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Bucket' => [ - 'description' => '文件服务器OSS Bucket', - 'type' => 'string', - 'example' => 'buckect_test', - ], - 'Region' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Path' => [ - 'description' => '路径。', - 'type' => 'string', - 'example' => 'aliyun/template/', - ], - 'ExpireSeconds' => [ - 'description' => '过期时间,单位秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1772612608370735'], + 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'image'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'baselineCheck'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2023-01-17 12:29:56'], + 'Enable' => ['description' => '是否启用。取值:'."\n" + .'- **true**:启用'."\n" + .'- **false**:禁用', 'type' => 'boolean', 'example' => 'true'], + 'Bucket' => ['description' => '文件服务器OSS Bucket', 'type' => 'string', 'example' => 'buckect_test'], + 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'Path' => ['description' => '路径。', 'type' => 'string', 'example' => 'aliyun/template/'], + 'ExpireSeconds' => ['description' => '过期时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'], 'BackupMode' => [ 'description' => '转存范围。', 'type' => 'integer', 'format' => 'int32', - 'enumValueTitles' => [ - '转存所有结果', - '仅转存有检出风险的结果', - ], + 'enumValueTitles' => ['转存所有结果', '仅转存有检出风险的结果'], 'example' => '0', ], - 'EnableBackup' => [ - 'description' => '是否开启转存。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'EnableBackupVoice' => [ - 'description' => '是否开启音频转存', - 'type' => 'boolean', - 'example' => 'True', - ], - 'PathVoice' => [ - 'description' => '音频转存路径。', - 'type' => 'string', - 'example' => '/back', - ], + 'EnableBackup' => ['description' => '是否开启转存。', 'type' => 'boolean', 'example' => 'True'], + 'EnableBackupVoice' => ['description' => '是否开启音频转存', 'type' => 'boolean', 'example' => 'True'], + 'PathVoice' => ['description' => '音频转存路径。', 'type' => 'string', 'example' => '/back'], ], ], ], @@ -9468,14 +4978,8 @@ ], 'GetBackupBucketsList' => [ 'summary' => '证据转存获取用户bucket列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9487,20 +4991,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '201048', - 'abilityTreeNodes' => [ - 'FEATURElvwangHKCO82', - ], + 'abilityTreeNodes' => ['FEATURElvwangHKCO82'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9517,25 +5014,12 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Bucket' => [ - 'description' => 'OSS文件保存Bucket名称。', - 'type' => 'string', - 'example' => 'gj-bucket1', - ], - 'Region' => [ - 'description' => '地域。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], + 'Bucket' => ['description' => 'OSS文件保存Bucket名称。', 'type' => 'string', 'example' => 'gj-bucket1'], + 'Region' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-shanghai'], ], ], ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -9545,14 +5029,8 @@ ], 'GetBackupStatus' => [ 'summary' => '用户授权校验', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9564,20 +5042,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '201049', - 'abilityTreeNodes' => [ - 'FEATURElvwangHKCO82', - ], + 'abilityTreeNodes' => ['FEATURElvwangHKCO82'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9587,17 +5058,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '审核结果数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '审核结果数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -9607,14 +5069,8 @@ ], 'UpdateBackupConfig' => [ 'summary' => '更新证据转存配置', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9626,50 +5082,28 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '201050', - 'abilityTreeNodes' => [ - 'FEATURElvwangHKCO82', - ], + 'abilityTreeNodes' => ['FEATURElvwangHKCO82'], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'videoDetection', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'videoDetection'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'video', - ], + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'video'], ], [ 'name' => 'BackupConfig', 'in' => 'query', - 'schema' => [ - 'description' => '证据转存配置', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '证据转存配置', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9679,17 +5113,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -9699,13 +5124,8 @@ ], 'ListCallback' => [ 'summary' => '消息通知列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9717,20 +5137,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '220530', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9746,61 +5159,19 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11234', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2024-06-03 15:20:14', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2024-06-03 15:20:14', - ], - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '16537*****831937', - ], - 'Name' => [ - 'description' => '名称。', - 'type' => 'string', - 'example' => '回调通知', - ], - 'Url' => [ - 'description' => '回调URL。', - 'type' => 'string', - 'example' => 'https://console.aliyun.com/'."\n", - ], - 'Seed' => [ - 'description' => 'Seed。', - 'type' => 'string', - 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n", - ], - 'CryptType' => [ - 'description' => '加密算法。', - 'type' => 'string', - 'example' => 'SHA256', - ], - 'Scope' => [ - 'description' => '结果范围。', - 'type' => 'string', - 'example' => 'all', - ], + 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11234'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '16537*****831937'], + 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => '回调通知'], + 'Url' => ['description' => '回调URL。', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"], + 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n"], + 'CryptType' => ['description' => '加密算法。', 'type' => 'string', 'example' => 'SHA256'], + 'Scope' => ['description' => '结果范围。', 'type' => 'string', 'example' => 'all'], ], ], ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -9810,13 +5181,8 @@ ], 'QueryCallbackByPage' => [ 'summary' => '消息通知', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9828,42 +5194,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '220532', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -9873,30 +5220,10 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -9904,52 +5231,15 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1697', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2024-06-03 15:20:14', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2024-06-03 15:20:14', - ], - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '12161*****398900', - ], - 'Name' => [ - 'description' => '名称。', - 'type' => 'string', - 'example' => '消息通知', - ], - 'Url' => [ - 'description' => '回调URL。', - 'type' => 'string', - 'example' => 'https://console.aliyun.com/'."\n", - ], - 'Seed' => [ - 'description' => 'Seed。', - 'type' => 'string', - 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq', - ], - 'CryptType' => [ - 'description' => '加密算法。', - 'type' => 'string', - 'example' => 'SHA256', - ], - 'Scope' => [ - 'description' => '结果范围。', - 'type' => 'string', - 'example' => 'all', - ], + 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1697'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 15:20:14'], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '12161*****398900'], + 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => '消息通知'], + 'Url' => ['description' => '回调URL。', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"], + 'Seed' => ['description' => 'Seed。', 'type' => 'string', 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq'], + 'CryptType' => ['description' => '加密算法。', 'type' => 'string', 'example' => 'SHA256'], + 'Scope' => ['description' => '结果范围。', 'type' => 'string', 'example' => 'all'], ], ], ], @@ -9962,13 +5252,8 @@ ], 'CreateCallback' => [ 'summary' => '新建消息通知', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9980,30 +5265,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '220531', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '方案名称。', - 'type' => 'string', - 'required' => false, - 'example' => '消息通知1', - ], + 'schema' => ['description' => '方案名称。', 'type' => 'string', 'required' => false, 'example' => '消息通知1'], ], [ 'name' => 'Url', 'in' => 'formData', - 'schema' => [ - 'description' => '回调地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'https://console.aliyun.com', - ], + 'schema' => ['description' => '回调地址。', 'type' => 'string', 'required' => false, 'example' => 'https://console.aliyun.com'], ], [ 'name' => 'CryptType', @@ -10012,15 +5285,9 @@ 'description' => '加密算法。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'SHA256' => 'SHA256', - 'SM3' => '国密SM3', - ], + 'enumValueTitles' => ['SHA256' => 'SHA256', 'SM3' => '国密SM3'], 'example' => 'SHA256', - 'enum' => [ - 'SHA256', - 'SM3', - ], + 'enum' => ['SHA256', 'SM3'], ], ], [ @@ -10030,26 +5297,15 @@ 'description' => '审核结果。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'all' => '所有结果', - 'risky' => '检出有风险结果', - ], + 'enumValueTitles' => ['all' => '所有结果', 'risky' => '检出有风险结果'], 'example' => 'all', - 'enum' => [ - 'risky', - 'all', - ], + 'enum' => ['risky', 'all'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10059,18 +5315,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'integer', 'format' => 'int64', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -10080,13 +5326,8 @@ ], 'DeleteCallback' => [ 'summary' => '删除消息通知', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10098,31 +5339,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '220529', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', - 'schema' => [ - 'description' => '消息通知数据ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1480', - ], + 'schema' => ['description' => '消息通知数据ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1480'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10132,17 +5360,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -10152,13 +5371,8 @@ ], 'ModifyCallback' => [ 'summary' => '修改消息通知', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10170,41 +5384,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '220533', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'Id', 'in' => 'formData', - 'schema' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '112', - ], + 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '112'], ], [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '名称。', - 'type' => 'string', - 'required' => false, - 'example' => '回调通知', - ], + 'schema' => ['description' => '名称。', 'type' => 'string', 'required' => false, 'example' => '回调通知'], ], [ 'name' => 'Url', 'in' => 'formData', - 'schema' => [ - 'description' => '回调URL。', - 'type' => 'string', - 'required' => false, - 'example' => 'https://www.aliyuncs.com', - ], + 'schema' => ['description' => '回调URL。', 'type' => 'string', 'required' => false, 'example' => 'https://www.aliyuncs.com'], ], [ 'name' => 'CryptType', @@ -10213,11 +5409,9 @@ 'description' => '加密算法。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['SHA256' => '加密算法', 'SM3' => '加密算法'], 'example' => 'SHA256', - 'enum' => [ - 'SHA256', - 'SM3', - ], + 'enum' => ['SHA256', 'SM3'], ], ], [ @@ -10227,22 +5421,15 @@ 'description' => '结果范围。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['all' => '全部', 'risky' => '有风险的'], 'example' => 'all', - 'enum' => [ - 'risky', - 'all', - ], + 'enum' => ['risky', 'all'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10252,17 +5439,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回结果。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -10272,14 +5450,8 @@ ], 'AddAnswerSample' => [ 'summary' => '添加代答答案。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10291,50 +5463,28 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222579', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'query', - 'schema' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'alxxxx', - ], + 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'alxxxx'], ], [ 'name' => 'Samples', 'in' => 'query', - 'schema' => [ - 'description' => '待添加的样本。', - 'type' => 'string', - 'required' => false, - 'example' => '代答答案1\\n代答答案2', - ], + 'schema' => ['description' => '待添加的样本。', 'type' => 'string', 'required' => false, 'example' => '代答答案1\\n代答答案2'], ], [ 'name' => 'SampleObject', 'in' => 'query', - 'schema' => [ - 'description' => '待添加代答样本的文件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'data/xxx.xlsx', - ], + 'schema' => ['description' => '待添加代答样本的文件名称。', 'type' => 'string', 'required' => false, 'example' => 'data/xxx.xlsx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10344,88 +5494,30 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'LibId' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'example' => 'alxxxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'alAxbbxxxx-xxx'."\n", - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"], 'Result' => [ 'description' => '结果。', 'type' => 'object', 'properties' => [ - 'Progress' => [ - 'description' => '进度,90表示90%', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'LibId' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'example' => 'alxxxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'alAxbbxxxx-xxx'."\n", - ], - 'I18nKey' => [ - 'description' => '国际化key。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'TotalCount' => [ - 'description' => '总记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '534', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '318', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '98', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '118', - ], + 'Progress' => ['description' => '进度,90表示90%', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"], + 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'], + 'TotalCount' => ['description' => '总记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '534'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '318'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '98'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '118'], 'RepeatSamples' => [ 'description' => '重复样本集合。', 'type' => 'array', - 'items' => [ - 'description' => '重复样本。', - 'type' => 'string', - 'example' => '重复代答答案', - ], + 'items' => ['description' => '重复样本。', 'type' => 'string', 'example' => '重复代答答案'], ], 'IllegalLengthSamples' => [ 'description' => '长度过长或过短的样本集合。', 'type' => 'array', - 'items' => [ - 'description' => '长度过长或过短的样本。', - 'type' => 'string', - 'example' => '过短代答答案', - ], + 'items' => ['description' => '长度过长或过短的样本。', 'type' => 'string', 'example' => '过短代答答案'], ], ], ], @@ -10438,14 +5530,8 @@ ], 'CreateAnswerLib' => [ 'summary' => '创建代答库', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10457,60 +5543,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222574', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'LibName', 'in' => 'formData', - 'schema' => [ - 'description' => '代答库名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试代答库', - ], + 'schema' => ['description' => '代答库名称。', 'type' => 'string', 'required' => false, 'example' => '测试代答库'], ], [ 'name' => 'Samples', 'in' => 'formData', - 'schema' => [ - 'description' => '待添加的样本。', - 'type' => 'string', - 'required' => false, - 'example' => '代答答案1\\n代答答案2'."\n", - ], + 'schema' => ['description' => '待添加的样本。', 'type' => 'string', 'required' => false, 'example' => '代答答案1\\n代答答案2'."\n"], ], [ 'name' => 'SampleObject', 'in' => 'formData', - 'schema' => [ - 'description' => '待添加代答样本的文件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'data/xxx.xlsx'."\n", - ], + 'schema' => ['description' => '待添加代答样本的文件名称。', 'type' => 'string', 'required' => false, 'example' => 'data/xxx.xlsx'."\n"], ], [ 'name' => 'SampleBucket', 'in' => 'formData', - 'schema' => [ - 'description' => '存储空间名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'oss-cip-shanghai'."\n", - ], + 'schema' => ['description' => '存储空间名称。', 'type' => 'string', 'required' => false, 'example' => 'oss-cip-shanghai'."\n"], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10520,88 +5579,30 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], - 'LibId' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'example' => 'alxxxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'alAxbbxxxx-xxx'."\n", - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"], 'Result' => [ 'description' => '结果。', 'type' => 'object', 'properties' => [ - 'Progress' => [ - 'description' => '任务进度百分比。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'LibId' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'example' => 'alxxxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'alAaaaxxx-xxx', - ], - 'I18nKey' => [ - 'description' => '国际化key。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAaaaxxx-xxx'], + 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'RepeatSamples' => [ 'description' => '重复代答答案列表。', 'type' => 'array', - 'items' => [ - 'description' => '重复代答答案。', - 'type' => 'string', - 'example' => '重复代答答案', - ], + 'items' => ['description' => '重复代答答案。', 'type' => 'string', 'example' => '重复代答答案'], ], 'IllegalLengthSamples' => [ 'description' => '不合法代答答案列表。', 'type' => 'array', - 'items' => [ - 'description' => '不合法代答答案。', - 'type' => 'string', - 'example' => '不合法代答答案', - ], + 'items' => ['description' => '不合法代答答案。', 'type' => 'string', 'example' => '不合法代答答案'], ], ], ], @@ -10614,14 +5615,8 @@ ], 'ExportAnswerSample' => [ 'summary' => '导出代答答案', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10633,30 +5628,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222966', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'alxxx', - ], + 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'alxxx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10666,17 +5649,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'string', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -10686,14 +5660,8 @@ ], 'QueryAnswerSampleByPage' => [ 'summary' => '分页查询代答样本', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10705,52 +5673,28 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222578', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'query', - 'schema' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_xxxx', - ], + 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'], ], [ 'name' => 'Answer', 'in' => 'query', - 'schema' => [ - 'description' => '答案。', - 'type' => 'string', - 'required' => false, - 'example' => '答案', - ], + 'schema' => ['description' => '答案。', 'type' => 'string', 'required' => false, 'example' => '答案'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -10760,22 +5704,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '{}', - 'description' => '排序字段。', - ], + 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10785,30 +5720,10 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'TotalCount' => [ - 'description' => '记录总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '58', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'TotalCount' => ['description' => '记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '58'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -10816,32 +5731,11 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '104813*****2399', - ], - 'LibId' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'example' => 'custom_xxxx', - ], - 'Id' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1666', - ], - 'Answer' => [ - 'description' => '答案', - 'type' => 'string', - 'example' => '答案', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-31 06:16:06', - ], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '104813*****2399'], + 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'custom_xxxx'], + 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1666'], + 'Answer' => ['description' => '答案', 'type' => 'string', 'example' => '答案'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-07-31 06:16:06'], ], ], ], @@ -10854,14 +5748,8 @@ ], 'DeleteAnswerSample' => [ 'summary' => '删除代答答案', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10873,40 +5761,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222581', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'formData', - 'schema' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'alxxx', - ], + 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'alxxx'], ], [ 'name' => 'Ids', 'in' => 'formData', - 'schema' => [ - 'description' => '要删除的id', - 'type' => 'string', - 'required' => false, - 'example' => '[15463605]', - ], + 'schema' => ['description' => '要删除的id', 'type' => 'string', 'required' => false, 'example' => '[15463605]'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10916,17 +5787,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -10936,14 +5798,8 @@ ], 'ListAnswerLib' => [ 'summary' => '代答库列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10956,20 +5812,13 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222576', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -10985,41 +5834,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Uid' => [ - 'description' => 'UID。', - 'type' => 'string', - 'example' => '1643953****74290', - ], - 'LibId' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'example' => 'alxxx', - ], - 'LibName' => [ - 'description' => '库名称。', - 'type' => 'string', - 'example' => '代答库名称', - ], - 'AnswerCount' => [ - 'description' => '代答答案数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'string', - 'example' => '2024-06-03 18:15:01', - ], + 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1643953****74290'], + 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxx'], + 'LibName' => ['description' => '库名称。', 'type' => 'string', 'example' => '代答库名称'], + 'AnswerCount' => ['description' => '代答答案数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '2024-06-03 18:15:01'], ], ], ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -11029,14 +5852,8 @@ ], 'ModifyAnswerLib' => [ 'summary' => '更新代答库', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11048,40 +5865,23 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222575', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'query', - 'schema' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'custom_xxxx', - ], + 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'], ], [ 'name' => 'LibName', 'in' => 'query', - 'schema' => [ - 'description' => '库名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试库', - ], + 'schema' => ['description' => '库名称。', 'type' => 'string', 'required' => false, 'example' => '测试库'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -11091,17 +5891,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -11111,14 +5902,8 @@ ], 'DeleteAnswerLib' => [ 'summary' => '删除代答库', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11130,30 +5915,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222577', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'LibId', 'in' => 'query', - 'schema' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'alxxx', - ], + 'schema' => ['description' => '代答库ID。', 'type' => 'string', 'required' => false, 'example' => 'alxxx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -11163,17 +5936,8 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -11183,14 +5947,8 @@ ], 'GetAnswerImportProgress' => [ 'summary' => '获取代答样本导入进度', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11202,30 +5960,18 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '222580', - 'abilityTreeNodes' => [ - 'FEATURElvwang8G4HBD', - ], + 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'], ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'alAxbbxxxx-xxx', - ], + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'alAxbbxxxx-xxx'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -11235,79 +5981,25 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'Progress' => [ - 'description' => '任务进度百分比。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'LibId' => [ - 'description' => '代答库ID。', - 'type' => 'string', - 'example' => 'alxxxx', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'alAxbbxxxx-xxx', - ], - 'I18nKey' => [ - 'description' => '国际化key。', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Tips' => [ - 'description' => '提示信息。', - 'type' => 'string', - 'example' => 'xxxxx', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'Progress' => ['description' => '任务进度百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'LibId' => ['description' => '代答库ID。', 'type' => 'string', 'example' => 'alxxxx'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'], + 'I18nKey' => ['description' => '国际化key。', 'type' => 'string', 'example' => 'xxx'], + 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxxxx'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'RepeatSamples' => [ 'description' => '重复代答答案列表。', 'type' => 'array', - 'items' => [ - 'description' => '重复代答答案。', - 'type' => 'string', - 'example' => '重复答案', - ], + 'items' => ['description' => '重复代答答案。', 'type' => 'string', 'example' => '重复答案'], ], 'IllegalLengthSamples' => [ 'description' => '不合法代答答案列表。', 'type' => 'array', - 'items' => [ - 'description' => '不合法代答答案。', - 'type' => 'string', - 'example' => '不合法答案', - ], + 'items' => ['description' => '不合法代答答案。', 'type' => 'string', 'example' => '不合法答案'], ], ], ], @@ -11318,13 +6010,8 @@ ], 'UpdateOssCheckResultsFeedBack' => [ 'summary' => '更新OSS检测结果反馈', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11336,61 +6023,34 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '232690', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'QueryRequestId', 'in' => 'query', - 'schema' => [ - 'description' => '查询的请求ID', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'schema' => ['description' => '查询的请求ID', 'type' => 'string', 'required' => false, 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], [ 'name' => 'Feedback', 'in' => 'query', - 'schema' => [ - 'description' => '反馈。', - 'type' => 'string', - 'required' => false, - 'example' => 'misreport', - ], + 'schema' => ['description' => '反馈。', 'type' => 'string', 'required' => false, 'example' => 'misreport'], ], [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'description' => '服务code。', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'P_7SCUK8', - ], + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_7SCUK8'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -11400,17 +6060,8 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回结果。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -11420,13 +6071,8 @@ ], 'UpdateOssCheckResultsFreeze' => [ 'summary' => '批量冻结OSS检测结果。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11439,81 +6085,44 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '232687', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'P_15BU42', - ], + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_15BU42'], ], [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-21 16:08:38', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-10-21 16:08:38', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'], ], [ 'name' => 'FreezeItems', 'in' => 'query', - 'schema' => [ - 'description' => '冻结项。', - 'type' => 'string', - 'required' => false, - 'example' => '[]', - ], + 'schema' => ['description' => '冻结项。', 'type' => 'string', 'required' => false, 'example' => '[]'], ], [ 'name' => 'FreezeType', 'in' => 'query', - 'schema' => [ - 'description' => '冻结类型', - 'type' => 'string', - 'required' => false, - 'example' => 'ACL', - ], + 'schema' => ['description' => '冻结类型', 'type' => 'string', 'required' => false, 'example' => 'ACL'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'FreezeRestorePath', 'in' => 'query', - 'schema' => [ - 'description' => '冻结文件到指定目录。', - 'type' => 'string', - 'required' => false, - 'example' => 'uploadTest/', - ], + 'schema' => ['description' => '冻结文件到指定目录。', 'type' => 'string', 'required' => false, 'example' => 'uploadTest/'], ], ], 'responses' => [ @@ -11523,40 +6132,15 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -11568,13 +6152,8 @@ ], 'GetOssCheckFreezeResult' => [ 'summary' => 'oss检测冻结结果查询', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11587,84 +6166,43 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '232685', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2025-01-09 10:28:54', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2025-01-09 10:28:54'], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2025-05-19 10:05:11', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2025-05-19 10:05:11'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '任务状态。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'FinishNum', 'in' => 'query', - 'schema' => [ - 'description' => '已完成数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], [ 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => '查询条件', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}', - ], + 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Sort', @@ -11674,22 +6212,13 @@ 'description' => '排序字段。', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '排序字段。', - 'example' => '{\\"GmtCreate\\":\\"desc\\"}', - ], + 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{\\"GmtCreate\\":\\"desc\\"}'], ], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -11699,30 +6228,10 @@ 'description' => 'PortalResponse>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '29', - ], - 'PageSize' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '29'], + 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Items' => [ 'description' => '当前页数据。', 'type' => 'array', @@ -11730,174 +6239,58 @@ 'description' => '当前页数据。', 'type' => 'object', 'properties' => [ - 'Bucket' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'example' => 'tmp', - ], - 'JobName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'dhT20X2310', - ], - 'Object' => [ - 'description' => 'object名称', - 'type' => 'string', - 'example' => '1713014531569_958.png.jpeg', - ], - 'Md5' => [ - 'description' => '文件的MD5。', - 'type' => 'string', - 'example' => '54416c9b159df4a60ae03c04ccb94cb5', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'audio_media_detection_01', - ], - 'Code' => [ - 'description' => '错误码,和http status一致。', - 'type' => 'string', - 'example' => '200', - ], - 'Msg' => [ - 'description' => '错误码的进一步描述。', - 'type' => 'string', - 'example' => 'success', - ], + 'Bucket' => ['description' => '存储空间。', 'type' => 'string', 'example' => 'tmp'], + 'JobName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'dhT20X2310'], + 'Object' => ['description' => 'object名称', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'], + 'Md5' => ['description' => '文件的MD5。', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'audio_media_detection_01'], + 'Code' => ['description' => '错误码,和http status一致。', 'type' => 'string', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述。', 'type' => 'string', 'example' => 'success'], 'Labels' => [ 'description' => '图片标签。', 'type' => 'array', - 'items' => [ - 'description' => '图片标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], + 'items' => ['description' => '图片标签。', 'type' => 'string', 'example' => 'nonLabel'], ], 'Labels2' => [ 'description' => '文本标签。', 'type' => 'array', - 'items' => [ - 'description' => '文本标签。', - 'type' => 'string', - 'example' => 'nonLabel', - ], - ], - 'ScanResult' => [ - 'description' => '结果详情。', - 'type' => 'string', - 'example' => '{}', - ], - 'ImageUrl' => [ - 'description' => '图片url地址。', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.jpg', - ], - 'Url' => [ - 'description' => '任务URL。', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.mp3', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'P_BT3FHS', - ], - 'ServiceName' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'example' => '服务名称', - ], - 'IsCopy' => [ - 'description' => '是否复制。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CopyFrom' => [ - 'description' => '主服务。', - 'type' => 'string', - 'example' => 'audio_media_detection', - ], - 'ContentType' => [ - 'description' => '音视频检测类型。', - 'type' => 'string', - 'example' => 'audio', - ], - 'RiskLevel0' => [ - 'description' => '整体风险等级', - 'type' => 'string', - 'example' => 'low', - ], - 'RiskLevel' => [ - 'description' => '图片风险等级', - 'type' => 'string', - 'example' => 'high', - ], - 'RiskLevel2' => [ - 'description' => '文本风险等级', - 'type' => 'string', - 'example' => 'none', - ], - 'FreezeType' => [ - 'description' => '冻结类型。', - 'type' => 'string', - 'example' => 'ACL', - ], - 'FreezeStatus' => [ - 'description' => '冻结状态。', - 'type' => 'string', - 'example' => 'FREEZED', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823', - ], - 'Freeze' => [ - 'description' => '是否冻结', - 'type' => 'boolean', - 'example' => 'true', - ], + 'items' => ['description' => '文本标签。', 'type' => 'string', 'example' => 'nonLabel'], + ], + 'ScanResult' => ['description' => '结果详情。', 'type' => 'string', 'example' => '{}'], + 'ImageUrl' => ['description' => '图片url地址。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'], + 'Url' => ['description' => '任务URL。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'P_BT3FHS'], + 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '服务名称'], + 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'true'], + 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'audio_media_detection'], + 'ContentType' => ['description' => '音视频检测类型。', 'type' => 'string', 'example' => 'audio'], + 'RiskLevel0' => ['description' => '整体风险等级', 'type' => 'string', 'example' => 'low'], + 'RiskLevel' => ['description' => '图片风险等级', 'type' => 'string', 'example' => 'high'], + 'RiskLevel2' => ['description' => '文本风险等级', 'type' => 'string', 'example' => 'none'], + 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'ACL'], + 'FreezeStatus' => ['description' => '冻结状态。', 'type' => 'string', 'example' => 'FREEZED'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823'], + 'Freeze' => ['description' => '是否冻结', 'type' => 'boolean', 'example' => 'true'], 'Feedback' => [ 'description' => '反馈。', 'type' => 'string', - 'enumValueTitles' => [ - 'misreport' => '未违规误报', - 'missOut' => '违规漏过', - ], + 'enumValueTitles' => ['misreport' => '未违规误报', 'missOut' => '违规漏过'], 'example' => 'misreport', ], 'ManualFreezeAction' => [ 'description' => '人工处置状态。', 'type' => 'string', - 'enumValueTitles' => [ - 'FREEZE' => '冻结', - 'UNFREEZE' => '解冻', - ], + 'enumValueTitles' => ['FREEZE' => '冻结', 'UNFREEZE' => '解冻'], 'example' => 'FREEZE', ], 'SysDisposalStatus' => [ 'description' => '系统处置状态。', 'type' => 'string', - 'enumValueTitles' => [ - 'FREEZING' => '冻结中', - 'FREEZED' => '已冻结', - 'UNFREEZED' => '已解冻', - 'NONE' => '未操作', - 'UNFREEZING' => '解冻中', - ], + 'enumValueTitles' => ['FREEZING' => '冻结中', 'FREEZED' => '已冻结', 'UNFREEZED' => '已解冻', 'NONE' => '未操作', 'UNFREEZING' => '解冻中'], 'example' => 'FREEZED', ], - 'ManualOperateTime' => [ - 'description' => '处置时间。', - 'type' => 'string', - 'example' => '2025-08-09 12:00:00', - ], - 'ManualOperator' => [ - 'description' => '处置人。', - 'type' => 'string', - 'example' => 'xx', - ], + 'ManualOperateTime' => ['description' => '处置时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-08-09 12:00:00'], + 'ManualOperator' => ['description' => '处置人。', 'type' => 'string', 'example' => 'xx'], 'LabelDetails' => [ 'description' => '标签。', 'type' => 'array', @@ -11905,22 +6298,9 @@ 'description' => '标签。', 'type' => 'object', 'properties' => [ - 'Label' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'politics', - ], - 'Description' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => '涉政', - ], - 'Confidence' => [ - 'description' => '置信度。', - 'type' => 'number', - 'format' => 'float', - 'example' => '50', - ], + 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'politics'], + 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '涉政'], + 'Confidence' => ['description' => '置信度。', 'type' => 'number', 'format' => 'float', 'example' => '50'], ], ], ], @@ -11936,13 +6316,8 @@ ], 'UpdateOssCheckResultsUnfreeze' => [ 'summary' => '批量解冻OSS检测结果', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11954,61 +6329,34 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '232689', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'P_B6YRVD', - ], + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'P_B6YRVD'], ], [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-08-21 16:08:38', - ], + 'schema' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-10-21 16:08:38', - ], + 'schema' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'], ], [ 'name' => 'FreezeItems', 'in' => 'query', - 'schema' => [ - 'description' => '冻结项。', - 'type' => 'string', - 'required' => false, - 'example' => '[]', - ], + 'schema' => ['description' => '冻结项。', 'type' => 'string', 'required' => false, 'example' => '[]'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -12022,37 +6370,13 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SuccessCount' => [ - 'description' => '成功数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SuccessCount' => ['description' => '成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'RequestId' => [ - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], + 'RequestId' => ['description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题。', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], ], ], ], @@ -12062,12 +6386,8 @@ ], 'DeleteOnlineTest' => [ 'summary' => '删除在线检测任务', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12077,32 +6397,19 @@ 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '260298', - 'abilityTreeNodes' => [ - 'FEATURElvwang78REFZ', - ], + 'abilityTreeNodes' => ['FEATURElvwang78REFZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => '资源类型', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'image'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '地域ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -12112,17 +6419,8 @@ 'description' => 'PortalResponse', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], + 'Data' => ['description' => '返回数据', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], ], ], ], @@ -12132,12 +6430,8 @@ ], 'CreateOnlineTest' => [ 'summary' => '创建在线检测任务', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12147,54 +6441,29 @@ 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '259357', - 'abilityTreeNodes' => [ - 'FEATURElvwang78REFZ', - ], + 'abilityTreeNodes' => ['FEATURElvwang78REFZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => '资源类型', - 'type' => 'string', - 'required' => false, - 'example' => 'video', - ], + 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'video'], ], [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'title' => '服务编码', - 'description' => '服务编码', - 'type' => 'string', - 'required' => false, - 'example' => 'VideoModeration', - ], + 'schema' => ['title' => '服务编码', 'description' => '服务编码', 'type' => 'string', 'required' => false, 'example' => 'VideoModeration'], ], [ 'name' => 'Url', 'in' => 'query', - 'schema' => [ - 'title' => '检测地址', - 'description' => '检测地址', - 'type' => 'string', - 'required' => false, - 'example' => 'https://xxxxxxxxxx.com/data/data.png', - ], + 'schema' => ['title' => '检测地址', 'description' => '检测地址', 'type' => 'string', 'required' => false, 'example' => 'https://xxxxxxxxxx.com/data/data.png'], ], [ 'name' => 'DataId', 'in' => 'query', - 'schema' => [ - 'description' => '数据ID', - 'type' => 'string', - 'required' => false, - 'example' => 'xxxxxxx', - ], + 'schema' => ['description' => '数据ID', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxx'], ], ], 'responses' => [ @@ -12204,34 +6473,11 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], - 'TaskId' => [ - 'title' => '检测任务id', - 'description' => '检测任务id', - 'type' => 'string', - 'example' => 'xxxxx-xxxxx', - ], - 'TaskStatus' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'Url' => [ - 'description' => '检测地址', - 'type' => 'string', - 'example' => 'https://xxxxxxxxxx.com/data/data.png', - ], - 'ServiceCode' => [ - 'description' => '服务编码', - 'type' => 'string', - 'example' => 'VideoModeration', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + 'TaskId' => ['title' => '检测任务id', 'description' => '检测任务id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'], + 'TaskStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'SUCCESS'], + 'Url' => ['description' => '检测地址', 'type' => 'string', 'example' => 'https://xxxxxxxxxx.com/data/data.png'], + 'ServiceCode' => ['description' => '服务编码', 'type' => 'string', 'example' => 'VideoModeration'], ], ], ], @@ -12241,12 +6487,8 @@ ], 'StopOnlineTest' => [ 'summary' => '中止在线检测任务', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12256,44 +6498,24 @@ 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '259538', - 'abilityTreeNodes' => [ - 'FEATURElvwang78REFZ', - ], + 'abilityTreeNodes' => ['FEATURElvwang78REFZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => '资源类型', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'image'], ], [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'title' => '服务编码', - 'description' => '服务编码', - 'type' => 'string', - 'required' => false, - 'example' => 'baselineCheck', - ], + 'schema' => ['title' => '服务编码', 'description' => '服务编码', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '检测taskId', - 'description' => '检测taskId', - 'type' => 'string', - 'required' => false, - 'example' => 'xxxxx-xxxxx', - ], + 'schema' => ['title' => '检测taskId', 'description' => '检测taskId', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxxx'], ], ], 'responses' => [ @@ -12303,34 +6525,11 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'TaskId' => [ - 'title' => '检测任务id', - 'description' => '检测任务id', - 'type' => 'string', - 'example' => 'xxxxx-xxxxx', - ], - 'TaskStatus' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'Url' => [ - 'description' => '检测地址', - 'type' => 'string', - 'example' => 'https://xxxxxxxx.com/data/data.png', - ], - 'ServiceCode' => [ - 'description' => '服务编码', - 'type' => 'string', - 'example' => 'baselineCheck', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'TaskId' => ['title' => '检测任务id', 'description' => '检测任务id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'], + 'TaskStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'SUCCESS'], + 'Url' => ['description' => '检测地址', 'type' => 'string', 'example' => 'https://xxxxxxxx.com/data/data.png'], + 'ServiceCode' => ['description' => '服务编码', 'type' => 'string', 'example' => 'baselineCheck'], ], ], ], @@ -12340,13 +6539,8 @@ ], 'DescribeOnlineTestResult' => [ 'summary' => '查询在线检测的检测结果', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12356,44 +6550,24 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '259358', - 'abilityTreeNodes' => [ - 'FEATURElvwang78REFZ', - ], + 'abilityTreeNodes' => ['FEATURElvwang78REFZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => '资源类型', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['title' => '资源类型', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'image'], ], [ 'name' => 'ServiceCode', 'in' => 'query', - 'schema' => [ - 'title' => '服务编码', - 'description' => '服务编码', - 'type' => 'string', - 'required' => false, - 'example' => 'videoDetection', - ], + 'schema' => ['title' => '服务编码', 'description' => '服务编码', 'type' => 'string', 'required' => false, 'example' => 'videoDetection'], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '检测taskId', - 'description' => '检测taskId', - 'type' => 'string', - 'required' => false, - 'example' => 'xxxxx-xxxxx', - ], + 'schema' => ['title' => '检测taskId', 'description' => '检测taskId', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxxx'], ], ], 'responses' => [ @@ -12403,48 +6577,17 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n", - ], - 'TaskId' => [ - 'title' => '检测任务id', - 'description' => '检测任务id', - 'type' => 'string', - 'example' => 'xxxxx-xxxxx', - ], - 'TaskStatus' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'Url' => [ - 'description' => '检测地址', - 'type' => 'string', - 'example' => 'https://xxxxxxxxx.com/data/data.png', - ], - 'ServiceCode' => [ - 'description' => '服务编码', - 'type' => 'string', - 'example' => 'videoDetection', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + 'TaskId' => ['title' => '检测任务id', 'description' => '检测任务id', 'type' => 'string', 'example' => 'xxxxx-xxxxx'], + 'TaskStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'SUCCESS'], + 'Url' => ['description' => '检测地址', 'type' => 'string', 'example' => 'https://xxxxxxxxx.com/data/data.png'], + 'ServiceCode' => ['description' => '服务编码', 'type' => 'string', 'example' => 'videoDetection'], 'FrameData' => [ 'description' => '视频帧数据', 'type' => 'object', 'properties' => [ - 'Url' => [ - 'description' => '检测地址', - 'type' => 'string', - 'example' => 'https://xxxxxxxxx.com/data/data.mp4', - ], - 'TimeStamp' => [ - 'description' => '时间戳。', - 'type' => 'string', - 'example' => '1725761005419', - ], + 'Url' => ['description' => '检测地址', 'type' => 'string', 'example' => 'https://xxxxxxxxx.com/data/data.mp4'], + 'TimeStamp' => ['description' => '时间戳。', 'type' => 'string', 'example' => '1725761005419'], ], ], 'SummaryList' => [ @@ -12454,54 +6597,24 @@ 'description' => '检测结果', 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'video', - ], - 'SliceCount' => [ - 'description' => '分片数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RiskLevel' => [ - 'description' => '风险等级', - 'type' => 'string', - 'example' => 'high', - ], + 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'video'], + 'SliceCount' => ['description' => '分片数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'], 'RiskLevelSummary' => [ 'description' => '风险等级汇总', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'integer', - 'format' => 'int64', - 'description' => '风险等级的出现次数', - 'example' => '0', - ], + 'additionalProperties' => ['type' => 'integer', 'format' => 'int64', 'description' => '风险等级的出现次数', 'example' => '0'], ], ], ], ], - 'ModerationTime' => [ - 'description' => '检测时间', - 'type' => 'string', - 'example' => '1725761005419', - ], - 'RiskLevel' => [ - 'description' => '风险等级', - 'type' => 'string', - 'example' => 'high', - ], + 'ModerationTime' => ['description' => '检测时间,使用 Unix/POSIX 时间戳表示,单位为毫秒', 'type' => 'string', 'example' => '1725761005419'], + 'RiskLevel' => ['description' => '风险等级', 'type' => 'string', 'example' => 'high'], 'AudioData' => [ 'description' => '音频数据。', 'type' => 'object', 'properties' => [ - 'TimeStamp' => [ - 'description' => '时间戳。', - 'type' => 'string', - 'example' => '1724378510396', - ], + 'TimeStamp' => ['description' => '时间戳。', 'type' => 'string', 'example' => '1724378510396'], ], ], ], @@ -12513,13 +6626,8 @@ ], 'GetUploadLink' => [ 'summary' => '获取上传链接', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12529,21 +6637,14 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '259304', - 'abilityTreeNodes' => [ - 'FEATURElvwang78REFZ', - ], + 'abilityTreeNodes' => ['FEATURElvwang78REFZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'UploadUrl', 'in' => 'query', - 'schema' => [ - 'description' => '上传链接地址', - 'type' => 'string', - 'required' => false, - 'example' => 'http://www.aliyuncs.com/test.mp3', - ], + 'schema' => ['description' => '上传链接地址', 'type' => 'string', 'required' => false, 'example' => 'http://www.aliyuncs.com/test.mp3'], ], ], 'responses' => [ @@ -12553,17 +6654,8 @@ 'description' => '包含上传链接响应结果的PortalResponse对象', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'string', - 'example' => 'http://www.aliyuncs.com/test.mp3', - ], - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35', - ], + 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35'], ], ], ], @@ -12574,13 +6666,8 @@ 'LlmStreamChat' => [ 'summary' => '使用SSE接口流式调用大模型', 'path' => '/portal/llm/streamChat', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], @@ -12592,9 +6679,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElvwangXYAQ5C', - ], + 'abilityTreeNodes' => ['FEATURElvwangXYAQ5C'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -12602,55 +6687,27 @@ [ 'name' => 'Messages', 'in' => 'formData', - 'schema' => [ - 'description' => '对话信息', - 'type' => 'any', - 'required' => false, - 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]', - ], + 'schema' => ['description' => '对话信息', 'type' => 'any', 'required' => false, 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]'], ], [ 'name' => 'Temperature', 'in' => 'formData', - 'schema' => [ - 'description' => '大模型温度值', - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '0.5', - ], + 'schema' => ['description' => '大模型温度值', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5'], ], [ 'name' => 'TopP', 'in' => 'formData', - 'schema' => [ - 'description' => '控制大模型输出随机性的top p参数。', - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '0.5', - ], + 'schema' => ['description' => '控制大模型输出随机性的top p参数。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5'], ], [ 'name' => 'Type', 'in' => 'formData', - 'schema' => [ - 'description' => '对话类型', - 'type' => 'string', - 'required' => false, - 'example' => 'image', - ], + 'schema' => ['description' => '对话类型', 'type' => 'string', 'required' => false, 'example' => 'image'], ], [ 'name' => 'Channel', 'in' => 'formData', - 'schema' => [ - 'title' => 'channel', - 'description' => 'channel', - 'type' => 'string', - 'required' => false, - 'example' => 'guardCustomTest', - ], + 'schema' => ['title' => 'channel', 'description' => 'channel', 'type' => 'string', 'required' => false, 'example' => 'guardCustomTest'], ], ], 'responses' => [ @@ -12660,11 +6717,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Usage' => [ - 'description' => 'Token使用情况', - 'type' => 'string', - 'example' => 'null', - ], + 'Usage' => ['description' => 'Token使用情况', 'type' => 'string', 'example' => 'null'], 'Choices' => [ 'description' => '模型生成结果列表', 'type' => 'array', @@ -12676,113 +6729,44 @@ 'description' => '增量内容对象', 'type' => 'object', 'properties' => [ - 'Role' => [ - 'description' => '角色标识', - 'type' => 'string', - 'example' => 'assistant', - ], - 'Content' => [ - 'description' => '实时生成的文本内容', - 'type' => 'string', - 'example' => '我是Deepseek-V3,有什么可以帮你', - ], + 'Role' => ['description' => '角色标识', 'type' => 'string', 'example' => 'assistant'], + 'Content' => ['description' => '实时生成的文本内容', 'type' => 'string', 'example' => '我是Deepseek-V3,有什么可以帮你'], ], ], - 'Logprobs' => [ - 'description' => 'Token概率信息', - 'type' => 'string', - 'example' => 'null', - ], - 'Index' => [ - 'description' => '流序号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'FinishReason' => [ - 'description' => '如果是流式输出,正在生成时为null,生成结束时如果由于停止token导致则为stop', - 'type' => 'string', - 'example' => 'stop', - ], + 'Logprobs' => ['description' => 'Token概率信息', 'type' => 'string', 'example' => 'null'], + 'Index' => ['description' => '流序号', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'FinishReason' => ['description' => '如果是流式输出,正在生成时为null,生成结束时如果由于停止token导致则为stop', 'type' => 'string', 'example' => 'stop'], ], ], ], - 'Model' => [ - 'description' => '模型标识', - 'type' => 'string', - 'example' => 'deepseek-v3', - ], - 'SystemFingerprint' => [ - 'description' => '系统指纹', - 'type' => 'string', - 'example' => 'null', - ], - 'Object' => [ - 'description' => '响应类型', - 'type' => 'string', - 'example' => 'chat.completion.chunk', - ], - 'Id' => [ - 'description' => '本次会话唯一ID', - 'type' => 'string', - 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f', - ], - 'Created' => [ - 'description' => '会话创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1750990728', - ], - 'RequestId' => [ - 'description' => '唯一请求ID', - 'type' => 'string', - 'example' => '21d296d6-594e-97de-812f-925ec6e05673', - ], + 'Model' => ['description' => '模型标识', 'type' => 'string', 'example' => 'deepseek-v3'], + 'SystemFingerprint' => ['description' => '系统指纹', 'type' => 'string', 'example' => 'null'], + 'Object' => ['description' => '响应类型', 'type' => 'string', 'example' => 'chat.completion.chunk'], + 'Id' => ['description' => '本次会话唯一ID', 'type' => 'string', 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f'], + 'Created' => ['description' => '会话创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1750990728'], + 'RequestId' => ['description' => '唯一请求ID', 'type' => 'string', 'example' => '21d296d6-594e-97de-812f-925ec6e05673'], 'Error' => [ 'description' => '流式响应错误信息内容', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '错误码', - 'type' => 'string', - 'example' => 'data_inspection_failed', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'Input data may contain inappropriate content.', - ], - 'Param' => [ - 'description' => '引发错误的参数', - 'type' => 'string', - 'example' => 'null', - ], - 'Type' => [ - 'description' => '错误类型', - 'type' => 'string', - 'example' => 'data_inspection_failed', - ], + 'Code' => ['description' => '错误码', 'type' => 'string', 'example' => 'data_inspection_failed'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Input data may contain inappropriate content.'], + 'Param' => ['description' => '引发错误的参数', 'type' => 'string', 'example' => 'null'], + 'Type' => ['description' => '错误类型', 'type' => 'string', 'example' => 'data_inspection_failed'], ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Usage\\": \\"null\\",\\n \\"Choices\\": [\\n {\\n \\"Delta\\": {\\n \\"Role\\": \\"assistant\\",\\n \\"Content\\": \\"我是Deepseek-V3,有什么可以帮你\\"\\n },\\n \\"Logprobs\\": \\"null\\",\\n \\"Index\\": 0,\\n \\"FinishReason\\": \\"stop\\"\\n }\\n ],\\n \\"Model\\": \\"deepseek-v3\\",\\n \\"SystemFingerprint\\": \\"null\\",\\n \\"Object\\": \\"chat.completion.chunk\\",\\n \\"Id\\": \\"chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f\\",\\n \\"Created\\": 1750990728,\\n \\"RequestId\\": \\"21d296d6-594e-97de-812f-925ec6e05673\\",\\n \\"Error\\": {\\n \\"Code\\": \\"data_inspection_failed\\",\\n \\"Message\\": \\"Input data may contain inappropriate content.\\",\\n \\"Param\\": \\"null\\",\\n \\"Type\\": \\"data_inspection_failed\\"\\n }\\n}","type":"json"}]', 'title' => '大模型流式对话转发接口', ], 'GetOssCheckTaskInfo' => [ 'summary' => '查询oss扫描任务详情', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12794,20 +6778,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElvwang2EQZ93', - ], + 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'], ], 'parameters' => [ [ 'name' => 'ParentTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '父任务ID', - 'type' => 'string', - 'required' => false, - 'example' => 'P_AAA**', - ], + 'schema' => ['description' => '父任务ID', 'type' => 'string', 'required' => false, 'example' => 'P_AAA**'], ], ], 'responses' => [ @@ -12817,143 +6794,41 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'xxxx-xxx'."\n", - ], - 'TaskName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => '文档存量任务 20240914100517757', - ], - 'Buckets' => [ - 'description' => '存储空间。', - 'type' => 'string', - 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]', - ], - 'Status' => [ - 'description' => '任务状态。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'Success', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2023-08-21 16:08:38'."\n", - ], - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2025-07-09 10:30:00', - ], - 'SearchNum' => [ - 'description' => '扫描任务数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'FinishNum' => [ - 'description' => '已完成数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '56', - ], - 'MediaType' => [ - 'description' => '媒资类型。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'xxxx-xxx'."\n"], + 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => '文档存量任务 20240914100517757'], + 'Buckets' => ['description' => '存储空间。', 'type' => 'string', 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]'], + 'Status' => ['description' => '任务状态。', 'type' => 'integer', 'format' => 'int32', 'example' => 'Success'], + 'StartTime' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-08-21 16:08:38'."\n"], + 'EndTime' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-09 10:30:00'], + 'SearchNum' => ['description' => '扫描任务数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'FinishNum' => ['description' => '已完成数。', 'type' => 'integer', 'format' => 'int64', 'example' => '56'], + 'MediaType' => ['description' => '媒资类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Config' => [ 'description' => '配置项', 'type' => 'object', 'properties' => [ - 'ScanNoFileType' => [ - 'description' => '是否扫描无后缀图片。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'ScanNoFileType' => ['description' => '是否扫描无后缀图片。', 'type' => 'boolean', 'example' => 'true'], 'ScanService' => [ 'description' => '扫描服务code', 'type' => 'array', - 'items' => [ - 'description' => '扫描服务code', - 'type' => 'string', - 'example' => 'oss_baselineCheck', - ], - ], - 'DistinctHistoryTasks' => [ - 'description' => '是否对历史已检测任务去重。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'StartTime' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2023-08-21 16:08:38'."\n", - ], - 'EndTime' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2025-07-09 10:30:00', - ], - 'ScanLimit' => [ - 'description' => '扫描限制数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'PrefixFilterType' => [ - 'description' => '前缀过滤类型。', - 'type' => 'string', - 'example' => 'all', + 'items' => ['description' => '扫描服务code', 'type' => 'string', 'example' => 'oss_baselineCheck'], ], + 'DistinctHistoryTasks' => ['description' => '是否对历史已检测任务去重。', 'type' => 'boolean', 'example' => 'true'], + 'StartTime' => ['description' => '开始时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2023-08-21 16:08:38'."\n"], + 'EndTime' => ['description' => '结束时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-09 10:30:00'], + 'ScanLimit' => ['description' => '扫描限制数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'PrefixFilterType' => ['description' => '前缀过滤类型。', 'type' => 'string', 'example' => 'all'], 'PrefixFilters' => [ 'description' => '前缀。', 'type' => 'array', - 'items' => [ - 'description' => '前缀。', - 'type' => 'string', - 'example' => 'ugc/img', - ], - ], - 'Priority' => [ - 'description' => '优先级。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TaskCycle' => [ - 'description' => '调度日期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ExecuteDate' => [ - 'description' => '定时任务执行日期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ExecuteTime' => [ - 'description' => '定时任务预计执行时间。', - 'type' => 'string', - 'example' => '2025-07-09 10:30:00'."\n", - ], - 'ScanResourceType' => [ - 'description' => '检测文件类型。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'items' => ['description' => '前缀。', 'type' => 'string', 'example' => 'ugc/img'], ], + 'Priority' => ['description' => '优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TaskCycle' => ['description' => '调度日期。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ExecuteDate' => ['description' => '定时任务执行日期。整数类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ExecuteTime' => ['description' => '定时任务预计执行时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-09 10:30:00'."\n"], + 'ScanResourceType' => ['description' => '检测文件类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'ScanServiceInfos' => [ 'description' => '检测服务信息', 'type' => 'array', @@ -12961,89 +6836,28 @@ 'description' => '检测服务信息', 'type' => 'object', 'properties' => [ - 'IsCopy' => [ - 'description' => '是否复制。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ServiceCode' => [ - 'description' => '服务code。', - 'type' => 'string', - 'example' => 'oss_baselineCheck', - ], - 'ServiceName' => [ - 'description' => '服务名称。', - 'type' => 'string', - 'example' => '内容检测', - ], - 'CopyFrom' => [ - 'description' => '主服务。', - 'type' => 'string', - 'example' => 'oss_baselineCheck', - ], + 'IsCopy' => ['description' => '是否复制。', 'type' => 'boolean', 'example' => 'false'], + 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'oss_baselineCheck'], + 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '内容检测'], + 'CopyFrom' => ['description' => '主服务。', 'type' => 'string', 'example' => 'oss_baselineCheck'], ], ], ], - 'CallbackId' => [ - 'description' => '回调通知ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '188', - ], - 'Freeze' => [ - 'description' => '是否冻结', - 'type' => 'boolean', - 'example' => 'true', - ], - 'FreezeType' => [ - 'description' => '冻结类型。', - 'type' => 'string', - 'example' => 'ACL', - ], - 'FreezeHighRisk1' => [ - 'description' => '冻结高风险图片', - 'type' => 'boolean', - 'example' => 'true', - ], - 'FreezeMediumRisk1' => [ - 'description' => '冻结中风险图片', - 'type' => 'boolean', - 'example' => 'true', - ], - 'FreezeHighRisk2' => [ - 'description' => '冻结高风险语音、文本', - 'type' => 'boolean', - 'example' => 'true', - ], - 'FreezeMediumRisk2' => [ - 'description' => '冻结中风险语音、文本', - 'type' => 'boolean', - 'example' => 'false', - ], - 'FreezeRestorePath' => [ - 'description' => '转存路径', - 'type' => 'string', - 'example' => 'test', - ], - 'Referer' => [ - 'description' => 'Referer。', - 'type' => 'string', - 'example' => 'https://www.aliyun.com/', - ], + 'CallbackId' => ['description' => '回调通知ID', 'type' => 'integer', 'format' => 'int64', 'example' => '188'], + 'Freeze' => ['description' => '是否冻结', 'type' => 'boolean', 'example' => 'true'], + 'FreezeType' => ['description' => '冻结类型。', 'type' => 'string', 'example' => 'ACL'], + 'FreezeHighRisk1' => ['description' => '冻结高风险图片', 'type' => 'boolean', 'example' => 'true'], + 'FreezeMediumRisk1' => ['description' => '冻结中风险图片', 'type' => 'boolean', 'example' => 'true'], + 'FreezeHighRisk2' => ['description' => '冻结高风险语音、文本', 'type' => 'boolean', 'example' => 'true'], + 'FreezeMediumRisk2' => ['description' => '冻结中风险语音、文本', 'type' => 'boolean', 'example' => 'false'], + 'FreezeRestorePath' => ['description' => '转存路径', 'type' => 'string', 'example' => 'test'], + 'Referer' => ['description' => 'Referer。', 'type' => 'string', 'example' => 'https://www.aliyun.com/'], 'UserFreezeConfig' => [ 'description' => '用户冻结配置', 'type' => 'object', 'properties' => [ - 'FreezeType' => [ - 'description' => '冻结类型', - 'type' => 'string', - 'example' => 'ACL', - ], - 'FreezeRestorePath' => [ - 'description' => '转存目录', - 'type' => 'string', - 'example' => 'test', - ], + 'FreezeType' => ['description' => '冻结类型', 'type' => 'string', 'example' => 'ACL'], + 'FreezeRestorePath' => ['description' => '转存目录', 'type' => 'string', 'example' => 'test'], ], ], 'BucketPrefixFilterConfig' => [ @@ -13052,18 +6866,10 @@ 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'PrefixFilterType' => [ - 'type' => 'string', - 'description' => '前缀过滤类型。', - 'example' => 'all', - ], + 'PrefixFilterType' => ['type' => 'string', 'description' => '前缀过滤类型。', 'example' => 'all'], 'PrefixFilters' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'description' => '前缀', - 'example' => 'testprefix1', - ], + 'items' => ['type' => 'string', 'description' => '前缀', 'example' => 'testprefix1'], 'description' => '前缀列表', ], ], @@ -13072,32 +6878,11 @@ ], ], ], - 'ObjectNum' => [ - 'description' => 'bucket总文件数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'IsInc' => [ - 'description' => '是否定时扫描任务。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'TaskType' => [ - 'description' => '任务类型。', - 'type' => 'string', - 'example' => 'increment', - ], - 'LastExecuteDate' => [ - 'description' => '定时任务下次执行时间。', - 'type' => 'string', - 'example' => '2025-07-09 10:30:00'."\n", - ], - 'NextExecuteDate' => [ - 'description' => '定时任务上次执行时间。', - 'type' => 'string', - 'example' => '2025-07-08 10:30:00'."\n", - ], + 'ObjectNum' => ['description' => 'bucket总文件数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'IsInc' => ['description' => '是否定时扫描任务。', 'type' => 'boolean', 'example' => 'false'], + 'TaskType' => ['description' => '任务类型。', 'type' => 'string', 'example' => 'increment'], + 'LastExecuteDate' => ['description' => '定时任务下次执行时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-09 10:30:00'."\n"], + 'NextExecuteDate' => ['description' => '定时任务上次执行时间。具体格式为 YYYY-MM-DD HH:mm:ss', 'type' => 'string', 'example' => '2025-07-08 10:30:00'."\n"], ], ], ], @@ -13107,13 +6892,8 @@ ], 'UpdateOssCheckResultsBatchFeedback' => [ 'summary' => '批量更新OSS检测结果反馈', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -13125,40 +6905,23 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElvwangJ85HXA', - ], + 'abilityTreeNodes' => ['FEATURElvwangJ85HXA'], ], 'parameters' => [ [ 'name' => 'ParentTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '父任务id', - 'type' => 'string', - 'required' => false, - 'example' => 'P_XHDUS', - ], + 'schema' => ['description' => '父任务id', 'type' => 'string', 'required' => false, 'example' => 'P_XHDUS'], ], [ 'name' => 'Items', 'in' => 'query', - 'schema' => [ - 'description' => '结果项。', - 'type' => 'string', - 'required' => false, - 'example' => '[]', - ], + 'schema' => ['description' => '结果项。', 'type' => 'string', 'required' => false, 'example' => '[]'], ], [ 'name' => 'Feedback', 'in' => 'query', - 'schema' => [ - 'description' => '反馈。', - 'type' => 'string', - 'required' => false, - 'example' => 'misreport', - ], + 'schema' => ['description' => '反馈。', 'type' => 'string', 'required' => false, 'example' => 'misreport'], ], ], 'responses' => [ @@ -13168,41 +6931,12 @@ 'description' => '{@link PortalResponse}', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', - 'type' => 'string', - 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SuccessCount' => [ - 'description' => '成功个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RepeatCount' => [ - 'description' => '重复数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InvalidCount' => [ - 'description' => '不合法数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Tips' => [ - 'description' => '提示信息。', - 'type' => 'string', - 'example' => 'xxxxx', - ], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SuccessCount' => ['description' => '成功个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RepeatCount' => ['description' => '重复数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InvalidCount' => ['description' => '不合法数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Tips' => ['description' => '提示信息。', 'type' => 'string', 'example' => 'xxxxx'], ], ], ], @@ -13210,23 +6944,223 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"Tips\\": \\"xxxxx\\"\\n}","type":"json"}]', 'title' => '批量更新检测结果反馈', ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com', + 'GetPromptTestResult' => [ + 'summary' => '测试特性配置', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElvwangEZQESQ'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'image'], + ], + [ + 'name' => 'ServiceCode', + 'in' => 'query', + 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => '业务类型。', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => '配置项', 'type' => 'string', 'required' => false, 'example' => '{\\"enable\\":false}'], + ], + [ + 'name' => 'Text', + 'in' => 'query', + 'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => false, 'example' => '测试文本'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '{@link PortalResponse}', + 'description' => '{@link PortalResponse}', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + 'Result' => [ + 'description' => '结果。', + 'type' => 'array', + 'items' => [ + 'description' => '结果。', + 'type' => 'object', + 'properties' => [ + 'Content' => ['description' => '内容。', 'type' => 'string', 'example' => '测试文本'], + 'RiskLevel' => ['description' => '风险等级,根据设置的高低风险分返回,返回值包括:'."\n" + ."\n" + .'- high:高风险'."\n" + ."\n" + .'- medium:中风险'."\n" + .' '."\n" + .'- low:低风险'."\n" + ."\n" + .' - none:未检测到风险', 'type' => 'string', 'example' => 'high'], + 'LabelDetails' => [ + 'description' => '标签。', + 'type' => 'array', + 'items' => [ + 'description' => '标签。', + 'type' => 'object', + 'properties' => [ + 'Label' => ['description' => '标签。', 'type' => 'string', 'example' => 'terrorism'], + 'Description' => ['description' => '标签描述。', 'type' => 'string', 'example' => '暴恐'], + 'Reason' => ['description' => '模型对这条文本做出该风险判定的理由', 'type' => 'string', 'example' => '该文本涉及暴力恐怖信息'], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Result\\": [\\n {\\n \\"Content\\": \\"测试文本\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"LabelDetails\\": [\\n {\\n \\"Label\\": \\"terrorism\\",\\n \\"Description\\": \\"暴恐\\",\\n \\"Reason\\": \\"该文本涉及暴力恐怖信息\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取自定义提示词测试结果', ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com', + 'CreateImageLib' => [ + 'summary' => '创建图库。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '159536', + 'abilityTreeNodes' => ['FEATURElvwangE704W7'], + ], + 'parameters' => [ + [ + 'name' => 'LibName', + 'in' => 'formData', + 'schema' => ['description' => '图库名。', 'type' => 'string', 'required' => false, 'example' => '恶意广告'], + ], + [ + 'name' => 'Comment', + 'in' => 'formData', + 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => '涉及政治因素'], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PortalResponse', + 'description' => 'PortalResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'LibId' => ['description' => '自定义图库ID。', 'type' => 'string', 'example' => '138xxxxx'], + ], + ], + 'Success' => ['title' => '成功标志', 'description' => '成功标志', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码,和http status一致', 'description' => '错误码,和http status一致', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Msg' => ['title' => '错误码的进一步描述', 'description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'success'], + 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"138xxxxx\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]', + 'title' => '创建自定义图库', + 'description' => '请确保在使用该接口前完成以下操作:'."\n" + .'1. 已[开通内容安全增强版](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn)。'."\n" + .'2. 充分了解图片审核增强版产品的[收费方式和价格](https://help.aliyun.com/document_detail/467826.html?#section-h06-qz6-1pt)。'."\n" + .'3. 更多接口使用和参数请参考[API接口文档](https://help.aliyun.com/document_detail/467829.html)。', ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com', + 'GetTuneProposalById' => [ + 'summary' => '获取开关配置调优意见', + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElvwangTHWXLK', 'FEATURElvwang4DJRB7', 'FEATURElvwang5OIOPT', 'FEATURElvwangCXOBXW', 'FEATURElvwang08CDRQ'], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '主键ID。', 'type' => 'string', 'required' => false, 'example' => 'prop-xxxxxxxx'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'], + 'Msg' => ['description' => '错误码的进一步描述', 'type' => 'string', 'example' => 'success'], + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'JsonContent' => ['description' => '返回数据json', 'type' => 'string', 'example' => '{"example":"xxxx"}'], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"JsonContent\\": \\"{\\\\\\"example\\\\\\":\\\\\\"xxxx\\\\\\"}\\"\\n }\\n}","type":"json"}]', + 'title' => '获取策略调优结果', + 'description' => '本接口需要配合图片审核增强版API使用,在调用图片审核增强版API接口之后,可以调用本接口,获取更多的接口检测信息。此接口免费。', ], ], + 'endpoints' => [ + ['regionId' => 'cn-shenzhen', 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'green-cip.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'green-cip.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'green-cip.eu-central-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'green-cip.cn-hangzhou.aliyuncs.com'], + ], ]; -- cgit v1.2.3