summaryrefslogtreecommitdiff
path: root/data/en_us/green/2022-09-26
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/green/2022-09-26')
-rw-r--r--data/en_us/green/2022-09-26/api-docs.php13204
1 files changed, 13204 insertions, 0 deletions
diff --git a/data/en_us/green/2022-09-26/api-docs.php b/data/en_us/green/2022-09-26/api-docs.php
new file mode 100644
index 0000000..5eddcae
--- /dev/null
+++ b/data/en_us/green/2022-09-26/api-docs.php
@@ -0,0 +1,13204 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Green',
+ 'version' => '2022-09-26',
+ ],
+ 'directories' => [
+ 'AddKeywordLib',
+ 'DeleteFeatureConfig',
+ 'ExportCipStats',
+ 'ExportOssCheckStat',
+ 'GetCipStats',
+ 'GetFeatureConfig',
+ 'GetOssCheckResultDetail',
+ 'GetOssCheckStat',
+ 'GetScanResult',
+ 'GetServiceConf',
+ 'GetServiceConfig',
+ 'GetUserBuyStatus',
+ 'ListKeywordLibs',
+ 'ListOssCheckResult',
+ 'ModifyFeatureConfig',
+ 'QueryCallback',
+ 'UpdateScanResultFeedback',
+ 'UpdateServiceConfig',
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'GetKeywordImportResult',
+ 'UpdateKeywordLib',
+ 'GetKeywordLib',
+ 'GetUploadInfo',
+ 'ListServiceConfigs',
+ 'GetTextScanResult',
+ 'AddKeywords',
+ 'ListKeywords',
+ 'DeleteKeyword',
+ 'ExportKeyword',
+ 'ExportTextScanResult',
+ 'DeleteKeywordLib',
+ 'UpdateImageLibFreeInspection',
+ 'AddImages2Lib',
+ 'ListImagesFromLib',
+ 'AddImageLib',
+ 'ExportScanResult',
+ 'ListImageLib',
+ 'DeleteImagesFromLib',
+ 'GetImageSceneLabelConf',
+ 'UpdateImageLib',
+ 'GetImageSceneLabelListConf',
+ 'GetScanNum',
+ 'CancelStockOssCheckTask',
+ 'CreatePreCheck',
+ 'GetBucketsList',
+ 'GetOssCheckStatus',
+ 'ExportResult',
+ 'GetStockOssCheckTasksList',
+ 'OssCheckResultList',
+ 'CreatStockOssCheckTask',
+ 'AddKeywordsToLib',
+ 'GetServiceLabelConfig',
+ 'ModifyServiceInfo',
+ 'CopyServiceConfig',
+ 'GetExecuteTime',
+ 'GetJobNameList',
+ 'GetBackupConfig',
+ 'GetBackupBucketsList',
+ 'GetBackupStatus',
+ 'UpdateBackupConfig',
+ 'ListCallback',
+ 'QueryCallbackByPage',
+ 'CreateCallback',
+ 'DeleteCallback',
+ 'ModifyCallback',
+ 'AddAnswerSample',
+ 'CreateAnswerLib',
+ 'ExportAnswerSample',
+ 'QueryAnswerSampleByPage',
+ 'DeleteAnswerSample',
+ 'ListAnswerLib',
+ 'ModifyAnswerLib',
+ 'DeleteAnswerLib',
+ 'GetAnswerImportProgress',
+ 'UpdateOssCheckResultsFeedBack',
+ 'UpdateOssCheckResultsFreeze',
+ 'GetOssCheckFreezeResult',
+ 'UpdateOssCheckResultsUnfreeze',
+ 'DeleteOnlineTest',
+ 'CreateOnlineTest',
+ 'StopOnlineTest',
+ 'DescribeOnlineTestResult',
+ 'GetUploadLink',
+ 'LlmStreamChat',
+ 'GetOssCheckTaskInfo',
+ 'UpdateOssCheckResultsBatchFeedback',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'AddKeywordLib' => [
+ 'summary' => 'Create keyword library',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157041',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the keyword library.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_keyword_lib',
+ ],
+ ],
+ [
+ 'name' => 'Keywords',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Keywords, with multiple keywords separated by \\n.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'keywords1\\nkeywords2',
+ ],
+ ],
+ [
+ 'name' => 'KeywordsObject',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the keywords file.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddKeywordLibResult>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => 'The id of the keyword library.',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'KeywordsResult' => [
+ 'description' => 'Result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => 'The id of the keyword library.',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'I18nKey' => [
+ 'description' => 'Internationalization key.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Tips' => [
+ 'description' => 'The tips.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of keywords.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '529',
+ ],
+ 'SuccessCount' => [
+ 'description' => 'Successful keyword count',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '278',
+ ],
+ 'RepeatCount' => [
+ 'description' => 'Duplicate keyword count',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '118',
+ ],
+ 'InvalidCount' => [
+ 'description' => 'Invalid keyword count',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '133',
+ ],
+ 'RepeatKeywords' => [
+ 'description' => 'List of duplicate keywords',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Duplicate keywords',
+ 'type' => 'string',
+ 'example' => 'duplicate_keywords',
+ ],
+ ],
+ 'InvalidKeywords' => [
+ 'description' => 'List of invalid keywords',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Invalid keywords',
+ 'type' => 'string',
+ 'example' => 'invalid_keywords',
+ ],
+ ],
+ 'IllegalLengthKeywords' => [
+ 'description' => 'List of keywords that are too long or too short.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Keywords that are too long or too short.',
+ 'type' => 'string',
+ 'example' => 'keywords',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Status code',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'The message that is returned in response to the request.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxx\\",\\n \\"TotalCount\\": 529,\\n \\"SuccessCount\\": 278,\\n \\"RepeatCount\\": 118,\\n \\"InvalidCount\\": 133,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"非法关键词\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\"\\n ]\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Create keyword lib',
+ ],
+ 'DeleteFeatureConfig' => [
+ 'summary' => 'Delete feature configuration',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '266680',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'llm_query_moderation',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Type',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_llm_template',
+ ],
+ ],
+ [
+ 'name' => 'Field',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Label value, customer-defined',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '__config__',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Return result.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Response message of this request.',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Delete feature configuration',
+ 'translator' => 'machine',
+ ],
+ 'ExportCipStats' => [
+ 'summary' => 'Export Call Volume',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157301',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangMSWOCX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-04-15 09:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The end time of the query, in the format yyyy-MM-dd HH:mm:ss.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-04-16 09:00:00',
+ ],
+ ],
+ [
+ 'name' => 'Label',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The label of the task to be exported.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ ],
+ [
+ 'name' => 'ByMonth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Whether to support monthly indexing. Values: -**true**: Supported. -**false**: Not supported.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'text',
+ 'default' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'SubUid',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Sub-account UID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '268220485413130979',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Type, values: -**cip**: Content Security Invocation Count Statistics. -**risk_level**: Content Security Risk Level Statistics. -**content_moderation**: AI Safety Guardrail Content Compliance Risk Level and Label Statistics. -**sensitive_data**: AI Safety Guardrail Sensitive Data Risk Level and Label Statistics. -**prompt_attack**: AI Safety Guardrail Prompt Word Risk Level and Label Statistics.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'risk_level',
+ ],
+ ],
+ [
+ 'name' => 'ExportType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Export type. Values: -**level**: Export by risk level. -**label**: Export by label.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'label',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<String>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Export result.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Export Usage',
+ 'translator' => 'machine',
+ ],
+ 'ExportOssCheckStat' => [
+ 'summary' => 'OSS Usage Statistics Export',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '218756',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-10 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-11 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'ByMonth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Whether to support monthly indexing. Values: -true: supported. -false: not supported.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'OSS detection task ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_UX0K5X',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<OssCheckStatResultVO>}',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Export result.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'OSS Detection Task Usage Statistics Export',
+ 'translator' => 'machine',
+ ],
+ 'GetCipStats' => [
+ 'summary' => 'Query Call Volume',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157300',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangMSWOCX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-10 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-11 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'Label',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ ],
+ [
+ 'name' => 'ByMonth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '',
+ 'image' => '',
+ 'file' => '',
+ 'text' => '',
+ 'video' => '',
+ ],
+ 'example' => 'text',
+ 'default' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'SubUid',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '253552244990701265',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<CipStatisticsChartVO>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["06-10", "06-11", "06-12", "06-13"]',
+ ],
+ ],
+ 'Y' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Uids' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["15220*****63446"]',
+ ],
+ ],
+ 'LabelStatChart' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '117',
+ ],
+ 'X' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n",
+ ],
+ ],
+ 'Y' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TreeChart' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'Value' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '99.91',
+ ],
+ 'Description' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'VoiceTreeChart' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'Value' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '99.91',
+ ],
+ 'Description' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'ImageTreeChar' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ 'Description' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'TextTreeChart' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ 'Description' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Z' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'nickNameDetection',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TotalStat' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"X\\": [\\n \\"[\\\\\\"06-10\\\\\\", \\\\\\"06-11\\\\\\", \\\\\\"06-12\\\\\\", \\\\\\"06-13\\\\\\"]\\"\\n ],\\n \\"Y\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Data\\": [\\n 0\\n ]\\n }\\n ],\\n \\"Uids\\": [\\n \\"[\\\\\\"15220*****63446\\\\\\"]\\"\\n ],\\n \\"LabelStatChart\\": [\\n {\\n \\"ServiceCode\\": \\"nickNameDetection\\",\\n \\"TotalCount\\": 117,\\n \\"X\\": [\\n \\"[\\\\\\"06-10\\\\\\", \\\\\\"06-11\\\\\\", \\\\\\"06-12\\\\\\", \\\\\\"06-13\\\\\\"]\\\\n\\"\\n ],\\n \\"Y\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Data\\": [\\n 0\\n ]\\n }\\n ],\\n \\"TreeChart\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Value\\": \\"99.91\\",\\n \\"Description\\": \\"疑似政治人物\\"\\n }\\n ],\\n \\"VoiceTreeChart\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Value\\": \\"99.91\\",\\n \\"Description\\": \\"疑似特定歌曲\\\\n\\"\\n }\\n ],\\n \\"ImageTreeChar\\": [\\n {\\n \\"Name\\": \\"nonLabel\\",\\n \\"Value\\": \\"0.0274\\",\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ],\\n \\"TextTreeChart\\": [\\n {\\n \\"Name\\": \\"nonLabel\\",\\n \\"Value\\": \\"0.0274\\",\\n \\"Description\\": \\"未检测出风险\\"\\n }\\n ]\\n }\\n ],\\n \\"Z\\": [\\n {\\n \\"Name\\": \\"nickNameDetection\\",\\n \\"Data\\": [\\n 0\\n ]\\n }\\n ],\\n \\"TotalStat\\": {\\n \\"key\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Query Usage Statistics',
+ 'translator' => 'machine',
+ ],
+ 'GetFeatureConfig' => [
+ 'summary' => 'Get Feature Configuration',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '266679',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'llm_query_moderation',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Type',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_llm_template',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Query conditions.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '1643953****74290',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'llm_query_moderation',
+ ],
+ 'ResourceType' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'Type' => [
+ 'description' => 'Type',
+ 'type' => 'string',
+ 'example' => 'custom_llm_template',
+ ],
+ 'FeatureConf' => [
+ 'description' => 'List of feature configurations',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Feature configuration object',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ ],
+ 'Msg' => [
+ 'description' => 'Response message for this request.',
+ 'type' => 'string',
+ 'example' => 'success'."\n",
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => 'Status code',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Data\\": {\\n \\"Uid\\": \\"1643953****74290\\",\\n \\"ServiceCode\\": \\"llm_query_moderation\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"Type\\": \\"custom_llm_template\\",\\n \\"FeatureConf\\": [\\n {}\\n ]\\n },\\n \\"Msg\\": \\"success\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Query Feature Configuration',
+ 'translator' => 'machine',
+ ],
+ 'GetOssCheckResultDetail' => [
+ 'summary' => 'OSS result details',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '233378',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Bucket',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Bucket name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-tmp',
+ ],
+ ],
+ [
+ 'name' => 'Object',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Object name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1748396909030.jpg',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'audio_media_detection_01',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'QueryRequestId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Query request ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Media type.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Parent task ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_RZQ66T',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
+ ],
+ 'Data' => [
+ 'description' => 'Detailed data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'Bucket name.',
+ 'type' => 'string',
+ 'example' => 'oss-tmp',
+ ],
+ 'JobName' => [
+ 'description' => 'Job name.',
+ 'type' => 'string',
+ 'example' => 'dhT20X2310',
+ ],
+ 'Object' => [
+ 'description' => 'Object name.',
+ 'type' => 'string',
+ 'example' => '1748396909030.jpg',
+ ],
+ 'Md5' => [
+ 'description' => 'File MD5.',
+ 'type' => 'string',
+ 'example' => 'f6e2e1946f06310c8a0cc443a05819f3',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'Code' => [
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Labels' => [
+ 'description' => 'Image labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Image labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'Labels2' => [
+ 'description' => 'Text labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Text labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ScanResult' => [
+ 'description' => 'Detailed scan results.',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'ImageUrl' => [
+ 'description' => 'Image URL.',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.jpg',
+ ],
+ 'Url' => [
+ 'description' => 'Task URL.',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'TaskId' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'example' => 'P_Z7OLMN',
+ ],
+ 'ServiceName' => [
+ 'description' => 'Service name.',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'IsCopy' => [
+ 'description' => 'Whether to copy.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CopyFrom' => [
+ 'description' => 'Primary service.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'ContentType' => [
+ 'description' => 'Audio and video detection type.',
+ 'type' => 'string',
+ 'example' => 'audio',
+ ],
+ 'RiskLevel0' => [
+ 'description' => 'Overall risk level.',
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'RiskLevel' => [
+ 'description' => 'Image risk level',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'RiskLevel2' => [
+ 'description' => 'Text risk level',
+ 'type' => 'string',
+ 'example' => 'medium',
+ ],
+ 'FreezeType' => [
+ 'description' => 'Freeze type.',
+ 'type' => 'string',
+ 'example' => 'COPY',
+ ],
+ 'FreezeStatus' => [
+ 'description' => 'Freeze status.',
+ 'type' => 'string',
+ 'example' => 'UNFREEZED',
+ ],
+ 'ScanServiceInfos' => [
+ 'description' => 'Detection service information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Detection service information',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsCopy' => [
+ 'description' => 'Whether to copy.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'ServiceName' => [
+ 'description' => 'Service name.',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'CopyFrom' => [
+ 'description' => 'Main service.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ ],
+ ],
+ ],
+ 'LabelDetails' => [
+ 'description' => 'Labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Labels.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => 'Label description.',
+ 'type' => 'string',
+ 'example' => '涉政',
+ ],
+ 'Confidence' => [
+ 'description' => 'Confidence score, 0 to 100, retained to two decimal places.',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '50',
+ ],
+ 'Label' => [
+ 'description' => 'Label.',
+ 'type' => 'string',
+ 'example' => 'politics',
+ ],
+ ],
+ ],
+ ],
+ 'LabelDetails2' => [
+ 'description' => 'Labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Labels.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => 'Label description.',
+ 'type' => 'string',
+ 'example' => '涉政',
+ ],
+ 'Confidence' => [
+ 'description' => 'Confidence score, 0 to 100, retained to two decimal places.',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '50',
+ ],
+ 'Label' => [
+ 'description' => 'Label.',
+ 'type' => 'string',
+ 'example' => 'politics',
+ ],
+ ],
+ ],
+ ],
+ 'ManualFreezeAction' => [
+ 'description' => 'Manual handling status.',
+ 'type' => 'string',
+ 'example' => 'FREEZE',
+ ],
+ 'ManualOperateTime' => [
+ 'description' => 'Handling time.',
+ 'type' => 'string',
+ 'example' => '2025-08-09 12:00:00',
+ ],
+ 'ManualOperator' => [
+ 'description' => 'Handler.',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Code' => [
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"62E97001-1255-50A9-8E1E-4FD05473D952\\",\\n \\"Data\\": {\\n \\"Bucket\\": \\"oss-tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1748396909030.jpg\\",\\n \\"Md5\\": \\"f6e2e1946f06310c8a0cc443a05819f3\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"success\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"P_Z7OLMN\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"medium\\",\\n \\"FreezeType\\": \\"COPY\\",\\n \\"FreezeStatus\\": \\"UNFREEZED\\",\\n \\"ScanServiceInfos\\": [\\n {\\n \\"IsCopy\\": true,\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"CopyFrom\\": \\"audio_media_detection\\"\\n }\\n ],\\n \\"LabelDetails\\": [\\n {\\n \\"Description\\": \\"涉政\\",\\n \\"Confidence\\": 50,\\n \\"Label\\": \\"politics\\"\\n }\\n ],\\n \\"LabelDetails2\\": [\\n {\\n \\"Description\\": \\"涉政\\",\\n \\"Confidence\\": 50,\\n \\"Label\\": \\"politics\\"\\n }\\n ],\\n \\"ManualFreezeAction\\": \\"FREEZE\\",\\n \\"ManualOperateTime\\": \\"2025-08-09 12:00:00\\",\\n \\"ManualOperator\\": \\"xx\\"\\n },\\n \\"Success\\": true,\\n \\"Msg\\": \\"success\\",\\n \\"Code\\": 200\\n}","type":"json"}]',
+ 'title' => 'Query OSS Detection Result Details',
+ 'translator' => 'machine',
+ ],
+ 'GetOssCheckStat' => [
+ 'summary' => 'OSS Check Usage Statistics',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '218755',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'ByMonth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Whether to query by month.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Parent task ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_UNHBH',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<OssCheckStatResultVO>}',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'BarChart' => [
+ 'description' => 'Bar chart',
+ 'type' => 'object',
+ 'properties' => [
+ 'X' => [
+ 'description' => 'X values of the coordinates.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'X values of the coordinates.',
+ 'type' => 'string',
+ 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]',
+ ],
+ ],
+ 'Y' => [
+ 'description' => 'Y values of the coordinates.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Y values of the coordinates.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'Name.',
+ 'type' => 'string',
+ 'example' => 'document_detection',
+ ],
+ 'Data' => [
+ 'description' => 'Data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '[0, 0, 0, 0, 0, 0, 34]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"BarChart\\": {\\n \\"X\\": [\\n \\"[\\\\\\"06-11\\\\\\", \\\\\\"06-12\\\\\\", \\\\\\"06-13\\\\\\", \\\\\\"06-14\\\\\\", \\\\\\"06-15\\\\\\"]\\"\\n ],\\n \\"Y\\": [\\n {\\n \\"Name\\": \\"document_detection\\",\\n \\"Data\\": [\\n 0\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'OSS Check Usage Statistics',
+ 'translator' => 'machine',
+ ],
+ 'GetScanResult' => [
+ 'summary' => 'Query the Scan results',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '160495',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang6CEZ66',
+ 'FEATURElvwang5MWEHW',
+ 'FEATURElvwangLRLIH6',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Search criteria.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{"RequestId":"xxx"}',
+ 'description' => '搜索条件。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Current page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort fields.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => '{"RequestTime":"desc"}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PortalPageResponse<ImageScanResultVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'Number of items per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Data for the current page.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data for the current page.',
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'description' => 'Creation time.',
+ 'type' => 'string',
+ 'example' => '2023-08-11 09:00:19'."\n",
+ ],
+ 'RequestTime' => [
+ 'description' => 'Request time.',
+ 'type' => 'string',
+ 'example' => '2023-08-11 09:00:19'."\n",
+ ],
+ 'DataId' => [
+ 'title' => 'dataId',
+ 'description' => 'Data Id',
+ 'type' => 'string',
+ 'example' => '4f27b8cc7c4544cb90b41882a5b36326',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ 'ScanResult' => [
+ 'description' => 'Details of the result.',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'Labels' => [
+ 'description' => 'Labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ 'NoLabels' => [
+ 'title' => '无标签',
+ 'description' => 'No labels',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ImageUrl' => [
+ 'title' => 'url',
+ 'description' => 'URL',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
+ ],
+ 'Content' => [
+ 'description' => 'Content.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TaskId' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9',
+ ],
+ 'Score' => [
+ 'description' => 'Score.',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '25',
+ ],
+ 'Suggestion' => [
+ 'description' => 'Suggestion.',
+ 'type' => 'string',
+ 'example' => 'review',
+ ],
+ 'ExtFeedback' => [
+ 'description' => 'Feedback information.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Url' => [
+ 'description' => 'Task URL',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
+ ],
+ 'TimeStamp' => [
+ 'description' => 'Timestamp.',
+ 'type' => 'string',
+ 'example' => '00:00:40-00:00:42',
+ ],
+ 'FrameCount' => [
+ 'description' => 'Frame count.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '20',
+ ],
+ 'ImageService' => [
+ 'description' => 'Image service.',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ 'VoiceService' => [
+ 'description' => 'Voice service.',
+ 'type' => 'string',
+ 'example' => 'live_stream_detection',
+ ],
+ 'ImageLabels' => [
+ 'description' => 'Image labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Image label.',
+ 'type' => 'object',
+ 'example' => '[{nonLabel: 17}]',
+ ],
+ ],
+ 'VoiceLabels' => [
+ 'description' => 'Voice labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Voice label.',
+ 'type' => 'object',
+ 'example' => '[{political_content: 11}]',
+ ],
+ ],
+ 'TextLabels' => [
+ 'description' => 'Text labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Text label.',
+ 'type' => 'object',
+ 'example' => '[{nonLabel: 17}]',
+ ],
+ ],
+ 'VoiceScanOpened' => [
+ 'description' => 'Whether audio detection is enabled.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Result' => [
+ 'description' => 'Return collection.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Return collection.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Confidence' => [
+ 'description' => 'Confidence score, ranging from 0 to 100, with two decimal places.',
+ 'type' => 'string',
+ 'example' => '50.0',
+ ],
+ 'Label' => [
+ 'description' => 'Label.',
+ 'type' => 'string',
+ 'example' => 'politics',
+ ],
+ 'Description' => [
+ 'description' => 'Description of the Label field.',
+ 'type' => 'string',
+ 'example' => '疑似色情内容',
+ ],
+ ],
+ ],
+ ],
+ 'Offset' => [
+ 'description' => 'Frame offset value.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'StartTime' => [
+ 'description' => 'Segment start time (in seconds).',
+ 'type' => 'string',
+ 'example' => '11',
+ ],
+ 'EndTime' => [
+ 'description' => 'Segment end time (in seconds).',
+ 'type' => 'string',
+ 'example' => '22',
+ ],
+ 'RiskTips' => [
+ 'description' => 'Details of the detected risk.',
+ 'type' => 'string',
+ 'example' => '色情服务',
+ ],
+ 'RiskWords' => [
+ 'description' => 'Keywords of the detected risk.',
+ 'type' => 'string',
+ 'example' => '色情_低俗词',
+ ],
+ 'Thumbnail' => [
+ 'description' => 'Thumbnail URL.',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyuncs.com/xxx.png',
+ ],
+ 'Extra' => [
+ 'description' => 'Additional parameters.',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'PageNum' => [
+ 'description' => 'Page number.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RiskLevel' => [
+ 'description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ ."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'SensitiveLevel' => [
+ 'description' => 'Sensitive level, returned based on the set high and low risk scores. The return values include:'."\n"
+ .'- **S1**: Indicates low sensitivity.'."\n"
+ .'- **S2**: Indicates medium sensitivity.'."\n"
+ .'- **S3**: Indicates high sensitivity.'."\n"
+ .'- **S4**: Indicates very high sensitivity.'."\n"
+ .'- **S0**: Indicates no sensitivity.',
+ 'type' => 'string',
+ 'example' => 'S0',
+ ],
+ 'AttackLevel' => [
+ 'description' => 'Attack level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ ."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'RequestFrom' => [
+ 'description' => 'Request source.',
+ 'type' => 'string',
+ 'example' => 'online_test',
+ ],
+ 'ApiRequestTime' => [
+ 'description' => 'Machine review time.',
+ 'type' => 'string',
+ 'example' => '1755501226',
+ ],
+ 'ReviewTime' => [
+ 'description' => 'Review time.',
+ 'type' => 'string',
+ 'example' => '1755501226',
+ ],
+ 'ResourceType' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'ApiTaskId' => [
+ 'description' => 'Automated review task ID.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'ReviewLabels' => [
+ 'description' => 'Review labels.',
+ 'type' => 'string',
+ 'example' => 'porn',
+ ],
+ 'ReviewRiskLevel' => [
+ 'description' => 'Review status.',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'ReviewUid' => [
+ 'description' => 'Reviewer.',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'ApiLabels' => [
+ 'description' => 'Automated review labels.',
+ 'type' => 'string',
+ 'example' => 'porn',
+ ],
+ 'ApiRiskLevel' => [
+ 'description' => 'Automated review risk level.',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'ApiService' => [
+ 'description' => 'Automated review service',
+ 'type' => 'string',
+ 'example' => 'basecheckLine',
+ ],
+ 'ManualOnly' => [
+ 'description' => 'Whether it is a pure manual review.',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Reviewed' => [
+ 'description' => 'Whether it has been reviewed.',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'MaliciousFileLevel' => [
+ 'description' => 'Malicious file risk level.',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'MaliciousUrlLevel' => [
+ 'description' => 'Malicious URL risk level.',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'AppId' => [
+ 'title' => 'appId',
+ 'type' => 'string',
+ 'example' => 'agent_01',
+ ],
+ 'GuardImageUrls' => [
+ 'description' => 'Multimodal image URLs.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Multimodal image URLs.',
+ 'type' => 'string',
+ 'example' => 'https://xxx.jpg',
+ ],
+ ],
+ 'GuardFileUrls' => [
+ 'description' => 'Multimodal file URLs.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Multimodal file URLs.',
+ 'type' => 'string',
+ 'example' => 'http://xxx.docx',
+ ],
+ ],
+ 'AccountId' => [
+ 'type' => 'string',
+ ],
+ 'LiveId' => [
+ 'type' => 'string',
+ ],
+ 'ImageUrls' => [
+ 'title' => 'imageUrls',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'url',
+ 'type' => 'string',
+ 'example' => 'https://xxxx.001.jpg',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"RequestTime\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"DataId\\": \\"4f27b8cc7c4544cb90b41882a5b36326\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"NoLabels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ImageUrl\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"Content\\": \\"xxx\\",\\n \\"TaskId\\": \\"vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9\\",\\n \\"Score\\": 25,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"xxx\\",\\n \\"Url\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"TimeStamp\\": \\"00:00:40-00:00:42\\",\\n \\"FrameCount\\": 20,\\n \\"ImageService\\": \\"baselineCheck\\",\\n \\"VoiceService\\": \\"live_stream_detection\\",\\n \\"ImageLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"TextLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceScanOpened\\": true,\\n \\"Result\\": [\\n {\\n \\"Confidence\\": \\"50.0\\",\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"Offset\\": 1,\\n \\"StartTime\\": \\"11\\",\\n \\"EndTime\\": \\"22\\",\\n \\"RiskTips\\": \\"色情服务\\",\\n \\"RiskWords\\": \\"色情_低俗词\\",\\n \\"Thumbnail\\": \\"https://www.aliyuncs.com/xxx.png\\",\\n \\"Extra\\": {},\\n \\"PageNum\\": 1,\\n \\"RiskLevel\\": \\"none\\",\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"RequestFrom\\": \\"online_test\\",\\n \\"ApiRequestTime\\": \\"1755501226\\",\\n \\"ReviewTime\\": \\"1755501226\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ApiTaskId\\": \\"xxx\\",\\n \\"ReviewLabels\\": \\"porn\\",\\n \\"ReviewRiskLevel\\": \\"high\\",\\n \\"ReviewUid\\": \\"xx\\",\\n \\"ApiLabels\\": \\"porn\\",\\n \\"ApiRiskLevel\\": \\"high\\",\\n \\"ApiService\\": \\"basecheckLine\\",\\n \\"ManualOnly\\": false,\\n \\"Reviewed\\": false,\\n \\"MaliciousFileLevel\\": \\"high\\",\\n \\"MaliciousUrlLevel\\": \\"high\\",\\n \\"AppId\\": \\"agent_01\\",\\n \\"GuardImageUrls\\": [\\n \\"https://xxx.jpg\\"\\n ],\\n \\"GuardFileUrls\\": [\\n \\"http://xxx.docx\\"\\n ],\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"LiveId\\": \\"liveIdtest123\\",\\n \\"ImageUrls\\": [\\n \\"https://xxxx.001.jpg\\"\\n ]\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Query Scan Results',
+ 'translator' => 'machine',
+ ],
+ 'GetServiceConf' => [
+ 'summary' => 'Get a Single Service Configuration',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '161934',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Audit scenario.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pornographic',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'ByDefault',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Query default configuration',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'False',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<CustomServiceConfigDTO<JSONObject>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '17726*****370735',
+ ],
+ 'ResourceType' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'example' => 'image',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2023-01-17 12:29:56',
+ ],
+ 'CustomServiceConf' => [
+ 'description' => 'Service details',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => '6CF2815C-****-****-B52E-FF6E2****492',
+ ],
+ 'Option' => [
+ 'description' => 'Options.',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'Classify' => [
+ 'description' => 'Classification.',
+ 'type' => 'string',
+ 'example' => 'guard-scene',
+ ],
+ 'ServiceType' => [
+ 'description' => 'Service type.',
+ 'type' => 'string',
+ 'example' => 'plus',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Uid\\": \\"17726*****370735\\",\\n \\"ResourceType\\": \\"image\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"GmtModified\\": \\"2023-01-17 12:29:56\\",\\n \\"CustomServiceConf\\": {},\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Option\\": {},\\n \\"Classify\\": \\"guard-scene\\",\\n \\"ServiceType\\": \\"plus\\"\\n}","type":"json"}]',
+ 'title' => 'Get Service Configuration',
+ 'translator' => 'machine',
+ ],
+ 'GetServiceConfig' => [
+ 'summary' => 'Get a Single Service Configuration',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang9SVL0Q',
+ 'FEATURElvwangL7LL9G',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nickname_detection',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<CustomServiceConfigDTO>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '165379****31937',
+ ],
+ 'ResourceType' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2024-05-06 03:07:44',
+ ],
+ 'CustomServiceConf' => [
+ 'description' => 'Custom service details',
+ 'type' => 'object',
+ 'properties' => [
+ 'KeywordFilterLibs' => [
+ 'description' => 'Ignore word libraries.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Ignore word libraries.',
+ 'type' => 'string',
+ 'example' => '["kwxxx"]',
+ ],
+ ],
+ 'KeywordHitLibs' => [
+ 'description' => 'Hit word libraries.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Hit word libraries.',
+ 'type' => 'string',
+ 'example' => '["kwxxx1"]',
+ ],
+ ],
+ 'SimilarTextHitLibs' => [
+ 'description' => 'Hit similar text libraries.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Hit similar text libraries.',
+ 'type' => 'string',
+ 'example' => '["stxxx"]',
+ ],
+ ],
+ 'ManualMachineConfig' => [
+ 'description' => 'Human-machine review configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enable' => [
+ 'description' => 'Whether to enable. Values:'."\n"
+ .'- **true**: Enabled'."\n"
+ .'- **false**: Disabled',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AuditRiskLevels' => [
+ 'description' => 'Risk levels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Risk levels.',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ ],
+ 'ManualService' => [
+ 'description' => 'Manual review service',
+ 'type' => 'string',
+ 'example' => 'imageManualCheck',
+ ],
+ 'CallbackId' => [
+ 'description' => 'Callback notification ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Uid\\": \\"165379****31937\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2024-05-06 03:07:44\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[\\\\\\"kwxxx\\\\\\"]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[\\\\\\"kwxxx1\\\\\\"]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[\\\\\\"stxxx\\\\\\"]\\"\\n ],\\n \\"ManualMachineConfig\\": {\\n \\"Enable\\": true,\\n \\"AuditRiskLevels\\": [\\n \\"high\\"\\n ],\\n \\"ManualService\\": \\"imageManualCheck\\",\\n \\"CallbackId\\": 123\\n }\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Get Service Configuration',
+ 'translator' => 'machine',
+ ],
+ 'GetUserBuyStatus' => [
+ 'summary' => 'Get User Purchase Status',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '158310',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangMSWOCX',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'CommodityCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Commodity code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'lvwang_public_cn',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<BuyStatusDTO>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Buy' => [
+ 'description' => 'Indicates whether the product has been activated on Alibaba Cloud.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Indebt' => [
+ 'description' => 'Indicates whether there is an outstanding payment.',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'Bid' => [
+ 'description' => 'Bid.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '26842',
+ ],
+ 'Tag' => [
+ 'description' => 'Tag.',
+ 'type' => 'string',
+ 'example' => 'bailian',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Buy\\": true,\\n \\"Indebt\\": true,\\n \\"Bid\\": 26842,\\n \\"Tag\\": \\"bailian\\",\\n \\"InstanceId\\": \\"xxx-xxx-xxx\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Get User Purchase Status',
+ 'translator' => 'machine',
+ ],
+ 'ListKeywordLibs' => [
+ 'summary' => 'Keyword Library List',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157043',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<KeywordLibVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '19964*****086772',
+ ],
+ 'LibId' => [
+ 'description' => 'Library ID.',
+ 'type' => 'string',
+ 'example' => 'custom_xxxxx',
+ ],
+ 'LibName' => [
+ 'description' => 'Library name.',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'KeywordCount' => [
+ 'description' => 'Number of keywords.',
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2022-11-30 16:30:29',
+ ],
+ 'ServiceCodes' => [
+ 'description' => 'Service codes.',
+ 'type' => 'string',
+ 'example' => 'service1,service2',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"19964*****086772\\",\\n \\"LibId\\": \\"custom_xxxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"KeywordCount\\": \\"10\\",\\n \\"GmtModified\\": \\"2022-11-30 16:30:29\\",\\n \\"ServiceCodes\\": \\"service1,service2\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Keyword Library List',
+ 'translator' => 'machine',
+ ],
+ 'ListOssCheckResult' => [
+ 'summary' => 'query OSS scan result list',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '197375',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Start date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'End date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Task status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'FinishNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of completed tasks.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Search condition.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"TaskId":"P_11TL5T"}',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort field.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '13',
+ ],
+ 'PageSize' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'Storage space.',
+ 'type' => 'string',
+ 'example' => 'tmp',
+ ],
+ 'JobName' => [
+ 'description' => 'Job name.',
+ 'type' => 'string',
+ 'example' => 'dhT20X2310',
+ ],
+ 'Object' => [
+ 'description' => 'Object name.',
+ 'type' => 'string',
+ 'example' => '1713014531569_958.png.jpeg',
+ ],
+ 'Md5' => [
+ 'description' => 'File MD5.',
+ 'type' => 'string',
+ 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'Code' => [
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Labels' => [
+ 'description' => 'Image labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Image labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'Labels2' => [
+ 'description' => 'Text labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Text labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ScanResult' => [
+ 'description' => 'Details of the result.',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'ImageUrl' => [
+ 'description' => 'Image URL address.',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.jpg',
+ ],
+ 'Url' => [
+ 'description' => 'Task URL.',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'TaskId' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX',
+ ],
+ 'ServiceName' => [
+ 'description' => 'Service name.',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'IsCopy' => [
+ 'description' => 'Whether to copy.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CopyFrom' => [
+ 'description' => 'Primary service.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'ContentType' => [
+ 'description' => 'Audio and video detection type.',
+ 'type' => 'string',
+ 'example' => 'audio',
+ ],
+ 'RiskLevel0' => [
+ 'description' => 'Overall risk level',
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'RiskLevel' => [
+ 'description' => 'Image risk level',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'RiskLevel2' => [
+ 'description' => 'Text risk level',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'FreezeType' => [
+ 'description' => 'Freeze type.',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeStatus' => [
+ 'description' => 'Freeze status.',
+ 'type' => 'string',
+ 'example' => 'FREEZED',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"OK\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"EP6TI7_au_Zo25ITvCbkocNuF801QOQX\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"none\\",\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeStatus\\": \\"FREEZED\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'Query OSS Scan Result List',
+ 'translator' => 'machine',
+ ],
+ 'ModifyFeatureConfig' => [
+ 'summary' => 'Save Feature Configuration',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '266678',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'System-defined parameter. Value: **ModifyFeatureConfig**.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'llm_query_moderation',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'query',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'query',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_llm_template',
+ ],
+ ],
+ [
+ 'name' => 'Field',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'query',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '__config__',
+ ],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'query',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'query',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '标签2',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'query',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'query',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Returned data',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Msg' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Success' => [
+ 'description' => 'Response message of this request.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'Status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Msg\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Modify Feature Configuration',
+ 'translator' => 'machine',
+ ],
+ 'QueryCallback' => [
+ 'summary' => 'Query a Single Callback Configuration',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '221459',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Primary key ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11234',
+ ],
+ ],
+ [
+ 'name' => 'CheckForOss',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Query data under the OSS detection task.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Id' => [
+ 'description' => 'Primary key ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11234',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'Creation time.',
+ 'type' => 'string',
+ 'example' => '2022-11-30 16:30:29',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '19964*****086772',
+ ],
+ 'Name' => [
+ 'description' => 'Name.',
+ 'type' => 'string',
+ 'example' => '回调通知',
+ ],
+ 'Url' => [
+ 'description' => 'Callback URL.',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyuncs.com',
+ ],
+ 'Seed' => [
+ 'description' => 'Seed.',
+ 'type' => 'string',
+ 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf',
+ ],
+ 'CryptType' => [
+ 'description' => 'Encryption algorithm.',
+ 'type' => 'string',
+ 'example' => 'SHA256',
+ ],
+ 'Scope' => [
+ 'description' => 'Result scope.',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ 'ExistsOssCheckTask' => [
+ 'description' => 'Whether there is an OSS detection task.',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Id\\": 11234,\\n \\"GmtCreate\\": \\"2022-11-30 16:30:29\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\",\\n \\"Uid\\": \\"19964*****086772\\",\\n \\"Name\\": \\"回调通知\\",\\n \\"Url\\": \\"https://www.aliyuncs.com\\",\\n \\"Seed\\": \\"cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf\\",\\n \\"CryptType\\": \\"SHA256\\",\\n \\"Scope\\": \\"all\\",\\n \\"ExistsOssCheckTask\\": false\\n}","type":"json"}]',
+ 'title' => 'Query Callback',
+ 'translator' => 'machine',
+ ],
+ 'UpdateScanResultFeedback' => [
+ 'summary' => 'Feedback on Scan Results',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '169771',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'QueryRequestId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '请求ID',
+ 'description' => 'Request ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '46232656-984E-****-A648-B1D0667B6C3E',
+ ],
+ ],
+ [
+ 'name' => 'Feedback',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '反馈',
+ 'description' => 'Feedback',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'missOut' => '违规漏过',
+ 'misreport' => '未违规误报',
+ ],
+ 'example' => 'missOut',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => 'Resource Type',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Risk Level',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'high',
+ ],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Labels.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abuse',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Feedback on Scan Results',
+ 'translator' => 'machine',
+ ],
+ 'UpdateServiceConfig' => [
+ 'summary' => '更新服务',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157299',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'KeywordFilterLibs',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'KeywordHitLibs',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pornographic',
+ ],
+ ],
+ [
+ 'name' => 'SceneConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'VideoConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'FileConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'ManualMachineConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'ServiceConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ ],
+ 'GetKeywordImportResult' => [
+ 'summary' => 'Query the result of keyword import',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxx-xxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddKeywordsResultVO>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => 'Task progress percentage.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => 'Keyword library ID.',
+ 'type' => 'string',
+ 'example' => 'customxx_xxx',
+ ],
+ 'I18nKey' => [
+ 'description' => 'Internationalization key.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Tips' => [
+ 'description' => 'Tips message.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => 'Total count.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => 'Success count.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => 'Repeat count.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => 'Invalid count.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatKeywords' => [
+ 'description' => 'List of repeated keywords.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'List of repeated keywords.',
+ 'type' => 'string',
+ 'example' => '重复关键词',
+ ],
+ ],
+ 'InvalidKeywords' => [
+ 'description' => 'List of invalid keywords.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'List of invalid keywords.',
+ 'type' => 'string',
+ 'example' => '不合法关键词',
+ ],
+ ],
+ 'IllegalLengthKeywords' => [
+ 'description' => 'List of keywords with illegal length (too long or too short).',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'List of keywords with illegal length (too long or too short).',
+ 'type' => 'string',
+ 'example' => '过短关键词',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request, which can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"customxx_xxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxx\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"不合法关键词\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\"\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Query Keyword Import Result',
+ 'translator' => 'machine',
+ ],
+ 'UpdateKeywordLib' => [
+ 'summary' => 'Edit Keyword Library',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157975',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Library ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Keyword library name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试库',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Edit Keyword Library',
+ 'translator' => 'machine',
+ ],
+ 'GetKeywordLib' => [
+ 'summary' => 'Keyword Library Information',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157047',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Keyword library ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<KeywordLibVO>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data content.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'Primary account ID',
+ 'type' => 'string',
+ 'example' => '1825457112123838',
+ ],
+ 'LibId' => [
+ 'description' => 'Keyword library ID.',
+ 'type' => 'string',
+ 'example' => 'customxx_xxx',
+ ],
+ 'LibName' => [
+ 'description' => 'Library name',
+ 'type' => 'string',
+ 'example' => '测试词库',
+ ],
+ 'KeywordCount' => [
+ 'description' => 'Number of keywords.',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Last modified time.',
+ 'type' => 'string',
+ 'example' => '2024-01-29 10:26:00',
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Uid\\": \\"1825457112123838\\",\\n \\"LibId\\": \\"customxx_xxx\\",\\n \\"LibName\\": \\"测试词库\\",\\n \\"KeywordCount\\": \\"100\\",\\n \\"GmtModified\\": \\"2024-01-29 10:26:00\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Get Keyword Library Information',
+ 'translator' => 'machine',
+ ],
+ 'GetUploadInfo' => [
+ 'summary' => 'Get the corresponding information for file upload',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '158637',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ 'default' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Upload name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'UploadFileSettingResponse',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessId' => [
+ 'description' => 'Upload authorization ID.',
+ 'type' => 'string',
+ 'example' => 'LTAI5t9HM*****EXQmw3DVH',
+ ],
+ 'Policy' => [
+ 'description' => 'OSS upload file Policy.',
+ 'type' => 'string',
+ 'example' => 'xxxx',
+ ],
+ 'Signature' => [
+ 'description' => 'Upload signature information.',
+ 'type' => 'string',
+ 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
+ ],
+ 'Folder' => [
+ 'title' => '最好含有用户ID',
+ 'description' => 'Folder name.',
+ 'type' => 'string',
+ 'example' => 'image/upload/xxx'."\n",
+ ],
+ 'Key' => [
+ 'description' => 'Key used for uploading files.',
+ 'type' => 'string',
+ 'example' => 'image/upload/xxx',
+ ],
+ 'Host' => [
+ 'description' => 'Upload host.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
+ ],
+ 'Name' => [
+ 'title' => '前端上传图片使用',
+ 'description' => 'Used for front-end image upload.',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Expire' => [
+ 'title' => '单位秒',
+ 'description' => 'In seconds.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '900',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessId\\": \\"LTAI5t9HM*****EXQmw3DVH\\",\\n \\"Policy\\": \\"xxxx\\",\\n \\"Signature\\": \\"iyu7VHblYj+mEF9p46cdGOlNPAw=\\",\\n \\"Folder\\": \\"image/upload/xxx\\\\n\\",\\n \\"Key\\": \\"image/upload/xxx\\",\\n \\"Host\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com\\",\\n \\"Name\\": \\"测试\\",\\n \\"Expire\\": 900,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Get the corresponding information for file upload',
+ 'translator' => 'machine',
+ ],
+ 'ListServiceConfigs' => [
+ 'summary' => 'Get Service List',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157042',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Classify',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Category.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'guard-scene',
+ ],
+ ],
+ [
+ 'name' => 'UseStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Usage status.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'in',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<CustomServiceConfigDTO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '1674*****0071291',
+ ],
+ 'ResourceType' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2023-07-11 15:40:04',
+ ],
+ 'CopyFrom' => [
+ 'description' => 'Main service.',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ 'CustomServiceConf' => [
+ 'description' => 'Service configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'KeywordFilterLibs' => [
+ 'description' => 'Ignored word libraries.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Ignored word libraries.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ ],
+ 'KeywordHitLibs' => [
+ 'description' => 'Hit word libraries.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Hit word libraries.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ ],
+ 'SimilarTextHitLibs' => [
+ 'description' => 'Hit similar text libraries.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Hit similar text libraries.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ ],
+ 'ImageService' => [
+ 'description' => 'Image services.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Image services.',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ 'AudioService' => [
+ 'description' => 'Audio service.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'Rules' => [
+ 'description' => 'Service rules',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => [
+ 'description' => 'Index.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ImageScanRule' => [
+ 'description' => 'Image review rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Services' => [
+ 'description' => 'Image services.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Image services.',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ ],
+ 'TextScanRule' => [
+ 'description' => 'Text review rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Services' => [
+ 'description' => 'Text services.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Text services.',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceName' => [
+ 'description' => 'Service name.',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'ServiceDesc' => [
+ 'description' => 'Service description.',
+ 'type' => 'string',
+ 'example' => '服务描述',
+ ],
+ 'Option' => [
+ 'description' => 'Options.',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'ServiceType' => [
+ 'description' => 'Service type.',
+ 'type' => 'string',
+ 'example' => 'plus',
+ ],
+ 'Classify' => [
+ 'description' => 'Category.',
+ 'type' => 'string',
+ 'example' => 'guard-scene',
+ ],
+ 'UseStatus' => [
+ 'description' => 'Usage status',
+ 'type' => 'string',
+ 'example' => 'in',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '400',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1674*****0071291\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2023-07-11 15:40:04\\",\\n \\"CopyFrom\\": \\"nickname_detection\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"ImageService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"AudioService\\": \\"audio_media_detection\\",\\n \\"Rules\\": [\\n {\\n \\"Index\\": 1,\\n \\"ImageScanRule\\": {\\n \\"Services\\": [\\n \\"baselineCheck\\"\\n ]\\n },\\n \\"TextScanRule\\": {\\n \\"Services\\": [\\n \\"nickname_detection\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"ServiceDesc\\": \\"服务描述\\",\\n \\"Option\\": {},\\n \\"ServiceType\\": \\"plus\\",\\n \\"Classify\\": \\"guard-scene\\",\\n \\"UseStatus\\": \\"in\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 400,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Get Rule Configuration List',
+ 'translator' => 'machine',
+ ],
+ 'GetTextScanResult' => [
+ 'summary' => 'Query the invocation result',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157044',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangL296SE',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start date and time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End date and time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Search criteria.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '搜索条件。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort fields.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PortalPageResponse<TextScanResultVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5',
+ ],
+ 'PageSize' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Data for the current page.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'description' => 'Creation time.',
+ 'type' => 'string',
+ 'example' => '2023-07-11 14:21:36',
+ ],
+ 'Content' => [
+ 'description' => 'Content.',
+ 'type' => 'string',
+ 'example' => '测试内容',
+ ],
+ 'TaskId' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'RequestTime' => [
+ 'description' => 'Request time.',
+ 'type' => 'string',
+ 'example' => '2023-07-11 14:21:36'."\n",
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'nickname_detection',
+ ],
+ 'ScanResult' => [
+ 'description' => 'Details of the result.',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'Labels' => [
+ 'description' => 'Labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ 'Score' => [
+ 'description' => 'Score.',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '20',
+ ],
+ 'Suggestion' => [
+ 'description' => 'Suggestion for handling.',
+ 'type' => 'string',
+ 'example' => 'review',
+ ],
+ 'ExtFeedback' => [
+ 'description' => 'Feedback information.',
+ 'type' => 'string',
+ 'example' => 'miss',
+ ],
+ 'Extra' => [
+ 'description' => 'Spare parameters.',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ 'Result' => [
+ 'description' => 'Detection results.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => [
+ 'description' => 'Label.',
+ 'type' => 'string',
+ 'example' => 'political_n',
+ ],
+ 'Confidence' => [
+ 'description' => 'Confidence score, ranging from 0 to 100, with two decimal places retained.',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '25.0',
+ ],
+ 'Description' => [
+ 'description' => 'Description.',
+ 'type' => 'string',
+ 'example' => '疑似色情内容',
+ ],
+ ],
+ ],
+ ],
+ 'BailianRequestId' => [
+ 'description' => 'Bailian Request ID',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'RiskLevel' => [
+ 'description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ .' '."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'AccountId' => [
+ 'title' => '客户入参AccountId',
+ 'type' => 'string',
+ ],
+ 'DataId' => [
+ 'title' => '客户入参DataId',
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 5,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-07-11 14:21:36\\",\\n \\"Content\\": \\"测试内容\\",\\n \\"TaskId\\": \\"txtwkgb******AsYNXoJswy-1Aa1Qk\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"RequestTime\\": \\"2023-07-11 14:21:36\\\\n\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"Score\\": 20,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"miss\\",\\n \\"Extra\\": {},\\n \\"Result\\": [\\n {\\n \\"Label\\": \\"political_n\\",\\n \\"Confidence\\": 25,\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"BailianRequestId\\": \\"xxx\\",\\n \\"RiskLevel\\": \\"none\\",\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"DataId\\": \\"xxxx\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Query Text Detection Results',
+ 'translator' => 'machine',
+ ],
+ 'AddKeywords' => [
+ 'summary' => 'Add keywords',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157048',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The id of keyword library.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Keywords',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The keywords to be added.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'keywords',
+ ],
+ ],
+ [
+ 'name' => 'KeywordsObject',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the keyword file.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddKeywordsResult>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => 'The ID of the keyword library.',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'KeywordsResult' => [
+ 'description' => 'Result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => 'The progress percentage of the task.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => 'The keyword library ID.',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'I18nKey' => [
+ 'description' => 'Internationalization key.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Tips' => [
+ 'description' => 'The tips.',
+ 'type' => 'string',
+ 'example' => 'xxxxx',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total count of the keywords.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'SuccessCount' => [
+ 'description' => 'The success count of the keywords.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'RepeatCount' => [
+ 'description' => 'Duplicate keyword count',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => 'Invalid keyword count',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatKeywords' => [
+ 'description' => 'List of duplicate keywords',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Duplicate keywords',
+ 'type' => 'string',
+ 'example' => 'duplicate_keyword',
+ ],
+ ],
+ 'InvalidKeywords' => [
+ 'description' => 'List of invalid keywords',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Invalid keywords',
+ 'type' => 'string',
+ 'example' => 'invalid_keyword',
+ ],
+ ],
+ 'IllegalLengthKeywords' => [
+ 'description' => 'List of keywords that are too long or too short.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Keywords that are too long or too short.',
+ 'type' => 'string',
+ 'example' => 'keyword',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Return code. A return of 200 represents success.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'The message that is returned in response to the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxxxx\\",\\n \\"TotalCount\\": 8,\\n \\"SuccessCount\\": 6,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\\\n\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"非法关键词\\\\n\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\\\n\\"\\n ]\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Add keywords',
+ ],
+ 'ListKeywords' => [
+ 'summary' => 'Query Keyword List',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Library ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Word',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Keyword.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试词',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort field.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PortalPageResponse<KeywordSampleVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => 'Total count.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '23',
+ ],
+ 'PageSize' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => 'Primary key ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '112',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'Creation time.',
+ 'type' => 'string',
+ 'example' => '2023-06-03 14:43:03',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2023-06-03 14:43:03',
+ ],
+ 'KeywordLibId' => [
+ 'description' => 'Keyword library ID.',
+ 'type' => 'string',
+ 'example' => 'custom_xxxx',
+ ],
+ 'KeywordMd5Id' => [
+ 'description' => 'Keyword data ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4205334',
+ ],
+ 'Word' => [
+ 'description' => 'Keyword.',
+ 'type' => 'string',
+ 'example' => '测试词',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'description' => 'Success flag.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 23,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 112,\\n \\"GmtCreate\\": \\"2023-06-03 14:43:03\\",\\n \\"GmtModified\\": \\"2023-06-03 14:43:03\\",\\n \\"KeywordLibId\\": \\"custom_xxxx\\",\\n \\"KeywordMd5Id\\": 4205334,\\n \\"Word\\": \\"测试词\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Query Keyword List',
+ 'translator' => 'machine',
+ ],
+ 'DeleteKeyword' => [
+ 'summary' => 'Delete keyword',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157037',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Library id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'KeywordIds',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ids of keywords.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[16754493]',
+ ],
+ ],
+ [
+ 'name' => 'KeywordIdList',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ids\' list of keywords.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[6715465]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'The returned status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Response message for this request.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Delete keyword',
+ ],
+ 'ExportKeyword' => [
+ 'summary' => 'Export Keywords',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '158882',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Keyword library ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<String>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Export result.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr',
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Export Keywords',
+ 'translator' => 'machine',
+ ],
+ 'ExportTextScanResult' => [
+ 'summary' => 'Export text scan results, Excel file',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157038',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangL296SE',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-10 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-11 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Query conditions.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '',
+ 'example' => '{"RequestId":"8488665D-32D3-5DD6-8BF1-B4DE2******"}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'oss链接',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Exported results.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Export Text Detection Results',
+ 'translator' => 'machine',
+ ],
+ 'DeleteKeywordLib' => [
+ 'summary' => 'Delete Keyword Library',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '157040',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Keyword library ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Delete Keyword Library',
+ 'translator' => 'machine',
+ ],
+ 'UpdateImageLibFreeInspection' => [
+ 'summary' => 'Edit Image Library Free Inspection Configuration',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159537',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang7CSAZW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Config',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Configuration.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'description' => '配置。',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Return result.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with the HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'Edit Image Library Free Inspection Configuration',
+ 'translator' => 'machine',
+ ],
+ 'AddImages2Lib' => [
+ 'summary' => 'Add image to image lib',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159538',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of image library.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxx',
+ ],
+ ],
+ [
+ 'name' => 'ImgUrl',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'URL of the image to be uploaded.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ImgId' => [
+ 'description' => 'The id of the uploaded image.',
+ 'type' => 'string',
+ 'example' => '100001',
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Status code',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'The message that is returned in response to the request.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ImgId\\": \\"100001\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Add image to image lib',
+ ],
+ 'ListImagesFromLib' => [
+ 'summary' => 'Paged Image List',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159539',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Gallery ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'ImgId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Image ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '112',
+ ],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort field.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PortalPageResponse<SimilarImageSampleVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => 'Total number of images.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreate' => [
+ 'description' => 'Creation time.',
+ 'type' => 'string',
+ 'example' => '2022-11-30 16:30:29',
+ ],
+ 'ImageId' => [
+ 'description' => 'Image ID.',
+ 'type' => 'string',
+ 'example' => '112',
+ ],
+ 'ImageUrl' => [
+ 'description' => 'Image URL.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
+ ],
+ 'ThumbnailUrl' => [
+ 'description' => 'Thumbnail URL.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2022-11-30 16:30:29\\",\\n \\"ImageId\\": \\"112\\",\\n \\"ImageUrl\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg\\",\\n \\"ThumbnailUrl\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'List of Images in the Library',
+ 'translator' => 'machine',
+ ],
+ 'AddImageLib' => [
+ 'summary' => 'Create Image Library',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159536',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of image library',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_image_lib',
+ ],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The remarks of the image library.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Explicit_Content_Blacklist_Image_lib',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Return code. A return of 200 represents success.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'The message that is returned in response to the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Create Image Lib',
+ ],
+ 'ExportScanResult' => [
+ 'summary' => 'Export scan results, Excel file',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '160496',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangL296SE',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-10 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-11 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Query content.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '查询条件。',
+ 'example' => '{"RequestId":"D83A46FF-9EA6-1477-A0C3-C8XXXXX****"}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort fields.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{"RequestTime":"desc"}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'oss链接',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Exported result.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Export Scan Results',
+ 'translator' => 'machine',
+ ],
+ 'ListImageLib' => [
+ 'summary' => 'Image Library List',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159540',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<ListImageLibResult>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibList' => [
+ 'description' => 'List of image library information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => 'Library ID.',
+ 'type' => 'string',
+ 'example' => 'custom_xxxx',
+ ],
+ 'LibName' => [
+ 'description' => 'Library name.',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'ImageNum' => [
+ 'description' => 'Number of images in the library.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FreeInspection' => [
+ 'description' => 'Exempt from inspection configuration.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Comment' => [
+ 'description' => 'Comment.',
+ 'type' => 'string',
+ 'example' => '备注',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'Creation time.',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ ],
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LibList\\": [\\n {\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"ImageNum\\": 1,\\n \\"FreeInspection\\": 1,\\n \\"Comment\\": \\"备注\\",\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Image Library List',
+ 'translator' => 'machine',
+ ],
+ 'DeleteImagesFromLib' => [
+ 'summary' => 'Delete images from library.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Library ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'ImageIds',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The IDs of the images.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[158794]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'The message that is returned in response to the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Delete images from library',
+ ],
+ 'GetImageSceneLabelConf' => [
+ 'summary' => 'Get Image Rule Label Information',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '160095',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangE704W7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<Pair<String, Object>>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'example' => '{}',
+ ],
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with the HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {}\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Get Image Rule Label Information',
+ 'translator' => 'machine',
+ ],
+ 'UpdateImageLib' => [
+ 'summary' => 'Edit Image Library',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159534',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangYDUT0K',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Library ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Library name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试图库',
+ ],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Comment information for the library.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '备注',
+ ],
+ ],
+ [
+ 'name' => 'FreeInspection',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Exemption from review configuration.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Success' => [
+ 'title' => '成功标志',
+ 'description' => 'Success indicator',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'title' => '错误码,和http status一致',
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'title' => '错误码的进一步描述',
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http状态码',
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Edit Image Library',
+ 'translator' => 'machine',
+ ],
+ 'GetImageSceneLabelListConf' => [
+ 'summary' => 'Get Image Rule Label Information',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '163937',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangE704W7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'ImageServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<?>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Returned data.',
+ 'type' => 'any',
+ 'example' => '{}',
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n \\"{}\\"\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Get Image Rule Label Information',
+ 'translator' => 'machine',
+ ],
+ 'GetScanNum' => [
+ 'summary' => 'User OSS Check Task Pending Inspection Information',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179486',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangJF4QIZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Buckets',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Storage space.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'tmpsample',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Media type.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<ScanInfoVO>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'ScanNumber' => [
+ 'description' => 'Total number of files pending inspection.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'SumNumber' => [
+ 'description' => 'Total number of files.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'LimitNumber' => [
+ 'description' => 'Upper limit of the quantity.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'Tag' => [
+ 'description' => 'Whether it is a whitelist user.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ScanNumber\\": 10,\\n \\"SumNumber\\": 10,\\n \\"LimitNumber\\": 10,\\n \\"Tag\\": true\\n}","type":"json"}]',
+ 'title' => 'Get User Pending Inspection Information',
+ 'translator' => 'machine',
+ ],
+ 'CancelStockOssCheckTask' => [
+ 'summary' => 'Cancel OSS detection task',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179017',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_UNYVB',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Cancel OSS detection task',
+ ],
+ 'CreatePreCheck' => [
+ 'summary' => 'Check before creating an OSS scan task',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179987',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Task name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '图片任务 20240709101602004'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Buckets',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Buckets.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]',
+ ],
+ ],
+ [
+ 'name' => 'IsInc',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Whether it is a scheduled scan task.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Media type.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Priority',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Priority.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'ScanNoFileType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Whether to scan images without file extensions.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ScanService',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Scan service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'DistinctHistoryTasks',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Whether to deduplicate historical detected tasks.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Task start time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-12-17 10:08:00'."\n",
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Task end time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-12-18 10:08:00'."\n",
+ ],
+ ],
+ [
+ 'name' => 'ScanLimit',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Scan limit count.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'PrefixFilterType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Prefix filter type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all',
+ ],
+ ],
+ [
+ 'name' => 'PrefixFilters',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Prefixes.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dir1,dir2',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'BucketPrefixFilterConfig',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Map<String, Boolean>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'boolean',
+ 'description' => 'Returned data.',
+ 'example' => 'True',
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"key\\": true\\n },\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Pre-check before creating OSS scan task',
+ 'translator' => 'machine',
+ ],
+ 'GetBucketsList' => [
+ 'summary' => 'Get User OSS Scan Bucket List',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '176578',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<BucketInfo>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'OSS file storage bucket name.',
+ 'type' => 'string',
+ 'example' => 'bucket_test',
+ ],
+ 'Region' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Bucket\\": \\"bucket_test\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Get OSS Scan Bucket List',
+ 'translator' => 'machine',
+ ],
+ 'GetOssCheckStatus' => [
+ 'summary' => 'Get User OSS check user status',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179436',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangL1O89D',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<OssCheckStatusDTO>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'SlsStatus' => [
+ 'description' => 'Whether log analysis function is authorized.',
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ 'RamStatus' => [
+ 'description' => 'Whether internal security is authorized.',
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ 'Buy' => [
+ 'description' => 'Whether a product has been activated on Alibaba Cloud.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Indebt' => [
+ 'description' => 'Whether there is an outstanding payment.',
+ 'type' => 'boolean',
+ 'example' => 'False',
+ ],
+ 'Bid' => [
+ 'description' => 'Bid.',
+ 'type' => 'string',
+ 'example' => '26842',
+ ],
+ 'CommodityCode' => [
+ 'description' => 'Commodity code.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"SlsStatus\\": \\"True\\",\\n \\"RamStatus\\": \\"True\\",\\n \\"Buy\\": true,\\n \\"Indebt\\": true,\\n \\"Bid\\": \\"26842\\",\\n \\"CommodityCode\\": \\"xxx\\"\\n}","type":"json"}]',
+ 'title' => 'Get User OSS Check Status',
+ 'translator' => 'machine',
+ ],
+ 'ExportResult' => [
+ 'summary' => 'Export OSS scan results',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179021',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Query condition.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"TaskId":"P_11TL5T"}',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Number of items per page in the query result.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Page number of the query result. Default is 1.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort field.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => 'desc',
+ 'description' => 'Sort field.',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'Source',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Operation source.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'disposal',
+ 'enum' => [
+ 'default',
+ 'disposal',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<String>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'string',
+ 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Success' => [
+ 'description' => 'Success flag.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Code' => [
+ 'description' => 'Error code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Success\\": true,\\n \\"Msg\\": \\"OK\\",\\n \\"Code\\": 200\\n}","type":"json"}]',
+ 'title' => 'Export Detection Results',
+ 'translator' => 'machine',
+ ],
+ 'GetStockOssCheckTasksList' => [
+ 'summary' => 'Query OSS Scan Task List',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179018',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Start time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-06-17 02:08:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'End time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-06-18 02:08:00'."\n",
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Media type.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort field.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'IsInc',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Whether it is a scheduled scan task.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'TaskType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Task type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'batch',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<StockOssCheckTaskVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'example' => 'P_XHDUS',
+ ],
+ 'TaskName' => [
+ 'description' => 'Task name.',
+ 'type' => 'string',
+ 'example' => '图片定时任务20231205135716797'."\n",
+ ],
+ 'Buckets' => [
+ 'description' => 'Storage space.',
+ 'type' => 'string',
+ 'example' => 'tmp',
+ ],
+ 'Status' => [
+ 'description' => 'Task status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'StartTime' => [
+ 'description' => 'Start time.',
+ 'type' => 'string',
+ 'example' => '2023-12-21 15:30:19',
+ ],
+ 'EndTime' => [
+ 'description' => 'End time.',
+ 'type' => 'string',
+ 'example' => '2024-01-10 11:42:31',
+ ],
+ 'SearchNum' => [
+ 'description' => 'Number of scan tasks.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'FinishNum' => [
+ 'description' => 'Number of completed tasks.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'MediaType' => [
+ 'description' => 'Media type.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'video',
+ ],
+ 'Config' => [
+ 'description' => 'Configuration items.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScanNoFileType' => [
+ 'description' => 'Whether to scan images without file extensions.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScanService' => [
+ 'description' => 'Scan service code',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Scan service code',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ 'DistinctHistoryTasks' => [
+ 'description' => 'Whether to deduplicate historical detected tasks.',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'StartTime' => [
+ 'description' => 'Start time.',
+ 'type' => 'string',
+ 'example' => '2023-12-21 15:30:19',
+ ],
+ 'EndTime' => [
+ 'description' => 'End time.',
+ 'type' => 'string',
+ 'example' => '2024-01-10 11:42:31',
+ ],
+ 'ScanLimit' => [
+ 'description' => 'Scan limit quantity.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'PrefixFilterType' => [
+ 'description' => 'Prefix filter type.',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ 'PrefixFilters' => [
+ 'description' => 'Prefixes.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Prefixes.',
+ 'type' => 'string',
+ 'example' => 'dir1,dir2',
+ ],
+ ],
+ 'Priority' => [
+ 'description' => 'Priority.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TaskCycle' => [
+ 'description' => 'Scheduling date.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ExecuteTime' => [
+ 'description' => 'Scheduled task expected execution time.',
+ 'type' => 'string',
+ 'example' => '02:00:00',
+ ],
+ 'ExecuteDate' => [
+ 'description' => 'Scheduled task execution date.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScanResourceType' => [
+ 'description' => 'Scanned file type.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ScanServiceInfos' => [
+ 'description' => 'Scan service information',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'IsCopy' => [
+ 'description' => 'Whether to copy.',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'baselineCheck_01',
+ ],
+ 'ServiceName' => [
+ 'description' => 'Service name.',
+ 'type' => 'string',
+ 'example' => '通用基线检测'."\n",
+ ],
+ 'CopyFrom' => [
+ 'description' => 'Primary service.',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ ],
+ ],
+ 'CallbackId' => [
+ 'description' => 'Callback notification ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3942',
+ ],
+ 'Freeze' => [
+ 'description' => 'Whether to freeze',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'FreezeType' => [
+ 'description' => 'Freeze type',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeHighRisk1' => [
+ 'description' => 'Freeze high-risk images',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeMediumRisk1' => [
+ 'description' => 'Freeze medium-risk images',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeHighRisk2' => [
+ 'description' => 'Freeze high-risk audio and text',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeMediumRisk2' => [
+ 'description' => 'Freeze medium-risk audio and text',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeRestorePath' => [
+ 'description' => 'Storage path for transfer',
+ 'type' => 'string',
+ 'example' => '/backup',
+ ],
+ 'UserFreezeConfig' => [
+ 'description' => 'Manual freeze configuration',
+ 'type' => 'object',
+ 'properties' => [
+ 'FreezeType' => [
+ 'description' => 'Freeze type',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeRestorePath' => [
+ 'description' => 'Storage path for transfer',
+ 'type' => 'string',
+ 'example' => '/backup'."\n",
+ ],
+ ],
+ ],
+ 'Referer' => [
+ 'description' => 'Referer',
+ 'type' => 'string',
+ 'example' => '*',
+ ],
+ ],
+ ],
+ 'ObjectNum' => [
+ 'description' => 'Total number of files in the bucket',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'NextExecuteDate' => [
+ 'description' => 'Last execution time of the scheduled task',
+ 'type' => 'string',
+ 'example' => '02:00:00'."\n",
+ ],
+ 'LastExecuteDate' => [
+ 'description' => 'Next execution time of the scheduled task',
+ 'type' => 'string',
+ 'example' => '02:00:00'."\n",
+ ],
+ 'IsInc' => [
+ 'description' => 'Whether it is a scheduled scan task',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TaskType' => [
+ 'description' => 'Task type',
+ 'type' => 'string',
+ 'example' => 'batch',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"TaskId\\": \\"P_XHDUS\\",\\n \\"TaskName\\": \\"图片定时任务20231205135716797\\\\n\\",\\n \\"Buckets\\": \\"tmp\\",\\n \\"Status\\": 4,\\n \\"StartTime\\": \\"2023-12-21 15:30:19\\",\\n \\"EndTime\\": \\"2024-01-10 11:42:31\\",\\n \\"SearchNum\\": 10,\\n \\"FinishNum\\": 2,\\n \\"MediaType\\": 0,\\n \\"Config\\": {\\n \\"ScanNoFileType\\": true,\\n \\"ScanService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"DistinctHistoryTasks\\": false,\\n \\"StartTime\\": \\"2023-12-21 15:30:19\\",\\n \\"EndTime\\": \\"2024-01-10 11:42:31\\",\\n \\"ScanLimit\\": 10,\\n \\"PrefixFilterType\\": \\"all\\",\\n \\"PrefixFilters\\": [\\n \\"dir1,dir2\\"\\n ],\\n \\"Priority\\": 1,\\n \\"TaskCycle\\": 0,\\n \\"ExecuteTime\\": \\"02:00:00\\",\\n \\"ExecuteDate\\": 1,\\n \\"ScanResourceType\\": 0,\\n \\"ScanServiceInfos\\": [\\n {\\n \\"IsCopy\\": false,\\n \\"ServiceCode\\": \\"baselineCheck_01\\",\\n \\"ServiceName\\": \\"通用基线检测\\\\n\\",\\n \\"CopyFrom\\": \\"baselineCheck\\"\\n }\\n ],\\n \\"CallbackId\\": 3942,\\n \\"Freeze\\": false,\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeHighRisk1\\": true,\\n \\"FreezeMediumRisk1\\": true,\\n \\"FreezeHighRisk2\\": true,\\n \\"FreezeMediumRisk2\\": true,\\n \\"FreezeRestorePath\\": \\"/backup\\",\\n \\"UserFreezeConfig\\": {\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeRestorePath\\": \\"/backup\\\\n\\"\\n },\\n \\"Referer\\": \\"*\\"\\n },\\n \\"ObjectNum\\": 10,\\n \\"NextExecuteDate\\": \\"02:00:00\\\\n\\",\\n \\"LastExecuteDate\\": \\"02:00:00\\\\n\\",\\n \\"IsInc\\": false,\\n \\"TaskType\\": \\"batch\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'Query OSS Scan Task List',
+ 'translator' => 'machine',
+ ],
+ 'OssCheckResultList' => [
+ 'summary' => 'OSS scan result query',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '179020',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'System-defined parameter. Value: **OssCheckResultList**.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-21 16:08:38'."\n",
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Start date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-10-21 16:08:38'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'End date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Query condition.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
+ 'description' => '排序字段。',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Sort field.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'FinishNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '55',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of completed items.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<SlsPageResponseVO<OssStockResultVO>>',
+ 'description' => 'PortalResponse<SlsPageResponseVO<OssStockResultVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Task status.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'AuthStatus' => [
+ 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'TotalCount' => [
+ 'description' => 'Authorization status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Current page number.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'string',
+ 'example' => 'tmp',
+ ],
+ 'Object' => [
+ 'description' => 'OSS Bucket name.',
+ 'type' => 'string',
+ 'example' => '1713014531569_958.png.jpeg',
+ ],
+ 'Md5' => [
+ 'description' => 'Object name.',
+ 'type' => 'string',
+ 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'File MD5.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'Code' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Status code. 200 indicates success.',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Labels' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Image labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ScanResult' => [
+ 'description' => 'Image labels.',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'ImageUrl' => [
+ 'description' => 'Details of the result.',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.jpg',
+ ],
+ 'JobName' => [
+ 'description' => 'Image URL.',
+ 'type' => 'string',
+ 'example' => 'dhT20X2310',
+ ],
+ 'Labels2' => [
+ 'description' => 'Job name.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Text labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'Url' => [
+ 'description' => 'Text labels.',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'TaskId' => [
+ 'description' => 'Task URL.',
+ 'type' => 'string',
+ 'example' => 'P_XHDUS',
+ ],
+ 'ServiceName' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'IsCopy' => [
+ 'description' => 'Service name.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CopyFrom' => [
+ 'description' => 'Whether to copy.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'ContentType' => [
+ 'description' => 'Primary service.',
+ 'type' => 'string',
+ 'example' => 'audio',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"AuthStatus\\": \\"OK\\",\\n \\"TotalCount\\": 10,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"success\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"P_XHDUS\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'Query OSS Detection Result List',
+ 'translator' => 'machine',
+ ],
+ 'CreatStockOssCheckTask' => [
+ 'summary' => 'Create stock oss check task',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '179014',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image task 20240709101602004',
+ ],
+ ],
+ [
+ 'name' => 'Buckets',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'OSS buckets',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n",
+ ],
+ ],
+ [
+ 'name' => 'IsInc',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Indicator for scheduled task.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Media type.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 1 => '',
+ '',
+ '',
+ ],
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Priority',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The priority of the task.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enumValueTitles' => [
+ '',
+ '',
+ ],
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'ScanNoFileType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Indicator for scanning files without file type.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ScanService',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The code of scan service.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'DistinctHistoryTasks',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Flag for deduplicating against previously detected tasks.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The start time of the task.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-12-17 10:08:00'."\n",
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The end time of the task.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-12-18 10:08:00',
+ ],
+ ],
+ [
+ 'name' => 'ScanLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The scan limit of the task.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'PrefixFilterType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Prefix filter type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'PrefixFilters',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Prefix filters',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dir1,dir2'."\n",
+ ],
+ ],
+ [
+ 'name' => 'BucketPrefixFilterConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'TaskCycle',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Task Cycle',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enumValueTitles' => [
+ '',
+ '',
+ '',
+ ],
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'ExecuteDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Execute date of scheduled task.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ExecuteTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Execute time of scheduled task.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '01:09:30-01:19:30',
+ ],
+ ],
+ [
+ 'name' => 'ScanResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Scan resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ '',
+ '',
+ '',
+ ],
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'TaskType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Task type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'timing' => '',
+ 'batch' => '',
+ 'increment' => '',
+ ],
+ 'example' => 'batch',
+ ],
+ ],
+ [
+ 'name' => 'CallbackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Callback ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1751',
+ ],
+ ],
+ [
+ 'name' => 'Freeze',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Freeze indicator',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Freeze type',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACL',
+ ],
+ ],
+ [
+ 'name' => 'FreezeHighRisk1',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Freeze High-Risk Images',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeMediumRisk1',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Freeze Medium-Risk Images',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeHighRisk2',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Freeze High-Risk Audio and Text',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeMediumRisk2',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Freeze Medium-Risk Audio and Text',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'FreezeRestorePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Freeze Restore Path',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'Referer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Referer.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://www.aliyun.com',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Create stock oss check task',
+ ],
+ 'AddKeywordsToLib' => [
+ 'summary' => 'Add keywords to keyword library.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '180474',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangGBPV1P',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The id of the keyword library.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customxx_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Keywords',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The keyword to be added.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'keyword',
+ ],
+ ],
+ [
+ 'name' => 'KeywordsObject',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the keyword file.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddKeywordsResult>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => [
+ 'description' => 'The id of the keyword library.',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'KeywordsResult' => [
+ 'description' => 'Result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => 'The progress percentage of the task.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => 'The id of the keyword library.',
+ 'type' => 'string',
+ 'example' => 'customxx_xxxx',
+ ],
+ 'I18nKey' => [
+ 'description' => 'Internationalization key.',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total count of keywords.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => 'The success count of keywords.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => 'Duplicate keyword count',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => 'Invalid keyword count.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatKeywords' => [
+ 'description' => 'List of duplicate keywords',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Duplicate keywords',
+ 'type' => 'string',
+ 'example' => 'duplicate_keyword',
+ ],
+ ],
+ 'InvalidKeywords' => [
+ 'description' => 'List of invalid keywords',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Invalid keywords',
+ 'type' => 'string',
+ 'example' => 'invalid_keyword',
+ ],
+ ],
+ 'IllegalLengthKeywords' => [
+ 'description' => 'List of keywords that are too long or too short.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Keywords that are too long or too short.',
+ 'type' => 'string',
+ 'example' => 'keyword',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatKeywords\\": [\\n \\"重复的关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"过短关键词\\\\n\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\\\n\\"\\n ]\\n }\\n },\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Add keywords to keyword lib',
+ ],
+ 'GetServiceLabelConfig' => [
+ 'summary' => 'Get the label configuration of a single service',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '174703',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangE704W7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nickname_detection',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<?>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Returned data.',
+ 'type' => 'any',
+ 'example' => '{}',
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n \\"{}\\"\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => ' Get Service Label Configuration ',
+ 'translator' => 'machine',
+ ],
+ 'ModifyServiceInfo' => [
+ 'summary' => 'Edit Service',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '184637',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXKZ6SI',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '通用基线检测',
+ ],
+ ],
+ [
+ 'name' => 'ServiceDesc',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service description.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '描述',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Edit Service Configuration',
+ 'translator' => 'machine',
+ ],
+ 'CopyServiceConfig' => [
+ 'summary' => 'copy service config',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '184636',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang9SVL0Q',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nickname_detection',
+ ],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The service name.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_name',
+ ],
+ ],
+ [
+ 'name' => 'ServiceDesc',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Service description',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '',
+ 'image' => '',
+ 'file' => '',
+ 'text' => '',
+ 'video' => '',
+ ],
+ 'example' => 'text',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Copy service config',
+ ],
+ 'GetExecuteTime' => [
+ 'summary' => 'Get Scheduled OSS Scan Task Estimated Execution Time',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '190608',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangKN3PXM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<String>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'string',
+ 'example' => '02:24:30',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"02:24:30\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Get Scheduled Task Estimated Execution Time',
+ 'translator' => 'machine',
+ ],
+ 'GetJobNameList' => [
+ 'summary' => 'OSS scheduled scan detection cycle query',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Start date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-11 09:00:19',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'End date.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-24 10:01:55',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Query condition.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"TaskId":"P_11TL5T"}',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort field.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => 'desc',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<String>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Returned data.',
+ 'type' => 'string',
+ 'example' => '["20000101-29990101"]',
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n \\"[\\\\\\"20000101-29990101\\\\\\"]\\"\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Get Oss Scan Task Job Name',
+ 'translator' => 'machine',
+ ],
+ 'GetBackupConfig' => [
+ 'summary' => 'Get Evidence Backup Configuration',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201051',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangHKCO82',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'voice' => '音频',
+ 'image' => '图片',
+ 'file' => '文档',
+ 'text' => '文本',
+ 'video' => '视频',
+ ],
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<CustomBackupConfigVO>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '1772612608370735',
+ ],
+ 'ResourceType' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'example' => 'image',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'baselineCheck',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2023-01-17 12:29:56',
+ ],
+ 'Enable' => [
+ 'description' => 'Whether it is enabled. Values:'."\n"
+ .'- **true**: Enabled'."\n"
+ .'- **false**: Disabled',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Bucket' => [
+ 'description' => 'File server OSS Bucket.',
+ 'type' => 'string',
+ 'example' => 'buckect_test',
+ ],
+ 'Region' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'Path' => [
+ 'description' => 'Path.',
+ 'type' => 'string',
+ 'example' => 'aliyun/template/',
+ ],
+ 'ExpireSeconds' => [
+ 'description' => 'Expiration time in seconds.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '300',
+ ],
+ 'BackupMode' => [
+ 'description' => 'Backup scope.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'enumValueTitles' => [
+ '转存所有结果',
+ '仅转存有检出风险的结果',
+ ],
+ 'example' => '0',
+ ],
+ 'EnableBackup' => [
+ 'description' => 'Whether to enable backup.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'EnableBackupVoice' => [
+ 'description' => 'Whether to enable audio backup.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'PathVoice' => [
+ 'description' => 'Audio backup path.',
+ 'type' => 'string',
+ 'example' => '/back',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Uid\\": \\"1772612608370735\\",\\n \\"ResourceType\\": \\"image\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"GmtModified\\": \\"2023-01-17 12:29:56\\",\\n \\"Enable\\": true,\\n \\"Bucket\\": \\"buckect_test\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Path\\": \\"aliyun/template/\\",\\n \\"ExpireSeconds\\": 300,\\n \\"BackupMode\\": 0,\\n \\"EnableBackup\\": true,\\n \\"EnableBackupVoice\\": true,\\n \\"PathVoice\\": \\"/back\\"\\n}","type":"json"}]',
+ 'title' => 'Get Evidence Backup Configuration',
+ 'translator' => 'machine',
+ ],
+ 'GetBackupBucketsList' => [
+ 'summary' => 'Evidence Transfer to Get User\'s Bucket List',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201048',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangHKCO82',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<BucketInfo>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Returned data.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'OSS file storage bucket name.',
+ 'type' => 'string',
+ 'example' => 'gj-bucket1',
+ ],
+ 'Region' => [
+ 'description' => 'Region.',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Bucket\\": \\"gj-bucket1\\",\\n \\"Region\\": \\"cn-shanghai\\"\\n }\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Get BackupBucket List',
+ 'translator' => 'machine',
+ ],
+ 'GetBackupStatus' => [
+ 'summary' => 'User Backup Authorization Verification',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201049',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangHKCO82',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Audit result data.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Get User Backup Status',
+ 'translator' => 'machine',
+ ],
+ 'UpdateBackupConfig' => [
+ 'summary' => 'Update Evidence Backup Configuration',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '201050',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangHKCO82',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'videoDetection',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'video',
+ ],
+ ],
+ [
+ 'name' => 'BackupConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Evidence backup configuration.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Edit Evidence Backup Configuration',
+ 'translator' => 'machine',
+ ],
+ 'ListCallback' => [
+ 'summary' => 'Get Callback List',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220530',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<CallbackVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => 'Primary key ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11234',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'Creation time.',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '16537*****831937',
+ ],
+ 'Name' => [
+ 'description' => 'Name.',
+ 'type' => 'string',
+ 'example' => '回调通知',
+ ],
+ 'Url' => [
+ 'description' => 'Callback URL.',
+ 'type' => 'string',
+ 'example' => 'https://console.aliyun.com/'."\n",
+ ],
+ 'Seed' => [
+ 'description' => 'Seed.',
+ 'type' => 'string',
+ 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n",
+ ],
+ 'CryptType' => [
+ 'description' => 'Encryption algorithm.',
+ 'type' => 'string',
+ 'example' => 'SHA256',
+ ],
+ 'Scope' => [
+ 'description' => 'Result scope.',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Id\\": 11234,\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\",\\n \\"Uid\\": \\"16537*****831937\\",\\n \\"Name\\": \\"回调通知\\",\\n \\"Url\\": \\"https://console.aliyun.com/\\\\n\\",\\n \\"Seed\\": \\"cbupVnpBjkgjFxfINMHKkrHS-1zZPUm\\\\n\\",\\n \\"CryptType\\": \\"SHA256\\",\\n \\"Scope\\": \\"all\\"\\n }\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Get Callback List',
+ 'translator' => 'machine',
+ ],
+ 'QueryCallbackByPage' => [
+ 'summary' => 'Paginated Query of Message Notification List',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220532',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PageSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<CallbackVO>>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => 'Primary key ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1697',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'Creation time.',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time.',
+ 'type' => 'string',
+ 'example' => '2024-06-03 15:20:14',
+ ],
+ 'Uid' => [
+ 'description' => 'UID.',
+ 'type' => 'string',
+ 'example' => '12161*****398900',
+ ],
+ 'Name' => [
+ 'description' => 'Name.',
+ 'type' => 'string',
+ 'example' => '消息通知',
+ ],
+ 'Url' => [
+ 'description' => 'Callback URL.',
+ 'type' => 'string',
+ 'example' => 'https://console.aliyun.com/'."\n",
+ ],
+ 'Seed' => [
+ 'description' => 'Seed.',
+ 'type' => 'string',
+ 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq',
+ ],
+ 'CryptType' => [
+ 'description' => 'Encryption algorithm.',
+ 'type' => 'string',
+ 'example' => 'SHA256',
+ ],
+ 'Scope' => [
+ 'description' => 'Result scope.',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 1697,\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\",\\n \\"Uid\\": \\"12161*****398900\\",\\n \\"Name\\": \\"消息通知\\",\\n \\"Url\\": \\"https://console.aliyun.com/\\\\n\\",\\n \\"Seed\\": \\"cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq\\",\\n \\"CryptType\\": \\"SHA256\\",\\n \\"Scope\\": \\"all\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'Paginated Query of Message Notification List',
+ 'translator' => 'machine',
+ ],
+ 'CreateCallback' => [
+ 'summary' => 'Create a new message notification',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220531',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Plan name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '消息通知1',
+ ],
+ ],
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Callback URL.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://console.aliyun.com',
+ ],
+ ],
+ [
+ 'name' => 'CryptType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Encryption algorithm.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'SHA256' => 'SHA256',
+ 'SM3' => '国密SM3',
+ ],
+ 'example' => 'SHA256',
+ 'enum' => [
+ 'SHA256',
+ 'SM3',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Review result.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'all' => '所有结果',
+ 'risky' => '检出有风险结果',
+ ],
+ 'example' => 'all',
+ 'enum' => [
+ 'risky',
+ 'all',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Long>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 0,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Create Callback',
+ 'translator' => 'machine',
+ ],
+ 'DeleteCallback' => [
+ 'summary' => 'delete callback',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220529',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'callback id.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1480',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'title' => 'Delete callback',
+ ],
+ 'ModifyCallback' => [
+ 'summary' => 'Modify Message Notification',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '220533',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Primary key ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '112',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '回调通知',
+ ],
+ ],
+ [
+ 'name' => 'Url',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Callback URL.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://www.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'CryptType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Encryption algorithm.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHA256',
+ 'enum' => [
+ 'SHA256',
+ 'SM3',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Result scope.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'all',
+ 'enum' => [
+ 'risky',
+ 'all',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'Response body.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'Return result.',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Edit Message Notification',
+ 'translator' => 'machine',
+ ],
+ 'AddAnswerSample' => [
+ 'summary' => '添加代答样本',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222579',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Samples',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SampleObject',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'data/xxx.xlsx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddAnswerSampleResult>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'LibId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alAxbbxxxx-xxx'."\n",
+ ],
+ 'Result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alAxbbxxxx-xxx'."\n",
+ ],
+ 'I18nKey' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '534',
+ ],
+ 'SuccessCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '318',
+ ],
+ 'RepeatCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '98',
+ ],
+ 'InvalidCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '118',
+ ],
+ 'RepeatSamples' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ 'IllegalLengthSamples' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAxbbxxxx-xxx\\\\n\\",\\n \\"Result\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAxbbxxxx-xxx\\\\n\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"TotalCount\\": 534,\\n \\"SuccessCount\\": 318,\\n \\"RepeatCount\\": 98,\\n \\"InvalidCount\\": 118,\\n \\"RepeatSamples\\": [\\n \\"重复代答答案\\"\\n ],\\n \\"IllegalLengthSamples\\": [\\n \\"过短代答答案\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateAnswerLib' => [
+ 'summary' => '创建代答库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222574',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Samples',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SampleObject',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'data/xxx.xlsx'."\n",
+ ],
+ ],
+ [
+ 'name' => 'SampleBucket',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-cip-shanghai'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<AddAnswerSampleResult>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'LibId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alAxbbxxxx-xxx'."\n",
+ ],
+ 'Result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alAaaaxxx-xxx',
+ ],
+ 'I18nKey' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatSamples' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ 'IllegalLengthSamples' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAxbbxxxx-xxx\\\\n\\",\\n \\"Result\\": {\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAaaaxxx-xxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatSamples\\": [\\n \\"重复代答答案\\"\\n ],\\n \\"IllegalLengthSamples\\": [\\n \\"不合法代答答案\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ExportAnswerSample' => [
+ 'summary' => '导出代答答案',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222966',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alxxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<String>}',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"True\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'QueryAnswerSampleByPage' => [
+ 'summary' => '分页查询代答样本',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222578',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Answer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => '{}',
+ 'description' => '',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<AnswerSamplePortalVO>>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '58',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '104813*****2399',
+ ],
+ 'LibId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'custom_xxxx',
+ ],
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1666',
+ ],
+ 'Answer' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'GmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-07-31 06:16:06',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 58,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Uid\\": \\"104813*****2399\\",\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"Id\\": 1666,\\n \\"Answer\\": \\"答案\\",\\n \\"GmtCreate\\": \\"2023-07-31 06:16:06\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DeleteAnswerSample' => [
+ 'summary' => '删除代答答案',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222581',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alxxx',
+ ],
+ ],
+ [
+ 'name' => 'Ids',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[15463605]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ ],
+ 'ListAnswerLib' => [
+ 'summary' => '代答库列表',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222576',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<List<AnswerLibPortalVO>>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Uid' => [
+ 'description' => 'UID。',
+ 'type' => 'string',
+ 'example' => '1643953****74290',
+ ],
+ 'LibId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alxxx',
+ ],
+ 'LibName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'AnswerCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-06-03 18:15:01',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1643953****74290\\",\\n \\"LibId\\": \\"alxxx\\",\\n \\"LibName\\": \\"代答库名称\\",\\n \\"AnswerCount\\": 100,\\n \\"GmtModified\\": \\"2024-06-03 18:15:01\\"\\n }\\n ],\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyAnswerLib' => [
+ 'summary' => '更新代答库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222575',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom_xxxx',
+ ],
+ ],
+ [
+ 'name' => 'LibName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteAnswerLib' => [
+ 'summary' => '删除代答库',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222577',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alxxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ ],
+ 'GetAnswerImportProgress' => [
+ 'summary' => '获取代答样本导入进度',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '222580',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang8G4HBD',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alAxbbxxxx-xxx',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Result>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'Progress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'LibId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alxxxx',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alAxbbxxxx-xxx',
+ ],
+ 'I18nKey' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Tips' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxxxx',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RepeatSamples' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ 'IllegalLengthSamples' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Progress\\": 100,\\n \\"LibId\\": \\"alxxxx\\",\\n \\"TaskId\\": \\"alAxbbxxxx-xxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxxxx\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"RepeatSamples\\": [\\n \\"重复答案\\"\\n ],\\n \\"IllegalLengthSamples\\": [\\n \\"不合法答案\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'UpdateOssCheckResultsFeedBack' => [
+ 'summary' => 'oss结果反馈',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232690',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'QueryRequestId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ [
+ 'name' => 'Feedback',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'misreport',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'baselineCheck',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_7SCUK8',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateOssCheckResultsFreeze' => [
+ 'summary' => '批量冻结任务',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232687',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_15BU42',
+ ],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-21 16:08:38',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-10-21 16:08:38',
+ ],
+ ],
+ [
+ 'name' => 'FreezeItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'FreezeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACL',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'FreezeRestorePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'SuccessCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'RepeatCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Data\\": {\\n \\"TotalCount\\": 5,\\n \\"SuccessCount\\": 5,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1\\n }\\n}","type":"json"}]',
+ ],
+ 'GetOssCheckFreezeResult' => [
+ 'summary' => 'Query OSS freeze result',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232685',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Start time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-01-09 10:28:54',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'End time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-05-19 10:05:11',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Task status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'FinishNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of completed tasks.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Query condition.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Sort',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Sort field.',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '排序字段。',
+ 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
+ ],
+ 'TotalCount' => [
+ 'description' => 'Total count.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '29',
+ ],
+ 'PageSize' => [
+ 'description' => 'Page size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data of the current page.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => [
+ 'description' => 'Storage space.',
+ 'type' => 'string',
+ 'example' => 'tmp',
+ ],
+ 'JobName' => [
+ 'description' => 'Job name.',
+ 'type' => 'string',
+ 'example' => 'dhT20X2310',
+ ],
+ 'Object' => [
+ 'description' => 'Object name.',
+ 'type' => 'string',
+ 'example' => '1713014531569_958.png.jpeg',
+ ],
+ 'Md5' => [
+ 'description' => 'File\'s MD5.',
+ 'type' => 'string',
+ 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service code.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection_01',
+ ],
+ 'Code' => [
+ 'description' => 'Error code, consistent with HTTP status.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Msg' => [
+ 'description' => 'Further description of the error code.',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Labels' => [
+ 'description' => 'Image labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Image labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'Labels2' => [
+ 'description' => 'Text labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Text labels.',
+ 'type' => 'string',
+ 'example' => 'nonLabel',
+ ],
+ ],
+ 'ScanResult' => [
+ 'description' => 'Details of the result.',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'ImageUrl' => [
+ 'description' => 'Image URL address.',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.jpg',
+ ],
+ 'Url' => [
+ 'description' => 'Task URL.',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'TaskId' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'example' => 'P_BT3FHS',
+ ],
+ 'ServiceName' => [
+ 'description' => 'Service name.',
+ 'type' => 'string',
+ 'example' => '服务名称',
+ ],
+ 'IsCopy' => [
+ 'description' => 'Whether to copy.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CopyFrom' => [
+ 'description' => 'Primary service.',
+ 'type' => 'string',
+ 'example' => 'audio_media_detection',
+ ],
+ 'ContentType' => [
+ 'description' => 'Audio and video detection type.',
+ 'type' => 'string',
+ 'example' => 'audio',
+ ],
+ 'RiskLevel0' => [
+ 'description' => 'Overall risk level.',
+ 'type' => 'string',
+ 'example' => 'low',
+ ],
+ 'RiskLevel' => [
+ 'description' => 'Image risk level.',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'RiskLevel2' => [
+ 'description' => 'Text risk level.',
+ 'type' => 'string',
+ 'example' => 'none',
+ ],
+ 'FreezeType' => [
+ 'description' => 'Freeze type.',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeStatus' => [
+ 'description' => 'Freeze status.',
+ 'type' => 'string',
+ 'example' => 'FREEZED',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
+ ],
+ 'Freeze' => [
+ 'description' => 'Whether frozen.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Feedback' => [
+ 'description' => 'Feedback.',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'misreport' => '未违规误报',
+ 'missOut' => '违规漏过',
+ ],
+ 'example' => 'misreport',
+ ],
+ 'ManualFreezeAction' => [
+ 'description' => 'Manual disposal status.',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'FREEZE' => '冻结',
+ 'UNFREEZE' => '解冻',
+ ],
+ 'example' => 'FREEZE',
+ ],
+ 'SysDisposalStatus' => [
+ 'description' => 'System disposal status.',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'FREEZING' => '冻结中',
+ 'FREEZED' => '已冻结',
+ 'UNFREEZED' => '已解冻',
+ 'NONE' => '未操作',
+ 'UNFREEZING' => '解冻中',
+ ],
+ 'example' => 'FREEZED',
+ ],
+ 'ManualOperateTime' => [
+ 'description' => 'Disposal time.',
+ 'type' => 'string',
+ 'example' => '2025-08-09 12:00:00',
+ ],
+ 'ManualOperator' => [
+ 'description' => 'Operator.',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'LabelDetails' => [
+ 'description' => 'Labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Labels.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => [
+ 'description' => 'Label.',
+ 'type' => 'string',
+ 'example' => 'politics',
+ ],
+ 'Description' => [
+ 'description' => 'Label description.',
+ 'type' => 'string',
+ 'example' => '涉政',
+ ],
+ 'Confidence' => [
+ 'description' => 'Confidence.',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '50',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0A594BB-FA7A-580F-AE9E-A4188E092823\\",\\n \\"TotalCount\\": 29,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"success\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"P_BT3FHS\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"none\\",\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeStatus\\": \\"FREEZED\\",\\n \\"RequestId\\": \\"F0A594BB-FA7A-580F-AE9E-A4188E092823\\",\\n \\"Freeze\\": true,\\n \\"Feedback\\": \\"misreport\\",\\n \\"ManualFreezeAction\\": \\"FREEZE\\",\\n \\"SysDisposalStatus\\": \\"FREEZED\\",\\n \\"ManualOperateTime\\": \\"2025-08-09 12:00:00\\",\\n \\"ManualOperator\\": \\"xx\\",\\n \\"LabelDetails\\": [\\n {\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"涉政\\",\\n \\"Confidence\\": 50\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'Query OSS Detection Freeze Result',
+ 'translator' => 'machine',
+ ],
+ 'UpdateOssCheckResultsUnfreeze' => [
+ 'summary' => '批量解冻任务',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '232689',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_B6YRVD',
+ ],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-21 16:08:38',
+ ],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-10-21 16:08:38',
+ ],
+ ],
+ [
+ 'name' => 'FreezeItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1\\n },\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteOnlineTest' => [
+ 'summary' => 'Delete online test',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '260298',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => 'Resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'PortalResponse<Boolean>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'title' => 'Delete online test',
+ ],
+ 'CreateOnlineTest' => [
+ 'summary' => 'Online Test',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '259357',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => 'Resource Type',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'video',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '服务编码',
+ 'description' => 'Service Code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VideoModeration',
+ ],
+ ],
+ [
+ 'name' => 'Url',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '检测地址',
+ 'description' => 'Detection URL',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://xxxxxxxxxx.com/data/data.png',
+ ],
+ ],
+ [
+ 'name' => 'DataId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Data ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'TaskId' => [
+ 'title' => '检测任务id',
+ 'description' => 'Detection Task ID',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'TaskStatus' => [
+ 'title' => '检测状态',
+ 'description' => 'Detection Status',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Url' => [
+ 'description' => 'Detection URL',
+ 'type' => 'string',
+ 'example' => 'https://xxxxxxxxxx.com/data/data.png',
+ ],
+ 'ServiceCode' => [
+ 'description' => 'Service Code',
+ 'type' => 'string',
+ 'example' => 'VideoModeration',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"TaskStatus\\": \\"SUCCESS\\",\\n \\"Url\\": \\"https://xxxxxxxxxx.com/data/data.png\\",\\n \\"ServiceCode\\": \\"VideoModeration\\"\\n}","type":"json"}]',
+ 'title' => 'Create Online Test Task',
+ 'translator' => 'machine',
+ ],
+ 'StopOnlineTest' => [
+ 'summary' => '停止在线测试',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '259538',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '服务编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VideoModeration',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '检测taskId',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TaskId' => [
+ 'title' => '检测任务id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'TaskStatus' => [
+ 'title' => '检测状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Url' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://xxxxxxxx.com/data/data.png',
+ ],
+ 'ServiceCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VideoModeration',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"TaskStatus\\": \\"SUCCESS\\",\\n \\"Url\\": \\"https://xxxxxxxx.com/data/data.png\\",\\n \\"ServiceCode\\": \\"baselineCheck\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeOnlineTestResult' => [
+ 'summary' => '查询在线测试结果',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '259358',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '服务编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VideoModeration',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '检测taskId',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ ],
+ 'TaskId' => [
+ 'title' => '检测任务id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxxxx-xxxxx',
+ ],
+ 'TaskStatus' => [
+ 'title' => '检测状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Url' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://xxxxxxxxx.com/data/data.png',
+ ],
+ 'ServiceCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VideoModeration',
+ ],
+ 'FrameData' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://xxxxxxxxx.com/data/data.mp4',
+ ],
+ 'TimeStamp' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1725761005419',
+ ],
+ ],
+ ],
+ 'SummaryList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'video',
+ ],
+ 'SliceCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'RiskLevel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'RiskLevelSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'description' => '',
+ 'example' => '0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModerationTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1725761005419',
+ ],
+ 'RiskLevel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'high',
+ ],
+ 'AudioData' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TimeStamp' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1724378510396',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"TaskStatus\\": \\"SUCCESS\\",\\n \\"Url\\": \\"https://xxxxxxxxx.com/data/data.png\\",\\n \\"ServiceCode\\": \\"videoDetection\\",\\n \\"FrameData\\": {\\n \\"Url\\": \\"https://xxxxxxxxx.com/data/data.mp4\\",\\n \\"TimeStamp\\": \\"1725761005419\\"\\n },\\n \\"SummaryList\\": [\\n {\\n \\"ResourceType\\": \\"video\\",\\n \\"SliceCount\\": 10,\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevelSummary\\": {\\n \\"key\\": 0\\n }\\n }\\n ],\\n \\"ModerationTime\\": \\"1725761005419\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"AudioData\\": {\\n \\"TimeStamp\\": \\"1724378510396\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetUploadLink' => [
+ 'summary' => '获取上传链接',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '259304',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang78REFZ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UploadUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '包含上传链接响应结果的PortalResponse对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://www.aliyuncs.com/test.mp3',
+ ],
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"RequestId\\": \\"E37E2B77-A664-5278-8219-23BBC0EB2A35\\"\\n}","type":"json"}]',
+ ],
+ 'LlmStreamChat' => [
+ 'summary' => 'Use SSE interface to stream large model calls',
+ 'path' => '/portal/llm/streamChat',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'sse',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangXYAQ5C',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Messages',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Conversation information',
+ 'type' => 'any',
+ 'required' => false,
+ 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]',
+ ],
+ ],
+ [
+ 'name' => 'Temperature',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Temperature value for the large model',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ ],
+ [
+ 'name' => 'TopP',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Top p parameter controlling the randomness of the large model\'s output.',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Type of conversation',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'image',
+ ],
+ ],
+ [
+ 'name' => 'Channel',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => 'channel',
+ 'type' => 'string',
+ 'example' => 'guardCustomTest',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Usage' => [
+ 'description' => 'Token usage',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Choices' => [
+ 'description' => 'List of model generation results',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Model generation result',
+ 'type' => 'object',
+ 'properties' => [
+ 'Delta' => [
+ 'description' => 'Incremental content object',
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'description' => 'Role identifier',
+ 'type' => 'string',
+ 'example' => 'assistant',
+ ],
+ 'Content' => [
+ 'description' => 'Real-time generated text content',
+ 'type' => 'string',
+ 'example' => '我是Deepseek-V3,有什么可以帮你',
+ ],
+ ],
+ ],
+ 'Logprobs' => [
+ 'description' => 'Token probability information',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Index' => [
+ 'description' => 'Stream sequence number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'FinishReason' => [
+ 'description' => 'For streaming output, it is null while generating and becomes \'stop\' if the generation ends due to a stop token.',
+ 'type' => 'string',
+ 'example' => 'stop',
+ ],
+ ],
+ ],
+ ],
+ 'Model' => [
+ 'description' => 'Model identifier',
+ 'type' => 'string',
+ 'example' => 'deepseek-v3',
+ ],
+ 'SystemFingerprint' => [
+ 'description' => 'System fingerprint',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Object' => [
+ 'description' => 'Response type',
+ 'type' => 'string',
+ 'example' => 'chat.completion.chunk',
+ ],
+ 'Id' => [
+ 'description' => 'Unique ID for this session',
+ 'type' => 'string',
+ 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f',
+ ],
+ 'Created' => [
+ 'description' => 'Timestamp of session creation',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1750990728',
+ ],
+ 'RequestId' => [
+ 'description' => 'Unique request ID',
+ 'type' => 'string',
+ 'example' => '21d296d6-594e-97de-812f-925ec6e05673',
+ ],
+ 'Error' => [
+ 'description' => 'Streaming response error information content',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Error code',
+ 'type' => 'string',
+ 'example' => 'data_inspection_failed',
+ ],
+ 'Message' => [
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'Input data may contain inappropriate content.',
+ ],
+ 'Param' => [
+ 'description' => 'Parameter that caused the error',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'Type' => [
+ 'description' => 'Error type',
+ 'type' => 'string',
+ 'example' => 'data_inspection_failed',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Usage\\": \\"null\\",\\n \\"Choices\\": [\\n {\\n \\"Delta\\": {\\n \\"Role\\": \\"assistant\\",\\n \\"Content\\": \\"我是Deepseek-V3,有什么可以帮你\\"\\n },\\n \\"Logprobs\\": \\"null\\",\\n \\"Index\\": 0,\\n \\"FinishReason\\": \\"stop\\"\\n }\\n ],\\n \\"Model\\": \\"deepseek-v3\\",\\n \\"SystemFingerprint\\": \\"null\\",\\n \\"Object\\": \\"chat.completion.chunk\\",\\n \\"Id\\": \\"chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f\\",\\n \\"Created\\": 1750990728,\\n \\"RequestId\\": \\"21d296d6-594e-97de-812f-925ec6e05673\\",\\n \\"Error\\": {\\n \\"Code\\": \\"data_inspection_failed\\",\\n \\"Message\\": \\"Input data may contain inappropriate content.\\",\\n \\"Param\\": \\"null\\",\\n \\"Type\\": \\"data_inspection_failed\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'Large Model Streaming Conversation Forwarding Interface',
+ 'translator' => 'machine',
+ ],
+ 'GetOssCheckTaskInfo' => [
+ 'summary' => '查询oss扫描任务详情',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwang2EQZ93',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_AAA**',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<OssCheckTaskVO>}',
+ 'description' => '{@link PortalResponse<OssCheckTaskVO>}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxxx-xxx'."\n",
+ ],
+ 'TaskName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Buckets' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'Success',
+ ],
+ 'StartTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-08-21 16:08:38'."\n",
+ ],
+ 'EndTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-07-09 10:30:00',
+ ],
+ 'SearchNum' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'FinishNum' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '56',
+ ],
+ 'MediaType' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Config' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScanNoFileType' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScanService' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'oss_baselineCheck',
+ ],
+ ],
+ 'DistinctHistoryTasks' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'StartTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-08-21 16:08:38'."\n",
+ ],
+ 'EndTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-07-09 10:30:00',
+ ],
+ 'ScanLimit' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'PrefixFilterType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'all',
+ ],
+ 'PrefixFilters' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ugc/img',
+ ],
+ ],
+ 'Priority' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TaskCycle' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ExecuteDate' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ExecuteTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-07-09 10:30:00'."\n",
+ ],
+ 'ScanResourceType' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ScanServiceInfos' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsCopy' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'ServiceCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'oss_baselineCheck',
+ ],
+ 'ServiceName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'CopyFrom' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'oss_baselineCheck',
+ ],
+ ],
+ ],
+ ],
+ 'CallbackId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '188',
+ ],
+ 'Freeze' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeHighRisk1' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeMediumRisk1' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeHighRisk2' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FreezeMediumRisk2' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'FreezeRestorePath' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Referer' => [
+ 'description' => 'Referer。',
+ 'type' => 'string',
+ 'example' => 'https://www.aliyun.com/',
+ ],
+ 'UserFreezeConfig' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FreezeType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ACL',
+ ],
+ 'FreezeRestorePath' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'BucketPrefixFilterConfig' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PrefixFilterType' => [
+ 'type' => 'string',
+ ],
+ 'PrefixFilters' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ObjectNum' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'IsInc' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TaskType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'increment',
+ ],
+ 'LastExecuteDate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-07-09 10:30:00'."\n",
+ ],
+ 'NextExecuteDate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-07-08 10:30:00'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TaskId\\": \\"xxxx-xxx\\\\n\\",\\n \\"TaskName\\": \\"文档存量任务 20240914100517757\\",\\n \\"Buckets\\": \\"[{\\\\\\\\\\\\\\"Bucket\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aileshijie\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Region\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cn-hangzhou\\\\\\\\\\\\\\"}]\\",\\n \\"Status\\": 0,\\n \\"StartTime\\": \\"2023-08-21 16:08:38\\\\n\\",\\n \\"EndTime\\": \\"2025-07-09 10:30:00\\",\\n \\"SearchNum\\": 100,\\n \\"FinishNum\\": 56,\\n \\"MediaType\\": 1,\\n \\"Config\\": {\\n \\"ScanNoFileType\\": true,\\n \\"ScanService\\": [\\n \\"oss_baselineCheck\\"\\n ],\\n \\"DistinctHistoryTasks\\": true,\\n \\"StartTime\\": \\"2023-08-21 16:08:38\\\\n\\",\\n \\"EndTime\\": \\"2025-07-09 10:30:00\\",\\n \\"ScanLimit\\": 100,\\n \\"PrefixFilterType\\": \\"all\\",\\n \\"PrefixFilters\\": [\\n \\"ugc/img\\"\\n ],\\n \\"Priority\\": 1,\\n \\"TaskCycle\\": 1,\\n \\"ExecuteDate\\": 1,\\n \\"ExecuteTime\\": \\"2025-07-09 10:30:00\\\\n\\",\\n \\"ScanResourceType\\": 0,\\n \\"ScanServiceInfos\\": [\\n {\\n \\"IsCopy\\": false,\\n \\"ServiceCode\\": \\"oss_baselineCheck\\",\\n \\"ServiceName\\": \\"内容检测\\",\\n \\"CopyFrom\\": \\"oss_baselineCheck\\"\\n }\\n ],\\n \\"CallbackId\\": 188,\\n \\"Freeze\\": true,\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeHighRisk1\\": true,\\n \\"FreezeMediumRisk1\\": true,\\n \\"FreezeHighRisk2\\": true,\\n \\"FreezeMediumRisk2\\": false,\\n \\"FreezeRestorePath\\": \\"test\\",\\n \\"Referer\\": \\"https://www.aliyun.com/\\",\\n \\"UserFreezeConfig\\": {\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeRestorePath\\": \\"test\\"\\n },\\n \\"BucketPrefixFilterConfig\\": {\\n \\"key\\": {\\n \\"PrefixFilterType\\": \\"all\\",\\n \\"PrefixFilters\\": [\\n \\"testprefix1\\"\\n ]\\n }\\n }\\n },\\n \\"ObjectNum\\": 100,\\n \\"IsInc\\": false,\\n \\"TaskType\\": \\"increment\\",\\n \\"LastExecuteDate\\": \\"2025-07-09 10:30:00\\\\n\\",\\n \\"NextExecuteDate\\": \\"2025-07-08 10:30:00\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateOssCheckResultsBatchFeedback' => [
+ 'summary' => '批量反馈任务',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElvwangJ85HXA',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'P_XHDUS',
+ ],
+ ],
+ [
+ 'name' => 'Items',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'Feedback',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'misreport',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse}',
+ 'description' => '{@link PortalResponse}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SuccessCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'RepeatCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'InvalidCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Tips' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxxxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"Tips\\": \\"xxxxx\\"\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com',
+ ],
+ ],
+];