summaryrefslogtreecommitdiff
path: root/data/zh_cn/safconsole/2025-05-21
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/safconsole/2025-05-21')
-rw-r--r--data/zh_cn/safconsole/2025-05-21/api-docs.php4787
1 files changed, 4787 insertions, 0 deletions
diff --git a/data/zh_cn/safconsole/2025-05-21/api-docs.php b/data/zh_cn/safconsole/2025-05-21/api-docs.php
new file mode 100644
index 0000000..a17ff8e
--- /dev/null
+++ b/data/zh_cn/safconsole/2025-05-21/api-docs.php
@@ -0,0 +1,4787 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'safconsole',
+ 'version' => '2025-05-21',
+ ],
+ 'directories' => [
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'ApplyBastionAccount',
+ 'AssociatePocTask',
+ 'CompleteModelingProject',
+ 'CreateCustomerModuleBasicInfo',
+ 'CreateCustomerModuleMetaInfo',
+ 'CreateCustomerModuleOutputInfo',
+ 'CreateModelingProject',
+ 'DeleteModel',
+ 'DeployModelFile',
+ 'DescribeCustomerModuleBasicInfo',
+ 'DescribeCustomerModuleMetaInfo',
+ 'DescribeCustomerModuleOutputInfo',
+ 'DescribeFeatureOption',
+ 'DescribeFeatureTemplateList',
+ 'DescribeFileDownloadUrl',
+ 'DescribeModelFeature',
+ 'DescribeModelingProjectDetail',
+ 'DescribeModelingProjectList',
+ 'DescribeModelOssToken',
+ 'DescribeModuleServiceExist',
+ 'DescribeModuleStatus',
+ 'DescribePocTaskList',
+ 'DescribeSafRmmpOrder',
+ 'DescribeServiceAndScene',
+ 'DescribeUserModelList',
+ 'DuplicateModel',
+ 'EditModel',
+ 'GetBastionHostCertification',
+ 'IterateModel',
+ 'OfflineModel',
+ 'OnlineModel',
+ 'ParseExpressionParameters',
+ 'PrepublishModel',
+ 'RequestModelFileSync',
+ 'RollbackModel',
+ 'TestModel',
+ 'TestPreModel',
+ 'TestProcessExpression',
+ 'UpdateModuleBasicInfo',
+ 'ValidateModelFile',
+ 'ValidateTestFile',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'ApplyBastionAccount' => [
+ 'summary' => '申请堡垒机账号。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '90912',
+ ],
+ ],
+ [
+ 'name' => 'Mobile',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '手机号',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '***',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '结果对象。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '申请堡垒机账号',
+ ],
+ 'AssociatePocTask' => [
+ 'summary' => '关联POC回溯任务。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '01',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '回溯任务ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '01',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '关联POC回溯任务',
+ ],
+ 'CompleteModelingProject' => [
+ 'summary' => '完成项目。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '01',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '返回结果,是否创建成功:'."\n"
+ .'- true:成功'."\n"
+ .'- false: 失败',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": \\"true\\",\\n \\"RequestId\\": \\"055f1546-f465-4c92-a2da-bfb86abe6f56\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '完成项目',
+ ],
+ 'CreateCustomerModuleBasicInfo' => [
+ 'summary' => '创建模型基本信息。',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模型对客展示的标识。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'module01',
+ ],
+ ],
+ [
+ 'name' => 'ModuleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模型部署类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PMML',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模型描述。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '模型描述',
+ ],
+ ],
+ [
+ 'name' => 'StorePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模型存储路径。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '结果对象。',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": \\"1\\",\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\"\\n}","type":"json"}]',
+ 'title' => '模型基本信息保存',
+ ],
+ 'CreateCustomerModuleMetaInfo' => [
+ 'summary' => '特征信息保存。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于查询系统中所有可用的特征模板。'."\n"
+ .'- 请求方式为 GET,无需提供额外参数。'."\n"
+ .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n",
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'FeatureTemplate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '特征采用版本。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'FINANCE_51' => '51维特征',
+ 'FINANCE_80' => '金融80维特征',
+ 'FINANCE_60' => '金融60维特征',
+ ],
+ 'example' => 'FINANCE_51',
+ ],
+ ],
+ [
+ 'name' => 'FeatureString',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'List<Object>的字符串,Object为以下结构:'."\n"
+ .'{'."\n"
+ .'"mappingName": "xxx"'."\n"
+ .'}',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"mappingName\\":\\"f1\\",\\"fieldName\\":\\"saf_shanghai_new.f1\\",\\"valueType\\":\\"DOUBLE\\",\\"defaultValue\\":\\"\\"}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'description' => '请求是否成功,取值如下:'."\n"
+ .'- true, 请求成功'."\n"
+ .'- false, 请求失败',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果,是否创建成功:'."\n"
+ .'- true:成功'."\n"
+ .'- false: 失败',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '特征信息保存',
+ ],
+ 'CreateCustomerModuleOutputInfo' => [
+ 'summary' => '出参信息保存。',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ProcessExpression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分数处理逻辑。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'score',
+ ],
+ ],
+ [
+ 'name' => 'FinalScoreFormat',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '保留小数位数。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'TestFileUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '测试文件地址。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'ResultObject' => [
+ 'description' => '结果对象。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"ResultObject\\": true,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '出参信息保存',
+ ],
+ 'CreateModelingProject' => [
+ 'summary' => '创建安全建模项目。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'path' => '/',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目名称',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xxx',
+ ],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '备注。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'remark',
+ ],
+ ],
+ [
+ 'name' => 'InstanceSpec',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '实例规格。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SECURE_ENV_LITE',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'description' => '项目ID',
+ 'type' => 'string',
+ 'example' => '01',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": {\\n \\"ProjectId\\": \\"01\\"\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '创建安全建模项目',
+ ],
+ 'DeleteModel' => [
+ 'summary' => '删除。',
+ 'description' => '## 请求说明'."\n"
+ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n"
+ ."\n"
+ .'- **注意**:删除操作不可逆,请谨慎使用。'."\n",
+ 'path' => '/',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '删除成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果,是否创建成功:'."\n"
+ .'- true:成功'."\n"
+ .'- false: 失败',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '删除',
+ ],
+ 'DeployModelFile' => [
+ 'summary' => '部署安全建模生成的模型。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '01',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '文件组ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '01',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": 0,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '部署安全建模生成的模型',
+ ],
+ 'DescribeCustomerModuleBasicInfo' => [
+ 'summary' => '查询模型基本信息。',
+ 'description' => '## 请求说明'."\n"
+ .'通过提供`customerModuleId`参数,可以查询指定客户模型的当前状态。状态值可能包括但不限于"EDIT"、"ONLINE"等。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'AuthType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '权限类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'READ',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求ID'."\n",
+ 'description' => '请求ID'."\n",
+ 'type' => 'string',
+ 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '获取应用配置信息是否成功。取值说明如下:true:获取成功。false:获取失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CustomerModuleName' => [
+ 'description' => '客户模型名称。',
+ 'type' => 'string',
+ 'example' => 'ModuleName',
+ ],
+ 'Description' => [
+ 'description' => '备注。',
+ 'type' => 'string',
+ 'example' => '备注。',
+ ],
+ 'InnerModuleName' => [
+ 'description' => '模型标识。',
+ 'type' => 'string',
+ 'example' => 'ModuleName',
+ ],
+ 'ModuleType' => [
+ 'description' => '模块类型。',
+ 'type' => 'string',
+ 'example' => 'PMML',
+ ],
+ 'StorePath' => [
+ 'description' => '测试地址。',
+ 'type' => 'string',
+ 'example' => 'model.pmml',
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '返回信息。',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"055f1546-f465-4c92-a2da-bfb86abe6f56\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"ResultObject\\": {\\n \\"CustomerModuleName\\": \\"ModuleName\\",\\n \\"Description\\": \\"备注。\\",\\n \\"InnerModuleName\\": \\"ModuleName\\",\\n \\"ModuleType\\": \\"PMML\\",\\n \\"StorePath\\": \\"model.pmml\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '查询模型基本信息',
+ ],
+ 'DescribeCustomerModuleMetaInfo' => [
+ 'summary' => '查询模型特征信息。',
+ 'description' => '## 请求说明'."\n"
+ .'通过提供`customerModuleId`参数,可以查询指定客户模型的当前状态。状态值可能包括但不限于"EDIT"、"ONLINE"等。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求ID'."\n",
+ 'description' => '请求ID'."\n",
+ 'type' => 'string',
+ 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FeatureList' => [
+ 'description' => '特征列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultValue' => [
+ 'description' => '特征默认值。',
+ 'type' => 'string',
+ 'example' => '0.1',
+ ],
+ 'FeatureType' => [
+ 'description' => '特征类型。',
+ 'type' => 'string',
+ 'example' => 'double',
+ ],
+ 'FeatureName' => [
+ 'description' => '特征映射名。',
+ 'type' => 'string',
+ 'example' => 'f1',
+ ],
+ 'Name' => [
+ 'description' => '特征名称。',
+ 'type' => 'string',
+ 'example' => 'f1',
+ ],
+ ],
+ ],
+ ],
+ 'FeatureTemplate' => [
+ 'description' => '特征模板。',
+ 'type' => 'string',
+ 'example' => 'FINANCE_60',
+ ],
+ ],
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"055f1546-f465-4c92-a2da-bfb86abe6f56\\",\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": {\\n \\"FeatureList\\": [\\n {\\n \\"DefaultValue\\": \\"0.1\\",\\n \\"FeatureType\\": \\"double\\",\\n \\"FeatureName\\": \\"f1\\",\\n \\"Name\\": \\"f1\\"\\n }\\n ],\\n \\"FeatureTemplate\\": \\"FINANCE_60\\"\\n },\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '查询模型特征信息',
+ ],
+ 'DescribeCustomerModuleOutputInfo' => [
+ 'summary' => '查询模型输出信息。',
+ 'description' => '## 请求说明'."\n"
+ .'通过提供`customerModuleId`参数,可以查询指定客户模型的当前状态。状态值可能包括但不限于"EDIT"、"ONLINE"等。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ [
+ 'name' => 'AuthType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '权限类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'READ',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求ID'."\n",
+ 'description' => '请求ID'."\n",
+ 'type' => 'string',
+ 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '请求是否成功,取值如下:'."\n"
+ .'- true, 请求成功'."\n"
+ .'- false, 请求失败',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FinalScoreFormat' => [
+ 'description' => '出参保留位数。',
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'ProcessExpression' => [
+ 'description' => '分数处理逻辑。',
+ 'type' => 'string',
+ 'example' => 'score',
+ ],
+ 'TestFile' => [
+ 'description' => '测试文件。',
+ 'type' => 'string',
+ 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml',
+ ],
+ ],
+ ],
+ 'Message' => [
+ 'description' => '返回信息。',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"055f1546-f465-4c92-a2da-bfb86abe6f56\\",\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": {\\n \\"FinalScoreFormat\\": \\"2\\",\\n \\"ProcessExpression\\": \\"score\\",\\n \\"TestFile\\": \\"customer/xxxxxxxxx/xxxxxxxx.pmml\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '查询模型输出信息',
+ ],
+ 'DescribeFeatureOption' => [
+ 'summary' => '根据特征模板选择获取特征对应下拉选项。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于查询系统中所有可用的特征模板。'."\n"
+ .'- 请求方式为 GET,无需提供额外参数。'."\n"
+ .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FeatureTemplate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '特征模板。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'FINANCE_51',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FeatureName' => [
+ 'description' => '特征名称。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ResultObject\\": [\\n {\\n \\"FeatureName\\": \\"xxx\\"\\n }\\n ],\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '根据特征模板选择获取特征对应下拉选项',
+ ],
+ 'DescribeFeatureTemplateList' => [
+ 'summary' => '特征模板查询。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于查询系统中所有可用的特征模板。'."\n"
+ .'- 请求方式为 GET,无需提供额外参数。'."\n"
+ .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n",
+ 'path' => '/',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'title' => '成功标志'."\n",
+ 'description' => '成功标志'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'title' => '状态码'."\n",
+ 'description' => '状态码'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Label' => [
+ 'description' => '参数标签。',
+ 'type' => 'string',
+ 'example' => '51维特征',
+ ],
+ 'Value' => [
+ 'description' => '标签取值。',
+ 'type' => 'string',
+ 'example' => 'FINANCE_51',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ResultObject\\": [\\n {\\n \\"Label\\": \\"51维特征\\",\\n \\"Value\\": \\"FINANCE_51\\"\\n }\\n ],\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '特征模板查询',
+ ],
+ 'DescribeFileDownloadUrl' => [
+ 'summary' => '获取文件下载地址。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '01',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '文件ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '01',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": \\"true\\",\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '获取文件下载地址',
+ ],
+ 'DescribeModelFeature' => [
+ 'summary' => '特征自动渲染信息。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于查询系统中所有可用的特征模板。'."\n"
+ .'- 请求方式为 GET,无需提供额外参数。'."\n"
+ .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ [
+ 'name' => 'FeatureTemplate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '特征模板。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FINANCE_51',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultValue' => [
+ 'description' => '特征默认值。',
+ 'type' => 'string',
+ 'example' => '0.1',
+ ],
+ 'FeatureType' => [
+ 'description' => '特征类型。',
+ 'type' => 'string',
+ 'example' => 'double',
+ ],
+ 'FeatureName' => [
+ 'description' => '特征映射名。',
+ 'type' => 'string',
+ 'example' => 'f1',
+ ],
+ 'Name' => [
+ 'description' => '特征名称。',
+ 'type' => 'string',
+ 'example' => 'f1',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"ResultObject\\": [\\n {\\n \\"DefaultValue\\": \\"0.1\\",\\n \\"FeatureType\\": \\"double\\",\\n \\"FeatureName\\": \\"f1\\",\\n \\"Name\\": \\"f1\\"\\n }\\n ],\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '特征自动渲染信息',
+ ],
+ 'DescribeModelingProjectDetail' => [
+ 'summary' => '安全建模项目详情。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '01',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => [
+ 'description' => '安全建模项目结束时间。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2026-02-07T02:22:30Z',
+ ],
+ 'EnvStatus' => [
+ 'description' => '安全环境状态。',
+ 'type' => 'string',
+ 'example' => 'ACTIVE',
+ ],
+ 'ManualPhase' => [
+ 'description' => '人工操作阶段。',
+ 'type' => 'string',
+ 'example' => 'INIT',
+ ],
+ 'ModelingStatus' => [
+ 'description' => '建模项目状态。',
+ 'type' => 'string',
+ 'example' => 'PREPARING',
+ ],
+ 'PocTasks' => [
+ 'description' => '关联的POC任务。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceCode' => [
+ 'description' => '服务code',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Status' => [
+ 'description' => '文件同步状态。',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'TaskName' => [
+ 'description' => '回溯任务名称。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'FileName' => [
+ 'description' => '回溯文件名称。',
+ 'type' => 'string',
+ 'example' => 'xxx.csv',
+ ],
+ ],
+ ],
+ ],
+ 'ProjectId' => [
+ 'description' => '项目ID',
+ 'type' => 'string',
+ 'example' => '01',
+ ],
+ 'ProjectName' => [
+ 'description' => '项目名称。',
+ 'type' => 'string',
+ 'example' => 'project_01',
+ ],
+ 'Remark' => [
+ 'description' => '备注信息。',
+ 'type' => 'string',
+ 'example' => 'remark',
+ ],
+ 'StartTime' => [
+ 'description' => '安全建模项目开始时间。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2025-08-13T01:09:00Z',
+ ],
+ 'SyncedFiles' => [
+ 'description' => '同步的文件。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Deployable' => [
+ 'description' => '是否支持部署。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Files' => [
+ 'description' => '建模产生的文件。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文件列表,类型为file时需要指定。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Downloadable' => [
+ 'description' => '是否可下载。',
+ 'type' => 'boolean',
+ ],
+ 'FileId' => [
+ 'description' => '文件的ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '376920',
+ ],
+ 'FileName' => [
+ 'description' => '文件名。',
+ 'type' => 'string',
+ 'example' => '融山-个贷-精催-演示-0625.json',
+ ],
+ 'Visible' => [
+ 'description' => '可见性:'."\n"
+ ."\n"
+ .'**true** : 显示'."\n"
+ ."\n"
+ .'**false**: 不显示',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ 'GroupId' => [
+ 'description' => '应用分组ID。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '56790766',
+ ],
+ 'GroupName' => [
+ 'description' => '文件组名称。',
+ 'type' => 'string',
+ 'example' => 'am',
+ ],
+ 'SyncedTime' => [
+ 'description' => '同步时间。',
+ 'type' => 'string',
+ 'example' => '1770607862000',
+ ],
+ ],
+ ],
+ ],
+ 'MachineSpec' => [
+ 'description' => '机器规格。',
+ 'type' => 'string',
+ 'example' => 'SECURE_ENV_LITE',
+ ],
+ 'LoginAccount' => [
+ 'description' => '登录账号。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": {\\n \\"EndTime\\": 0,\\n \\"EnvStatus\\": \\"ACTIVE\\",\\n \\"ManualPhase\\": \\"INIT\\",\\n \\"ModelingStatus\\": \\"PREPARING\\",\\n \\"PocTasks\\": [\\n {\\n \\"ServiceCode\\": \\"xxx\\",\\n \\"Status\\": \\"1\\",\\n \\"TaskName\\": \\"xxx\\",\\n \\"FileName\\": \\"xxx.csv\\"\\n }\\n ],\\n \\"ProjectId\\": \\"01\\",\\n \\"ProjectName\\": \\"project_01\\",\\n \\"Remark\\": \\"remark\\",\\n \\"StartTime\\": 0,\\n \\"SyncedFiles\\": [\\n {\\n \\"Deployable\\": true,\\n \\"Files\\": [\\n {\\n \\"Downloadable\\": true,\\n \\"FileId\\": 376920,\\n \\"FileName\\": \\"融山-个贷-精催-演示-0625.json\\",\\n \\"Visible\\": true\\n }\\n ],\\n \\"GroupId\\": 56790766,\\n \\"GroupName\\": \\"am\\",\\n \\"SyncedTime\\": \\"1770607862000\\"\\n }\\n ],\\n \\"MachineSpec\\": \\"SECURE_ENV_LITE\\",\\n \\"LoginAccount\\": \\"xxx\\"\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '安全建模项目详情',
+ ],
+ 'DescribeModelingProjectList' => [
+ 'summary' => '安全环境建模项目列表。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该API用于获取指定租户下的所有建模项目的概览信息。'."\n"
+ .'- 支持通过`pageSize`和`currentPage`参数进行分页查询,默认每页显示10条记录。'."\n"
+ .'- 可选地,使用`status`参数来过滤特定状态(如`active`, `released`等)的项目。'."\n"
+ .'- 返回结果中包含每个项目的ID、名称、环境状态、建模状态、开始时间及结束时间(如果有的话),以及创建该项目的登录账号。'."\n",
+ 'path' => '/',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页参数:每页显示条数,默认值10。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '当前页。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目状态。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PREPARING',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => [
+ 'description' => '安全建模项目结束时间。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2025-12-29T02:15:10Z',
+ ],
+ 'EnvStatus' => [
+ 'description' => '安全环境状态。',
+ 'type' => 'string',
+ 'example' => 'PREPARING',
+ ],
+ 'LoginAccount' => [
+ 'description' => '登录账号。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'ModelingStatus' => [
+ 'description' => '建模项目状态。',
+ 'type' => 'string',
+ 'example' => 'PREPARING',
+ ],
+ 'ProjectId' => [
+ 'description' => '项目ID。',
+ 'type' => 'string',
+ 'example' => '01',
+ ],
+ 'ProjectName' => [
+ 'description' => '项目名称。',
+ 'type' => 'string',
+ 'example' => 'project',
+ ],
+ 'StartTime' => [
+ 'description' => '安全建模项目开始时间。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2025-03-23T01:20:00Z',
+ ],
+ ],
+ ],
+ ],
+ 'TotalItem' => [
+ 'description' => '总记录数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '分页参数:每页显示条数,默认值10。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ ],
+ 'description' => '查询成功',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"ResultObject\\": [\\n {\\n \\"EndTime\\": 0,\\n \\"EnvStatus\\": \\"PREPARING\\",\\n \\"LoginAccount\\": \\"xxx\\",\\n \\"ModelingStatus\\": \\"PREPARING\\",\\n \\"ProjectId\\": \\"01\\",\\n \\"ProjectName\\": \\"project\\",\\n \\"StartTime\\": 0\\n }\\n ],\\n \\"TotalItem\\": 1,\\n \\"TotalPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\"\\n}","type":"json"}]',
+ 'title' => '安全环境建模项目列表',
+ ],
+ 'DescribeModelOssToken' => [
+ 'summary' => '获取oss上传凭证。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessId' => [
+ 'description' => 'OSS上传文件的AccessKeyId。',
+ 'type' => 'string',
+ 'example' => 'Lxxxxxxxxxxxxxxxxxxxxx',
+ ],
+ 'Host' => [
+ 'description' => 'OSS域名。',
+ 'type' => 'string',
+ 'example' => 'https://safxxxxxxxxx.aliyuncs.com',
+ ],
+ 'Key' => [
+ 'description' => '文件上传所需的 Key。',
+ 'type' => 'string',
+ 'example' => 'saf/xxxxxx/xxxxxx',
+ ],
+ 'Policy' => [
+ 'description' => '安全组管控规则的授权策略。',
+ 'type' => 'string',
+ 'example' => 'eyJleHBpcmF0aW9uIjoiMxxxxxxxxxxxxxxxxxxxxxxxxxxx',
+ ],
+ 'Signature' => [
+ 'description' => 'OSS签名。',
+ 'type' => 'string',
+ 'example' => 'lUxxxxxxxxxxxxxxxxxxxx',
+ ],
+ 'XOssSecurityToken' => [
+ 'description' => 'OSS授权临时凭证token。',
+ 'type' => 'string',
+ 'example' => 'smxxxxxxxxxxx',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'AccessId' => [
+ 'description' => 'OSS上传文件的AccessKeyId。',
+ 'type' => 'string',
+ 'example' => 'Lxxxxxxxxxxxxxxxxxxxxx',
+ ],
+ 'Host' => [
+ 'description' => 'OSS域名。',
+ 'type' => 'string',
+ 'example' => 'https://safxxxxxxxxx.aliyuncs.com',
+ ],
+ 'Key' => [
+ 'description' => '文件上传所需的Key。',
+ 'type' => 'string',
+ 'example' => 'saf/xxxxxx/xxxxxx',
+ ],
+ 'Policy' => [
+ 'description' => '安全组管控规则的授权策略。',
+ 'type' => 'string',
+ 'example' => 'eyJleHBpcmF0aW9uIjoiMxxxxxxxxxxxxxxxxxxxxxxxxxxx',
+ ],
+ 'Signature' => [
+ 'description' => 'OSS签名。',
+ 'type' => 'string',
+ 'example' => 'lUxxxxxxxxxxxxxxxxxxxx',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'XOssSecurityToken' => [
+ 'description' => 'OSS 授权临时凭证 token。',
+ 'type' => 'string',
+ 'example' => 'smxxxxxxxxxxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": {\\n \\"AccessId\\": \\"Lxxxxxxxxxxxxxxxxxxxxx\\",\\n \\"Host\\": \\"https://safxxxxxxxxx.aliyuncs.com\\",\\n \\"Key\\": \\"saf/xxxxxx/xxxxxx\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMxxxxxxxxxxxxxxxxxxxxxxxxxxx\\",\\n \\"Signature\\": \\"lUxxxxxxxxxxxxxxxxxxxx\\",\\n \\"XOssSecurityToken\\": \\"smxxxxxxxxxxx\\"\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"AccessId\\": \\"Lxxxxxxxxxxxxxxxxxxxxx\\",\\n \\"Host\\": \\"https://safxxxxxxxxx.aliyuncs.com\\",\\n \\"Key\\": \\"saf/xxxxxx/xxxxxx\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMxxxxxxxxxxxxxxxxxxxxxxxxxxx\\",\\n \\"Signature\\": \\"lUxxxxxxxxxxxxxxxxxxxx\\",\\n \\"HttpStatusCode\\": 200,\\n \\"XOssSecurityToken\\": \\"smxxxxxxxxxxx\\"\\n}","type":"json"}]',
+ 'title' => '获取oss上传凭证',
+ ],
+ 'DescribeModuleServiceExist' => [
+ 'summary' => '是否存在service查询。',
+ 'description' => '## 请求说明'."\n"
+ .'该接口用于通过提供的`customerModuleId`来检查特定的模型服务是否已经存在。如果存在,则返回`true`;反之则返回`false`。'."\n"
+ ."\n"
+ .'### 注意事项'."\n"
+ .'- `customerModuleId`是必须提供的参数,且为字符串类型。'."\n"
+ .'- 此API主要用于前端页面展示或逻辑判断时使用,以确认用户所选模型是否有对应的服务被创建。'."\n",
+ 'path' => '/',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '是否存在service查询',
+ ],
+ 'DescribeModuleStatus' => [
+ 'summary' => '状态查询 。',
+ 'description' => '## 请求说明'."\n"
+ .'通过提供`customerModuleId`参数,可以查询指定客户模型的当前状态。状态值可能包括但不限于"EDIT"、"ONLINE"等。'."\n",
+ 'path' => '/',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => '状态码'."\n",
+ 'description' => '状态码'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'title' => '是否成功'."\n",
+ 'description' => '是否成功'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": \\"true\\",\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '状态查询',
+ ],
+ 'DescribePocTaskList' => [
+ 'summary' => '查询POC回溯列表。',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '返回信息。',
+ 'type' => 'boolean',
+ 'example' => 'success',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'description' => '回溯任务ID。',
+ 'type' => 'string',
+ 'example' => '01',
+ ],
+ 'TaskName' => [
+ 'description' => '回溯任务名称。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'IdempotentParameterMismatch',
+ 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": true,\\n \\"ResultObject\\": [\\n {\\n \\"TaskId\\": \\"01\\",\\n \\"TaskName\\": \\"xxx\\"\\n }\\n ],\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\"\\n}","type":"json"}]',
+ 'title' => '查询POC回溯列表',
+ ],
+ 'DescribeSafRmmpOrder' => [
+ 'summary' => '查询订单权限。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessible' => [
+ 'description' => '是否有功能权限。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": {\\n \\"Accessible\\": true\\n },\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '查询订单权限',
+ ],
+ 'DescribeServiceAndScene' => [
+ 'summary' => '查询模型对应scene和service。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ [
+ 'name' => 'AuthType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '授权类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'READ',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Scene' => [
+ 'description' => '模型对应场景。',
+ 'type' => 'string',
+ 'example' => 'scene_A',
+ ],
+ 'Service' => [
+ 'description' => '模型对应服务。',
+ 'type' => 'string',
+ 'example' => 'service_A',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": {\\n \\"Scene\\": \\"scene_A\\",\\n \\"Service\\": \\"service_A\\"\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '查询模型对应scene和service',
+ ],
+ 'DescribeUserModelList' => [
+ 'summary' => '查询用户模型列表。',
+ 'description' => '## 请求说明'."\n"
+ .'该 API 用于查询特定用户下的所有模型信息,并支持通过分页参数进行分页查询。可以通过 `name` 参数进行模糊搜索。'."\n"
+ ."\n"
+ .'- `regId`: 地域标识,必填。'."\n"
+ .'- `pageSize`: 每页显示的条目数,必填。'."\n"
+ .'- `currentPage`: 当前页码,从1开始计数,必填。'."\n"
+ .'- `userId`: 用户ID,必填。'."\n",
+ 'path' => '/',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模型名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'StudyX',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '当前页码。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '分页参数:每页显示条数,默认值10。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'AuthType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '授权类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'READ',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => '`code`'."\n",
+ 'description' => '`code`'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '请求是否成功,取值如下:'."\n"
+ .'- true, 请求成功'."\n"
+ .'- false, 请求失败',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'IterationVersion' => [
+ 'description' => '迭代版本。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'CustomerModuleName' => [
+ 'description' => '模型名称。',
+ 'type' => 'string',
+ 'example' => 'Model_A',
+ ],
+ 'Description' => [
+ 'description' => '备注。',
+ 'type' => 'string',
+ 'example' => '备注。',
+ ],
+ 'FeatureTemplate' => [
+ 'description' => '关联特征。',
+ 'type' => 'string',
+ 'example' => 'template_a',
+ ],
+ 'InnerDefineStatus' => [
+ 'description' => '发布状态。',
+ 'type' => 'string',
+ 'example' => 'ONLINE',
+ ],
+ 'InnerModuleName' => [
+ 'description' => '模型标识。',
+ 'type' => 'string',
+ 'example' => 'inner_model_a',
+ ],
+ 'GmtModified' => [
+ 'description' => '修改时间。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1673578656000',
+ ],
+ 'IsAllowIterate' => [
+ 'description' => '是否允许迭代。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RootModuleId' => [
+ 'description' => '根模型id。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'Id' => [
+ 'description' => '模型主键id。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'IsAllowRollback' => [
+ 'description' => '是否允许回滚。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AuthType' => [
+ 'description' => '授权类型。',
+ 'type' => 'string',
+ 'example' => 'READ',
+ ],
+ ],
+ ],
+ ],
+ 'TotalItem' => [
+ 'description' => '总记录数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TotalPage' => [
+ 'description' => '总页数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '分页参数:每页显示条数,默认值10。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'CurrentPage' => [
+ 'description' => '当前页。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": [\\n {\\n \\"IterationVersion\\": 1,\\n \\"CustomerModuleName\\": \\"Model_A\\",\\n \\"Description\\": \\"备注。\\",\\n \\"FeatureTemplate\\": \\"template_a\\",\\n \\"InnerDefineStatus\\": \\"ONLINE\\",\\n \\"InnerModuleName\\": \\"inner_model_a\\",\\n \\"GmtModified\\": 1673578656000,\\n \\"IsAllowIterate\\": true,\\n \\"RootModuleId\\": 10,\\n \\"Id\\": 1,\\n \\"IsAllowRollback\\": true,\\n \\"AuthType\\": \\"READ\\"\\n }\\n ],\\n \\"TotalItem\\": 1,\\n \\"TotalPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '查询用户模型列表',
+ ],
+ 'DuplicateModel' => [
+ 'summary' => '复制模型。',
+ 'description' => '## 请求说明'."\n"
+ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n"
+ ."\n"
+ .'- **注意**:删除操作不可逆,请谨慎使用。'."\n",
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '删除成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'string',
+ 'example' => '374',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": \\"374\\",\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '复制模型',
+ ],
+ 'EditModel' => [
+ 'summary' => '模型退回编辑。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '结果对象。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '模型退回编辑',
+ ],
+ 'GetBastionHostCertification' => [
+ 'summary' => '获取登录初始密码。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '01',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": \\"xxx\\",\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '获取登录初始密码',
+ ],
+ 'IterateModel' => [
+ 'summary' => '迭代模型。',
+ 'description' => '## 请求说明'."\n"
+ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n"
+ ."\n"
+ .'- **注意**:删除操作不可逆,请谨慎使用。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '删除成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '结果对象。',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": \\"true\\",\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '迭代模型',
+ ],
+ 'OfflineModel' => [
+ 'summary' => '下线模型。',
+ 'path' => '/',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": true,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '下线模型',
+ ],
+ 'OnlineModel' => [
+ 'summary' => '上线模型。',
+ 'description' => '## 请求说明'."\n"
+ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n"
+ ."\n"
+ .'- **注意**:删除操作不可逆,请谨慎使用。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '删除成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '上线模型',
+ ],
+ 'ParseExpressionParameters' => [
+ 'summary' => '测试表达式解析。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于查询系统中所有可用的特征模板。'."\n"
+ .'- 请求方式为 GET,无需提供额外参数。'."\n"
+ .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Expression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '表达式。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'score',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Params' => [
+ 'description' => '参数列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '表达式解析后的参数。',
+ 'type' => 'string',
+ 'example' => 'score',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"ResultObject\\": {\\n \\"Params\\": [\\n \\"score\\"\\n ]\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '测试表达式解析',
+ ],
+ 'PrepublishModel' => [
+ 'summary' => '提交测试环境。',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '提交测试环境',
+ ],
+ 'RequestModelFileSync' => [
+ 'summary' => '申请同步模型文件。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于客户首次创建建模项目。'."\n"
+ .'- `projectName` 是必填项,长度不超过50个字符。'."\n"
+ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n"
+ .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n",
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '项目ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '01',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '创建成功',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => '创建成功',
+ ],
+ ],
+ [],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => '申请同步模型文件',
+ ],
+ 'RollbackModel' => [
+ 'summary' => '回滚。',
+ 'description' => '## 请求说明'."\n"
+ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n"
+ ."\n"
+ .'- **注意**:删除操作不可逆,请谨慎使用。'."\n",
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '删除成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": true,\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '回滚',
+ ],
+ 'TestModel' => [
+ 'summary' => '模型提交测试。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于查询系统中所有可用的特征模板。'."\n"
+ .'- 请求方式为 GET,无需提供额外参数。'."\n"
+ .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TestResult' => [
+ 'description' => '测试结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActualResult' => [
+ 'description' => '实际出参。',
+ 'type' => 'string',
+ 'example' => '0.00',
+ ],
+ 'Consistency' => [
+ 'description' => '是否一致。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TestResult' => [
+ 'description' => '测试出参。',
+ 'type' => 'string',
+ 'example' => '0.00',
+ ],
+ 'TrainResult' => [
+ 'description' => '训练出参。',
+ 'type' => 'string',
+ 'example' => '0.00',
+ ],
+ ],
+ ],
+ ],
+ 'ConsistencyRate' => [
+ 'description' => '一致率。',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '98.0',
+ ],
+ 'Total' => [
+ 'description' => '总数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '50',
+ ],
+ 'ConsistencyCount' => [
+ 'description' => '一致数。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '49.0',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"ResultObject\\": {\\n \\"TestResult\\": [\\n {\\n \\"ActualResult\\": \\"0.00\\",\\n \\"Consistency\\": true,\\n \\"TestResult\\": \\"0.00\\",\\n \\"TrainResult\\": \\"0.00\\"\\n }\\n ],\\n \\"ConsistencyRate\\": 98,\\n \\"Total\\": 50,\\n \\"ConsistencyCount\\": 49\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '模型提交测试',
+ ],
+ 'TestPreModel' => [
+ 'summary' => '测试环境验证。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于查询系统中所有可用的特征模板。'."\n"
+ .'- 请求方式为 GET,无需提供额外参数。'."\n"
+ .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '结果对象。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"ResultObject\\": [\\n true\\n ],\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '测试环境验证',
+ ],
+ 'TestProcessExpression' => [
+ 'summary' => '分数处理表达式测试。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于查询系统中所有可用的特征模板。'."\n"
+ .'- 请求方式为 GET,无需提供额外参数。'."\n"
+ .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n",
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Expression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '表达式。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'score',
+ ],
+ ],
+ [
+ 'name' => 'Params',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '参数列表。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"score": "1"}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'description' => '查询成功',
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Score' => [
+ 'description' => '测试分数。',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"ResultObject\\": {\\n \\"Score\\": 10\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '分数处理表达式测试',
+ ],
+ 'UpdateModuleBasicInfo' => [
+ 'summary' => '模型基本信息更新。',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafY3PCXI',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '客户模型id',
+ 'description' => '客户模型id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ [
+ 'name' => 'CustomerModuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模型名称。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'moduleName',
+ ],
+ ],
+ [
+ 'name' => 'ModuleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模块类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PMML',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '备注。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '备注',
+ ],
+ ],
+ [
+ 'name' => 'StorePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '测试地址。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'saf/xxxxx/xxx.pmml',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotAuthorized',
+ 'errorMessage' => 'You do not have permission to access this resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": true,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '模型基本信息更新',
+ ],
+ 'ValidateModelFile' => [
+ 'summary' => '模型验证。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '文件地址。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'saf/xxxxxxx/xxx.pmml',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '是否调用成功。'."\n"
+ ."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileValid' => [
+ 'description' => '验证结果。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": {\\n \\"FileValid\\": true\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '模型验证',
+ ],
+ 'ValidateTestFile' => [
+ 'summary' => '测试模型验证。',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREsafHFAOY3',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '文件地址。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'saf/xxxxxx/xxxxx.pmml',
+ ],
+ ],
+ [
+ 'name' => 'CustomerModuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模型id。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '状态码。返回200代表成功。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '表示是否调用成功。'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileValid' => [
+ 'description' => '测试文件是否有效。',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"ResultObject\\": {\\n \\"FileValid\\": true\\n },\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ 'title' => '测试模型验证',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'safconsole.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'safconsole.cn-hangzhou.aliyuncs.com',
+ ],
+ ],
+];