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.php9832
1 files changed, 1885 insertions, 7947 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
index 5eddcae..4b4a2ab 100644
--- a/data/en_us/green/2022-09-26/api-docs.php
+++ b/data/en_us/green/2022-09-26/api-docs.php
@@ -1,10 +1,6 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Green',
- 'version' => '2022-09-26',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Green', 'version' => '2022-09-26'],
'directories' => [
'AddKeywordLib',
'DeleteFeatureConfig',
@@ -29,73 +25,10 @@
'title' => '其它',
'type' => 'directory',
'children' => [
- 'GetKeywordImportResult',
- 'UpdateKeywordLib',
- 'GetKeywordLib',
- 'GetUploadInfo',
- 'ListServiceConfigs',
- 'GetTextScanResult',
- 'AddKeywords',
- 'ListKeywords',
- 'DeleteKeyword',
- 'ExportKeyword',
- 'ExportTextScanResult',
- 'DeleteKeywordLib',
- 'UpdateImageLibFreeInspection',
- 'AddImages2Lib',
- 'ListImagesFromLib',
- 'AddImageLib',
- 'ExportScanResult',
- 'ListImageLib',
- 'DeleteImagesFromLib',
- 'GetImageSceneLabelConf',
- 'UpdateImageLib',
- 'GetImageSceneLabelListConf',
- 'GetScanNum',
- 'CancelStockOssCheckTask',
- 'CreatePreCheck',
- 'GetBucketsList',
- 'GetOssCheckStatus',
- 'ExportResult',
- 'GetStockOssCheckTasksList',
- 'OssCheckResultList',
- 'CreatStockOssCheckTask',
- 'AddKeywordsToLib',
- 'GetServiceLabelConfig',
- 'ModifyServiceInfo',
- 'CopyServiceConfig',
- 'GetExecuteTime',
- 'GetJobNameList',
- 'GetBackupConfig',
- 'GetBackupBucketsList',
- 'GetBackupStatus',
- 'UpdateBackupConfig',
- 'ListCallback',
- 'QueryCallbackByPage',
- 'CreateCallback',
- 'DeleteCallback',
- 'ModifyCallback',
- 'AddAnswerSample',
- 'CreateAnswerLib',
- 'ExportAnswerSample',
- 'QueryAnswerSampleByPage',
- 'DeleteAnswerSample',
- 'ListAnswerLib',
- 'ModifyAnswerLib',
- 'DeleteAnswerLib',
- 'GetAnswerImportProgress',
- 'UpdateOssCheckResultsFeedBack',
- 'UpdateOssCheckResultsFreeze',
- 'GetOssCheckFreezeResult',
- 'UpdateOssCheckResultsUnfreeze',
- 'DeleteOnlineTest',
- 'CreateOnlineTest',
- 'StopOnlineTest',
- 'DescribeOnlineTestResult',
- 'GetUploadLink',
- 'LlmStreamChat',
- 'GetOssCheckTaskInfo',
- 'UpdateOssCheckResultsBatchFeedback',
+ 'GetKeywordImportResult', 'UpdateKeywordLib', 'GetKeywordLib', 'GetUploadInfo', 'ListServiceConfigs', 'GetTextScanResult', 'AddKeywords', 'ListKeywords', 'DeleteKeyword', 'ExportKeyword', 'ExportTextScanResult', 'DeleteKeywordLib', 'UpdateImageLibFreeInspection', 'AddImages2Lib', 'ListImagesFromLib', 'AddImageLib', 'ExportScanResult', 'ListImageLib', 'DeleteImagesFromLib', 'GetImageSceneLabelConf',
+ 'UpdateImageLib', 'GetImageSceneLabelListConf', 'GetScanNum', 'CancelStockOssCheckTask', 'CreatePreCheck', 'GetBucketsList', 'GetOssCheckStatus', 'ExportResult', 'GetStockOssCheckTasksList', 'OssCheckResultList', 'CreatStockOssCheckTask', 'AddKeywordsToLib', 'GetServiceLabelConfig', 'ModifyServiceInfo', 'CopyServiceConfig', 'GetExecuteTime', 'GetJobNameList', 'GetBackupConfig', 'GetBackupBucketsList', 'GetBackupStatus',
+ 'UpdateBackupConfig', 'ListCallback', 'QueryCallbackByPage', 'CreateCallback', 'DeleteCallback', 'ModifyCallback', 'AddAnswerSample', 'CreateAnswerLib', 'ExportAnswerSample', 'QueryAnswerSampleByPage', 'DeleteAnswerSample', 'ListAnswerLib', 'ModifyAnswerLib', 'DeleteAnswerLib', 'GetAnswerImportProgress', 'UpdateOssCheckResultsFeedBack', 'UpdateOssCheckResultsFreeze', 'GetOssCheckFreezeResult', 'UpdateOssCheckResultsUnfreeze', 'DeleteOnlineTest',
+ 'CreateOnlineTest', 'StopOnlineTest', 'DescribeOnlineTestResult', 'GetUploadLink', 'LlmStreamChat', 'GetOssCheckTaskInfo', 'UpdateOssCheckResultsBatchFeedback', 'GetPromptTestResult', 'CreateImageLib', 'GetTuneProposalById',
],
],
],
@@ -105,69 +38,52 @@
'apis' => [
'AddKeywordLib' => [
'summary' => 'Create keyword library',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157041',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of the keyword library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_keyword_lib',
- ],
+ 'schema' => ['description' => 'The name of the keyword library.', 'type' => 'string', 'required' => false, 'example' => 'test_keyword_lib'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keywords, with multiple keywords separated by \\n.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'keywords1\\nkeywords2',
- ],
+ 'schema' => ['description' => 'Keywords, with multiple keywords separated by \\n.', 'type' => 'string', 'required' => false, 'example' => 'keywords1\\nkeywords2'],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of the keywords file.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt',
- ],
+ 'schema' => ['description' => 'The name of the keywords file.', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'Properties',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -181,127 +97,58 @@
'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => 'Result.',
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => 'Internationalization key.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => 'The tips.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => 'The total number of keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '529',
- ],
- 'SuccessCount' => [
- 'description' => 'Successful keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '278',
- ],
- 'RepeatCount' => [
- 'description' => 'Duplicate keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '118',
- ],
- 'InvalidCount' => [
- 'description' => 'Invalid keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '133',
- ],
+ 'LibId' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => 'Internationalization key.', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => 'The tips.', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => 'The total number of keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '529'],
+ 'SuccessCount' => ['description' => 'Successful keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '278'],
+ 'RepeatCount' => ['description' => 'Duplicate keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '118'],
+ 'InvalidCount' => ['description' => 'Invalid keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '133'],
'RepeatKeywords' => [
'description' => 'List of duplicate keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Duplicate keywords',
- 'type' => 'string',
- 'example' => 'duplicate_keywords',
- ],
+ 'items' => ['description' => 'Duplicate keywords', 'type' => 'string', 'example' => 'duplicate_keywords'],
],
'InvalidKeywords' => [
'description' => 'List of invalid keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Invalid keywords',
- 'type' => 'string',
- 'example' => 'invalid_keywords',
- ],
+ 'items' => ['description' => 'Invalid keywords', 'type' => 'string', 'example' => 'invalid_keywords'],
],
'IllegalLengthKeywords' => [
'description' => 'List of keywords that are too long or too short.',
'type' => 'array',
- 'items' => [
- 'description' => 'Keywords that are too long or too short.',
- 'type' => 'string',
- 'example' => 'keywords',
- ],
+ 'items' => ['description' => 'Keywords that are too long or too short.', 'type' => 'string', 'example' => 'keywords'],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Status code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'The message that is returned in response to the request.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'LibCountOverLimit', 'errorMessage' => 'The number of libraries has exceeded the limit.'],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"TaskId\\": \\"xxxxx-xxxxx\\",\\n \\"KeywordsResult\\": {\\n \\"LibId\\": \\"customxx_xxxx\\",\\n \\"I18nKey\\": \\"xxx\\",\\n \\"Tips\\": \\"xxx\\",\\n \\"TotalCount\\": 529,\\n \\"SuccessCount\\": 278,\\n \\"RepeatCount\\": 118,\\n \\"InvalidCount\\": 133,\\n \\"RepeatKeywords\\": [\\n \\"重复关键词\\"\\n ],\\n \\"InvalidKeywords\\": [\\n \\"非法关键词\\"\\n ],\\n \\"IllegalLengthKeywords\\": [\\n \\"过短关键词\\"\\n ]\\n }\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => 'Create keyword lib',
],
'DeleteFeatureConfig' => [
'summary' => 'Delete feature configuration',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -314,61 +161,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266680',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => 'Type', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'Field',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Label value, customer-defined',
- 'type' => 'string',
- 'required' => false,
- 'example' => '__config__',
- ],
+ 'schema' => ['description' => 'Label value, customer-defined', 'type' => 'string', 'required' => false, 'example' => '__config__'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -378,39 +198,12 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Response message of this request.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Response message of this request.', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -421,14 +214,8 @@
],
'ExportCipStats' => [
'summary' => 'Export Call Volume',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -440,50 +227,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157301',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-04-15 09:00:00',
- ],
+ 'schema' => ['description' => 'The start time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-04-15 09:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The end time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-04-16 09:00:00',
- ],
+ 'schema' => ['description' => 'The end time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-04-16 09:00:00'],
],
[
'name' => 'Label',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The label of the task to be exported.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => 'The label of the task to be exported.', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to support monthly indexing. Values: -**true**: Supported. -**false**: Not supported.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to support monthly indexing. Values: -**true**: Supported. -**false**: Not supported.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ResourceType',
@@ -492,13 +257,7 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
'default' => 'text',
],
@@ -506,52 +265,27 @@
[
'name' => 'SubUid',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Sub-account UID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '268220485413130979',
- ],
+ 'schema' => ['description' => 'Sub-account UID.', 'type' => 'string', 'required' => false, 'example' => '268220485413130979'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Type, values: -**cip**: Content Security Invocation Count Statistics. -**risk_level**: Content Security Risk Level Statistics. -**content_moderation**: AI Safety Guardrail Content Compliance Risk Level and Label Statistics. -**sensitive_data**: AI Safety Guardrail Sensitive Data Risk Level and Label Statistics. -**prompt_attack**: AI Safety Guardrail Prompt Word Risk Level and Label Statistics.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'risk_level',
- ],
+ 'schema' => ['description' => 'Type, values: -**cip**: Content Security Invocation Count Statistics. -**risk_level**: Content Security Risk Level Statistics. -**content_moderation**: AI Safety Guardrail Content Compliance Risk Level and Label Statistics. -**sensitive_data**: AI Safety Guardrail Sensitive Data Risk Level and Label Statistics. -**prompt_attack**: AI Safety Guardrail Prompt Word Risk Level and Label Statistics.', 'type' => 'string', 'required' => false, 'example' => 'risk_level'],
],
[
'name' => 'ExportType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Export type. Values: -**level**: Export by risk level. -**label**: Export by label.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'label',
- ],
+ 'schema' => ['description' => 'Export type. Values: -**level**: Export by risk level. -**label**: Export by label.', 'type' => 'string', 'required' => false, 'example' => 'label'],
],
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
],
'responses' => [
@@ -561,43 +295,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Export result.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Export result.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/cipStat/text/statistics1720597246783.xlsx'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -608,14 +311,8 @@
],
'ExportOssCheckStat' => [
'summary' => 'OSS Usage Statistics Export',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -628,60 +325,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '218756',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to support monthly indexing. Values: -true: supported. -false: not supported.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to support monthly indexing. Values: -true: supported. -false: not supported.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ParentTaskId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'OSS detection task ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UX0K5X',
- ],
+ 'schema' => ['description' => 'OSS detection task ID.', 'type' => 'string', 'required' => false, 'example' => 'P_UX0K5X'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -691,17 +361,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Export result.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Export result.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckStat_aliUf5B3lJfOkLpqozLIn94Uy-1XxKyX.xlsx'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -712,14 +373,8 @@
],
'GetCipStats' => [
'summary' => 'Query Call Volume',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -732,50 +387,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157300',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'Label',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ResourceType',
@@ -784,13 +417,7 @@
'description' => '',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '',
- 'image' => '',
- 'file' => '',
- 'text' => '',
- 'video' => '',
- ],
+ 'enumValueTitles' => ['voice' => '', 'image' => '', 'file' => '', 'text' => '', 'video' => ''],
'example' => 'text',
'default' => 'text',
],
@@ -798,43 +425,27 @@
[
'name' => 'SubUid',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '253552244990701265',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '253552244990701265'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -851,11 +462,7 @@
'X' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["06-10", "06-11", "06-12", "06-13"]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["06-10", "06-11", "06-12", "06-13"]'],
],
'Y' => [
'description' => '',
@@ -864,20 +471,11 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
'Data' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
- ],
+ 'items' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'],
],
],
],
@@ -885,11 +483,7 @@
'Uids' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["15220*****63446"]',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["15220*****63446"]'],
],
'LabelStatChart' => [
'description' => '',
@@ -898,25 +492,12 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'ServiceCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '117',
- ],
+ 'ServiceCode' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '117'],
'X' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n",
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '["06-10", "06-11", "06-12", "06-13"]'."\n"],
],
'Y' => [
'description' => '',
@@ -925,20 +506,11 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
'Data' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
- ],
+ 'items' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'],
],
],
],
@@ -950,19 +522,9 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '99.91',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'Value' => ['description' => '', 'type' => 'string', 'example' => '99.91'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -973,19 +535,9 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '99.91',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
+ 'Value' => ['description' => '', 'type' => 'string', 'example' => '99.91'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -994,15 +546,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Name' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -1011,15 +557,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Name' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -1033,64 +573,26 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'nickNameDetection',
- ],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'nickNameDetection'],
'Data' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]',
- ],
+ 'items' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 26, 1, 0, 0, 0, 0, 0]'],
],
],
],
],
'TotalStat' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'object',
- ],
+ 'additionalProperties' => ['type' => 'object'],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '成功标志', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -1101,13 +603,8 @@
],
'GetFeatureConfig' => [
'summary' => 'Get Feature Configuration',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1120,61 +617,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266679',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => 'Type', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Query',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Query conditions.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}',
- ],
+ 'schema' => ['description' => 'Query conditions.', 'type' => 'string', 'required' => false, 'example' => '{\\"Lang\\":\\"zh\\",\\"CategoryType\\":1,\\"Default\\":false,\\"ParentCategoryId\\":1720}'],
],
],
'responses' => [
@@ -1184,69 +654,26 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'Data' => [
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '1643953****74290',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'llm_query_moderation',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'Type' => [
- 'description' => 'Type',
- 'type' => 'string',
- 'example' => 'custom_llm_template',
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '1643953****74290'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'llm_query_moderation'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'text'],
+ 'Type' => ['description' => 'Type', 'type' => 'string', 'example' => 'custom_llm_template'],
'FeatureConf' => [
'description' => 'List of feature configurations',
'type' => 'array',
- 'items' => [
- 'description' => 'Feature configuration object',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'items' => ['description' => 'Feature configuration object', 'type' => 'object', 'example' => '{}'],
],
],
],
- 'Msg' => [
- 'description' => 'Response message for this request.',
- 'type' => 'string',
- 'example' => 'success'."\n",
- ],
- 'Success' => [
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Msg' => ['description' => 'Response message for this request.', 'type' => 'string', 'example' => 'success'."\n"],
+ 'Success' => ['description' => 'Success indicator', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -1257,13 +684,8 @@
],
'GetOssCheckResultDetail' => [
'summary' => 'OSS result details',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1276,81 +698,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '233378',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Bucket',
'in' => 'query',
- 'schema' => [
- 'description' => 'Bucket name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-tmp',
- ],
+ 'schema' => ['description' => 'Bucket name.', 'type' => 'string', 'required' => false, 'example' => 'oss-tmp'],
],
[
'name' => 'Object',
'in' => 'query',
- 'schema' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1748396909030.jpg',
- ],
+ 'schema' => ['description' => 'Object name.', 'type' => 'string', 'required' => false, 'example' => '1748396909030.jpg'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'audio_media_detection_01',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'audio_media_detection_01'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'QueryRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Query request ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
- ],
+ 'schema' => ['description' => 'Query request ID.', 'type' => 'string', 'required' => false, 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952'],
],
[
'name' => 'MediaType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Parent task ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_RZQ66T',
- ],
+ 'schema' => ['description' => 'Parent task ID.', 'type' => 'string', 'required' => false, 'example' => 'P_RZQ66T'],
],
],
'responses' => [
@@ -1360,134 +744,41 @@
'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => '62E97001-1255-50A9-8E1E-4FD05473D952'],
'Data' => [
'description' => 'Detailed data.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'Bucket name.',
- 'type' => 'string',
- 'example' => 'oss-tmp',
- ],
- 'JobName' => [
- 'description' => 'Job name.',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'example' => '1748396909030.jpg',
- ],
- 'Md5' => [
- 'description' => 'File MD5.',
- 'type' => 'string',
- 'example' => 'f6e2e1946f06310c8a0cc443a05819f3',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => 'Bucket name.', 'type' => 'string', 'example' => 'oss-tmp'],
+ 'JobName' => ['description' => 'Job name.', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'Object name.', 'type' => 'string', 'example' => '1748396909030.jpg'],
+ 'Md5' => ['description' => 'File MD5.', 'type' => 'string', 'example' => 'f6e2e1946f06310c8a0cc443a05819f3'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => 'Error code, consistent with HTTP status.', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => 'Image labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => 'Image labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => 'Text labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => 'Detailed scan results.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => 'Image URL.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => 'Task URL.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'P_Z7OLMN',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => 'Audio and video detection type.',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => 'Overall risk level.',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => 'Image risk level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => 'Text risk level',
- 'type' => 'string',
- 'example' => 'medium',
- ],
- 'FreezeType' => [
- 'description' => 'Freeze type.',
- 'type' => 'string',
- 'example' => 'COPY',
- ],
- 'FreezeStatus' => [
- 'description' => 'Freeze status.',
- 'type' => 'string',
- 'example' => 'UNFREEZED',
- ],
+ 'items' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => 'Detailed scan results.', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => 'Image URL.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => 'Task URL.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'P_Z7OLMN'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => 'Audio and video detection type.', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => 'Overall risk level.', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => 'Image risk level', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => 'Text risk level', 'type' => 'string', 'example' => 'medium'],
+ 'FreezeType' => ['description' => 'Freeze type.', 'type' => 'string', 'example' => 'COPY'],
+ 'FreezeStatus' => ['description' => 'Freeze status.', 'type' => 'string', 'example' => 'UNFREEZED'],
'ScanServiceInfos' => [
'description' => 'Detection service information',
'type' => 'array',
@@ -1495,26 +786,10 @@
'description' => 'Detection service information',
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'CopyFrom' => [
- 'description' => 'Main service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'true'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'CopyFrom' => ['description' => 'Main service.', 'type' => 'string', 'example' => 'audio_media_detection'],
],
],
],
@@ -1525,22 +800,9 @@
'description' => 'Labels.',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => 'Label description.',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, 0 to 100, retained to two decimal places.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'politics',
- ],
+ 'Description' => ['description' => 'Label description.', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => 'Confidence score, 0 to 100, retained to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '50'],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'politics'],
],
],
],
@@ -1551,58 +813,20 @@
'description' => 'Labels.',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => 'Label description.',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, 0 to 100, retained to two decimal places.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'politics',
- ],
+ 'Description' => ['description' => 'Label description.', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => 'Confidence score, 0 to 100, retained to two decimal places.', 'type' => 'number', 'format' => 'float', 'example' => '50'],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'politics'],
],
],
],
- 'ManualFreezeAction' => [
- 'description' => 'Manual handling status.',
- 'type' => 'string',
- 'example' => 'FREEZE',
- ],
- 'ManualOperateTime' => [
- 'description' => 'Handling time.',
- 'type' => 'string',
- 'example' => '2025-08-09 12:00:00',
- ],
- 'ManualOperator' => [
- 'description' => 'Handler.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'ManualFreezeAction' => ['description' => 'Manual handling status.', 'type' => 'string', 'example' => 'FREEZE'],
+ 'ManualOperateTime' => ['description' => 'Handling time.', 'type' => 'string', 'example' => '2025-08-09 12:00:00'],
+ 'ManualOperator' => ['description' => 'Handler.', 'type' => 'string', 'example' => 'xx'],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Code' => [
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'true'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'success'],
+ 'Code' => ['description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -1613,14 +837,8 @@
],
'GetOssCheckStat' => [
'summary' => 'OSS Check Usage Statistics',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1633,60 +851,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '218755',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'ByMonth',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to query by month.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to query by month.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ParentTaskId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Parent task ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UNHBH',
- ],
+ 'schema' => ['description' => 'Parent task ID.', 'type' => 'string', 'required' => false, 'example' => 'P_UNHBH'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -1696,12 +887,7 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
'BarChart' => [
'description' => 'Bar chart',
'type' => 'object',
@@ -1709,11 +895,7 @@
'X' => [
'description' => 'X values of the coordinates.',
'type' => 'array',
- 'items' => [
- 'description' => 'X values of the coordinates.',
- 'type' => 'string',
- 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]',
- ],
+ 'items' => ['description' => 'X values of the coordinates.', 'type' => 'string', 'example' => '["06-11", "06-12", "06-13", "06-14", "06-15"]'],
],
'Y' => [
'description' => 'Y values of the coordinates.',
@@ -1722,20 +904,11 @@
'description' => 'Y values of the coordinates.',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'example' => 'document_detection',
- ],
+ 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => 'document_detection'],
'Data' => [
'description' => 'Data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Data.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '[0, 0, 0, 0, 0, 0, 34]',
- ],
+ 'items' => ['description' => 'Data.', 'type' => 'integer', 'format' => 'int64', 'example' => '[0, 0, 0, 0, 0, 0, 34]'],
],
],
],
@@ -1752,14 +925,8 @@
],
'GetScanResult' => [
'summary' => 'Query the Scan results',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1772,11 +939,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160495',
- 'abilityTreeNodes' => [
- 'FEATURElvwang6CEZ66',
- 'FEATURElvwang5MWEHW',
- 'FEATURElvwangLRLIH6',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang6CEZ66', 'FEATURElvwang5MWEHW', 'FEATURElvwangLRLIH6'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -1784,22 +947,12 @@
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start time.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End time.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
@@ -1809,44 +962,23 @@
'description' => 'Search criteria.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{"RequestId":"xxx"}',
- 'description' => '搜索条件。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{"RequestId":"xxx"}', 'description' => '搜索条件。'],
],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -1856,22 +988,13 @@
'description' => 'Sort fields.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{"RequestTime":"desc"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{"RequestTime":"desc"}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -1885,24 +1008,9 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => 'Number of items per page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => 'Number of items per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data for the current page.',
'type' => 'array',
@@ -1910,142 +1018,46 @@
'description' => 'Data for the current page.',
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2023-08-11 09:00:19'."\n",
- ],
- 'RequestTime' => [
- 'description' => 'Request time.',
- 'type' => 'string',
- 'example' => '2023-08-11 09:00:19'."\n",
- ],
- 'DataId' => [
- 'title' => 'dataId',
- 'description' => 'Data Id',
- 'type' => 'string',
- 'example' => '4f27b8cc7c4544cb90b41882a5b36326',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'ScanResult' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'Labels' => [
- 'description' => 'Labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2023-08-11 09:00:19'."\n"],
+ 'RequestTime' => ['description' => 'Request time.', 'type' => 'string', 'example' => '2023-08-11 09:00:19'."\n"],
+ 'DataId' => ['title' => 'dataId', 'description' => 'Data Id', 'type' => 'string', 'example' => '4f27b8cc7c4544cb90b41882a5b36326'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'ScanResult' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => '{}'],
+ 'Labels' => ['description' => 'Labels.', 'type' => 'string', 'example' => 'nonLabel'],
'NoLabels' => [
'title' => '无标签',
'description' => 'No labels',
'type' => 'array',
- 'items' => [
- 'description' => 'Labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ImageUrl' => [
- 'title' => 'url',
- 'description' => 'URL',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
- ],
- 'Content' => [
- 'description' => 'Content.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9',
- ],
- 'Score' => [
- 'description' => 'Score.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '25',
- ],
- 'Suggestion' => [
- 'description' => 'Suggestion.',
- 'type' => 'string',
- 'example' => 'review',
- ],
- 'ExtFeedback' => [
- 'description' => 'Feedback information.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Url' => [
- 'description' => 'Task URL',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png'."\n",
- ],
- 'TimeStamp' => [
- 'description' => 'Timestamp.',
- 'type' => 'string',
- 'example' => '00:00:40-00:00:42',
- ],
- 'FrameCount' => [
- 'description' => 'Frame count.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'ImageService' => [
- 'description' => 'Image service.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'VoiceService' => [
- 'description' => 'Voice service.',
- 'type' => 'string',
- 'example' => 'live_stream_detection',
- ],
+ 'items' => ['description' => 'Labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ImageUrl' => ['title' => 'url', 'description' => 'URL', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'."\n"],
+ 'Content' => ['description' => 'Content.', 'type' => 'string', 'example' => 'xxx'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9'],
+ 'Score' => ['description' => 'Score.', 'type' => 'number', 'format' => 'float', 'example' => '25'],
+ 'Suggestion' => ['description' => 'Suggestion.', 'type' => 'string', 'example' => 'review'],
+ 'ExtFeedback' => ['description' => 'Feedback information.', 'type' => 'string', 'example' => 'xxx'],
+ 'Url' => ['description' => 'Task URL', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'."\n"],
+ 'TimeStamp' => ['description' => 'Timestamp.', 'type' => 'string', 'example' => '00:00:40-00:00:42'],
+ 'FrameCount' => ['description' => 'Frame count.', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'ImageService' => ['description' => 'Image service.', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'VoiceService' => ['description' => 'Voice service.', 'type' => 'string', 'example' => 'live_stream_detection'],
'ImageLabels' => [
'description' => 'Image labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image label.',
- 'type' => 'object',
- 'example' => '[{nonLabel: 17}]',
- ],
+ 'items' => ['description' => 'Image label.', 'type' => 'object', 'example' => '[{nonLabel: 17}]'],
],
'VoiceLabels' => [
'description' => 'Voice labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Voice label.',
- 'type' => 'object',
- 'example' => '[{political_content: 11}]',
- ],
+ 'items' => ['description' => 'Voice label.', 'type' => 'object', 'example' => '[{political_content: 11}]'],
],
'TextLabels' => [
'description' => 'Text labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text label.',
- 'type' => 'object',
- 'example' => '[{nonLabel: 17}]',
- ],
- ],
- 'VoiceScanOpened' => [
- 'description' => 'Whether audio detection is enabled.',
- 'type' => 'boolean',
- 'example' => 'True',
+ 'items' => ['description' => 'Text label.', 'type' => 'object', 'example' => '[{nonLabel: 17}]'],
],
+ 'VoiceScanOpened' => ['description' => 'Whether audio detection is enabled.', 'type' => 'boolean', 'example' => 'True'],
'Result' => [
'description' => 'Return collection.',
'type' => 'array',
@@ -2053,273 +1065,106 @@
'description' => 'Return collection.',
'type' => 'object',
'properties' => [
- 'Confidence' => [
- 'description' => 'Confidence score, ranging from 0 to 100, with two decimal places.',
- 'type' => 'string',
- 'example' => '50.0',
- ],
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'politics',
- ],
- 'Description' => [
- 'description' => 'Description of the Label field.',
- 'type' => 'string',
- 'example' => '疑似色情内容',
- ],
+ 'Confidence' => ['description' => 'Confidence score, ranging from 0 to 100, with two decimal places.', 'type' => 'string', 'example' => '50.0'],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'politics'],
+ 'Description' => ['description' => 'Description of the Label field.', 'type' => 'string', 'example' => '疑似色情内容'],
],
],
],
- 'Offset' => [
- 'description' => 'Frame offset value.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'StartTime' => [
- 'description' => 'Segment start time (in seconds).',
- 'type' => 'string',
- 'example' => '11',
- ],
- 'EndTime' => [
- 'description' => 'Segment end time (in seconds).',
- 'type' => 'string',
- 'example' => '22',
- ],
- 'RiskTips' => [
- 'description' => 'Details of the detected risk.',
- 'type' => 'string',
- 'example' => '色情服务',
- ],
- 'RiskWords' => [
- 'description' => 'Keywords of the detected risk.',
- 'type' => 'string',
- 'example' => '色情_低俗词',
- ],
- 'Thumbnail' => [
- 'description' => 'Thumbnail URL.',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com/xxx.png',
- ],
- 'Extra' => [
- 'description' => 'Additional parameters.',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'PageNum' => [
- 'description' => 'Page number.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
- ."\n"
- .'- high: High risk'."\n"
- ."\n"
- .'- medium: Medium risk'."\n"
- ."\n"
- .'- low: Low risk'."\n"
- ."\n"
- .'- none: No risk detected',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'SensitiveLevel' => [
- 'description' => 'Sensitive level, returned based on the set high and low risk scores. The return values include:'."\n"
- .'- **S1**: Indicates low sensitivity.'."\n"
- .'- **S2**: Indicates medium sensitivity.'."\n"
- .'- **S3**: Indicates high sensitivity.'."\n"
- .'- **S4**: Indicates very high sensitivity.'."\n"
- .'- **S0**: Indicates no sensitivity.',
- 'type' => 'string',
- 'example' => 'S0',
- ],
- 'AttackLevel' => [
- 'description' => 'Attack level, returned based on the set high and low risk scores. The return values include:'."\n"
- ."\n"
- .'- high: High risk'."\n"
- ."\n"
- .'- medium: Medium risk'."\n"
- ."\n"
- .'- low: Low risk'."\n"
- ."\n"
- .'- none: No risk detected',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'RequestFrom' => [
- 'description' => 'Request source.',
- 'type' => 'string',
- 'example' => 'online_test',
- ],
- 'ApiRequestTime' => [
- 'description' => 'Machine review time.',
- 'type' => 'string',
- 'example' => '1755501226',
- ],
- 'ReviewTime' => [
- 'description' => 'Review time.',
- 'type' => 'string',
- 'example' => '1755501226',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ApiTaskId' => [
- 'description' => 'Automated review task ID.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'ReviewLabels' => [
- 'description' => 'Review labels.',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'ReviewRiskLevel' => [
- 'description' => 'Review status.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ReviewUid' => [
- 'description' => 'Reviewer.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
- 'ApiLabels' => [
- 'description' => 'Automated review labels.',
- 'type' => 'string',
- 'example' => 'porn',
- ],
- 'ApiRiskLevel' => [
- 'description' => 'Automated review risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'ApiService' => [
- 'description' => 'Automated review service',
- 'type' => 'string',
- 'example' => 'basecheckLine',
- ],
- 'ManualOnly' => [
- 'description' => 'Whether it is a pure manual review.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Reviewed' => [
- 'description' => 'Whether it has been reviewed.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'MaliciousFileLevel' => [
- 'description' => 'Malicious file risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'MaliciousUrlLevel' => [
- 'description' => 'Malicious URL risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'AppId' => [
- 'title' => 'appId',
- 'type' => 'string',
- 'example' => 'agent_01',
- ],
+ 'Offset' => ['description' => 'Frame offset value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'StartTime' => ['description' => 'Segment start time (in seconds).', 'type' => 'string', 'example' => '11'],
+ 'EndTime' => ['description' => 'Segment end time (in seconds).', 'type' => 'string', 'example' => '22'],
+ 'RiskTips' => ['description' => 'Details of the detected risk.', 'type' => 'string', 'example' => '色情服务'],
+ 'RiskWords' => ['description' => 'Keywords of the detected risk.', 'type' => 'string', 'example' => '色情_低俗词'],
+ 'Thumbnail' => ['description' => 'Thumbnail URL.', 'type' => 'string', 'example' => 'https://www.aliyuncs.com/xxx.png'],
+ 'Extra' => ['description' => 'Additional parameters.', 'type' => 'object', 'example' => '{}'],
+ 'PageNum' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RiskLevel' => ['description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ ."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected', 'type' => 'string', 'example' => 'none'],
+ 'SensitiveLevel' => ['description' => 'Sensitive level, returned based on the set high and low risk scores. The return values include:'."\n"
+ .'- **S1**: Indicates low sensitivity.'."\n"
+ .'- **S2**: Indicates medium sensitivity.'."\n"
+ .'- **S3**: Indicates high sensitivity.'."\n"
+ .'- **S4**: Indicates very high sensitivity.'."\n"
+ .'- **S0**: Indicates no sensitivity.', 'type' => 'string', 'example' => 'S0'],
+ 'AttackLevel' => ['description' => 'Attack level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ ."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected', 'type' => 'string', 'example' => 'none'],
+ 'RequestFrom' => ['description' => 'Request source.', 'type' => 'string', 'example' => 'online_test'],
+ 'ApiRequestTime' => ['description' => 'Machine review time.', 'type' => 'string', 'example' => '1755501226'],
+ 'ReviewTime' => ['description' => 'Review time.', 'type' => 'string', 'example' => '1755501226'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'text'],
+ 'ApiTaskId' => ['description' => 'Automated review task ID.', 'type' => 'string', 'example' => 'xxx'],
+ 'ReviewLabels' => ['description' => 'Review labels.', 'type' => 'string', 'example' => 'porn'],
+ 'ReviewRiskLevel' => ['description' => 'Review status.', 'type' => 'string', 'example' => 'high'],
+ 'ReviewUid' => ['description' => 'Reviewer.', 'type' => 'string', 'example' => 'xx'],
+ 'ApiLabels' => ['description' => 'Automated review labels.', 'type' => 'string', 'example' => 'porn'],
+ 'ApiRiskLevel' => ['description' => 'Automated review risk level.', 'type' => 'string', 'example' => 'high'],
+ 'ApiService' => ['description' => 'Automated review service', 'type' => 'string', 'example' => 'basecheckLine'],
+ 'ManualOnly' => ['description' => 'Whether it is a pure manual review.', 'type' => 'boolean', 'example' => 'false'],
+ 'Reviewed' => ['description' => 'Whether it has been reviewed.', 'type' => 'boolean', 'example' => 'false'],
+ 'MaliciousFileLevel' => ['description' => 'Malicious file risk level.', 'type' => 'string', 'example' => 'high'],
+ 'MaliciousUrlLevel' => ['description' => 'Malicious URL risk level.', 'type' => 'string', 'example' => 'high'],
+ 'AppId' => ['title' => 'appId', 'type' => 'string', 'example' => 'agent_01'],
'GuardImageUrls' => [
'description' => 'Multimodal image URLs.',
'type' => 'array',
- 'items' => [
- 'description' => 'Multimodal image URLs.',
- 'type' => 'string',
- 'example' => 'https://xxx.jpg',
- ],
+ 'items' => ['description' => 'Multimodal image URLs.', 'type' => 'string', 'example' => 'https://xxx.jpg'],
],
'GuardFileUrls' => [
'description' => 'Multimodal file URLs.',
'type' => 'array',
- 'items' => [
- 'description' => 'Multimodal file URLs.',
- 'type' => 'string',
- 'example' => 'http://xxx.docx',
- ],
- ],
- 'AccountId' => [
- 'type' => 'string',
- ],
- 'LiveId' => [
- 'type' => 'string',
+ 'items' => ['description' => 'Multimodal file URLs.', 'type' => 'string', 'example' => 'http://xxx.docx'],
],
+ 'AccountId' => ['type' => 'string'],
+ 'LiveId' => ['type' => 'string'],
'ImageUrls' => [
'title' => 'imageUrls',
'type' => 'array',
- 'items' => [
- 'title' => 'url',
- 'type' => 'string',
- 'example' => 'https://xxxx.001.jpg',
- ],
+ 'items' => ['title' => 'url', 'type' => 'string', 'example' => 'https://xxxx.001.jpg'],
],
+ 'BailianRequestId' => ['type' => 'string'],
],
],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 200 => [
+ ['errorCode' => 'ScanResultQueryFailed', 'errorMessage' => 'Data query failed.'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"RequestTime\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"DataId\\": \\"4f27b8cc7c4544cb90b41882a5b36326\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"NoLabels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ImageUrl\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"Content\\": \\"xxx\\",\\n \\"TaskId\\": \\"vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9\\",\\n \\"Score\\": 25,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"xxx\\",\\n \\"Url\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"TimeStamp\\": \\"00:00:40-00:00:42\\",\\n \\"FrameCount\\": 20,\\n \\"ImageService\\": \\"baselineCheck\\",\\n \\"VoiceService\\": \\"live_stream_detection\\",\\n \\"ImageLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"TextLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceScanOpened\\": true,\\n \\"Result\\": [\\n {\\n \\"Confidence\\": \\"50.0\\",\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"Offset\\": 1,\\n \\"StartTime\\": \\"11\\",\\n \\"EndTime\\": \\"22\\",\\n \\"RiskTips\\": \\"色情服务\\",\\n \\"RiskWords\\": \\"色情_低俗词\\",\\n \\"Thumbnail\\": \\"https://www.aliyuncs.com/xxx.png\\",\\n \\"Extra\\": {},\\n \\"PageNum\\": 1,\\n \\"RiskLevel\\": \\"none\\",\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"RequestFrom\\": \\"online_test\\",\\n \\"ApiRequestTime\\": \\"1755501226\\",\\n \\"ReviewTime\\": \\"1755501226\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ApiTaskId\\": \\"xxx\\",\\n \\"ReviewLabels\\": \\"porn\\",\\n \\"ReviewRiskLevel\\": \\"high\\",\\n \\"ReviewUid\\": \\"xx\\",\\n \\"ApiLabels\\": \\"porn\\",\\n \\"ApiRiskLevel\\": \\"high\\",\\n \\"ApiService\\": \\"basecheckLine\\",\\n \\"ManualOnly\\": false,\\n \\"Reviewed\\": false,\\n \\"MaliciousFileLevel\\": \\"high\\",\\n \\"MaliciousUrlLevel\\": \\"high\\",\\n \\"AppId\\": \\"agent_01\\",\\n \\"GuardImageUrls\\": [\\n \\"https://xxx.jpg\\"\\n ],\\n \\"GuardFileUrls\\": [\\n \\"http://xxx.docx\\"\\n ],\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"LiveId\\": \\"liveIdtest123\\",\\n \\"ImageUrls\\": [\\n \\"https://xxxx.001.jpg\\"\\n ]\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"RequestTime\\": \\"2023-08-11 09:00:19\\\\n\\",\\n \\"DataId\\": \\"4f27b8cc7c4544cb90b41882a5b36326\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"ScanResult\\": \\"{}\\",\\n \\"Labels\\": \\"nonLabel\\",\\n \\"NoLabels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ImageUrl\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"Content\\": \\"xxx\\",\\n \\"TaskId\\": \\"vi_s_EbrXb716LyBpkfwxyX5xyh-1A6RY9\\",\\n \\"Score\\": 25,\\n \\"Suggestion\\": \\"review\\",\\n \\"ExtFeedback\\": \\"xxx\\",\\n \\"Url\\": \\"https://www.aliyuncs.com/xxx.png\\\\n\\",\\n \\"TimeStamp\\": \\"00:00:40-00:00:42\\",\\n \\"FrameCount\\": 20,\\n \\"ImageService\\": \\"baselineCheck\\",\\n \\"VoiceService\\": \\"live_stream_detection\\",\\n \\"ImageLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"TextLabels\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"VoiceScanOpened\\": true,\\n \\"Result\\": [\\n {\\n \\"Confidence\\": \\"50.0\\",\\n \\"Label\\": \\"politics\\",\\n \\"Description\\": \\"疑似色情内容\\"\\n }\\n ],\\n \\"Offset\\": 1,\\n \\"StartTime\\": \\"11\\",\\n \\"EndTime\\": \\"22\\",\\n \\"RiskTips\\": \\"色情服务\\",\\n \\"RiskWords\\": \\"色情_低俗词\\",\\n \\"Thumbnail\\": \\"https://www.aliyuncs.com/xxx.png\\",\\n \\"Extra\\": {},\\n \\"PageNum\\": 1,\\n \\"RiskLevel\\": \\"none\\",\\n \\"SensitiveLevel\\": \\"S0\\",\\n \\"AttackLevel\\": \\"none\\",\\n \\"RequestFrom\\": \\"online_test\\",\\n \\"ApiRequestTime\\": \\"1755501226\\",\\n \\"ReviewTime\\": \\"1755501226\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ApiTaskId\\": \\"xxx\\",\\n \\"ReviewLabels\\": \\"porn\\",\\n \\"ReviewRiskLevel\\": \\"high\\",\\n \\"ReviewUid\\": \\"xx\\",\\n \\"ApiLabels\\": \\"porn\\",\\n \\"ApiRiskLevel\\": \\"high\\",\\n \\"ApiService\\": \\"basecheckLine\\",\\n \\"ManualOnly\\": false,\\n \\"Reviewed\\": false,\\n \\"MaliciousFileLevel\\": \\"high\\",\\n \\"MaliciousUrlLevel\\": \\"high\\",\\n \\"AppId\\": \\"agent_01\\",\\n \\"GuardImageUrls\\": [\\n \\"https://xxx.jpg\\"\\n ],\\n \\"GuardFileUrls\\": [\\n \\"http://xxx.docx\\"\\n ],\\n \\"AccountId\\": \\"accountIdtest123\\",\\n \\"LiveId\\": \\"liveIdtest123\\",\\n \\"ImageUrls\\": [\\n \\"https://xxxx.001.jpg\\"\\n ],\\n \\"BailianRequestId\\": \\"93a2f484-ac61-9b2e-9765-88600c83c1ea\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
'title' => 'Query Scan Results',
'translator' => 'machine',
],
'GetServiceConf' => [
'summary' => 'Get a Single Service Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2332,9 +1177,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '161934',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2342,52 +1185,27 @@
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'Scene',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Audit scenario.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pornographic',
- ],
+ 'schema' => ['description' => 'Audit scenario.', 'type' => 'string', 'required' => false, 'example' => 'pornographic'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ByDefault',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Query default configuration',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'False',
- ],
+ 'schema' => ['description' => 'Query default configuration', 'type' => 'boolean', 'required' => false, 'example' => 'False'],
],
],
'responses' => [
@@ -2397,92 +1215,31 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '17726*****370735',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'image',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2023-01-17 12:29:56',
- ],
- 'CustomServiceConf' => [
- 'description' => 'Service details',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => '6CF2815C-****-****-B52E-FF6E2****492',
- ],
- 'Option' => [
- 'description' => 'Options.',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Classify' => [
- 'description' => 'Classification.',
- 'type' => 'string',
- 'example' => 'guard-scene',
- ],
- 'ServiceType' => [
- 'description' => 'Service type.',
- 'type' => 'string',
- 'example' => 'plus',
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '17726*****370735'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'image'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2023-01-17 12:29:56'],
+ 'CustomServiceConf' => ['description' => 'Service details', 'type' => 'object', 'example' => '{}'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => '6CF2815C-****-****-B52E-FF6E2****492'],
+ 'Option' => ['description' => 'Options.', 'type' => 'object', 'example' => '{}'],
+ 'Classify' => ['description' => 'Classification.', 'type' => 'string', 'example' => 'guard-scene'],
+ 'ServiceType' => ['description' => 'Service type.', 'type' => 'string', 'example' => 'plus'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Uid\\": \\"17726*****370735\\",\\n \\"ResourceType\\": \\"image\\",\\n \\"ServiceCode\\": \\"baselineCheck\\",\\n \\"GmtModified\\": \\"2023-01-17 12:29:56\\",\\n \\"CustomServiceConf\\": {},\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"6CF2815C-****-****-B52E-FF6E2****492\\",\\n \\"Option\\": {},\\n \\"Classify\\": \\"guard-scene\\",\\n \\"ServiceType\\": \\"plus\\"\\n}","type":"json"}]',
'title' => 'Get Service Configuration',
'translator' => 'machine',
],
'GetServiceConfig' => [
'summary' => 'Get a Single Service Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2494,41 +1251,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwang9SVL0Q',
- 'FEATURElvwangL7LL9G',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang9SVL0Q', 'FEATURElvwangL7LL9G'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -2542,26 +1281,10 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '165379****31937',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-05-06 03:07:44',
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '165379****31937'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'text'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-05-06 03:07:44'],
'CustomServiceConf' => [
'description' => 'Custom service details',
'type' => 'object',
@@ -2569,88 +1292,42 @@
'KeywordFilterLibs' => [
'description' => 'Ignore word libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Ignore word libraries.',
- 'type' => 'string',
- 'example' => '["kwxxx"]',
- ],
+ 'items' => ['description' => 'Ignore word libraries.', 'type' => 'string', 'example' => '["kwxxx"]'],
],
'KeywordHitLibs' => [
'description' => 'Hit word libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Hit word libraries.',
- 'type' => 'string',
- 'example' => '["kwxxx1"]',
- ],
+ 'items' => ['description' => 'Hit word libraries.', 'type' => 'string', 'example' => '["kwxxx1"]'],
],
'SimilarTextHitLibs' => [
'description' => 'Hit similar text libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Hit similar text libraries.',
- 'type' => 'string',
- 'example' => '["stxxx"]',
- ],
+ 'items' => ['description' => 'Hit similar text libraries.', 'type' => 'string', 'example' => '["stxxx"]'],
],
'ManualMachineConfig' => [
'description' => 'Human-machine review configuration.',
'type' => 'object',
'properties' => [
- 'Enable' => [
- 'description' => 'Whether to enable. Values:'."\n"
- .'- **true**: Enabled'."\n"
- .'- **false**: Disabled',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Enable' => ['description' => 'Whether to enable. Values:'."\n"
+ .'- **true**: Enabled'."\n"
+ .'- **false**: Disabled', 'type' => 'boolean', 'example' => 'true'],
'AuditRiskLevels' => [
'description' => 'Risk levels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Risk levels.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- ],
- 'ManualService' => [
- 'description' => 'Manual review service',
- 'type' => 'string',
- 'example' => 'imageManualCheck',
- ],
- 'CallbackId' => [
- 'description' => 'Callback notification ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
+ 'items' => ['description' => 'Risk levels.', 'type' => 'string', 'example' => 'high'],
],
+ 'ManualService' => ['description' => 'Manual review service', 'type' => 'string', 'example' => 'imageManualCheck'],
+ 'CallbackId' => ['description' => 'Callback notification ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -2661,14 +1338,8 @@
],
'GetUserBuyStatus' => [
'summary' => 'Get User Purchase Status',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2681,30 +1352,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '158310',
- 'abilityTreeNodes' => [
- 'FEATURElvwangMSWOCX',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangMSWOCX'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'CommodityCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Commodity code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lvwang_public_cn',
- ],
+ 'schema' => ['description' => 'Commodity code.', 'type' => 'string', 'required' => false, 'example' => 'lvwang_public_cn'],
],
],
'responses' => [
@@ -2718,53 +1377,17 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Buy' => [
- 'description' => 'Indicates whether the product has been activated on Alibaba Cloud.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Indebt' => [
- 'description' => 'Indicates whether there is an outstanding payment.',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bid' => [
- 'description' => 'Bid.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '26842',
- ],
- 'Tag' => [
- 'description' => 'Tag.',
- 'type' => 'string',
- 'example' => 'bailian',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
+ 'Buy' => ['description' => 'Indicates whether the product has been activated on Alibaba Cloud.', 'type' => 'boolean', 'example' => 'True'],
+ 'Indebt' => ['description' => 'Indicates whether there is an outstanding payment.', 'type' => 'boolean', 'example' => 'False'],
+ 'Bid' => ['description' => 'Bid.', 'type' => 'integer', 'format' => 'int64', 'example' => '26842'],
+ 'Tag' => ['description' => 'Tag.', 'type' => 'string', 'example' => 'bailian'],
+ 'InstanceId' => ['type' => 'string'],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -2775,39 +1398,32 @@
],
'ListKeywordLibs' => [
'summary' => 'Keyword Library List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157043',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['title' => '租户编码', 'type' => 'string'],
],
],
'responses' => [
@@ -2824,60 +1440,21 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '19964*****086772',
- ],
- 'LibId' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'example' => 'custom_xxxxx',
- ],
- 'LibName' => [
- 'description' => 'Library name.',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'KeywordCount' => [
- 'description' => 'Number of keywords.',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'ServiceCodes' => [
- 'description' => 'Service codes.',
- 'type' => 'string',
- 'example' => 'service1,service2',
- ],
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '19964*****086772', 'title' => 'uid'],
+ 'LibId' => ['description' => 'Library ID.', 'type' => 'string', 'example' => 'custom_xxxxx', 'title' => '词库ID'],
+ 'LibName' => ['description' => 'Library name.', 'type' => 'string', 'example' => '测试', 'title' => '词库名称'],
+ 'KeywordCount' => ['description' => 'Number of keywords.', 'type' => 'string', 'example' => '10', 'title' => '词库数量'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2022-11-30 16:30:29', 'title' => '更新时间'],
+ 'ServiceCodes' => ['description' => 'Service codes.', 'type' => 'string', 'example' => 'service1,service2', 'title' => '关联的service'],
+ ],
+ 'title' => '',
],
+ 'title' => '数据对象',
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True', 'title' => '是否成功'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => '错误码'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK', 'title' => '错误码描述信息'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****', 'title' => '请求的唯一标识符'],
],
],
],
@@ -2888,103 +1465,57 @@
],
'ListOssCheckResult' => [
'summary' => 'query OSS scan result list',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '197375',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'Task status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
+ 'schema' => ['description' => 'Task status.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => 'Number of completed tasks.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'Number of completed tasks.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => 'Search condition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => 'Search condition.', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -2994,22 +1525,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3019,30 +1541,10 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '13'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -3050,123 +1552,55 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'Storage space.',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'JobName' => [
- 'description' => 'Job name.',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => 'File MD5.',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'Bucket' => ['description' => 'Storage space.', 'type' => 'string', 'example' => 'tmp'],
+ 'JobName' => ['description' => 'Job name.', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'Object name.', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => 'File MD5.', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => 'Error code, consistent with HTTP status.', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
'Labels' => [
'description' => 'Image labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => 'Image labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => 'Text labels.',
'type' => 'array',
+ 'items' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => 'Image URL address.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => 'Task URL.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => 'Audio and video detection type.', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => 'Overall risk level', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => 'Image risk level', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => 'Text risk level', 'type' => 'string', 'example' => 'none'],
+ 'FreezeType' => ['description' => 'Freeze type.', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeStatus' => ['description' => 'Freeze status.', 'type' => 'string', 'example' => 'FREEZED'],
+ 'LabelDetails' => [
+ 'type' => 'array',
'items' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ ],
],
],
- 'ScanResult' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => 'Image URL address.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => 'Task URL.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'EP6TI7_au_Zo25ITvCbkocNuF801QOQX',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => 'Audio and video detection type.',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => 'Overall risk level',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => 'Image risk level',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => 'Text risk level',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'FreezeType' => [
- 'description' => 'Freeze type.',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeStatus' => [
- 'description' => 'Freeze status.',
- 'type' => 'string',
- 'example' => 'FREEZED',
+ 'LabelDetails2' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
+ ],
+ ],
],
],
],
@@ -3175,19 +1609,14 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"OK\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"EP6TI7_au_Zo25ITvCbkocNuF801QOQX\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"none\\",\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeStatus\\": \\"FREEZED\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 13,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Bucket\\": \\"tmp\\",\\n \\"JobName\\": \\"dhT20X2310\\",\\n \\"Object\\": \\"1713014531569_958.png.jpeg\\",\\n \\"Md5\\": \\"54416c9b159df4a60ae03c04ccb94cb5\\",\\n \\"ServiceCode\\": \\"audio_media_detection_01\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"OK\\",\\n \\"Labels\\": [\\n \\"nonLabel\\"\\n ],\\n \\"Labels2\\": [\\n \\"nonLabel\\"\\n ],\\n \\"ScanResult\\": \\"{}\\",\\n \\"ImageUrl\\": \\"http://www.aliyuncs.com/test.jpg\\",\\n \\"Url\\": \\"http://www.aliyuncs.com/test.mp3\\",\\n \\"TaskId\\": \\"EP6TI7_au_Zo25ITvCbkocNuF801QOQX\\",\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"IsCopy\\": true,\\n \\"CopyFrom\\": \\"audio_media_detection\\",\\n \\"ContentType\\": \\"audio\\",\\n \\"RiskLevel0\\": \\"low\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RiskLevel2\\": \\"none\\",\\n \\"FreezeType\\": \\"ACL\\",\\n \\"FreezeStatus\\": \\"FREEZED\\",\\n \\"LabelDetails\\": [\\n {\\n \\"Label\\": \\"logo_streaming\\",\\n \\"Description\\": \\"影音娱乐类\\"\\n }\\n ],\\n \\"LabelDetails2\\": [\\n {\\n \\"Label\\": \\"abuse\\",\\n \\"Description\\": \\"辱骂内容\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query OSS Scan Result List',
'translator' => 'machine',
],
'ModifyFeatureConfig' => [
'summary' => 'Save Feature Configuration',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3200,81 +1629,44 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '266678',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'System-defined parameter. Value: **ModifyFeatureConfig**.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'llm_query_moderation',
- ],
+ 'schema' => ['description' => 'System-defined parameter. Value: **ModifyFeatureConfig**.', 'type' => 'string', 'required' => false, 'example' => 'llm_query_moderation'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_llm_template',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
],
[
'name' => 'Field',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => '__config__',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => '__config__'],
],
[
'name' => 'Config',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => '标签2',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => '标签2'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'query',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'query', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3284,56 +1676,29 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'query',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Returned data',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Msg' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Success' => [
- 'description' => 'Response message of this request.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Success indicator.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'Status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => 'query', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Returned data', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Msg' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'success'],
+ 'Success' => ['description' => 'Response message of this request.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Success indicator.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'Status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'OneFeatureRequired', 'errorMessage' => 'Keep at least one switch item when detecting an item configuration to turn off the switch item.'],
+ ],
+ ],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"Msg\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
'title' => 'Modify Feature Configuration',
'translator' => 'machine',
],
'QueryCallback' => [
'summary' => 'Query a Single Callback Configuration',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3346,41 +1711,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '221459',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '11234',
- ],
+ 'schema' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '11234'],
],
[
'name' => 'CheckForOss',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Query data under the OSS detection task.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Query data under the OSS detection task.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3390,63 +1737,17 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Id' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11234',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '19964*****086772',
- ],
- 'Name' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'example' => '回调通知',
- ],
- 'Url' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'example' => 'https://www.aliyuncs.com',
- ],
- 'Seed' => [
- 'description' => 'Seed.',
- 'type' => 'string',
- 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf',
- ],
- 'CryptType' => [
- 'description' => 'Encryption algorithm.',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => 'Result scope.',
- 'type' => 'string',
- 'example' => 'all',
- ],
- 'ExistsOssCheckTask' => [
- 'description' => 'Whether there is an OSS detection task.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Id' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '11234'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2022-11-30 16:30:29'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '19964*****086772'],
+ 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => '回调通知'],
+ 'Url' => ['description' => 'Callback URL.', 'type' => 'string', 'example' => 'https://www.aliyuncs.com'],
+ 'Seed' => ['description' => 'Seed.', 'type' => 'string', 'example' => 'cb2MysbJTAAIf6gB3u4vpIEU-1ySnnf'],
+ 'CryptType' => ['description' => 'Encryption algorithm.', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => 'Result scope.', 'type' => 'string', 'example' => 'all'],
+ 'ExistsOssCheckTask' => ['description' => 'Whether there is an OSS detection task.', 'type' => 'boolean', 'example' => 'false'],
],
],
],
@@ -3457,14 +1758,8 @@
],
'UpdateScanResultFeedback' => [
'summary' => 'Feedback on Scan Results',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3477,21 +1772,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '169771',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
],
'parameters' => [
[
'name' => 'QueryRequestId',
'in' => 'formData',
- 'schema' => [
- 'title' => '请求ID',
- 'description' => 'Request ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '46232656-984E-****-A648-B1D0667B6C3E',
- ],
+ 'schema' => ['title' => '请求ID', 'description' => 'Request ID', 'type' => 'string', 'required' => false, 'example' => '46232656-984E-****-A648-B1D0667B6C3E'],
],
[
'name' => 'Feedback',
@@ -3501,53 +1788,29 @@
'description' => 'Feedback',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'missOut' => '违规漏过',
- 'misreport' => '未违规误报',
- ],
+ 'enumValueTitles' => ['missOut' => '违规漏过', 'misreport' => '未违规误报'],
'example' => 'missOut',
],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => 'Resource Type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => 'Resource Type', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'RiskLevel',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Risk Level',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'high',
- ],
+ 'schema' => ['description' => 'Risk Level', 'type' => 'string', 'required' => false, 'example' => 'high'],
],
[
'name' => 'Labels',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Labels.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abuse',
- ],
+ 'schema' => ['description' => 'Labels.', 'type' => 'string', 'required' => false, 'example' => 'abuse'],
],
],
'responses' => [
@@ -3557,17 +1820,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3578,14 +1832,8 @@
],
'UpdateServiceConfig' => [
'summary' => '更新服务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3598,9 +1846,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157299',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -3608,106 +1854,57 @@
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'KeywordFilterLibs',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'KeywordHitLibs',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'Scene',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pornographic',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'pornographic'],
],
[
'name' => 'SceneConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'VideoConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'FileConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'ManualMachineConfig',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'ServiceConfig',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -3717,93 +1914,45 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'CustomServiceConfigServicesRequired', 'errorMessage' => 'Select at least one instrumentation configuration service when saving a multimodal service configuration.'],
+ ],
],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\"\\n}","type":"json"}]',
],
'GetKeywordImportResult' => [
'summary' => 'Query the result of keyword import',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx-xxx',
- ],
+ 'schema' => ['description' => 'Task ID.', 'type' => 'string', 'required' => false, 'example' => 'xxx-xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -3817,101 +1966,35 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => 'Task progress percentage.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'example' => 'customxx_xxx',
- ],
- 'I18nKey' => [
- 'description' => 'Internationalization key.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => 'Tips message.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => 'Total count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => 'Success count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => 'Repeat count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => 'Invalid count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => 'Task progress percentage.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => 'Keyword library ID.', 'type' => 'string', 'example' => 'customxx_xxx'],
+ 'I18nKey' => ['description' => 'Internationalization key.', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => 'Tips message.', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => 'Success count.', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => 'Repeat count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => 'Invalid count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => 'List of repeated keywords.',
'type' => 'array',
- 'items' => [
- 'description' => 'List of repeated keywords.',
- 'type' => 'string',
- 'example' => '重复关键词',
- ],
+ 'items' => ['description' => 'List of repeated keywords.', 'type' => 'string', 'example' => '重复关键词'],
],
'InvalidKeywords' => [
'description' => 'List of invalid keywords.',
'type' => 'array',
- 'items' => [
- 'description' => 'List of invalid keywords.',
- 'type' => 'string',
- 'example' => '不合法关键词',
- ],
+ 'items' => ['description' => 'List of invalid keywords.', 'type' => 'string', 'example' => '不合法关键词'],
],
'IllegalLengthKeywords' => [
'description' => 'List of keywords with illegal length (too long or too short).',
'type' => 'array',
- 'items' => [
- 'description' => 'List of keywords with illegal length (too long or too short).',
- 'type' => 'string',
- 'example' => '过短关键词',
- ],
+ 'items' => ['description' => 'List of keywords with illegal length (too long or too short).', 'type' => 'string', 'example' => '过短关键词'],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request, which can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request, which can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -3922,59 +2005,42 @@
],
'UpdateKeywordLib' => [
'summary' => 'Edit Keyword Library',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157975',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => 'Library ID.', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keyword library name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试库',
- ],
+ 'schema' => ['description' => 'Keyword library name.', 'type' => 'string', 'required' => false, 'example' => '测试库'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -3984,32 +2050,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -4020,49 +2065,37 @@
],
'GetKeywordLib' => [
'summary' => 'Keyword Library Information',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157047',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxx',
- ],
+ 'schema' => ['description' => 'Keyword library ID.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -4076,54 +2109,17 @@
'description' => 'Returned data content.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'Primary account ID',
- 'type' => 'string',
- 'example' => '1825457112123838',
- ],
- 'LibId' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'example' => 'customxx_xxx',
- ],
- 'LibName' => [
- 'description' => 'Library name',
- 'type' => 'string',
- 'example' => '测试词库',
- ],
- 'KeywordCount' => [
- 'description' => 'Number of keywords.',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'GmtModified' => [
- 'description' => 'Last modified time.',
- 'type' => 'string',
- 'example' => '2024-01-29 10:26:00',
- ],
+ 'Uid' => ['description' => 'Primary account ID', 'type' => 'string', 'example' => '1825457112123838'],
+ 'LibId' => ['description' => 'Keyword library ID.', 'type' => 'string', 'example' => 'customxx_xxx'],
+ 'LibName' => ['description' => 'Library name', 'type' => 'string', 'example' => '测试词库'],
+ 'KeywordCount' => ['description' => 'Number of keywords.', 'type' => 'string', 'example' => '100'],
+ 'GmtModified' => ['description' => 'Last modified time.', 'type' => 'string', 'example' => '2024-01-29 10:26:00'],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -4134,14 +2130,8 @@
],
'GetUploadInfo' => [
'summary' => 'Get the corresponding information for file upload',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4153,41 +2143,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '158637',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- 'default' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image', 'default' => 'text'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Upload name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试',
- ],
+ 'schema' => ['description' => 'Upload name.', 'type' => 'string', 'required' => false, 'example' => '测试'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -4197,82 +2169,19 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'AccessId' => [
- 'description' => 'Upload authorization ID.',
- 'type' => 'string',
- 'example' => 'LTAI5t9HM*****EXQmw3DVH',
- ],
- 'Policy' => [
- 'description' => 'OSS upload file Policy.',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Signature' => [
- 'description' => 'Upload signature information.',
- 'type' => 'string',
- 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw=',
- ],
- 'Folder' => [
- 'title' => '最好含有用户ID',
- 'description' => 'Folder name.',
- 'type' => 'string',
- 'example' => 'image/upload/xxx'."\n",
- ],
- 'Key' => [
- 'description' => 'Key used for uploading files.',
- 'type' => 'string',
- 'example' => 'image/upload/xxx',
- ],
- 'Host' => [
- 'description' => 'Upload host.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com',
- ],
- 'Name' => [
- 'title' => '前端上传图片使用',
- 'description' => 'Used for front-end image upload.',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Expire' => [
- 'title' => '单位秒',
- 'description' => 'In seconds.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '900',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'AccessId' => ['description' => 'Upload authorization ID.', 'type' => 'string', 'example' => 'LTAI5t9HM*****EXQmw3DVH'],
+ 'Policy' => ['description' => 'OSS upload file Policy.', 'type' => 'string', 'example' => 'xxxx'],
+ 'Signature' => ['description' => 'Upload signature information.', 'type' => 'string', 'example' => 'iyu7VHblYj+mEF9p46cdGOlNPAw='],
+ 'Folder' => ['title' => '最好含有用户ID', 'description' => 'Folder name.', 'type' => 'string', 'example' => 'image/upload/xxx'."\n"],
+ 'Key' => ['description' => 'Key used for uploading files.', 'type' => 'string', 'example' => 'image/upload/xxx'],
+ 'Host' => ['description' => 'Upload host.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com'],
+ 'Name' => ['title' => '前端上传图片使用', 'description' => 'Used for front-end image upload.', 'type' => 'string', 'example' => '测试'],
+ 'Expire' => ['title' => '单位秒', 'description' => 'In seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '900'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -4283,28 +2192,21 @@
],
'ListServiceConfigs' => [
'summary' => 'Get Service List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157042',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
@@ -4314,45 +2216,29 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Classify',
'in' => 'query',
- 'schema' => [
- 'description' => 'Category.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'guard-scene',
- ],
+ 'schema' => ['description' => 'Category.', 'type' => 'string', 'required' => false, 'example' => 'guard-scene'],
],
[
'name' => 'UseStatus',
'in' => 'query',
- 'schema' => [
- 'description' => 'Usage status.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'in',
- ],
+ 'schema' => ['description' => 'Usage status.', 'type' => 'string', 'required' => false, 'example' => 'in'],
+ ],
+ [
+ 'name' => 'ProtectionType',
+ 'in' => 'query',
+ 'schema' => ['title' => '防护类型', 'type' => 'string'],
],
],
'responses' => [
@@ -4369,31 +2255,11 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '1674*****0071291',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'text',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2023-07-11 15:40:04',
- ],
- 'CopyFrom' => [
- 'description' => 'Main service.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '1674*****0071291'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'text'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2023-07-11 15:40:04'],
+ 'CopyFrom' => ['description' => 'Main service.', 'type' => 'string', 'example' => 'nickname_detection'],
'CustomServiceConf' => [
'description' => 'Service configuration.',
'type' => 'object',
@@ -4401,56 +2267,31 @@
'KeywordFilterLibs' => [
'description' => 'Ignored word libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Ignored word libraries.',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => 'Ignored word libraries.', 'type' => 'string', 'example' => '[]'],
],
'KeywordHitLibs' => [
'description' => 'Hit word libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Hit word libraries.',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => 'Hit word libraries.', 'type' => 'string', 'example' => '[]'],
],
'SimilarTextHitLibs' => [
'description' => 'Hit similar text libraries.',
'type' => 'array',
- 'items' => [
- 'description' => 'Hit similar text libraries.',
- 'type' => 'string',
- 'example' => '[]',
- ],
+ 'items' => ['description' => 'Hit similar text libraries.', 'type' => 'string', 'example' => '[]'],
],
'ImageService' => [
'description' => 'Image services.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image services.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- ],
- 'AudioService' => [
- 'description' => 'Audio service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
+ 'items' => ['description' => 'Image services.', 'type' => 'string', 'example' => 'baselineCheck'],
],
+ 'AudioService' => ['description' => 'Audio service.', 'type' => 'string', 'example' => 'audio_media_detection'],
'Rules' => [
'description' => 'Service rules',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Index' => [
- 'description' => 'Index.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Index' => ['description' => 'Index.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ImageScanRule' => [
'description' => 'Image review rule.',
'type' => 'object',
@@ -4458,11 +2299,7 @@
'Services' => [
'description' => 'Image services.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image services.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
+ 'items' => ['description' => 'Image services.', 'type' => 'string', 'example' => 'baselineCheck'],
],
],
],
@@ -4473,11 +2310,7 @@
'Services' => [
'description' => 'Text services.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text services.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
+ 'items' => ['description' => 'Text services.', 'type' => 'string', 'example' => 'nickname_detection'],
],
],
],
@@ -4486,78 +2319,32 @@
],
],
],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'ServiceDesc' => [
- 'description' => 'Service description.',
- 'type' => 'string',
- 'example' => '服务描述',
- ],
- 'Option' => [
- 'description' => 'Options.',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'ServiceType' => [
- 'description' => 'Service type.',
- 'type' => 'string',
- 'example' => 'plus',
- ],
- 'Classify' => [
- 'description' => 'Category.',
- 'type' => 'string',
- 'example' => 'guard-scene',
- ],
- 'UseStatus' => [
- 'description' => 'Usage status',
- 'type' => 'string',
- 'example' => 'in',
- ],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'ServiceDesc' => ['description' => 'Service description.', 'type' => 'string', 'example' => '服务描述'],
+ 'Option' => ['description' => 'Options.', 'type' => 'object', 'example' => '{}'],
+ 'ServiceType' => ['description' => 'Service type.', 'type' => 'string', 'example' => 'plus'],
+ 'Classify' => ['description' => 'Category.', 'type' => 'string', 'example' => 'guard-scene'],
+ 'UseStatus' => ['description' => 'Usage status', 'type' => 'string', 'example' => 'in'],
+ 'SceneType' => ['type' => 'string'],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '400',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '400'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1674*****0071291\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2023-07-11 15:40:04\\",\\n \\"CopyFrom\\": \\"nickname_detection\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"ImageService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"AudioService\\": \\"audio_media_detection\\",\\n \\"Rules\\": [\\n {\\n \\"Index\\": 1,\\n \\"ImageScanRule\\": {\\n \\"Services\\": [\\n \\"baselineCheck\\"\\n ]\\n },\\n \\"TextScanRule\\": {\\n \\"Services\\": [\\n \\"nickname_detection\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"ServiceDesc\\": \\"服务描述\\",\\n \\"Option\\": {},\\n \\"ServiceType\\": \\"plus\\",\\n \\"Classify\\": \\"guard-scene\\",\\n \\"UseStatus\\": \\"in\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 400,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Uid\\": \\"1674*****0071291\\",\\n \\"ResourceType\\": \\"text\\",\\n \\"ServiceCode\\": \\"nickname_detection\\",\\n \\"GmtModified\\": \\"2023-07-11 15:40:04\\",\\n \\"CopyFrom\\": \\"nickname_detection\\",\\n \\"CustomServiceConf\\": {\\n \\"KeywordFilterLibs\\": [\\n \\"[]\\"\\n ],\\n \\"KeywordHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"SimilarTextHitLibs\\": [\\n \\"[]\\"\\n ],\\n \\"ImageService\\": [\\n \\"baselineCheck\\"\\n ],\\n \\"AudioService\\": \\"audio_media_detection\\",\\n \\"Rules\\": [\\n {\\n \\"Index\\": 1,\\n \\"ImageScanRule\\": {\\n \\"Services\\": [\\n \\"baselineCheck\\"\\n ]\\n },\\n \\"TextScanRule\\": {\\n \\"Services\\": [\\n \\"nickname_detection\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceName\\": \\"服务名称\\",\\n \\"ServiceDesc\\": \\"服务描述\\",\\n \\"Option\\": {},\\n \\"ServiceType\\": \\"plus\\",\\n \\"Classify\\": \\"guard-scene\\",\\n \\"UseStatus\\": \\"in\\",\\n \\"SceneType\\": \\"all_scene\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 400,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => 'Get Rule Configuration List',
'translator' => 'machine',
],
'GetTextScanResult' => [
'summary' => 'Query the invocation result',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4570,30 +2357,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157044',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start date and time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date and time.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End date and time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date and time.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
@@ -4603,34 +2378,18 @@
'description' => 'Search criteria.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '搜索条件。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '搜索条件。'],
],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -4640,22 +2399,13 @@
'description' => 'Sort fields.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -4669,168 +2419,60 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data for the current page.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2023-07-11 14:21:36',
- ],
- 'Content' => [
- 'description' => 'Content.',
- 'type' => 'string',
- 'example' => '测试内容',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'RequestTime' => [
- 'description' => 'Request time.',
- 'type' => 'string',
- 'example' => '2023-07-11 14:21:36'."\n",
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'nickname_detection',
- ],
- 'ScanResult' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'Labels' => [
- 'description' => 'Labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- 'Score' => [
- 'description' => 'Score.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '20',
- ],
- 'Suggestion' => [
- 'description' => 'Suggestion for handling.',
- 'type' => 'string',
- 'example' => 'review',
- ],
- 'ExtFeedback' => [
- 'description' => 'Feedback information.',
- 'type' => 'string',
- 'example' => 'miss',
- ],
- 'Extra' => [
- 'description' => 'Spare parameters.',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2023-07-11 14:21:36'],
+ 'Content' => ['description' => 'Content.', 'type' => 'string', 'example' => '测试内容'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'txtwkgb******AsYNXoJswy-1Aa1Qk'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'RequestTime' => ['description' => 'Request time.', 'type' => 'string', 'example' => '2023-07-11 14:21:36'."\n"],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'nickname_detection'],
+ 'ScanResult' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => '{}'],
+ 'Labels' => ['description' => 'Labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ 'Score' => ['description' => 'Score.', 'type' => 'number', 'format' => 'float', 'example' => '20'],
+ 'Suggestion' => ['description' => 'Suggestion for handling.', 'type' => 'string', 'example' => 'review'],
+ 'ExtFeedback' => ['description' => 'Feedback information.', 'type' => 'string', 'example' => 'miss'],
+ 'Extra' => ['description' => 'Spare parameters.', 'type' => 'object', 'example' => '{}'],
'Result' => [
'description' => 'Detection results.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'political_n',
- ],
- 'Confidence' => [
- 'description' => 'Confidence score, ranging from 0 to 100, with two decimal places retained.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '25.0',
- ],
- 'Description' => [
- 'description' => 'Description.',
- 'type' => 'string',
- 'example' => '疑似色情内容',
- ],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'political_n'],
+ 'Confidence' => ['description' => 'Confidence score, ranging from 0 to 100, with two decimal places retained.', 'type' => 'number', 'format' => 'float', 'example' => '25.0'],
+ 'Description' => ['description' => 'Description.', 'type' => 'string', 'example' => '疑似色情内容'],
],
],
],
- 'BailianRequestId' => [
- 'description' => 'Bailian Request ID',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RiskLevel' => [
- 'description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
- ."\n"
- .'- high: High risk'."\n"
- ."\n"
- .'- medium: Medium risk'."\n"
- .' '."\n"
- .'- low: Low risk'."\n"
- ."\n"
- .'- none: No risk detected',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'AccountId' => [
- 'title' => '客户入参AccountId',
- 'type' => 'string',
- ],
- 'DataId' => [
- 'title' => '客户入参DataId',
- 'type' => 'string',
- ],
+ 'BailianRequestId' => ['description' => 'Bailian Request ID', 'type' => 'string', 'example' => 'xxx'],
+ 'RiskLevel' => ['description' => 'Risk level, returned based on the set high and low risk scores. The return values include:'."\n"
+ ."\n"
+ .'- high: High risk'."\n"
+ ."\n"
+ .'- medium: Medium risk'."\n"
+ .' '."\n"
+ .'- low: Low risk'."\n"
+ ."\n"
+ .'- none: No risk detected', 'type' => 'string', 'example' => 'none'],
+ 'AccountId' => ['title' => '客户入参AccountId', 'type' => 'string'],
+ 'DataId' => ['title' => '客户入参DataId', 'type' => 'string'],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -4841,69 +2483,47 @@
],
'AddKeywords' => [
'summary' => 'Add keywords',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157048',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The id of keyword library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'The id of keyword library.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The keywords to be added.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'keywords',
- ],
+ 'schema' => ['description' => 'The keywords to be added.', 'type' => 'string', 'required' => false, 'example' => 'keywords'],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of the keyword file.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
- ],
+ 'schema' => ['description' => 'The name of the keyword file.', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n"],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -4917,117 +2537,43 @@
'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The ID of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => 'The ID of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => 'Result.',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => 'The progress percentage of the task.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => 'The keyword library ID.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => 'Internationalization key.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => 'The tips.',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- 'TotalCount' => [
- 'description' => 'The total count of the keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'SuccessCount' => [
- 'description' => 'The success count of the keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'RepeatCount' => [
- 'description' => 'Duplicate keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => 'Invalid keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => 'The progress percentage of the task.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => 'The keyword library ID.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => 'Internationalization key.', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => 'The tips.', 'type' => 'string', 'example' => 'xxxxx'],
+ 'TotalCount' => ['description' => 'The total count of the keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'SuccessCount' => ['description' => 'The success count of the keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'RepeatCount' => ['description' => 'Duplicate keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => 'Invalid keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => 'List of duplicate keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Duplicate keywords',
- 'type' => 'string',
- 'example' => 'duplicate_keyword',
- ],
+ 'items' => ['description' => 'Duplicate keywords', 'type' => 'string', 'example' => 'duplicate_keyword'],
],
'InvalidKeywords' => [
'description' => 'List of invalid keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Invalid keywords',
- 'type' => 'string',
- 'example' => 'invalid_keyword',
- ],
+ 'items' => ['description' => 'Invalid keywords', 'type' => 'string', 'example' => 'invalid_keyword'],
],
'IllegalLengthKeywords' => [
'description' => 'List of keywords that are too long or too short.',
'type' => 'array',
- 'items' => [
- 'description' => 'Keywords that are too long or too short.',
- 'type' => 'string',
- 'example' => 'keyword',
- ],
+ 'items' => ['description' => 'Keywords that are too long or too short.', 'type' => 'string', 'example' => 'keyword'],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Return code. A return of 200 represents success.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Return code. A return of 200 represents success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'The message that is returned in response to the request.'."\n", 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5037,67 +2583,41 @@
],
'ListKeywords' => [
'summary' => 'Query Keyword List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => 'Library ID.', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'Word',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keyword.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试词',
- ],
+ 'schema' => ['description' => 'Keyword.', 'type' => 'string', 'required' => false, 'example' => '测试词'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -5107,22 +2627,18 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['title' => '租户编码', 'type' => 'string'],
],
],
'responses' => [
@@ -5136,24 +2652,9 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'Total count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '23',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '23'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -5161,137 +2662,83 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '112',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2023-06-03 14:43:03',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2023-06-03 14:43:03',
- ],
- 'KeywordLibId' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'KeywordMd5Id' => [
- 'description' => 'Keyword data ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4205334',
- ],
- 'Word' => [
- 'description' => 'Keyword.',
- 'type' => 'string',
- 'example' => '测试词',
+ 'Id' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '112'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2023-06-03 14:43:03'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2023-06-03 14:43:03'],
+ 'KeywordLibId' => ['description' => 'Keyword library ID.', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'KeywordMd5Id' => ['description' => 'Keyword data ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '4205334'],
+ 'Word' => ['description' => 'Keyword.', 'type' => 'string', 'example' => '测试词'],
+ 'Properties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Attribute' => ['type' => 'string'],
+ ],
],
],
],
],
],
],
- 'Success' => [
- 'description' => 'Success flag.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['description' => 'Success flag.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 23,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 112,\\n \\"GmtCreate\\": \\"2023-06-03 14:43:03\\",\\n \\"GmtModified\\": \\"2023-06-03 14:43:03\\",\\n \\"KeywordLibId\\": \\"custom_xxxx\\",\\n \\"KeywordMd5Id\\": 4205334,\\n \\"Word\\": \\"测试词\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidRequestParameters', 'errorMessage' => 'Invalid request parameters.'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 23,\\n \\"PageSize\\": 20,\\n \\"CurrentPage\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": 112,\\n \\"GmtCreate\\": \\"2023-06-03 14:43:03\\",\\n \\"GmtModified\\": \\"2023-06-03 14:43:03\\",\\n \\"KeywordLibId\\": \\"custom_xxxx\\",\\n \\"KeywordMd5Id\\": 4205334,\\n \\"Word\\": \\"测试词\\",\\n \\"Properties\\": {\\n \\"Attribute\\": \\"xxx\\"\\n }\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
'title' => 'Query Keyword List',
'translator' => 'machine',
],
'DeleteKeyword' => [
'summary' => 'Delete keyword',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157037',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Library id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'Library id', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'KeywordIds',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The ids of keywords.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[16754493]',
- ],
+ 'schema' => ['description' => 'The ids of keywords.', 'type' => 'string', 'required' => false, 'example' => '[16754493]'],
],
[
'name' => 'KeywordIdList',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The ids\' list of keywords.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[6715465]',
- ],
+ 'schema' => ['description' => 'The ids\' list of keywords.', 'type' => 'string', 'required' => false, 'example' => '[6715465]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -5301,32 +2748,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'The returned status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Response message for this request.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'The returned status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Response message for this request.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5340,49 +2766,37 @@
],
'ExportKeyword' => [
'summary' => 'Export Keywords',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '158882',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'Keyword library ID.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -5392,32 +2806,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Export result.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Export result.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/export/production/keyword/export_keywordO4ee1Bok1R8IIDVpcT9viU-1xxWr'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5428,14 +2821,8 @@
],
'ExportTextScanResult' => [
'summary' => 'Export text scan results, Excel file',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5447,30 +2834,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157038',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'Query',
@@ -5480,22 +2855,13 @@
'description' => 'Query conditions.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '',
- 'example' => '{"RequestId":"8488665D-32D3-5DD6-8BF1-B4DE2******"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'example' => '{"RequestId":"8488665D-32D3-5DD6-8BF1-B4DE2******"}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5505,32 +2871,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Exported results.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Exported results.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5541,49 +2886,37 @@
],
'DeleteKeywordLib' => [
'summary' => 'Delete Keyword Library',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '157040',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Keyword library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'Keyword library ID.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -5593,32 +2926,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5629,28 +2941,21 @@
],
'UpdateImageLibFreeInspection' => [
'summary' => 'Edit Image Library Free Inspection Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159537',
- 'abilityTreeNodes' => [
- 'FEATURElvwang7CSAZW',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
@@ -5661,23 +2966,18 @@
'description' => 'Configuration.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'description' => '配置。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'integer', 'format' => 'int32', 'description' => '配置。', 'example' => '{}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -5687,43 +2987,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with the HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with the HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -5734,14 +3003,8 @@
],
'AddImages2Lib' => [
'summary' => 'Add image to image lib',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5754,40 +3017,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159538',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The ID of image library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => 'The ID of image library.', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'ImgUrl',
'in' => 'formData',
- 'schema' => [
- 'description' => 'URL of the image to be uploaded.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg',
- ],
+ 'schema' => ['description' => 'URL of the image to be uploaded.', 'type' => 'string', 'required' => false, 'example' => 'upload/ea7a98f9-f8bd-4905-a79b-963c9da419c5.jpg'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5801,45 +3047,14 @@
'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'ImgId' => [
- 'description' => 'The id of the uploaded image.',
- 'type' => 'string',
- 'example' => '100001',
- ],
+ 'ImgId' => ['description' => 'The id of the uploaded image.', 'type' => 'string', 'example' => '100001'],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Status code',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'The message that is returned in response to the request.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'The message that is returned in response to the request.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -5849,14 +3064,8 @@
],
'ListImagesFromLib' => [
'summary' => 'Paged Image List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5868,72 +3077,38 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159539',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Gallery ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => 'Gallery ID.', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'ImgId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Image ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '112',
- ],
+ 'schema' => ['description' => 'Image ID.', 'type' => 'string', 'required' => false, 'example' => '112'],
],
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -5943,22 +3118,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -5968,24 +3134,9 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'Total number of images.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => 'Total number of images.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -5993,61 +3144,18 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2022-11-30 16:30:29',
- ],
- 'ImageId' => [
- 'description' => 'Image ID.',
- 'type' => 'string',
- 'example' => '112',
- ],
- 'ImageUrl' => [
- 'description' => 'Image URL.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
- ],
- 'ThumbnailUrl' => [
- 'description' => 'Thumbnail URL.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg',
- ],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2022-11-30 16:30:29'],
+ 'ImageId' => ['description' => 'Image ID.', 'type' => 'string', 'example' => '112'],
+ 'ImageUrl' => ['description' => 'Image URL.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg'],
+ 'ThumbnailUrl' => ['description' => 'Thumbnail URL.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/image/upload/IMG_2123.jpg'],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6058,14 +3166,8 @@
],
'AddImageLib' => [
'summary' => 'Create Image Library',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6077,40 +3179,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159536',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of image library',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_image_lib',
- ],
+ 'schema' => ['description' => 'The name of image library', 'type' => 'string', 'required' => false, 'example' => 'test_image_lib'],
],
[
'name' => 'Comment',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The remarks of the image library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Explicit_Content_Blacklist_Image_lib',
- ],
+ 'schema' => ['description' => 'The remarks of the image library.', 'type' => 'string', 'required' => false, 'example' => 'Explicit_Content_Blacklist_Image_lib'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The region ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6120,43 +3205,12 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Return code. A return of 200 represents success.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Return code. A return of 200 represents success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'The message that is returned in response to the request.'."\n", 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6166,14 +3220,8 @@
],
'ExportScanResult' => [
'summary' => 'Export scan results, Excel file',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6185,30 +3233,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160496',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL296SE',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL296SE'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-10 10:00:00',
- ],
+ 'schema' => ['description' => 'Start time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-10 10:00:00'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-03-11 10:00:00',
- ],
+ 'schema' => ['description' => 'End time of the query, in the format yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2024-03-11 10:00:00'],
],
[
'name' => 'Query',
@@ -6218,11 +3254,7 @@
'description' => 'Query content.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '查询条件。',
- 'example' => '{"RequestId":"D83A46FF-9EA6-1477-A0C3-C8XXXXX****"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '查询条件。', 'example' => '{"RequestId":"D83A46FF-9EA6-1477-A0C3-C8XXXXX****"}'],
],
],
[
@@ -6232,37 +3264,19 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'text',
],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -6272,22 +3286,13 @@
'description' => 'Sort fields.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{"RequestTime":"desc"}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{"RequestTime":"desc"}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6297,43 +3302,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Exported result.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Exported result.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/portal_data/production/scanResult/text/textScanResult_aliow2MAdWXCakCxlitVY8Lnn-1A9KEw.xlsx'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6344,39 +3318,32 @@
],
'ListImageLib' => [
'summary' => 'Image Library List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159540',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -6392,137 +3359,56 @@
'items' => [
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'LibName' => [
- 'description' => 'Library name.',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'ImageNum' => [
- 'description' => 'Number of images in the library.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'FreeInspection' => [
- 'description' => 'Exempt from inspection configuration.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Comment' => [
- 'description' => 'Comment.',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
+ 'LibId' => ['description' => 'Library ID.', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'LibName' => ['description' => 'Library name.', 'type' => 'string', 'example' => '测试'],
+ 'ImageNum' => ['description' => 'Number of images in the library.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'FreeInspection' => ['description' => 'Exempt from inspection configuration.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Comment' => ['description' => 'Comment.', 'type' => 'string', 'example' => '备注'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
],
],
],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'MaxLibCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LibList\\": [\\n {\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"ImageNum\\": 1,\\n \\"FreeInspection\\": 1,\\n \\"Comment\\": \\"备注\\",\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LibList\\": [\\n {\\n \\"LibId\\": \\"custom_xxxx\\",\\n \\"LibName\\": \\"测试\\",\\n \\"ImageNum\\": 1,\\n \\"FreeInspection\\": 1,\\n \\"Comment\\": \\"备注\\",\\n \\"GmtCreate\\": \\"2024-06-03 15:20:14\\",\\n \\"GmtModified\\": \\"2024-06-03 15:20:14\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"MaxLibCount\\": 5\\n}","type":"json"}]',
'title' => 'Image Library List',
'translator' => 'machine',
],
'DeleteImagesFromLib' => [
'summary' => 'Delete images from library.',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'Library ID.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'ImageIds',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The IDs of the images.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '[158794]',
- ],
+ 'schema' => ['description' => 'The IDs of the images.'."\n", 'type' => 'string', 'required' => false, 'example' => '[158794]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6532,43 +3418,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'The message that is returned in response to the request.'."\n",
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator.', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'The message that is returned in response to the request.'."\n", 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6578,14 +3433,8 @@
],
'GetImageSceneLabelConf' => [
'summary' => 'Get Image Rule Label Information',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6597,20 +3446,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '160095',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE704W7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6623,44 +3465,13 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Returned data.',
- 'type' => 'object',
- 'example' => '{}',
- ],
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with the HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => 'Returned data.', 'type' => 'object', 'example' => '{}'],
],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with the HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6671,14 +3482,8 @@
],
'UpdateImageLib' => [
'summary' => 'Edit Image Library',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6690,61 +3495,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '159534',
- 'abilityTreeNodes' => [
- 'FEATURElvwangYDUT0K',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangYDUT0K'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Library ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => 'Library ID.', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Library name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试图库',
- ],
+ 'schema' => ['description' => 'Library name.', 'type' => 'string', 'required' => false, 'example' => '测试图库'],
],
[
'name' => 'Comment',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Comment information for the library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => 'Comment information for the library.', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
[
'name' => 'FreeInspection',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Exemption from review configuration.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => 'Exemption from review configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -6754,43 +3531,12 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Success' => [
- 'title' => '成功标志',
- 'description' => 'Success indicator',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'title' => '错误码,和http status一致',
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Msg' => [
- 'title' => '错误码的进一步描述',
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'HttpStatusCode' => [
- 'title' => 'http状态码',
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'Success' => ['title' => '成功标志', 'description' => 'Success indicator', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => 'Error code, consistent with HTTP status.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -6801,49 +3547,32 @@
],
'GetImageSceneLabelListConf' => [
'summary' => 'Get Image Rule Label Information',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '163937',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE704W7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ImageServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
],
'responses' => [
@@ -6856,18 +3585,9 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Returned data.',
- 'type' => 'any',
- 'example' => '{}',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => 'Returned data.', 'type' => 'any', 'example' => '{}'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -6878,14 +3598,8 @@
],
'GetScanNum' => [
'summary' => 'User OSS Check Task Pending Inspection Information',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6897,41 +3611,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179486',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJF4QIZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJF4QIZ'],
],
'parameters' => [
[
'name' => 'Buckets',
'in' => 'query',
- 'schema' => [
- 'description' => 'Storage space.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tmpsample',
- ],
+ 'schema' => ['description' => 'Storage space.', 'type' => 'string', 'required' => false, 'example' => 'tmpsample'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'MediaType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'image'],
],
],
'responses' => [
@@ -6941,35 +3637,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'ScanNumber' => [
- 'description' => 'Total number of files pending inspection.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'SumNumber' => [
- 'description' => 'Total number of files.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'LimitNumber' => [
- 'description' => 'Upper limit of the quantity.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Tag' => [
- 'description' => 'Whether it is a whitelist user.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'ScanNumber' => ['description' => 'Total number of files pending inspection.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'SumNumber' => ['description' => 'Total number of files.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'LimitNumber' => ['description' => 'Upper limit of the quantity.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Tag' => ['description' => 'Whether it is a whitelist user.', 'type' => 'boolean', 'example' => 'True'],
],
],
],
@@ -6980,14 +3652,8 @@
],
'CancelStockOssCheckTask' => [
'summary' => 'Cancel OSS detection task',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7000,30 +3666,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179017',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_UNYVB',
- ],
+ 'schema' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'P_UNYVB'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7033,17 +3687,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -7053,14 +3698,8 @@
],
'CreatePreCheck' => [
'summary' => 'Check before creating an OSS scan task',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7073,160 +3712,83 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179987',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'TaskName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Task name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '图片任务 20240709101602004'."\n",
- ],
+ 'schema' => ['description' => 'Task name.', 'type' => 'string', 'required' => false, 'example' => '图片任务 20240709101602004'."\n"],
],
[
'name' => 'Buckets',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Buckets.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]',
- ],
+ 'schema' => ['description' => 'Buckets.', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'],
],
[
'name' => 'IsInc',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether it is a scheduled scan task.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Whether it is a scheduled scan task.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'MediaType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Priority',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Priority.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => 'Priority.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'ScanNoFileType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to scan images without file extensions.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to scan images without file extensions.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ScanService',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Scan service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Scan service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'DistinctHistoryTasks',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Whether to deduplicate historical detected tasks.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether to deduplicate historical detected tasks.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'StartTime',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Task start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-17 10:08:00'."\n",
- ],
+ 'schema' => ['description' => 'Task start time.', 'type' => 'string', 'required' => false, 'example' => '2023-12-17 10:08:00'."\n"],
],
[
'name' => 'EndTime',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Task end time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-18 10:08:00'."\n",
- ],
+ 'schema' => ['description' => 'Task end time.', 'type' => 'string', 'required' => false, 'example' => '2023-12-18 10:08:00'."\n"],
],
[
'name' => 'ScanLimit',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Scan limit count.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Scan limit count.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'PrefixFilterType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Prefix filter type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- ],
+ 'schema' => ['description' => 'Prefix filter type.', 'type' => 'string', 'required' => false, 'example' => 'all'],
],
[
'name' => 'PrefixFilters',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Prefixes.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dir1,dir2',
- ],
+ 'schema' => ['description' => 'Prefixes.', 'type' => 'string', 'required' => false, 'example' => 'dir1,dir2'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'BucketPrefixFilterConfig',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -7239,18 +3801,9 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'boolean',
- 'description' => 'Returned data.',
- 'example' => 'True',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'additionalProperties' => ['type' => 'boolean', 'description' => 'Returned data.', 'example' => 'True'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -7261,14 +3814,8 @@
],
'GetBucketsList' => [
'summary' => 'Get User OSS Scan Bucket List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7280,21 +3827,14 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '176578',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7311,25 +3851,12 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS file storage bucket name.',
- 'type' => 'string',
- 'example' => 'bucket_test',
- ],
- 'Region' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'Bucket' => ['description' => 'OSS file storage bucket name.', 'type' => 'string', 'example' => 'bucket_test'],
+ 'Region' => ['description' => 'Region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -7340,14 +3867,8 @@
],
'GetOssCheckStatus' => [
'summary' => 'Get User OSS check user status',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7359,20 +3880,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179436',
- 'abilityTreeNodes' => [
- 'FEATURElvwangL1O89D',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangL1O89D'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -7382,42 +3896,13 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'SlsStatus' => [
- 'description' => 'Whether log analysis function is authorized.',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'RamStatus' => [
- 'description' => 'Whether internal security is authorized.',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'Buy' => [
- 'description' => 'Whether a product has been activated on Alibaba Cloud.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Indebt' => [
- 'description' => 'Whether there is an outstanding payment.',
- 'type' => 'boolean',
- 'example' => 'False',
- ],
- 'Bid' => [
- 'description' => 'Bid.',
- 'type' => 'string',
- 'example' => '26842',
- ],
- 'CommodityCode' => [
- 'description' => 'Commodity code.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'SlsStatus' => ['description' => 'Whether log analysis function is authorized.', 'type' => 'string', 'example' => 'True'],
+ 'RamStatus' => ['description' => 'Whether internal security is authorized.', 'type' => 'string', 'example' => 'True'],
+ 'Buy' => ['description' => 'Whether a product has been activated on Alibaba Cloud.', 'type' => 'boolean', 'example' => 'True'],
+ 'Indebt' => ['description' => 'Whether there is an outstanding payment.', 'type' => 'boolean', 'example' => 'False'],
+ 'Bid' => ['description' => 'Bid.', 'type' => 'string', 'example' => '26842'],
+ 'CommodityCode' => ['description' => 'Commodity code.', 'type' => 'string', 'example' => 'xxx'],
],
],
],
@@ -7428,14 +3913,8 @@
],
'ExportResult' => [
'summary' => 'Export OSS scan results',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7448,62 +3927,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179021',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Query condition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => 'Query condition.', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Number of items per page in the query result.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => 'Number of items per page in the query result.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page number of the query result. Default is 1.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Page number of the query result. Default is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -7513,22 +3963,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => 'desc',
- 'description' => 'Sort field.',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => 'desc', 'description' => 'Sort field.'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'Source',
@@ -7538,10 +3979,7 @@
'type' => 'string',
'required' => false,
'example' => 'disposal',
- 'enum' => [
- 'default',
- 'disposal',
- ],
+ 'enum' => ['default', 'disposal'],
],
],
],
@@ -7552,32 +3990,11 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'string',
- 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Success' => [
- 'description' => 'Success flag.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Code' => [
- 'description' => 'Error code.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'string', 'example' => 'https://oss-cip-shanghai.oss-cn-shanghai.aliyuncs.com/console_data/production/scanResult/osscheck/ossCheckResult_aliiGGXhSMvmIvsS7Lrl3LaUZ-1A9%24oZ.xlsx'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Success' => ['description' => 'Success flag.', 'type' => 'boolean', 'example' => 'True'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'OK'],
+ 'Code' => ['description' => 'Error code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
],
],
],
@@ -7588,14 +4005,8 @@
],
'GetStockOssCheckTasksList' => [
'summary' => 'Query OSS Scan Task List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7608,63 +4019,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179018',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartTime',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-06-17 02:08:00',
- ],
+ 'schema' => ['description' => 'Start time.', 'type' => 'string', 'required' => false, 'example' => '2023-06-17 02:08:00'],
],
[
'name' => 'EndTime',
'in' => 'formData',
- 'schema' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-06-18 02:08:00'."\n",
- ],
+ 'schema' => ['description' => 'End time.', 'type' => 'string', 'required' => false, 'example' => '2023-06-18 02:08:00'."\n"],
],
[
'name' => 'MediaType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'image'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -7674,42 +4055,23 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'IsInc',
'in' => 'query',
- 'schema' => [
- 'description' => 'Whether it is a scheduled scan task.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Whether it is a scheduled scan task.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Task type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'batch',
- ],
+ 'schema' => ['description' => 'Task type.', 'type' => 'string', 'required' => false, 'example' => 'batch'],
],
],
'responses' => [
@@ -7719,30 +4081,10 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -7750,256 +4092,77 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'P_XHDUS',
- ],
- 'TaskName' => [
- 'description' => 'Task name.',
- 'type' => 'string',
- 'example' => '图片定时任务20231205135716797'."\n",
- ],
- 'Buckets' => [
- 'description' => 'Storage space.',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'Status' => [
- 'description' => 'Task status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'StartTime' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'example' => '2023-12-21 15:30:19',
- ],
- 'EndTime' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'example' => '2024-01-10 11:42:31',
- ],
- 'SearchNum' => [
- 'description' => 'Number of scan tasks.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'FinishNum' => [
- 'description' => 'Number of completed tasks.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'MediaType' => [
- 'description' => 'Media type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'video',
- ],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'P_XHDUS'],
+ 'TaskName' => ['description' => 'Task name.', 'type' => 'string', 'example' => '图片定时任务20231205135716797'."\n"],
+ 'Buckets' => ['description' => 'Storage space.', 'type' => 'string', 'example' => 'tmp'],
+ 'Status' => ['description' => 'Task status.', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'StartTime' => ['description' => 'Start time.', 'type' => 'string', 'example' => '2023-12-21 15:30:19'],
+ 'EndTime' => ['description' => 'End time.', 'type' => 'string', 'example' => '2024-01-10 11:42:31'],
+ 'SearchNum' => ['description' => 'Number of scan tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'FinishNum' => ['description' => 'Number of completed tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'MediaType' => ['description' => 'Media type.', 'type' => 'integer', 'format' => 'int32', 'example' => 'video'],
'Config' => [
'description' => 'Configuration items.',
'type' => 'object',
'properties' => [
- 'ScanNoFileType' => [
- 'description' => 'Whether to scan images without file extensions.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ScanNoFileType' => ['description' => 'Whether to scan images without file extensions.', 'type' => 'boolean', 'example' => 'true'],
'ScanService' => [
'description' => 'Scan service code',
'type' => 'array',
- 'items' => [
- 'description' => 'Scan service code',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- ],
- 'DistinctHistoryTasks' => [
- 'description' => 'Whether to deduplicate historical detected tasks.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'StartTime' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'example' => '2023-12-21 15:30:19',
- ],
- 'EndTime' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'example' => '2024-01-10 11:42:31',
- ],
- 'ScanLimit' => [
- 'description' => 'Scan limit quantity.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PrefixFilterType' => [
- 'description' => 'Prefix filter type.',
- 'type' => 'string',
- 'example' => 'all',
+ 'items' => ['description' => 'Scan service code', 'type' => 'string', 'example' => 'baselineCheck'],
],
+ 'DistinctHistoryTasks' => ['description' => 'Whether to deduplicate historical detected tasks.', 'type' => 'boolean', 'example' => 'false'],
+ 'StartTime' => ['description' => 'Start time.', 'type' => 'string', 'example' => '2023-12-21 15:30:19'],
+ 'EndTime' => ['description' => 'End time.', 'type' => 'string', 'example' => '2024-01-10 11:42:31'],
+ 'ScanLimit' => ['description' => 'Scan limit quantity.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PrefixFilterType' => ['description' => 'Prefix filter type.', 'type' => 'string', 'example' => 'all'],
'PrefixFilters' => [
'description' => 'Prefixes.',
'type' => 'array',
- 'items' => [
- 'description' => 'Prefixes.',
- 'type' => 'string',
- 'example' => 'dir1,dir2',
- ],
- ],
- 'Priority' => [
- 'description' => 'Priority.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TaskCycle' => [
- 'description' => 'Scheduling date.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ExecuteTime' => [
- 'description' => 'Scheduled task expected execution time.',
- 'type' => 'string',
- 'example' => '02:00:00',
- ],
- 'ExecuteDate' => [
- 'description' => 'Scheduled task execution date.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ScanResourceType' => [
- 'description' => 'Scanned file type.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ 'items' => ['description' => 'Prefixes.', 'type' => 'string', 'example' => 'dir1,dir2'],
],
+ 'Priority' => ['description' => 'Priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TaskCycle' => ['description' => 'Scheduling date.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ExecuteTime' => ['description' => 'Scheduled task expected execution time.', 'type' => 'string', 'example' => '02:00:00'],
+ 'ExecuteDate' => ['description' => 'Scheduled task execution date.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ScanResourceType' => ['description' => 'Scanned file type.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'ScanServiceInfos' => [
'description' => 'Scan service information',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'baselineCheck_01',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '通用基线检测'."\n",
- ],
- 'CopyFrom' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'false'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'baselineCheck_01'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '通用基线检测'."\n"],
+ 'CopyFrom' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'baselineCheck'],
],
],
],
- 'CallbackId' => [
- 'description' => 'Callback notification ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3942',
- ],
- 'Freeze' => [
- 'description' => 'Whether to freeze',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'FreezeType' => [
- 'description' => 'Freeze type',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeHighRisk1' => [
- 'description' => 'Freeze high-risk images',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk1' => [
- 'description' => 'Freeze medium-risk images',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeHighRisk2' => [
- 'description' => 'Freeze high-risk audio and text',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk2' => [
- 'description' => 'Freeze medium-risk audio and text',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeRestorePath' => [
- 'description' => 'Storage path for transfer',
- 'type' => 'string',
- 'example' => '/backup',
- ],
+ 'CallbackId' => ['description' => 'Callback notification ID', 'type' => 'integer', 'format' => 'int64', 'example' => '3942'],
+ 'Freeze' => ['description' => 'Whether to freeze', 'type' => 'boolean', 'example' => 'false'],
+ 'FreezeType' => ['description' => 'Freeze type', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeHighRisk1' => ['description' => 'Freeze high-risk images', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk1' => ['description' => 'Freeze medium-risk images', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeHighRisk2' => ['description' => 'Freeze high-risk audio and text', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk2' => ['description' => 'Freeze medium-risk audio and text', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeRestorePath' => ['description' => 'Storage path for transfer', 'type' => 'string', 'example' => '/backup'],
'UserFreezeConfig' => [
'description' => 'Manual freeze configuration',
'type' => 'object',
'properties' => [
- 'FreezeType' => [
- 'description' => 'Freeze type',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeRestorePath' => [
- 'description' => 'Storage path for transfer',
- 'type' => 'string',
- 'example' => '/backup'."\n",
- ],
+ 'FreezeType' => ['description' => 'Freeze type', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeRestorePath' => ['description' => 'Storage path for transfer', 'type' => 'string', 'example' => '/backup'."\n"],
],
],
- 'Referer' => [
- 'description' => 'Referer',
- 'type' => 'string',
- 'example' => '*',
- ],
+ 'Referer' => ['description' => 'Referer', 'type' => 'string', 'example' => '*'],
],
],
- 'ObjectNum' => [
- 'description' => 'Total number of files in the bucket',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'NextExecuteDate' => [
- 'description' => 'Last execution time of the scheduled task',
- 'type' => 'string',
- 'example' => '02:00:00'."\n",
- ],
- 'LastExecuteDate' => [
- 'description' => 'Next execution time of the scheduled task',
- 'type' => 'string',
- 'example' => '02:00:00'."\n",
- ],
- 'IsInc' => [
- 'description' => 'Whether it is a scheduled scan task',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'TaskType' => [
- 'description' => 'Task type',
- 'type' => 'string',
- 'example' => 'batch',
- ],
+ 'ObjectNum' => ['description' => 'Total number of files in the bucket', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'NextExecuteDate' => ['description' => 'Last execution time of the scheduled task', 'type' => 'string', 'example' => '02:00:00'."\n"],
+ 'LastExecuteDate' => ['description' => 'Next execution time of the scheduled task', 'type' => 'string', 'example' => '02:00:00'."\n"],
+ 'IsInc' => ['description' => 'Whether it is a scheduled scan task', 'type' => 'boolean', 'example' => 'false'],
+ 'TaskType' => ['description' => 'Task type', 'type' => 'string', 'example' => 'batch'],
],
],
],
@@ -8013,14 +4176,8 @@
],
'OssCheckResultList' => [
'summary' => 'OSS scan result query',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8032,62 +4189,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '179020',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'System-defined parameter. Value: **OssCheckResultList**.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-21 16:08:38'."\n",
- ],
+ 'schema' => ['description' => 'System-defined parameter. Value: **OssCheckResultList**.', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'."\n"],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-21 16:08:38'."\n",
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'."\n"],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'Query condition.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Query condition.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -8097,44 +4225,23 @@
'description' => 'Current page number.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
- 'description' => '排序字段。',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{\\"GmtCreate\\":\\"desc\\"}', 'description' => '排序字段。'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Sort field.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Sort field.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '55',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '55'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'Number of completed items.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Number of completed items.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -8144,35 +4251,11 @@
'description' => 'PortalResponse<SlsPageResponseVO<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Task status.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'AuthStatus' => [
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'TotalCount' => [
- 'description' => 'Authorization status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Task status.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'AuthStatus' => ['description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'OK'],
+ 'TotalCount' => ['description' => 'Authorization status.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageSize' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Current page number.',
'type' => 'array',
@@ -8180,99 +4263,31 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'Data of the current page.',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'Object' => [
- 'description' => 'OSS Bucket name.',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => 'File MD5.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Status code. 200 indicates success.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => 'Data of the current page.', 'type' => 'string', 'example' => 'tmp'],
+ 'Object' => ['description' => 'OSS Bucket name.', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => 'Object name.', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => 'File MD5.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => 'Service code.', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => 'Status code. 200 indicates success.', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => 'Further description of the error code.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'JobName' => [
- 'description' => 'Image URL.',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
+ 'items' => ['description' => 'Image labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
+ 'ScanResult' => ['description' => 'Image labels.', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'JobName' => ['description' => 'Image URL.', 'type' => 'string', 'example' => 'dhT20X2310'],
'Labels2' => [
'description' => 'Job name.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'Url' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => 'Task URL.',
- 'type' => 'string',
- 'example' => 'P_XHDUS',
- ],
- 'ServiceName' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => 'Service name.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => 'Whether to copy.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'audio',
+ 'items' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
+ 'Url' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => 'Task URL.', 'type' => 'string', 'example' => 'P_XHDUS'],
+ 'ServiceName' => ['description' => 'Task ID.', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => 'Service name.', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => 'Whether to copy.', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'audio'],
],
],
],
@@ -8286,14 +4301,8 @@
],
'CreatStockOssCheckTask' => [
'summary' => 'Create stock oss check task',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8306,41 +4315,24 @@
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '179014',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the task.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image task 20240709101602004',
- ],
+ 'schema' => ['description' => 'The name of the task.'."\n", 'type' => 'string', 'required' => false, 'example' => 'image task 20240709101602004'],
],
[
'name' => 'Buckets',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS buckets',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n",
- ],
+ 'schema' => ['description' => 'OSS buckets', 'type' => 'string', 'required' => false, 'example' => '[{\\"Bucket\\":\\"bucket01-test\\",\\"Region\\":\\"cn-beijing\\"}]'."\n"],
],
[
'name' => 'IsInc',
'in' => 'query',
- 'schema' => [
- 'description' => 'Indicator for scheduled task.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Indicator for scheduled task.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'MediaType',
@@ -8350,11 +4342,7 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- 1 => '',
- '',
- '',
- ],
+ 'enumValueTitles' => [1 => '', '', ''],
'example' => '1',
],
],
@@ -8366,110 +4354,59 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- '',
- '',
- ],
+ 'enumValueTitles' => ['', ''],
'example' => '0',
],
],
[
'name' => 'ScanNoFileType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Indicator for scanning files without file type.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Indicator for scanning files without file type.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ScanService',
'in' => 'query',
- 'schema' => [
- 'description' => 'The code of scan service.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'The code of scan service.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'DistinctHistoryTasks',
'in' => 'query',
- 'schema' => [
- 'description' => 'Flag for deduplicating against previously detected tasks.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Flag for deduplicating against previously detected tasks.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The start time of the task.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-17 10:08:00'."\n",
- ],
+ 'schema' => ['description' => 'The start time of the task.', 'type' => 'string', 'required' => false, 'example' => '2023-12-17 10:08:00'."\n"],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'The end time of the task.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-12-18 10:08:00',
- ],
+ 'schema' => ['description' => 'The end time of the task.', 'type' => 'string', 'required' => false, 'example' => '2023-12-18 10:08:00'],
],
[
'name' => 'ScanLimit',
'in' => 'query',
- 'schema' => [
- 'description' => 'The scan limit of the task.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The scan limit of the task.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'PrefixFilterType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Prefix filter type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- ],
+ 'schema' => ['description' => 'Prefix filter type.', 'type' => 'string', 'required' => false, 'example' => 'all'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'PrefixFilters',
'in' => 'query',
- 'schema' => [
- 'description' => 'Prefix filters',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dir1,dir2'."\n",
- ],
+ 'schema' => ['description' => 'Prefix filters', 'type' => 'string', 'required' => false, 'example' => 'dir1,dir2'."\n"],
],
[
'name' => 'BucketPrefixFilterConfig',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'TaskCycle',
@@ -8479,34 +4416,19 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- '',
- '',
- '',
- ],
+ 'enumValueTitles' => ['', '', ''],
'example' => '0',
],
],
[
'name' => 'ExecuteDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Execute date of scheduled task.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Execute date of scheduled task.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ExecuteTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'Execute time of scheduled task.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '01:09:30-01:19:30',
- ],
+ 'schema' => ['description' => 'Execute time of scheduled task.', 'type' => 'string', 'required' => false, 'example' => '01:09:30-01:19:30'],
],
[
'name' => 'ScanResourceType',
@@ -8515,11 +4437,7 @@
'description' => 'Scan resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- '',
- '',
- '',
- ],
+ 'enumValueTitles' => ['', '', ''],
'example' => '0',
],
],
@@ -8530,103 +4448,54 @@
'description' => 'Task type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'timing' => '',
- 'batch' => '',
- 'increment' => '',
- ],
+ 'enumValueTitles' => ['timing' => '', 'batch' => '', 'increment' => ''],
'example' => 'batch',
],
],
[
'name' => 'CallbackId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Callback ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1751',
- ],
+ 'schema' => ['description' => 'Callback ID', 'type' => 'string', 'required' => false, 'example' => '1751'],
],
[
'name' => 'Freeze',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze indicator',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze indicator', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACL',
- ],
+ 'schema' => ['description' => 'Freeze type', 'type' => 'string', 'required' => false, 'example' => 'ACL'],
],
[
'name' => 'FreezeHighRisk1',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze High-Risk Images',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze High-Risk Images', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeMediumRisk1',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze Medium-Risk Images',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze Medium-Risk Images', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeHighRisk2',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze High-Risk Audio and Text',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze High-Risk Audio and Text', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeMediumRisk2',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze Medium-Risk Audio and Text',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Freeze Medium-Risk Audio and Text', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'FreezeRestorePath',
'in' => 'query',
- 'schema' => [
- 'description' => 'Freeze Restore Path',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => 'Freeze Restore Path', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Referer',
'in' => 'query',
- 'schema' => [
- 'description' => 'Referer.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://www.aliyun.com',
- ],
+ 'schema' => ['description' => 'Referer.', 'type' => 'string', 'required' => false, 'example' => 'https://www.aliyun.com'],
],
],
'responses' => [
@@ -8636,17 +4505,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -8656,68 +4516,52 @@
],
'AddKeywordsToLib' => [
'summary' => 'Add keywords to keyword library.',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '180474',
- 'abilityTreeNodes' => [
- 'FEATURElvwangGBPV1P',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangGBPV1P'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customxx_xxxx',
- ],
+ 'schema' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'required' => false, 'example' => 'customxx_xxxx'],
],
[
'name' => 'Keywords',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The keyword to be added.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'keyword',
- ],
+ 'schema' => ['description' => 'The keyword to be added.', 'type' => 'string', 'required' => false, 'example' => 'keyword'],
],
[
'name' => 'KeywordsObject',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The name of the keyword file.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n",
- ],
+ 'schema' => ['description' => 'The name of the keyword file.', 'type' => 'string', 'required' => false, 'example' => 'upload/1e5353c0-0d91-40ba-9d41-ae7abd3fe561.txt'."\n"],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ [
+ 'name' => 'TenantCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'Properties',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -8731,97 +4575,39 @@
'description' => 'The data returned.'."\n",
'type' => 'object',
'properties' => [
- 'LibId' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'TaskId' => [
- 'description' => 'The task ID.'."\n",
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'LibId' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
'KeywordsResult' => [
'description' => 'Result.',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => 'The progress percentage of the task.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => 'The id of the keyword library.',
- 'type' => 'string',
- 'example' => 'customxx_xxxx',
- ],
- 'I18nKey' => [
- 'description' => 'Internationalization key.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => 'The total count of keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => 'The success count of keywords.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => 'Duplicate keyword count',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => 'Invalid keyword count.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => 'The progress percentage of the task.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => 'The id of the keyword library.', 'type' => 'string', 'example' => 'customxx_xxxx'],
+ 'I18nKey' => ['description' => 'Internationalization key.', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => 'The total count of keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => 'The success count of keywords.', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => 'Duplicate keyword count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => 'Invalid keyword count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatKeywords' => [
'description' => 'List of duplicate keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Duplicate keywords',
- 'type' => 'string',
- 'example' => 'duplicate_keyword',
- ],
+ 'items' => ['description' => 'Duplicate keywords', 'type' => 'string', 'example' => 'duplicate_keyword'],
],
'InvalidKeywords' => [
'description' => 'List of invalid keywords',
'type' => 'array',
- 'items' => [
- 'description' => 'Invalid keywords',
- 'type' => 'string',
- 'example' => 'invalid_keyword',
- ],
+ 'items' => ['description' => 'Invalid keywords', 'type' => 'string', 'example' => 'invalid_keyword'],
],
'IllegalLengthKeywords' => [
'description' => 'List of keywords that are too long or too short.',
'type' => 'array',
- 'items' => [
- 'description' => 'Keywords that are too long or too short.',
- 'type' => 'string',
- 'example' => 'keyword',
- ],
+ 'items' => ['description' => 'Keywords that are too long or too short.', 'type' => 'string', 'example' => 'keyword'],
],
],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -8831,14 +4617,8 @@
],
'GetServiceLabelConfig' => [
'summary' => 'Get the label configuration of a single service',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8850,40 +4630,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '174703',
- 'abilityTreeNodes' => [
- 'FEATURElvwangE704W7',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'text',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'text'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -8896,18 +4659,9 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Returned data.',
- 'type' => 'any',
- 'example' => '{}',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
+ 'items' => ['description' => 'Returned data.', 'type' => 'any', 'example' => '{}'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. It can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -8918,14 +4672,8 @@
],
'ModifyServiceInfo' => [
'summary' => 'Edit Service',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8937,60 +4685,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '184637',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXKZ6SI',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXKZ6SI'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ServiceName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '通用基线检测',
- ],
+ 'schema' => ['description' => 'Service name.', 'type' => 'string', 'required' => false, 'example' => '通用基线检测'],
],
[
'name' => 'ServiceDesc',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service description.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
+ 'schema' => ['description' => 'Service description.', 'type' => 'string', 'required' => false, 'example' => '描述'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9000,17 +4721,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9021,14 +4733,8 @@
],
'CopyServiceConfig' => [
'summary' => 'copy service config',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9040,40 +4746,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '184636',
- 'abilityTreeNodes' => [
- 'FEATURElvwang9SVL0Q',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang9SVL0Q'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'nickname_detection',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'nickname_detection'],
],
[
'name' => 'ServiceName',
'in' => 'formData',
- 'schema' => [
- 'description' => 'The service name.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_name',
- ],
+ 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_name'],
],
[
'name' => 'ServiceDesc',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Service description',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => 'Service description', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
@@ -9082,25 +4771,14 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '',
- 'image' => '',
- 'file' => '',
- 'text' => '',
- 'video' => '',
- ],
+ 'enumValueTitles' => ['voice' => '', 'image' => '', 'file' => '', 'text' => '', 'video' => ''],
'example' => 'text',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9110,17 +4788,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9130,14 +4799,8 @@
],
'GetExecuteTime' => [
'summary' => 'Get Scheduled OSS Scan Task Estimated Execution Time',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9149,20 +4812,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '190608',
- 'abilityTreeNodes' => [
- 'FEATURElvwangKN3PXM',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangKN3PXM'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9172,17 +4828,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'string',
- 'example' => '02:24:30',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'string', 'example' => '02:24:30'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9193,55 +4840,30 @@
],
'GetJobNameList' => [
'summary' => 'OSS scheduled scan detection cycle query',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Start date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-11 09:00:19',
- ],
+ 'schema' => ['description' => 'Start date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-11 09:00:19'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'End date.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-24 10:01:55',
- ],
+ 'schema' => ['description' => 'End date.', 'type' => 'string', 'required' => false, 'example' => '2023-08-24 10:01:55'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => 'Query condition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"TaskId":"P_11TL5T"}',
- ],
+ 'schema' => ['description' => 'Query condition.', 'type' => 'string', 'required' => false, 'example' => '{"TaskId":"P_11TL5T"}'],
],
[
'name' => 'Sort',
@@ -9251,22 +4873,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => 'desc',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => 'desc'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9279,18 +4892,9 @@
'Data' => [
'description' => 'Returned data.',
'type' => 'array',
- 'items' => [
- 'description' => 'Returned data.',
- 'type' => 'string',
- 'example' => '["20000101-29990101"]',
- ],
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
+ 'items' => ['description' => 'Returned data.', 'type' => 'string', 'example' => '["20000101-29990101"]'],
],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9301,14 +4905,8 @@
],
'GetBackupConfig' => [
'summary' => 'Get Evidence Backup Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9320,20 +4918,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201051',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'ResourceType',
@@ -9342,25 +4933,14 @@
'description' => 'Resource type.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'voice' => '音频',
- 'image' => '图片',
- 'file' => '文档',
- 'text' => '文本',
- 'video' => '视频',
- ],
+ 'enumValueTitles' => ['voice' => '音频', 'image' => '图片', 'file' => '文档', 'text' => '文本', 'video' => '视频'],
'example' => 'image',
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9370,85 +4950,28 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '1772612608370735',
- ],
- 'ResourceType' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'example' => 'image',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'baselineCheck',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2023-01-17 12:29:56',
- ],
- 'Enable' => [
- 'description' => 'Whether it is enabled. Values:'."\n"
- .'- **true**: Enabled'."\n"
- .'- **false**: Disabled',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bucket' => [
- 'description' => 'File server OSS Bucket.',
- 'type' => 'string',
- 'example' => 'buckect_test',
- ],
- 'Region' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Path' => [
- 'description' => 'Path.',
- 'type' => 'string',
- 'example' => 'aliyun/template/',
- ],
- 'ExpireSeconds' => [
- 'description' => 'Expiration time in seconds.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '1772612608370735'],
+ 'ResourceType' => ['description' => 'Resource type.', 'type' => 'string', 'example' => 'image'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'baselineCheck'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2023-01-17 12:29:56'],
+ 'Enable' => ['description' => 'Whether it is enabled. Values:'."\n"
+ .'- **true**: Enabled'."\n"
+ .'- **false**: Disabled', 'type' => 'boolean', 'example' => 'true'],
+ 'Bucket' => ['description' => 'File server OSS Bucket.', 'type' => 'string', 'example' => 'buckect_test'],
+ 'Region' => ['description' => 'Region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'Path' => ['description' => 'Path.', 'type' => 'string', 'example' => 'aliyun/template/'],
+ 'ExpireSeconds' => ['description' => 'Expiration time in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
'BackupMode' => [
'description' => 'Backup scope.',
'type' => 'integer',
'format' => 'int32',
- 'enumValueTitles' => [
- '转存所有结果',
- '仅转存有检出风险的结果',
- ],
+ 'enumValueTitles' => ['转存所有结果', '仅转存有检出风险的结果'],
'example' => '0',
],
- 'EnableBackup' => [
- 'description' => 'Whether to enable backup.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'EnableBackupVoice' => [
- 'description' => 'Whether to enable audio backup.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'PathVoice' => [
- 'description' => 'Audio backup path.',
- 'type' => 'string',
- 'example' => '/back',
- ],
+ 'EnableBackup' => ['description' => 'Whether to enable backup.', 'type' => 'boolean', 'example' => 'True'],
+ 'EnableBackupVoice' => ['description' => 'Whether to enable audio backup.', 'type' => 'boolean', 'example' => 'True'],
+ 'PathVoice' => ['description' => 'Audio backup path.', 'type' => 'string', 'example' => '/back'],
],
],
],
@@ -9459,14 +4982,8 @@
],
'GetBackupBucketsList' => [
'summary' => 'Evidence Transfer to Get User\'s Bucket List',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9478,20 +4995,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201048',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9508,25 +5018,12 @@
'description' => 'Returned data.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS file storage bucket name.',
- 'type' => 'string',
- 'example' => 'gj-bucket1',
- ],
- 'Region' => [
- 'description' => 'Region.',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
+ 'Bucket' => ['description' => 'OSS file storage bucket name.', 'type' => 'string', 'example' => 'gj-bucket1'],
+ 'Region' => ['description' => 'Region.', 'type' => 'string', 'example' => 'cn-shanghai'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9537,14 +5034,8 @@
],
'GetBackupStatus' => [
'summary' => 'User Backup Authorization Verification',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9556,20 +5047,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201049',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9579,17 +5063,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Audit result data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Audit result data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -9600,14 +5075,8 @@
],
'UpdateBackupConfig' => [
'summary' => 'Update Evidence Backup Configuration',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9619,50 +5088,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '201050',
- 'abilityTreeNodes' => [
- 'FEATURElvwangHKCO82',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangHKCO82'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'videoDetection',
- ],
+ 'schema' => ['description' => 'Service code.', 'type' => 'string', 'required' => false, 'example' => 'videoDetection'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'video',
- ],
+ 'schema' => ['description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'video'],
],
[
'name' => 'BackupConfig',
'in' => 'query',
- 'schema' => [
- 'description' => 'Evidence backup configuration.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => 'Evidence backup configuration.', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9672,17 +5119,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9693,13 +5131,8 @@
],
'ListCallback' => [
'summary' => 'Get Callback List',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9711,20 +5144,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220530',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9740,61 +5166,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11234',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '16537*****831937',
- ],
- 'Name' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'example' => '回调通知',
- ],
- 'Url' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Seed' => [
- 'description' => 'Seed.',
- 'type' => 'string',
- 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n",
- ],
- 'CryptType' => [
- 'description' => 'Encryption algorithm.',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => 'Result scope.',
- 'type' => 'string',
- 'example' => 'all',
- ],
+ 'Id' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '11234'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '16537*****831937'],
+ 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => '回调通知'],
+ 'Url' => ['description' => 'Callback URL.', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Seed' => ['description' => 'Seed.', 'type' => 'string', 'example' => 'cbupVnpBjkgjFxfINMHKkrHS-1zZPUm'."\n"],
+ 'CryptType' => ['description' => 'Encryption algorithm.', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => 'Result scope.', 'type' => 'string', 'example' => 'all'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -9805,13 +5189,8 @@
],
'QueryCallbackByPage' => [
'summary' => 'Paginated Query of Message Notification List',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9823,42 +5202,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220532',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -9868,30 +5228,10 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -9899,52 +5239,15 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1697',
- ],
- 'GmtCreate' => [
- 'description' => 'Creation time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'string',
- 'example' => '2024-06-03 15:20:14',
- ],
- 'Uid' => [
- 'description' => 'UID.',
- 'type' => 'string',
- 'example' => '12161*****398900',
- ],
- 'Name' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'example' => '消息通知',
- ],
- 'Url' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'example' => 'https://console.aliyun.com/'."\n",
- ],
- 'Seed' => [
- 'description' => 'Seed.',
- 'type' => 'string',
- 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq',
- ],
- 'CryptType' => [
- 'description' => 'Encryption algorithm.',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'Scope' => [
- 'description' => 'Result scope.',
- 'type' => 'string',
- 'example' => 'all',
- ],
+ 'Id' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1697'],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2024-06-03 15:20:14'],
+ 'Uid' => ['description' => 'UID.', 'type' => 'string', 'example' => '12161*****398900'],
+ 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => '消息通知'],
+ 'Url' => ['description' => 'Callback URL.', 'type' => 'string', 'example' => 'https://console.aliyun.com/'."\n"],
+ 'Seed' => ['description' => 'Seed.', 'type' => 'string', 'example' => 'cb6gYS8GXj4Vn4Y4FN0Y8R5M-1x46Mq'],
+ 'CryptType' => ['description' => 'Encryption algorithm.', 'type' => 'string', 'example' => 'SHA256'],
+ 'Scope' => ['description' => 'Result scope.', 'type' => 'string', 'example' => 'all'],
],
],
],
@@ -9958,13 +5261,8 @@
],
'CreateCallback' => [
'summary' => 'Create a new message notification',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9976,30 +5274,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220531',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Plan name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '消息通知1',
- ],
+ 'schema' => ['description' => 'Plan name.', 'type' => 'string', 'required' => false, 'example' => '消息通知1'],
],
[
'name' => 'Url',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://console.aliyun.com',
- ],
+ 'schema' => ['description' => 'Callback URL.', 'type' => 'string', 'required' => false, 'example' => 'https://console.aliyun.com'],
],
[
'name' => 'CryptType',
@@ -10008,15 +5294,9 @@
'description' => 'Encryption algorithm.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SHA256' => 'SHA256',
- 'SM3' => '国密SM3',
- ],
+ 'enumValueTitles' => ['SHA256' => 'SHA256', 'SM3' => '国密SM3'],
'example' => 'SHA256',
- 'enum' => [
- 'SHA256',
- 'SM3',
- ],
+ 'enum' => ['SHA256', 'SM3'],
],
],
[
@@ -10026,26 +5306,15 @@
'description' => 'Review result.',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'all' => '所有结果',
- 'risky' => '检出有风险结果',
- ],
+ 'enumValueTitles' => ['all' => '所有结果', 'risky' => '检出有风险结果'],
'example' => 'all',
- 'enum' => [
- 'risky',
- 'all',
- ],
+ 'enum' => ['risky', 'all'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10055,18 +5324,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10077,13 +5336,8 @@
],
'DeleteCallback' => [
'summary' => 'delete callback',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10095,31 +5349,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220529',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => 'callback id.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1480',
- ],
+ 'schema' => ['description' => 'callback id.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1480'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10129,17 +5370,8 @@
'description' => 'Response body',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Returned data.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => 'Returned data.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10149,13 +5381,8 @@
],
'ModifyCallback' => [
'summary' => 'Modify Message Notification',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10167,41 +5394,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '220533',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Primary key ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '112',
- ],
+ 'schema' => ['description' => 'Primary key ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '112'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '回调通知',
- ],
+ 'schema' => ['description' => 'Name.', 'type' => 'string', 'required' => false, 'example' => '回调通知'],
],
[
'name' => 'Url',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Callback URL.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://www.aliyuncs.com',
- ],
+ 'schema' => ['description' => 'Callback URL.', 'type' => 'string', 'required' => false, 'example' => 'https://www.aliyuncs.com'],
],
[
'name' => 'CryptType',
@@ -10211,10 +5420,7 @@
'type' => 'string',
'required' => false,
'example' => 'SHA256',
- 'enum' => [
- 'SHA256',
- 'SM3',
- ],
+ 'enum' => ['SHA256', 'SM3'],
],
],
[
@@ -10225,21 +5431,13 @@
'type' => 'string',
'required' => false,
'example' => 'all',
- 'enum' => [
- 'risky',
- 'all',
- ],
+ 'enum' => ['risky', 'all'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10249,17 +5447,8 @@
'description' => 'Response body.',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -10270,14 +5459,8 @@
],
'AddAnswerSample' => [
'summary' => '添加代答样本',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10289,50 +5472,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222579',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alxxxx'],
],
[
'name' => 'Samples',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'name' => 'SampleObject',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'data/xxx.xlsx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'data/xxx.xlsx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10342,88 +5503,30 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
'Result' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
- 'I18nKey' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '534',
- ],
- 'SuccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '318',
- ],
- 'RepeatCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '98',
- ],
- 'InvalidCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '118',
- ],
+ 'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
+ 'I18nKey' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '534'],
+ 'SuccessCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '318'],
+ 'RepeatCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '98'],
+ 'InvalidCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '118'],
'RepeatSamples' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => ''],
],
'IllegalLengthSamples' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -10435,14 +5538,8 @@
],
'CreateAnswerLib' => [
'summary' => '创建代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10454,60 +5551,33 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222574',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'name' => 'Samples',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'name' => 'SampleObject',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'data/xxx.xlsx'."\n",
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'data/xxx.xlsx'."\n"],
],
[
'name' => 'SampleBucket',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-cip-shanghai'."\n",
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'oss-cip-shanghai'."\n"],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10517,88 +5587,30 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'."\n"],
'Result' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Progress' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAaaaxxx-xxx',
- ],
- 'I18nKey' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAaaaxxx-xxx'],
+ 'I18nKey' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatSamples' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => ''],
],
'IllegalLengthSamples' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -10610,14 +5622,8 @@
],
'ExportAnswerSample' => [
'summary' => '导出代答答案',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10629,30 +5635,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222966',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10662,17 +5656,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'Data' => ['description' => '', 'type' => 'string', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -10681,14 +5666,8 @@
],
'QueryAnswerSampleByPage' => [
'summary' => '分页查询代答样本',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10700,52 +5679,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222578',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'Answer',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -10755,22 +5710,13 @@
'description' => '',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'example' => '{}',
- 'description' => '',
- ],
+ 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => ''],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10780,30 +5726,10 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '58',
- ],
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '58'],
+ 'PageSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => '',
'type' => 'array',
@@ -10811,32 +5737,11 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '104813*****2399',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'custom_xxxx',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1666',
- ],
- 'Answer' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'GmtCreate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-31 06:16:06',
- ],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '104813*****2399'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'custom_xxxx'],
+ 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1666'],
+ 'Answer' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'GmtCreate' => ['description' => '', 'type' => 'string', 'example' => '2023-07-31 06:16:06'],
],
],
],
@@ -10848,14 +5753,8 @@
],
'DeleteAnswerSample' => [
'summary' => '删除代答答案',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10867,40 +5766,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222581',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'Ids',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[15463605]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[15463605]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10910,17 +5792,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -10929,14 +5802,8 @@
],
'ListAnswerLib' => [
'summary' => '代答库列表',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10949,20 +5816,13 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222576',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -10978,41 +5838,15 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Uid' => [
- 'description' => 'UID。',
- 'type' => 'string',
- 'example' => '1643953****74290',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxx',
- ],
- 'LibName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'AnswerCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'GmtModified' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2024-06-03 18:15:01',
- ],
+ 'Uid' => ['description' => 'UID。', 'type' => 'string', 'example' => '1643953****74290'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxx'],
+ 'LibName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'AnswerCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'GmtModified' => ['description' => '', 'type' => 'string', 'example' => '2024-06-03 18:15:01'],
],
],
],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11021,14 +5855,8 @@
],
'ModifyAnswerLib' => [
'summary' => '更新代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11040,40 +5868,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222575',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom_xxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'custom_xxxx'],
],
[
'name' => 'LibName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11083,17 +5894,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11102,14 +5904,8 @@
],
'DeleteAnswerLib' => [
'summary' => '删除代答库',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11121,30 +5917,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222577',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'LibId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alxxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alxxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11154,17 +5938,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11173,14 +5948,8 @@
],
'GetAnswerImportProgress' => [
'summary' => '获取代答样本导入进度',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11192,30 +5961,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '222580',
- 'abilityTreeNodes' => [
- 'FEATURElvwang8G4HBD',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang8G4HBD'],
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alAxbbxxxx-xxx',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'alAxbbxxxx-xxx'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11225,79 +5982,25 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'Progress' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'LibId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alxxxx',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'alAxbbxxxx-xxx',
- ],
- 'I18nKey' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Tips' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'Progress' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => 'alxxxx'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'alAxbbxxxx-xxx'],
+ 'I18nKey' => ['description' => '', 'type' => 'string', 'example' => 'xxx'],
+ 'Tips' => ['description' => '', 'type' => 'string', 'example' => 'xxxxx'],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RepeatSamples' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => ''],
],
'IllegalLengthSamples' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'items' => ['description' => '', 'type' => 'string', 'example' => ''],
],
],
],
@@ -11307,13 +6010,8 @@
],
'UpdateOssCheckResultsFeedBack' => [
'summary' => 'oss结果反馈',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11325,61 +6023,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232690',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'QueryRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
[
'name' => 'Feedback',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'misreport',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'misreport'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'baselineCheck',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_7SCUK8',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'P_7SCUK8'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11389,17 +6060,8 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -11408,13 +6070,8 @@
],
'UpdateOssCheckResultsFreeze' => [
'summary' => '批量冻结任务',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11427,78 +6084,44 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232687',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_15BU42',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'P_15BU42'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-21 16:08:38',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-21 16:08:38',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'],
],
[
'name' => 'FreezeItems',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'FreezeType',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACL',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ACL'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'FreezeRestorePath',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -11508,40 +6131,15 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
'Data' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'SuccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'RepeatCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'SuccessCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'RepeatCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -11552,13 +6150,8 @@
],
'GetOssCheckFreezeResult' => [
'summary' => 'Query OSS freeze result',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11571,84 +6164,43 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232685',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Start time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-01-09 10:28:54',
- ],
+ 'schema' => ['description' => 'Start time.', 'type' => 'string', 'required' => false, 'example' => '2025-01-09 10:28:54'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'End time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-05-19 10:05:11',
- ],
+ 'schema' => ['description' => 'End time.', 'type' => 'string', 'required' => false, 'example' => '2025-05-19 10:05:11'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'Task status.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Task status.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'FinishNum',
'in' => 'query',
- 'schema' => [
- 'description' => 'Number of completed tasks.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => 'Number of completed tasks.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => 'Query condition.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}',
- ],
+ 'schema' => ['description' => 'Query condition.', 'type' => 'string', 'required' => false, 'example' => '{\\"TaskId\\":\\"P_O3SI0I\\"}'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Sort',
@@ -11658,22 +6210,13 @@
'description' => 'Sort field.',
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '排序字段。',
- 'example' => '{\\"GmtCreate\\":\\"desc\\"}',
- ],
+ 'additionalProperties' => ['type' => 'string', 'description' => '排序字段。', 'example' => '{\\"GmtCreate\\":\\"desc\\"}'],
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -11683,30 +6226,10 @@
'description' => 'PortalResponse<PageResponse<OssStockResultVO>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
- ],
- 'TotalCount' => [
- 'description' => 'Total count.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '29',
- ],
- 'PageSize' => [
- 'description' => 'Page size.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page number.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'Backend-assigned ID, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823'],
+ 'TotalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '29'],
+ 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Items' => [
'description' => 'Data of the current page.',
'type' => 'array',
@@ -11714,174 +6237,58 @@
'description' => 'Data of the current page.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'Storage space.',
- 'type' => 'string',
- 'example' => 'tmp',
- ],
- 'JobName' => [
- 'description' => 'Job name.',
- 'type' => 'string',
- 'example' => 'dhT20X2310',
- ],
- 'Object' => [
- 'description' => 'Object name.',
- 'type' => 'string',
- 'example' => '1713014531569_958.png.jpeg',
- ],
- 'Md5' => [
- 'description' => 'File\'s MD5.',
- 'type' => 'string',
- 'example' => '54416c9b159df4a60ae03c04ccb94cb5',
- ],
- 'ServiceCode' => [
- 'description' => 'Service code.',
- 'type' => 'string',
- 'example' => 'audio_media_detection_01',
- ],
- 'Code' => [
- 'description' => 'Error code, consistent with HTTP status.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Msg' => [
- 'description' => 'Further description of the error code.',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'Bucket' => ['description' => 'Storage space.', 'type' => 'string', 'example' => 'tmp'],
+ 'JobName' => ['description' => 'Job name.', 'type' => 'string', 'example' => 'dhT20X2310'],
+ 'Object' => ['description' => 'Object name.', 'type' => 'string', 'example' => '1713014531569_958.png.jpeg'],
+ 'Md5' => ['description' => 'File\'s MD5.', 'type' => 'string', 'example' => '54416c9b159df4a60ae03c04ccb94cb5'],
+ 'ServiceCode' => ['description' => 'Service code.', 'type' => 'string', 'example' => 'audio_media_detection_01'],
+ 'Code' => ['description' => 'Error code, consistent with HTTP status.', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => 'Further description of the error code.', 'type' => 'string', 'example' => 'success'],
'Labels' => [
'description' => 'Image labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Image labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
+ 'items' => ['description' => 'Image labels.', 'type' => 'string', 'example' => 'nonLabel'],
],
'Labels2' => [
'description' => 'Text labels.',
'type' => 'array',
- 'items' => [
- 'description' => 'Text labels.',
- 'type' => 'string',
- 'example' => 'nonLabel',
- ],
- ],
- 'ScanResult' => [
- 'description' => 'Details of the result.',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'ImageUrl' => [
- 'description' => 'Image URL address.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.jpg',
- ],
- 'Url' => [
- 'description' => 'Task URL.',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'TaskId' => [
- 'description' => 'Task ID.',
- 'type' => 'string',
- 'example' => 'P_BT3FHS',
- ],
- 'ServiceName' => [
- 'description' => 'Service name.',
- 'type' => 'string',
- 'example' => '服务名称',
- ],
- 'IsCopy' => [
- 'description' => 'Whether to copy.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CopyFrom' => [
- 'description' => 'Primary service.',
- 'type' => 'string',
- 'example' => 'audio_media_detection',
- ],
- 'ContentType' => [
- 'description' => 'Audio and video detection type.',
- 'type' => 'string',
- 'example' => 'audio',
- ],
- 'RiskLevel0' => [
- 'description' => 'Overall risk level.',
- 'type' => 'string',
- 'example' => 'low',
- ],
- 'RiskLevel' => [
- 'description' => 'Image risk level.',
- 'type' => 'string',
- 'example' => 'high',
- ],
- 'RiskLevel2' => [
- 'description' => 'Text risk level.',
- 'type' => 'string',
- 'example' => 'none',
- ],
- 'FreezeType' => [
- 'description' => 'Freeze type.',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeStatus' => [
- 'description' => 'Freeze status.',
- 'type' => 'string',
- 'example' => 'FREEZED',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823',
- ],
- 'Freeze' => [
- 'description' => 'Whether frozen.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'items' => ['description' => 'Text labels.', 'type' => 'string', 'example' => 'nonLabel'],
+ ],
+ 'ScanResult' => ['description' => 'Details of the result.', 'type' => 'string', 'example' => '{}'],
+ 'ImageUrl' => ['description' => 'Image URL address.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.jpg'],
+ 'Url' => ['description' => 'Task URL.', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'TaskId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'P_BT3FHS'],
+ 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称'],
+ 'IsCopy' => ['description' => 'Whether to copy.', 'type' => 'boolean', 'example' => 'true'],
+ 'CopyFrom' => ['description' => 'Primary service.', 'type' => 'string', 'example' => 'audio_media_detection'],
+ 'ContentType' => ['description' => 'Audio and video detection type.', 'type' => 'string', 'example' => 'audio'],
+ 'RiskLevel0' => ['description' => 'Overall risk level.', 'type' => 'string', 'example' => 'low'],
+ 'RiskLevel' => ['description' => 'Image risk level.', 'type' => 'string', 'example' => 'high'],
+ 'RiskLevel2' => ['description' => 'Text risk level.', 'type' => 'string', 'example' => 'none'],
+ 'FreezeType' => ['description' => 'Freeze type.', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeStatus' => ['description' => 'Freeze status.', 'type' => 'string', 'example' => 'FREEZED'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'F0A594BB-FA7A-580F-AE9E-A4188E092823'],
+ 'Freeze' => ['description' => 'Whether frozen.', 'type' => 'boolean', 'example' => 'true'],
'Feedback' => [
'description' => 'Feedback.',
'type' => 'string',
- 'enumValueTitles' => [
- 'misreport' => '未违规误报',
- 'missOut' => '违规漏过',
- ],
+ 'enumValueTitles' => ['misreport' => '未违规误报', 'missOut' => '违规漏过'],
'example' => 'misreport',
],
'ManualFreezeAction' => [
'description' => 'Manual disposal status.',
'type' => 'string',
- 'enumValueTitles' => [
- 'FREEZE' => '冻结',
- 'UNFREEZE' => '解冻',
- ],
+ 'enumValueTitles' => ['FREEZE' => '冻结', 'UNFREEZE' => '解冻'],
'example' => 'FREEZE',
],
'SysDisposalStatus' => [
'description' => 'System disposal status.',
'type' => 'string',
- 'enumValueTitles' => [
- 'FREEZING' => '冻结中',
- 'FREEZED' => '已冻结',
- 'UNFREEZED' => '已解冻',
- 'NONE' => '未操作',
- 'UNFREEZING' => '解冻中',
- ],
+ 'enumValueTitles' => ['FREEZING' => '冻结中', 'FREEZED' => '已冻结', 'UNFREEZED' => '已解冻', 'NONE' => '未操作', 'UNFREEZING' => '解冻中'],
'example' => 'FREEZED',
],
- 'ManualOperateTime' => [
- 'description' => 'Disposal time.',
- 'type' => 'string',
- 'example' => '2025-08-09 12:00:00',
- ],
- 'ManualOperator' => [
- 'description' => 'Operator.',
- 'type' => 'string',
- 'example' => 'xx',
- ],
+ 'ManualOperateTime' => ['description' => 'Disposal time.', 'type' => 'string', 'example' => '2025-08-09 12:00:00'],
+ 'ManualOperator' => ['description' => 'Operator.', 'type' => 'string', 'example' => 'xx'],
'LabelDetails' => [
'description' => 'Labels.',
'type' => 'array',
@@ -11889,22 +6296,9 @@
'description' => 'Labels.',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'Label.',
- 'type' => 'string',
- 'example' => 'politics',
- ],
- 'Description' => [
- 'description' => 'Label description.',
- 'type' => 'string',
- 'example' => '涉政',
- ],
- 'Confidence' => [
- 'description' => 'Confidence.',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '50',
- ],
+ 'Label' => ['description' => 'Label.', 'type' => 'string', 'example' => 'politics'],
+ 'Description' => ['description' => 'Label description.', 'type' => 'string', 'example' => '涉政'],
+ 'Confidence' => ['description' => 'Confidence.', 'type' => 'number', 'format' => 'float', 'example' => '50'],
],
],
],
@@ -11921,13 +6315,8 @@
],
'UpdateOssCheckResultsUnfreeze' => [
'summary' => '批量解冻任务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11939,61 +6328,34 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232689',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_B6YRVD',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'P_B6YRVD'],
],
[
'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-08-21 16:08:38',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2023-08-21 16:08:38'],
],
[
'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-10-21 16:08:38',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '2023-10-21 16:08:38'],
],
[
'name' => 'FreezeItems',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -12007,37 +6369,13 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InvalidCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
],
],
],
@@ -12046,12 +6384,8 @@
],
'DeleteOnlineTest' => [
'summary' => 'Delete online test',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12061,32 +6395,19 @@
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '260298',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => 'Resource type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => 'Resource type.', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Region ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -12096,17 +6417,8 @@
'description' => 'PortalResponse<Boolean>',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => 'The data returned.'."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'The request ID.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
+ 'Data' => ['description' => 'The data returned.'."\n", 'type' => 'boolean', 'example' => 'True'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
],
],
],
@@ -12116,12 +6428,8 @@
],
'CreateOnlineTest' => [
'summary' => 'Online Test',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12131,54 +6439,29 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '259357',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => 'Resource Type',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'video',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => 'Resource Type', 'type' => 'string', 'required' => false, 'example' => 'video'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'title' => '服务编码',
- 'description' => 'Service Code',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoModeration',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => 'Service Code', 'type' => 'string', 'required' => false, 'example' => 'VideoModeration'],
],
[
'name' => 'Url',
'in' => 'query',
- 'schema' => [
- 'title' => '检测地址',
- 'description' => 'Detection URL',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://xxxxxxxxxx.com/data/data.png',
- ],
+ 'schema' => ['title' => '检测地址', 'description' => 'Detection URL', 'type' => 'string', 'required' => false, 'example' => 'https://xxxxxxxxxx.com/data/data.png'],
],
[
'name' => 'DataId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Data ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxxxx',
- ],
+ 'schema' => ['description' => 'Data ID', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxx'],
],
],
'responses' => [
@@ -12188,34 +6471,11 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => 'Detection Task ID',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'TaskStatus' => [
- 'title' => '检测状态',
- 'description' => 'Detection Status',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Url' => [
- 'description' => 'Detection URL',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxxxx.com/data/data.png',
- ],
- 'ServiceCode' => [
- 'description' => 'Service Code',
- 'type' => 'string',
- 'example' => 'VideoModeration',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => 'ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'TaskId' => ['title' => '检测任务id', 'description' => 'Detection Task ID', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'TaskStatus' => ['title' => '检测状态', 'description' => 'Detection Status', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Url' => ['description' => 'Detection URL', 'type' => 'string', 'example' => 'https://xxxxxxxxxx.com/data/data.png'],
+ 'ServiceCode' => ['description' => 'Service Code', 'type' => 'string', 'example' => 'VideoModeration'],
],
],
],
@@ -12226,12 +6486,8 @@
],
'StopOnlineTest' => [
'summary' => '停止在线测试',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12241,44 +6497,24 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '259538',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'title' => '服务编码',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoModeration',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoModeration'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'title' => '检测taskId',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'schema' => ['title' => '检测taskId', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxxx'],
],
],
'responses' => [
@@ -12288,34 +6524,11 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'TaskStatus' => [
- 'title' => '检测状态',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxx.com/data/data.png',
- ],
- 'ServiceCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'VideoModeration',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TaskId' => ['title' => '检测任务id', 'description' => '', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'TaskStatus' => ['title' => '检测状态', 'description' => '', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Url' => ['description' => '', 'type' => 'string', 'example' => 'https://xxxxxxxx.com/data/data.png'],
+ 'ServiceCode' => ['description' => '', 'type' => 'string', 'example' => 'VideoModeration'],
],
],
],
@@ -12324,13 +6537,8 @@
],
'DescribeOnlineTestResult' => [
'summary' => '查询在线测试结果',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12340,44 +6548,24 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '259358',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'title' => '服务编码',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VideoModeration',
- ],
+ 'schema' => ['title' => '服务编码', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'VideoModeration'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'title' => '检测taskId',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxx-xxxxx',
- ],
+ 'schema' => ['title' => '检测taskId', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxxx'],
],
],
'responses' => [
@@ -12387,48 +6575,17 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n",
- ],
- 'TaskId' => [
- 'title' => '检测任务id',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxxx-xxxxx',
- ],
- 'TaskStatus' => [
- 'title' => '检测状态',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'Url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxxx.com/data/data.png',
- ],
- 'ServiceCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'VideoModeration',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'TaskId' => ['title' => '检测任务id', 'description' => '', 'type' => 'string', 'example' => 'xxxxx-xxxxx'],
+ 'TaskStatus' => ['title' => '检测状态', 'description' => '', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'Url' => ['description' => '', 'type' => 'string', 'example' => 'https://xxxxxxxxx.com/data/data.png'],
+ 'ServiceCode' => ['description' => '', 'type' => 'string', 'example' => 'VideoModeration'],
'FrameData' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://xxxxxxxxx.com/data/data.mp4',
- ],
- 'TimeStamp' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1725761005419',
- ],
+ 'Url' => ['description' => '', 'type' => 'string', 'example' => 'https://xxxxxxxxx.com/data/data.mp4'],
+ 'TimeStamp' => ['description' => '', 'type' => 'string', 'example' => '1725761005419'],
],
],
'SummaryList' => [
@@ -12438,54 +6595,24 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'video',
- ],
- 'SliceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RiskLevel' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'high',
- ],
+ 'ResourceType' => ['description' => '', 'type' => 'string', 'example' => 'video'],
+ 'SliceCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RiskLevel' => ['description' => '', 'type' => 'string', 'example' => 'high'],
'RiskLevelSummary' => [
'description' => '',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'description' => '',
- 'example' => '0',
- ],
+ 'additionalProperties' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'example' => '0'],
],
],
],
],
- 'ModerationTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1725761005419',
- ],
- 'RiskLevel' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'high',
- ],
+ 'ModerationTime' => ['description' => '', 'type' => 'string', 'example' => '1725761005419'],
+ 'RiskLevel' => ['description' => '', 'type' => 'string', 'example' => 'high'],
'AudioData' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'TimeStamp' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1724378510396',
- ],
+ 'TimeStamp' => ['description' => '', 'type' => 'string', 'example' => '1724378510396'],
],
],
],
@@ -12496,13 +6623,8 @@
],
'GetUploadLink' => [
'summary' => '获取上传链接',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12512,21 +6634,14 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '259304',
- 'abilityTreeNodes' => [
- 'FEATURElvwang78REFZ',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang78REFZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'UploadUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://www.aliyuncs.com/test.mp3'],
],
],
'responses' => [
@@ -12536,17 +6651,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'http://www.aliyuncs.com/test.mp3',
- ],
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35',
- ],
+ 'Data' => ['description' => '', 'type' => 'string', 'example' => 'http://www.aliyuncs.com/test.mp3'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'E37E2B77-A664-5278-8219-23BBC0EB2A35'],
],
],
],
@@ -12556,13 +6662,8 @@
'LlmStreamChat' => [
'summary' => 'Use SSE interface to stream large model calls',
'path' => '/portal/llm/streamChat',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'sse',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
@@ -12574,9 +6675,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwangXYAQ5C',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangXYAQ5C'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -12584,53 +6683,27 @@
[
'name' => 'Messages',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Conversation information',
- 'type' => 'any',
- 'required' => false,
- 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]',
- ],
+ 'schema' => ['description' => 'Conversation information', 'type' => 'any', 'required' => false, 'example' => '[{\\"content\\":\\"你好\\",\\"role\\":\\"user\\"}]'],
],
[
'name' => 'Temperature',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Temperature value for the large model',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['description' => 'Temperature value for the large model', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5'],
],
[
'name' => 'TopP',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Top p parameter controlling the randomness of the large model\'s output.',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['description' => 'Top p parameter controlling the randomness of the large model\'s output.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5'],
],
[
'name' => 'Type',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Type of conversation',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'image',
- ],
+ 'schema' => ['description' => 'Type of conversation', 'type' => 'string', 'required' => false, 'example' => 'image'],
],
[
'name' => 'Channel',
'in' => 'formData',
- 'schema' => [
- 'title' => 'channel',
- 'type' => 'string',
- 'example' => 'guardCustomTest',
- ],
+ 'schema' => ['title' => 'channel', 'type' => 'string', 'example' => 'guardCustomTest'],
],
],
'responses' => [
@@ -12640,11 +6713,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Usage' => [
- 'description' => 'Token usage',
- 'type' => 'string',
- 'example' => 'null',
- ],
+ 'Usage' => ['description' => 'Token usage', 'type' => 'string', 'example' => 'null'],
'Choices' => [
'description' => 'List of model generation results',
'type' => 'array',
@@ -12656,114 +6725,45 @@
'description' => 'Incremental content object',
'type' => 'object',
'properties' => [
- 'Role' => [
- 'description' => 'Role identifier',
- 'type' => 'string',
- 'example' => 'assistant',
- ],
- 'Content' => [
- 'description' => 'Real-time generated text content',
- 'type' => 'string',
- 'example' => '我是Deepseek-V3,有什么可以帮你',
- ],
+ 'Role' => ['description' => 'Role identifier', 'type' => 'string', 'example' => 'assistant'],
+ 'Content' => ['description' => 'Real-time generated text content', 'type' => 'string', 'example' => '我是Deepseek-V3,有什么可以帮你'],
],
],
- 'Logprobs' => [
- 'description' => 'Token probability information',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Index' => [
- 'description' => 'Stream sequence number',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'FinishReason' => [
- 'description' => 'For streaming output, it is null while generating and becomes \'stop\' if the generation ends due to a stop token.',
- 'type' => 'string',
- 'example' => 'stop',
- ],
+ 'Logprobs' => ['description' => 'Token probability information', 'type' => 'string', 'example' => 'null'],
+ 'Index' => ['description' => 'Stream sequence number', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'FinishReason' => ['description' => 'For streaming output, it is null while generating and becomes \'stop\' if the generation ends due to a stop token.', 'type' => 'string', 'example' => 'stop'],
],
],
],
- 'Model' => [
- 'description' => 'Model identifier',
- 'type' => 'string',
- 'example' => 'deepseek-v3',
- ],
- 'SystemFingerprint' => [
- 'description' => 'System fingerprint',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Object' => [
- 'description' => 'Response type',
- 'type' => 'string',
- 'example' => 'chat.completion.chunk',
- ],
- 'Id' => [
- 'description' => 'Unique ID for this session',
- 'type' => 'string',
- 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f',
- ],
- 'Created' => [
- 'description' => 'Timestamp of session creation',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1750990728',
- ],
- 'RequestId' => [
- 'description' => 'Unique request ID',
- 'type' => 'string',
- 'example' => '21d296d6-594e-97de-812f-925ec6e05673',
- ],
+ 'Model' => ['description' => 'Model identifier', 'type' => 'string', 'example' => 'deepseek-v3'],
+ 'SystemFingerprint' => ['description' => 'System fingerprint', 'type' => 'string', 'example' => 'null'],
+ 'Object' => ['description' => 'Response type', 'type' => 'string', 'example' => 'chat.completion.chunk'],
+ 'Id' => ['description' => 'Unique ID for this session', 'type' => 'string', 'example' => 'chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f'],
+ 'Created' => ['description' => 'Timestamp of session creation', 'type' => 'integer', 'format' => 'int64', 'example' => '1750990728'],
+ 'RequestId' => ['description' => 'Unique request ID', 'type' => 'string', 'example' => '21d296d6-594e-97de-812f-925ec6e05673'],
'Error' => [
'description' => 'Streaming response error information content',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Error code',
- 'type' => 'string',
- 'example' => 'data_inspection_failed',
- ],
- 'Message' => [
- 'description' => 'Error message',
- 'type' => 'string',
- 'example' => 'Input data may contain inappropriate content.',
- ],
- 'Param' => [
- 'description' => 'Parameter that caused the error',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Type' => [
- 'description' => 'Error type',
- 'type' => 'string',
- 'example' => 'data_inspection_failed',
- ],
+ 'Code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'data_inspection_failed'],
+ 'Message' => ['description' => 'Error message', 'type' => 'string', 'example' => 'Input data may contain inappropriate content.'],
+ 'Param' => ['description' => 'Parameter that caused the error', 'type' => 'string', 'example' => 'null'],
+ 'Type' => ['description' => 'Error type', 'type' => 'string', 'example' => 'data_inspection_failed'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Usage\\": \\"null\\",\\n \\"Choices\\": [\\n {\\n \\"Delta\\": {\\n \\"Role\\": \\"assistant\\",\\n \\"Content\\": \\"我是Deepseek-V3,有什么可以帮你\\"\\n },\\n \\"Logprobs\\": \\"null\\",\\n \\"Index\\": 0,\\n \\"FinishReason\\": \\"stop\\"\\n }\\n ],\\n \\"Model\\": \\"deepseek-v3\\",\\n \\"SystemFingerprint\\": \\"null\\",\\n \\"Object\\": \\"chat.completion.chunk\\",\\n \\"Id\\": \\"chatcmpl-777bce52-93d3-9f8c-89c3-e99884f4f57f\\",\\n \\"Created\\": 1750990728,\\n \\"RequestId\\": \\"21d296d6-594e-97de-812f-925ec6e05673\\",\\n \\"Error\\": {\\n \\"Code\\": \\"data_inspection_failed\\",\\n \\"Message\\": \\"Input data may contain inappropriate content.\\",\\n \\"Param\\": \\"null\\",\\n \\"Type\\": \\"data_inspection_failed\\"\\n }\\n}","type":"json"}]',
'title' => 'Large Model Streaming Conversation Forwarding Interface',
'translator' => 'machine',
],
'GetOssCheckTaskInfo' => [
'summary' => '查询oss扫描任务详情',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -12775,20 +6775,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwang2EQZ93',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwang2EQZ93'],
],
'parameters' => [
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_AAA**',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'P_AAA**'],
],
],
'responses' => [
@@ -12798,143 +6791,41 @@
'description' => '{@link PortalResponse<OssCheckTaskVO>}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'xxxx-xxx'."\n",
- ],
- 'TaskName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Buckets' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]',
- ],
- 'Status' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'Success',
- ],
- 'StartTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-08-21 16:08:38'."\n",
- ],
- 'EndTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-07-09 10:30:00',
- ],
- 'SearchNum' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'FinishNum' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '56',
- ],
- 'MediaType' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TaskId' => ['description' => '', 'type' => 'string', 'example' => 'xxxx-xxx'."\n"],
+ 'TaskName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Buckets' => ['description' => '', 'type' => 'string', 'example' => '[{\\"Bucket\\":\\"aileshijie\\",\\"Region\\":\\"cn-hangzhou\\"}]'],
+ 'Status' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => 'Success'],
+ 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '2023-08-21 16:08:38'."\n"],
+ 'EndTime' => ['description' => '', 'type' => 'string', 'example' => '2025-07-09 10:30:00'],
+ 'SearchNum' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'FinishNum' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '56'],
+ 'MediaType' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Config' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'ScanNoFileType' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ScanNoFileType' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
'ScanService' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss_baselineCheck',
- ],
- ],
- 'DistinctHistoryTasks' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'StartTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-08-21 16:08:38'."\n",
- ],
- 'EndTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-07-09 10:30:00',
- ],
- 'ScanLimit' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PrefixFilterType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'all',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss_baselineCheck'],
],
+ 'DistinctHistoryTasks' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'StartTime' => ['description' => '', 'type' => 'string', 'example' => '2023-08-21 16:08:38'."\n"],
+ 'EndTime' => ['description' => '', 'type' => 'string', 'example' => '2025-07-09 10:30:00'],
+ 'ScanLimit' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PrefixFilterType' => ['description' => '', 'type' => 'string', 'example' => 'all'],
'PrefixFilters' => [
'description' => '',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ugc/img',
- ],
- ],
- 'Priority' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TaskCycle' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ExecuteDate' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ExecuteTime' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-07-09 10:30:00'."\n",
- ],
- 'ScanResourceType' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'ugc/img'],
],
+ 'Priority' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TaskCycle' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ExecuteDate' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ExecuteTime' => ['description' => '', 'type' => 'string', 'example' => '2025-07-09 10:30:00'."\n"],
+ 'ScanResourceType' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'ScanServiceInfos' => [
'description' => '',
'type' => 'array',
@@ -12942,89 +6833,28 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'IsCopy' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ServiceCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss_baselineCheck',
- ],
- 'ServiceName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'CopyFrom' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss_baselineCheck',
- ],
+ 'IsCopy' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
+ 'ServiceCode' => ['description' => '', 'type' => 'string', 'example' => 'oss_baselineCheck'],
+ 'ServiceName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'CopyFrom' => ['description' => '', 'type' => 'string', 'example' => 'oss_baselineCheck'],
],
],
],
- 'CallbackId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '188',
- ],
- 'Freeze' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeHighRisk1' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk1' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeHighRisk2' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'FreezeMediumRisk2' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'FreezeRestorePath' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Referer' => [
- 'description' => 'Referer。',
- 'type' => 'string',
- 'example' => 'https://www.aliyun.com/',
- ],
+ 'CallbackId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '188'],
+ 'Freeze' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeType' => ['description' => '', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeHighRisk1' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk1' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeHighRisk2' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'FreezeMediumRisk2' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
+ 'FreezeRestorePath' => ['description' => '', 'type' => 'string', 'example' => 'test'],
+ 'Referer' => ['description' => 'Referer。', 'type' => 'string', 'example' => 'https://www.aliyun.com/'],
'UserFreezeConfig' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'FreezeType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ACL',
- ],
- 'FreezeRestorePath' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'FreezeType' => ['description' => '', 'type' => 'string', 'example' => 'ACL'],
+ 'FreezeRestorePath' => ['description' => '', 'type' => 'string', 'example' => 'test'],
],
],
'BucketPrefixFilterConfig' => [
@@ -13032,46 +6862,21 @@
'additionalProperties' => [
'type' => 'object',
'properties' => [
- 'PrefixFilterType' => [
- 'type' => 'string',
- ],
+ 'PrefixFilterType' => ['type' => 'string'],
'PrefixFilters' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
],
],
],
- 'ObjectNum' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'IsInc' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'TaskType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'increment',
- ],
- 'LastExecuteDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-07-09 10:30:00'."\n",
- ],
- 'NextExecuteDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2025-07-08 10:30:00'."\n",
- ],
+ 'ObjectNum' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'IsInc' => ['description' => '', 'type' => 'boolean', 'example' => 'false'],
+ 'TaskType' => ['description' => '', 'type' => 'string', 'example' => 'increment'],
+ 'LastExecuteDate' => ['description' => '', 'type' => 'string', 'example' => '2025-07-09 10:30:00'."\n"],
+ 'NextExecuteDate' => ['description' => '', 'type' => 'string', 'example' => '2025-07-08 10:30:00'."\n"],
],
],
],
@@ -13080,13 +6885,8 @@
],
'UpdateOssCheckResultsBatchFeedback' => [
'summary' => '批量反馈任务',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -13098,40 +6898,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElvwangJ85HXA',
- ],
+ 'abilityTreeNodes' => ['FEATURElvwangJ85HXA'],
],
'parameters' => [
[
'name' => 'ParentTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P_XHDUS',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'P_XHDUS'],
],
[
'name' => 'Items',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[]'],
],
[
'name' => 'Feedback',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'misreport',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'misreport'],
],
],
'responses' => [
@@ -13141,64 +6924,219 @@
'description' => '{@link PortalResponse}',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SuccessCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'RepeatCount' => [
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'],
+ 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SuccessCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'RepeatCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InvalidCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Tips' => ['description' => '', 'type' => 'string', 'example' => 'xxxxx'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"Tips\\": \\"xxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'GetPromptTestResult' => [
+ 'summary' => '测试特性配置',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATURElvwangEZQESQ'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'image'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'baselineCheck'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'custom_llm_template'],
+ ],
+ [
+ 'name' => 'Config',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{\\"enable\\":false}'],
+ ],
+ [
+ 'name' => 'Text',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '{@link PortalResponse<CustomPromptTestVO>}',
+ 'description' => '{@link PortalResponse<CustomPromptTestVO>}',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Result' => [
'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Content' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'RiskLevel' => ['description' => '', 'type' => 'string', 'example' => 'high'],
+ 'LabelDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => ['description' => '', 'type' => 'string', 'example' => 'terrorism'],
+ 'Description' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'Reason' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
- 'InvalidCount' => [
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Result\\": [\\n {\\n \\"Content\\": \\"测试文本\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"LabelDetails\\": [\\n {\\n \\"Label\\": \\"terrorism\\",\\n \\"Description\\": \\"暴恐\\",\\n \\"Reason\\": \\"该文本涉及暴力恐怖信息\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'CreateImageLib' => [
+ 'summary' => '创建图库',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '159536',
+ 'abilityTreeNodes' => ['FEATURElvwangE704W7'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LibName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PortalResponse<Boolean>',
+ 'description' => 'PortalResponse<Boolean>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'LibId' => ['description' => '', 'type' => 'string', 'example' => '138xxxxx'],
+ ],
],
- 'Tips' => [
+ 'Success' => ['title' => '成功标志', 'description' => '', 'type' => 'boolean', 'example' => 'True'],
+ 'Code' => ['title' => '错误码,和http status一致', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Msg' => ['title' => '错误码的进一步描述', 'description' => '', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['title' => 'http状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'RequestId' => ['title' => '后端分配的ID,用于唯一标识一个请求。可用于定位问题', 'description' => '', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"LibId\\": \\"138xxxxx\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Msg\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'GetTuneProposalById' => [
+ 'summary' => '获取开关配置调优意见',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATURElvwangTHWXLK', 'FEATURElvwang4DJRB7', 'FEATURElvwang5OIOPT', 'FEATURElvwangCXOBXW', 'FEATURElvwang08CDRQ'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'prop-xxxxxxxx'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****'."\n"],
+ 'Code' => ['description' => '', 'type' => 'string', 'example' => '200'],
+ 'Msg' => ['description' => '', 'type' => 'string', 'example' => 'success'],
+ 'Data' => [
'description' => '',
- 'type' => 'string',
- 'example' => 'xxxxx',
+ 'type' => 'object',
+ 'properties' => [
+ 'JsonContent' => ['description' => '', 'type' => 'string', 'example' => '{"example":"xxxx"}'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\",\\n \\"TotalCount\\": 10,\\n \\"SuccessCount\\": 8,\\n \\"RepeatCount\\": 1,\\n \\"InvalidCount\\": 1,\\n \\"Tips\\": \\"xxxxx\\"\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\\\\n\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"success\\",\\n \\"Data\\": {\\n \\"JsonContent\\": \\"{\\\\\\"example\\\\\\":\\\\\\"xxxx\\\\\\"}\\"\\n }\\n}","type":"json"}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'green-cip.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'green-cip.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'green-cip.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'green-cip.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'green-cip.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'green-cip.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'green-cip.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'green-cip.cn-hangzhou.aliyuncs.com'],
],
];