diff options
Diffstat (limited to 'data/zh_cn/safconsole/2025-05-21/api-docs.php')
| -rw-r--r-- | data/zh_cn/safconsole/2025-05-21/api-docs.php | 3385 |
1 files changed, 654 insertions, 2731 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 index a17ff8e..e757a64 100644 --- a/data/zh_cn/safconsole/2025-05-21/api-docs.php +++ b/data/zh_cn/safconsole/2025-05-21/api-docs.php @@ -1,56 +1,14 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'safconsole', - 'version' => '2025-05-21', - ], + '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', + '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', ], ], @@ -66,13 +24,8 @@ .'- `projectName` 是必填项,长度不超过50个字符。'."\n" .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -84,9 +37,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -94,24 +45,12 @@ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '90912', - ], + 'schema' => ['description' => '项目ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90912'], ], [ 'name' => 'Mobile', 'in' => 'query', - 'schema' => [ - 'description' => '手机号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '***', - ], + 'schema' => ['description' => '手机号', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '***'], ], ], 'responses' => [ @@ -120,30 +59,13 @@ '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', - ], + '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' => '创建成功', ], @@ -152,15 +74,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to access this resource.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '申请堡垒机账号', ], @@ -171,13 +88,8 @@ .'- `projectName` 是必填项,长度不超过50个字符。'."\n" .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -189,9 +101,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -199,24 +109,12 @@ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '01', - ], + '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', - ], + 'schema' => ['description' => '回溯任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '01'], ], ], 'responses' => [ @@ -225,30 +123,13 @@ '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', - ], + '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' => '创建成功', ], @@ -257,15 +138,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to access this resource.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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回溯任务', ], @@ -276,13 +152,8 @@ .'- `projectName` 是必填项,长度不超过50个字符。'."\n" .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -294,9 +165,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -304,13 +173,7 @@ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '01', - ], + 'schema' => ['description' => '项目ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'], ], ], 'responses' => [ @@ -319,53 +182,29 @@ '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', - ], + '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', - ], + '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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -377,9 +216,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -387,42 +224,22 @@ [ 'name' => 'CustomerModuleName', 'in' => 'query', - 'schema' => [ - 'description' => '模型对客展示的标识。', - 'type' => 'string', - 'required' => false, - 'example' => 'module01', - ], + 'schema' => ['description' => '模型对客展示的标识。', 'type' => 'string', 'required' => false, 'example' => 'module01'], ], [ 'name' => 'ModuleType', 'in' => 'query', - 'schema' => [ - 'description' => '模型部署类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'PMML', - ], + 'schema' => ['description' => '模型部署类型。', 'type' => 'string', 'required' => false, 'example' => 'PMML'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '模型描述。', - 'type' => 'string', - 'required' => false, - 'example' => '模型描述', - ], + 'schema' => ['description' => '模型描述。', 'type' => 'string', 'required' => false, 'example' => '模型描述'], ], [ 'name' => 'StorePath', 'in' => 'query', - 'schema' => [ - 'description' => '模型存储路径。', - 'type' => 'string', - 'required' => false, - 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml', - ], + 'schema' => ['description' => '模型存储路径。', 'type' => 'string', 'required' => false, 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml'], ], ], 'responses' => [ @@ -432,37 +249,18 @@ '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', - ], + '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', - ], + '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' => '模型基本信息保存', ], @@ -472,13 +270,8 @@ .'- 该接口用于查询系统中所有可用的特征模板。'."\n" .'- 请求方式为 GET,无需提供额外参数。'."\n" .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n", - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -490,9 +283,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -500,14 +291,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'FeatureTemplate', @@ -516,26 +300,17 @@ 'description' => '特征采用版本。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'FINANCE_51' => '51维特征', - 'FINANCE_80' => '金融80维特征', - 'FINANCE_60' => '金融60维特征', - ], + '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\\":\\"\\"}', - ], + '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' => [ @@ -546,64 +321,32 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -615,9 +358,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -625,44 +366,22 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + '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', - ], + 'schema' => ['description' => '分数处理逻辑。', 'type' => 'string', 'required' => false, 'example' => 'score'], ], [ 'name' => 'FinalScoreFormat', 'in' => 'query', - 'schema' => [ - 'description' => '保留小数位数。', - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => '保留小数位数。', 'type' => 'string', 'required' => false, 'example' => '2'], ], [ 'name' => 'TestFileUrl', 'in' => 'query', - 'schema' => [ - 'description' => '测试文件地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml', - ], + 'schema' => ['description' => '测试文件地址。', 'type' => 'string', 'required' => false, 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml'], ], ], 'responses' => [ @@ -672,50 +391,23 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '出参信息保存', ], @@ -727,13 +419,8 @@ .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", 'path' => '/', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -745,9 +432,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -755,32 +440,17 @@ [ 'name' => 'ProjectName', 'in' => 'query', - 'schema' => [ - 'description' => '项目名称', - 'type' => 'string', - 'required' => true, - 'example' => 'xxx', - ], + 'schema' => ['description' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'xxx'], ], [ 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => '备注。', - 'type' => 'string', - 'required' => false, - 'example' => 'remark', - ], + 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'remark'], ], [ 'name' => 'InstanceSpec', 'in' => 'query', - 'schema' => [ - 'description' => '实例规格。', - 'type' => 'string', - 'required' => true, - 'example' => 'SECURE_ENV_LITE', - ], + 'schema' => ['description' => '实例规格。', 'type' => 'string', 'required' => true, 'example' => 'SECURE_ENV_LITE'], ], ], 'responses' => [ @@ -793,41 +463,22 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'description' => '项目ID', - 'type' => 'string', - 'example' => '01', - ], + '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', - ], + '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', - ], + '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' => '创建安全建模项目', ], @@ -838,13 +489,8 @@ ."\n" .'- **注意**:删除操作不可逆,请谨慎使用。'."\n", 'path' => '/', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -856,9 +502,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -866,14 +510,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -884,53 +521,26 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '删除', ], @@ -941,13 +551,8 @@ .'- `projectName` 是必填项,长度不超过50个字符。'."\n" .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -959,9 +564,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -969,24 +572,12 @@ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '01', - ], + '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', - ], + 'schema' => ['description' => '文件组ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'], ], ], 'responses' => [ @@ -995,40 +586,20 @@ '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', - ], + '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', - ], + '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' => '部署安全建模生成的模型', ], @@ -1036,13 +607,8 @@ 'summary' => '查询模型基本信息。', 'description' => '## 请求说明'."\n" .'通过提供`customerModuleId`参数,可以查询指定客户模型的当前状态。状态值可能包括但不限于"EDIT"、"ONLINE"等。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1054,9 +620,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1064,24 +628,12 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + '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', - ], + 'schema' => ['description' => '权限类型。', 'type' => 'string', 'required' => false, 'example' => 'READ'], ], ], 'responses' => [ @@ -1092,79 +644,32 @@ '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', - ], + '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', - ], + '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '查询模型基本信息', ], @@ -1172,13 +677,8 @@ 'summary' => '查询模型特征信息。', 'description' => '## 请求说明'."\n" .'通过提供`customerModuleId`参数,可以查询指定客户模型的当前状态。状态值可能包括但不限于"EDIT"、"ONLINE"等。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1190,9 +690,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1200,14 +698,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -1218,26 +709,12 @@ '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', - ], + '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', @@ -1249,57 +726,27 @@ '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', - ], + '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', - ], + 'FeatureTemplate' => ['description' => '特征模板。', 'type' => 'string', 'example' => 'FINANCE_60'], ], ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to access this resource.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '查询模型特征信息', ], @@ -1307,13 +754,8 @@ 'summary' => '查询模型输出信息。', 'description' => '## 请求说明'."\n" .'通过提供`customerModuleId`参数,可以查询指定客户模型的当前状态。状态值可能包括但不限于"EDIT"、"ONLINE"等。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1325,9 +767,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1335,24 +775,12 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + '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', - ], + 'schema' => ['description' => '权限类型。', 'type' => 'string', 'required' => false, 'example' => 'READ'], ], ], 'responses' => [ @@ -1363,72 +791,32 @@ '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', - ], + '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', - ], + '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '查询模型输出信息', ], @@ -1438,13 +826,8 @@ .'- 该接口用于查询系统中所有可用的特征模板。'."\n" .'- 请求方式为 GET,无需提供额外参数。'."\n" .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1456,9 +839,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -1466,12 +847,7 @@ [ 'name' => 'FeatureTemplate', 'in' => 'query', - 'schema' => [ - 'description' => '特征模板。', - 'type' => 'string', - 'required' => true, - 'example' => 'FINANCE_51', - ], + 'schema' => ['description' => '特征模板。', 'type' => 'string', 'required' => true, 'example' => 'FINANCE_51'], ], ], 'responses' => [ @@ -1482,18 +858,10 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '表示是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '状态码。返回200代表成功。', - 'type' => 'string', - 'example' => '200', - ], + 'Success' => ['description' => '表示是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '状态码。返回200代表成功。', 'type' => 'string', 'example' => '200'], 'ResultObject' => [ 'description' => '返回结果。', 'type' => 'array', @@ -1501,32 +869,17 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'FeatureName' => [ - 'description' => '特征名称。', - 'type' => 'string', - 'example' => 'xxx', - ], + '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', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '根据特征模板选择获取特征对应下拉选项', ], @@ -1537,13 +890,8 @@ .'- 请求方式为 GET,无需提供额外参数。'."\n" .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n", 'path' => '/', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1555,9 +903,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -1570,18 +916,8 @@ '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', - ], + 'Success' => ['title' => '成功标志'."\n", 'description' => '成功标志'."\n", 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['title' => '状态码'."\n", 'description' => '状态码'."\n", 'type' => 'string', 'example' => '200'], 'ResultObject' => [ 'description' => '返回结果。', 'type' => 'array', @@ -1589,45 +925,23 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'Label' => [ - 'description' => '参数标签。', - 'type' => 'string', - 'example' => '51维特征', - ], - 'Value' => [ - 'description' => '标签取值。', - 'type' => 'string', - 'example' => 'FINANCE_51', - ], + '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '特征模板查询', ], @@ -1638,13 +952,8 @@ .'- `projectName` 是必填项,长度不超过50个字符。'."\n" .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1656,9 +965,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1666,24 +973,12 @@ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '01', - ], + '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', - ], + 'schema' => ['description' => '文件ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'], ], ], 'responses' => [ @@ -1692,39 +987,20 @@ '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', - ], + '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', - ], + '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' => '获取文件下载地址', ], @@ -1734,13 +1010,8 @@ .'- 该接口用于查询系统中所有可用的特征模板。'."\n" .'- 请求方式为 GET,无需提供额外参数。'."\n" .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1752,9 +1023,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1762,24 +1031,12 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + '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', - ], + 'schema' => ['description' => '特征模板。', 'type' => 'string', 'required' => false, 'example' => 'FINANCE_51'], ], ], 'responses' => [ @@ -1790,20 +1047,11 @@ 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '状态码。返回200代表成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '状态码。返回200代表成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], 'ResultObject' => [ 'description' => '返回结果。', 'type' => 'array', @@ -1811,56 +1059,25 @@ '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', - ], + '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '特征自动渲染信息', ], @@ -1871,13 +1088,8 @@ .'- `projectName` 是必填项,长度不超过50个字符。'."\n" .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1889,9 +1101,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1899,13 +1109,7 @@ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '01', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '01'], ], ], 'responses' => [ @@ -1918,88 +1122,34 @@ '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', - ], + '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', - ], + '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', - ], + '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', - ], + 'Deployable' => ['description' => '是否支持部署。', 'type' => 'boolean', 'example' => 'true'], 'Files' => [ 'description' => '建模产生的文件。', 'type' => 'array', @@ -2007,83 +1157,33 @@ '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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' => '创建成功', ], @@ -2092,15 +1192,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to access this resource.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '安全建模项目详情', ], @@ -2112,13 +1207,8 @@ .'- 可选地,使用`status`参数来过滤特定状态(如`active`, `released`等)的项目。'."\n" .'- 返回结果中包含每个项目的ID、名称、环境状态、建模状态、开始时间及结束时间(如果有的话),以及创建该项目的登录账号。'."\n", 'path' => '/', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2130,9 +1220,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2140,34 +1228,17 @@ [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页参数:每页显示条数,默认值10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + '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', - ], + 'schema' => ['description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '项目状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'PREPARING', - ], + 'schema' => ['description' => '项目状态。', 'type' => 'string', 'required' => false, 'example' => 'PREPARING'], ], ], 'responses' => [ @@ -2176,20 +1247,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '状态码。返回200代表成功。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '状态码。返回200代表成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], 'ResultObject' => [ 'description' => '返回结果。', 'type' => 'array', @@ -2197,95 +1259,34 @@ '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', - ], + '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', - ], + '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', - ], + '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', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2297,9 +1298,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2311,104 +1310,36 @@ '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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上传凭证', ], @@ -2421,13 +1352,8 @@ .'- `customerModuleId`是必须提供的参数,且为字符串类型。'."\n" .'- 此API主要用于前端页面展示或逻辑判断时使用,以确认用户所选模型是否有对应的服务被创建。'."\n", 'path' => '/', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2439,9 +1365,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2449,14 +1373,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -2467,51 +1384,24 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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查询', ], @@ -2520,13 +1410,8 @@ 'description' => '## 请求说明'."\n" .'通过提供`customerModuleId`参数,可以查询指定客户模型的当前状态。状态值可能包括但不限于"EDIT"、"ONLINE"等。'."\n", 'path' => '/', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2538,9 +1423,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2548,14 +1431,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -2566,63 +1442,29 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2634,9 +1476,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2648,21 +1488,9 @@ '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', - ], + 'Code' => ['description' => '状态码。返回200代表成功。', 'type' => 'string', 'example' => '200'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回信息。', 'type' => 'boolean', 'example' => 'success'], 'ResultObject' => [ 'description' => '返回结果。', 'type' => 'array', @@ -2670,51 +1498,29 @@ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => '回溯任务ID。', - 'type' => 'string', - 'example' => '01', - ], - 'TaskName' => [ - 'description' => '回溯任务名称。', - 'type' => 'string', - 'example' => 'xxx', - ], + 'TaskId' => ['description' => '回溯任务ID。', 'type' => 'string', 'example' => '01'], + 'TaskName' => ['description' => '回溯任务名称。', 'type' => 'string', 'example' => 'xxx'], ], ], ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2', - ], + '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.', - ], + ['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', - ], + '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', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2726,9 +1532,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2740,62 +1544,32 @@ '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', - ], + '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', - ], + 'Accessible' => ['description' => '是否有功能权限。', 'type' => 'boolean', 'example' => 'true'], ], ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2807,9 +1581,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2817,24 +1589,12 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + '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', - ], + 'schema' => ['description' => '授权类型。', 'type' => 'string', 'required' => false, 'example' => 'READ'], ], ], 'responses' => [ @@ -2844,62 +1604,31 @@ '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', - ], + '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', - ], + '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', ], @@ -2913,13 +1642,8 @@ .'- `currentPage`: 当前页码,从1开始计数,必填。'."\n" .'- `userId`: 用户ID,必填。'."\n", 'path' => '/', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2931,9 +1655,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2941,42 +1663,22 @@ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '模型名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'StudyX', - ], + 'schema' => ['description' => '模型名称。', 'type' => 'string', 'required' => false, 'example' => 'StudyX'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页参数:每页显示条数,默认值10。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页参数:每页显示条数,默认值10。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ 'name' => 'AuthType', 'in' => 'query', - 'schema' => [ - 'description' => '授权类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'READ', - ], + 'schema' => ['description' => '授权类型。', 'type' => 'string', 'required' => false, 'example' => 'READ'], ], ], 'responses' => [ @@ -2987,20 +1689,10 @@ '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', - ], + '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', @@ -3008,124 +1700,37 @@ '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', - ], + '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '查询用户模型列表', ], @@ -3135,12 +1740,8 @@ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n" ."\n" .'- **注意**:删除操作不可逆,请谨慎使用。'."\n", - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3152,9 +1753,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3162,14 +1761,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -3180,63 +1772,31 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3248,9 +1808,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3258,14 +1816,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -3275,51 +1826,24 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '模型退回编辑', ], @@ -3330,13 +1854,8 @@ .'- `projectName` 是必填项,长度不超过50个字符。'."\n" .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3348,9 +1867,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3358,13 +1875,7 @@ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '01', - ], + 'schema' => ['description' => '项目ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'], ], ], 'responses' => [ @@ -3373,39 +1884,20 @@ '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', - ], + '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', - ], + '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' => '获取登录初始密码', ], @@ -3415,13 +1907,8 @@ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n" ."\n" .'- **注意**:删除操作不可逆,请谨慎使用。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3433,9 +1920,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3443,14 +1928,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -3461,64 +1939,32 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3530,9 +1976,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3540,14 +1984,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -3557,52 +1994,24 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '下线模型', ], @@ -3612,13 +2021,8 @@ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n" ."\n" .'- **注意**:删除操作不可逆,请谨慎使用。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3630,9 +2034,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3640,14 +2042,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -3658,51 +2053,24 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '上线模型', ], @@ -3712,13 +2080,8 @@ .'- 该接口用于查询系统中所有可用的特征模板。'."\n" .'- 请求方式为 GET,无需提供额外参数。'."\n" .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3730,9 +2093,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -3740,12 +2101,7 @@ [ 'name' => 'Expression', 'in' => 'query', - 'schema' => [ - 'description' => '表达式。', - 'type' => 'string', - 'required' => false, - 'example' => 'score', - ], + 'schema' => ['description' => '表达式。', 'type' => 'string', 'required' => false, 'example' => 'score'], ], ], 'responses' => [ @@ -3756,20 +2112,11 @@ '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', - ], + 'Success' => ['description' => '表示是否调用成功。'."\n" + ."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '状态码。返回200代表成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], 'ResultObject' => [ 'description' => '返回结果。', 'type' => 'object', @@ -3777,44 +2124,24 @@ 'Params' => [ 'description' => '参数列表。', 'type' => 'array', - 'items' => [ - 'description' => '表达式解析后的参数。', - 'type' => 'string', - 'example' => 'score', - ], + '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', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3826,9 +2153,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3836,14 +2161,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -3853,51 +2171,24 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '提交测试环境', ], @@ -3908,13 +2199,8 @@ .'- `projectName` 是必填项,长度不超过50个字符。'."\n" .'- `remark` 和 `instanceSpec` 为可选项,其中 `remark` 长度不超过200个字符。'."\n" .'- `instanceSpec` 可选值包括 `SECURE_ENV_LITE` 和 `SECURE_ENV_PRO`。'."\n", - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3926,9 +2212,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3936,13 +2220,7 @@ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '01', - ], + 'schema' => ['description' => '项目ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'], ], ], 'responses' => [ @@ -3951,30 +2229,13 @@ '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', - ], + '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' => '创建成功', ], @@ -3983,15 +2244,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to access this resource.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '申请同步模型文件', ], @@ -4001,13 +2257,8 @@ .'本API用于从系统中删除指定的客户模型。调用时必须提供`customerModuleId`参数,该参数标识了要删除的具体模型。'."\n" ."\n" .'- **注意**:删除操作不可逆,请谨慎使用。'."\n", - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4019,9 +2270,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4029,14 +2278,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -4047,43 +2289,19 @@ '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', - ], + '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', - ], + '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' => '回滚', ], @@ -4093,13 +2311,8 @@ .'- 该接口用于查询系统中所有可用的特征模板。'."\n" .'- 请求方式为 GET,无需提供额外参数。'."\n" .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4111,9 +2324,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4121,14 +2332,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -4139,20 +2343,11 @@ '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', - ], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '状态码。返回200代表成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], 'ResultObject' => [ 'description' => '返回结果。', 'type' => 'object', @@ -4164,75 +2359,30 @@ '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', - ], + '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', - ], + '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '模型提交测试', ], @@ -4242,13 +2392,8 @@ .'- 该接口用于查询系统中所有可用的特征模板。'."\n" .'- 请求方式为 GET,无需提供额外参数。'."\n" .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4260,9 +2405,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4270,14 +2413,7 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['title' => '客户模型id', 'description' => '客户模型id', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -4288,55 +2424,28 @@ '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', - ], + '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', + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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' => '测试环境验证', ], @@ -4346,13 +2455,8 @@ .'- 该接口用于查询系统中所有可用的特征模板。'."\n" .'- 请求方式为 GET,无需提供额外参数。'."\n" .'- 返回结果包含多个特征模板选项,每个选项包括标签(label)和值(value)。'."\n", - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4364,9 +2468,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -4374,22 +2476,12 @@ [ 'name' => 'Expression', 'in' => 'query', - 'schema' => [ - 'description' => '表达式。', - 'type' => 'string', - 'required' => false, - 'example' => 'score', - ], + 'schema' => ['description' => '表达式。', 'type' => 'string', 'required' => false, 'example' => 'score'], ], [ 'name' => 'Params', 'in' => 'query', - 'schema' => [ - 'description' => '参数列表。', - 'type' => 'string', - 'required' => false, - 'example' => '{"score": "1"}', - ], + 'schema' => ['description' => '参数列表。', 'type' => 'string', 'required' => false, 'example' => '{"score": "1"}'], ], ], 'responses' => [ @@ -4400,62 +2492,32 @@ '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', - ], + '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', - ], + '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', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4467,9 +2529,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafY3PCXI', - ], + 'abilityTreeNodes' => ['FEATUREsafY3PCXI'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4477,54 +2537,27 @@ [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'title' => '客户模型id', - 'description' => '客户模型id', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '456', - ], + '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', - ], + 'schema' => ['description' => '模型名称。', 'type' => 'string', 'required' => false, 'example' => 'moduleName'], ], [ 'name' => 'ModuleType', 'in' => 'query', - 'schema' => [ - 'description' => '模块类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'PMML', - ], + 'schema' => ['description' => '模块类型。', 'type' => 'string', 'required' => false, 'example' => 'PMML'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '备注。', - 'type' => 'string', - 'required' => false, - 'example' => '备注', - ], + 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => '备注'], ], [ 'name' => 'StorePath', 'in' => 'query', - 'schema' => [ - 'description' => '测试地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'saf/xxxxx/xxx.pmml', - ], + 'schema' => ['description' => '测试地址。', 'type' => 'string', 'required' => false, 'example' => 'saf/xxxxx/xxx.pmml'], ], ], 'responses' => [ @@ -4534,64 +2567,31 @@ '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', - ], + '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.', - ], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to access this resource.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4603,9 +2603,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -4613,12 +2611,7 @@ [ 'name' => 'FilePath', 'in' => 'query', - 'schema' => [ - 'description' => '文件地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'saf/xxxxxxx/xxx.pmml', - ], + 'schema' => ['description' => '文件地址。', 'type' => 'string', 'required' => false, 'example' => 'saf/xxxxxxx/xxx.pmml'], ], ], 'responses' => [ @@ -4628,61 +2621,32 @@ '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', - ], + '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', - ], + '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', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4694,9 +2658,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsafHFAOY3', - ], + 'abilityTreeNodes' => ['FEATUREsafHFAOY3'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4704,22 +2666,12 @@ [ 'name' => 'FilePath', 'in' => 'query', - 'schema' => [ - 'description' => '文件地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'saf/xxxxxx/xxxxx.pmml', - ], + 'schema' => ['description' => '文件地址。', 'type' => 'string', 'required' => false, 'example' => 'saf/xxxxxx/xxxxx.pmml'], ], [ 'name' => 'CustomerModuleId', 'in' => 'query', - 'schema' => [ - 'description' => '模型id。', - 'type' => 'string', - 'required' => false, - 'example' => '456', - ], + 'schema' => ['description' => '模型id。', 'type' => 'string', 'required' => false, 'example' => '456'], ], ], 'responses' => [ @@ -4729,59 +2681,30 @@ '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', - ], + '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', - ], + 'FileValid' => ['description' => '测试文件是否有效。', 'type' => 'boolean'], ], ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + ['regionId' => 'cn-shanghai', 'endpoint' => 'safconsole.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'safconsole.cn-hangzhou.aliyuncs.com'], ], ]; |
