summaryrefslogtreecommitdiff
path: root/data/en_us/safconsole
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/safconsole
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/safconsole')
-rw-r--r--data/en_us/safconsole/2021-01-12/api-docs.php409
-rw-r--r--data/en_us/safconsole/2025-05-21/api-docs.php3385
2 files changed, 853 insertions, 2941 deletions
diff --git a/data/en_us/safconsole/2021-01-12/api-docs.php b/data/en_us/safconsole/2021-01-12/api-docs.php
index 3356167..5197231 100644
--- a/data/en_us/safconsole/2021-01-12/api-docs.php
+++ b/data/en_us/safconsole/2021-01-12/api-docs.php
@@ -1,36 +1,15 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'safconsole',
- 'version' => '2021-01-12',
- ],
- 'directories' => [
- [
- 'id' => 236784,
- 'title' => null,
- 'type' => 'directory',
- 'children' => [
- 'RevokeFeedback',
- 'SendFeedback',
- 'UploadSampleApi',
- ],
- ],
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'safconsole', 'version' => '2021-01-12'],
+ 'directories' => ['RevokeFeedback', 'SendFeedback', 'UploadSampleApi'],
'components' => [
'schemas' => [],
],
'apis' => [
'RevokeFeedback' => [
- 'summary' => 'Used for external deletion of community samples in risk identification services.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Deletes an external community sample from the China risk identification service.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -43,32 +22,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '79133',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'SampleType',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Sample type. For phone number type samples, input PHONE; for email type samples, input EMAIL; for account type samples, input ACCOUNT.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'PHONE'."\n",
- ],
+ 'schema' => ['description' => 'The sample type. Set this parameter to PHONE for phone number samples, EMAIL for email samples, or ACCOUNT for account samples.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PHONE'."\n", 'title' => ''],
],
[
'name' => 'Value',
'in' => 'formData',
- 'schema' => [
- 'description' => 'Sample value.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10000000000',
- ],
+ 'schema' => ['description' => 'The sample value.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10000000000', 'title' => ''],
],
],
'responses' => [
@@ -76,47 +41,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Interface status or POP error code. Value explanations are as follows: 2xx: Success. 3xx: Redirect. 4xx: Request error. 5xx: Server error.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'Return message.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => 'Public parameter, each request ID is unique and can be used for troubleshooting and problem localization.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
+ 'Code' => ['description' => 'The API status or POP error code. Valid values:'."\n"
+ .'- 2xx: succeeded.'."\n"
+ .'- 3xx: redirected.'."\n"
+ .'- 4xx: request error.'."\n"
+ .'- 5xx: server error.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'A common parameter. Each request has a unique ID, which is active for troubleshooting and locating issues.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
200 => [
- [
- 'errorCode' => 'NotAuthorized',
- 'errorMessage' => 'You are not authorized to call the service. The service has expired, the quota for the subscription is reached, or you have not purchased the service.',
+ ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You are not authorized to call the service. The service has expired, the quota for the subscription is reached, or you have not purchased the service.', 'description' => ''],
+ ],
+ ],
+ 'title' => 'Delete external sample',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevokeFeedback'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:RevokeFeedback',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\"\\n}","type":"json"}]',
- 'title' => 'External Sample Deletion Interface',
- 'translator' => 'machine',
],
'SendFeedback' => [
- 'summary' => 'Used for the external creation of community samples in risk identification services.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Creates an external community sample for the risk identification service.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -129,54 +98,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '79134',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'SampleType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Sample type. For phone number type samples, input PHONE; for email type samples, input EMAIL; for account type samples, input ACCOUNT.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'PHONE',
- ],
+ 'schema' => ['description' => 'The sample type. Set this parameter to PHONE for phone number samples, EMAIL for email samples, or ACCOUNT for account samples.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PHONE', 'title' => ''],
],
[
'name' => 'RiskLabel',
'in' => 'query',
- 'schema' => [
- 'description' => 'Sample labels. User-defined, separated by commas.',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'OTHERS',
- ],
+ 'schema' => ['description' => 'The sample labels. User-defined, separated by commas.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'OTHERS', 'title' => ''],
],
[
'name' => 'Value',
'in' => 'query',
- 'schema' => [
- 'description' => 'Sample value.',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => '10000000000',
- ],
+ 'schema' => ['description' => 'The sample value.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => '10000000000', 'title' => ''],
],
[
'name' => 'Reason',
'in' => 'query',
- 'schema' => [
- 'description' => 'The reason why you add the sample.',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'Abnormal transaction behavior.',
- ],
+ 'schema' => ['description' => 'The risk reason.', 'type' => 'string', 'docRequired' => false, 'required' => false, 'example' => 'Abnormal transaction behavior.', 'title' => ''],
],
],
'responses' => [
@@ -184,48 +127,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Interface status or POP error code. The values are as follows: 2xx: Success. 3xx: Redirect. 4xx: Request error. 5xx: Server error.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'Return message.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'RequestId' => [
- 'description' => 'Public parameter, each request ID is unique and can be used for troubleshooting and problem localization.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
+ 'Code' => ['description' => 'The API status or POP error code. Valid values: 2xx: success. 3xx: redirection. 4xx: request error. 5xx: server error.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'RequestId' => ['description' => 'A common parameter. Each request has a unique ID, which is active for troubleshooting and locating issues.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
200 => [
- [
- 'errorCode' => 'NotAuthorized',
- 'errorMessage' => 'You are not authorized to call the service. The service has expired, the quota for the subscription is reached, or you have not purchased the service.',
+ ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You are not authorized to call the service. The service has expired, the quota for the subscription is reached, or you have not purchased the service.', 'description' => ''],
+ ],
+ ],
+ 'title' => 'Create an external sample',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-23T04:52:17.000Z', 'description' => 'Request parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendFeedback'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:SendFeedback',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\"\\n}","type":"json"}]',
- 'title' => 'Create External Sample Interface',
- 'translator' => 'machine',
],
'UploadSampleApi' => [
- 'summary' => 'Single User API for Sample Creation',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Uploads samples for the risk identification service.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -235,118 +179,163 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '207197',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SampleType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of the sample'."\n"
- ."\n"
- .'- Blacklist: block'."\n"
- ."\n"
- .'- Whitelist: pass',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'block',
- ],
+ 'schema' => ['description' => 'The type of the sample. Valid values:'."\n"
+ ."\n"
+ .'- block: blacklist'."\n"
+ .'- pass: whitelist.', 'type' => 'string', 'required' => true, 'example' => 'block', 'title' => ''],
],
[
'name' => 'DataType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The data type of the sample'."\n"
- ."\n"
- .'- Phone number: mobile'."\n"
- .'- MD5 of phone number: mobileMd5'."\n"
- .'- IP: ip'."\n"
- .'- Unique device ID: umid'."\n"
- .'- Account ID: accountId'."\n"
- .'- IMEI: imei'."\n"
- .'- MD5 of IMEI: imeiMd5'."\n"
- .'- OAID: oaid'."\n"
- .'- MD5 of OAID: oaidMd5'."\n"
- .'- Android ID: androidId'."\n"
- .'- MD5 of Android ID: androidIdMd5',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ip',
- ],
+ 'schema' => ['description' => 'The data type of the sample. Valid values:'."\n"
+ ."\n"
+ .'- mobile: phone number'."\n"
+ .'- mobileMd5: MD5 hash of a phone number'."\n"
+ .'- IP: IP address'."\n"
+ .'- umid: unique device ID'."\n"
+ .'- accountId: account ID'."\n"
+ .'- imei: IMEI'."\n"
+ .'- imeiMd5: MD5 hash of an IMEI'."\n"
+ .'- oaid: OAID'."\n"
+ .'- oaidMd5: MD5 hash of an OAID'."\n"
+ .'- androidId: Android ID'."\n"
+ .'- androidIdMd5: MD5 hash of an Android ID.', 'type' => 'string', 'required' => true, 'example' => 'ip', 'title' => ''],
],
[
'name' => 'Service',
'in' => 'query',
- 'schema' => [
- 'description' => 'List of effective services, separate multiple services with commas'."\n"
- ."\n"
- .'- Basic/Enhanced Registration Risk Identification: account_abuse'."\n"
- .'- Basic/Enhanced Marketing Risk Identification: coupon_abuse'."\n"
- .'- Basic/Enhanced Login Risk Identification: account_takeover',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'account_abuse,coupon_abuse,account_takeover',
- ],
+ 'schema' => ['description' => 'The list of services for which the samples take effect. Separate multiple services with commas. Valid values:'."\n"
+ ."\n"
+ .'- account_abuse: Registration Risk Identification Basic Edition or Enhanced Edition'."\n"
+ .'- coupon_abuse: Marketing Risk Identification Basic Edition or Enhanced Edition'."\n"
+ .'- account_takeover: Logon Risk Identification Basic Edition or Enhanced Edition.', 'type' => 'string', 'required' => true, 'example' => 'account_abuse,coupon_abuse,account_takeover', 'title' => ''],
],
[
'name' => 'DataValue',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specific value of the sample, to be passed in JSON format. Do not exceed 1000 entries at a time.',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["123.124.125.126","123.124.125.127"]',
- ],
+ 'schema' => ['description' => 'The specific values of the samples, passed in JSON format. Do not exceed 1000 entries at a time.', 'type' => 'string', 'required' => true, 'example' => '["123.124.125.126","123.124.125.127"]', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Response Schema',
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'ID of the request',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Message' => [
- 'description' => 'Error message returned',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'Code' => [
- 'description' => 'Request code returned',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicator of whether the access was successful',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Message' => ['description' => 'The error message returned.', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'Code' => ['description' => 'The request code returned.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the access was successful.', 'type' => 'string', 'example' => 'true', 'title' => ''],
],
+ 'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2\\",\\n \\"Message\\": \\"null\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
- 'title' => 'Sample Upload Interface',
- 'translator' => 'machine',
+ 'title' => 'Upload samples',
+ 'changeSet' => [
+ ['createdAt' => '2023-12-28T09:21:12.000Z', 'description' => 'Response parameters changed'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadSampleApi'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:UploadSampleApi',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
],
'endpoints' => [
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'safconsole.cn-hangzhou.aliyuncs.com', 'endpoint' => 'safconsole.cn-hangzhou.aliyuncs.com', 'vpc' => 'safconsole-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'safconsole.cn-shanghai.aliyuncs.com', 'endpoint' => 'safconsole.cn-shanghai.aliyuncs.com', 'vpc' => 'safconsole-vpc.cn-shanghai.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => 'NotAuthorized', 'message' => 'You do not have permission to access this resource.', 'http_code' => 400, 'description' => 'You do not have permission to access this resource.'],
+ ],
+ 'changeSet' => [
[
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'safconsole.cn-shanghai.aliyuncs.com',
+ 'apis' => [
+ ['description' => 'Response parameters changed', 'api' => 'UploadSampleApi'],
+ ],
+ 'createdAt' => '2023-12-28T09:21:18.000Z',
+ 'description' => '',
],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'safconsole.cn-hangzhou.aliyuncs.com',
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendFeedback'],
+ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevokeFeedback'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadSampleApi'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'SAF',
+ 'productName' => 'Fraud Detection',
+ 'ramCodes' => ['yundun-saf'],
+ 'ramLevel' => 'OPERATION',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'RevokeFeedback',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:RevokeFeedback',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SendFeedback',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:SendFeedback',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UploadSampleApi',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:UploadSampleApi',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'Samplebatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/*'],
],
],
];
diff --git a/data/en_us/safconsole/2025-05-21/api-docs.php b/data/en_us/safconsole/2025-05-21/api-docs.php
index d3871e8..31e8697 100644
--- a/data/en_us/safconsole/2025-05-21/api-docs.php
+++ b/data/en_us/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` is a required field, with a maximum length of 50 characters.'."\n"
.'- `remark` and `instanceSpec` are optional, where `remark` has a maximum length of 200 characters.'."\n"
.'- The available values for `instanceSpec` include `SECURE_ENV_LITE` and `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' => 'Project ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '90912',
- ],
+ 'schema' => ['description' => 'Project ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90912'],
],
[
'name' => 'Mobile',
'in' => 'query',
- 'schema' => [
- 'description' => 'Mobile Phone Number',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '***',
- ],
+ 'schema' => ['description' => 'Mobile Phone Number', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '***'],
],
],
'responses' => [
@@ -120,30 +59,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ResultObject' => [
- 'description' => 'Result object.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ResultObject' => ['description' => 'Result object.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', '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' => 'Apply for Bastion Host Account',
'translator' => 'machine',
@@ -172,13 +89,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' => [],
@@ -190,9 +102,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -200,24 +110,12 @@
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'Project ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '01'],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Retrospective task ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'Retrospective task ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '01'],
],
],
'responses' => [
@@ -226,30 +124,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '创建成功',
],
@@ -258,15 +139,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' => 'Associate POC Retrospective Task',
'translator' => 'machine',
@@ -278,13 +154,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' => [],
@@ -296,9 +167,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -306,13 +175,7 @@
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'Project ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'],
],
],
'responses' => [
@@ -321,54 +184,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ResultObject' => [
- 'description' => 'Return result, indicating whether the creation was successful:'."\n"
- .'- true: Success'."\n"
- .'- false: Failure',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ResultObject' => ['description' => 'Return result, indicating whether the creation was successful:'."\n"
+ .'- true: Success'."\n"
+ .'- false: Failure', 'type' => 'string', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', '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' => 'Complete Project',
'translator' => 'machine',
],
'CreateCustomerModuleBasicInfo' => [
'summary' => 'Create basic model information',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -380,9 +219,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -390,42 +227,22 @@
[
'name' => 'CustomerModuleName',
'in' => 'query',
- 'schema' => [
- 'description' => 'The display identifier of the model for customers.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'module01',
- ],
+ 'schema' => ['description' => 'The display identifier of the model for customers.', 'type' => 'string', 'required' => false, 'example' => 'module01'],
],
[
'name' => 'ModuleType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Model deployment type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PMML',
- ],
+ 'schema' => ['description' => 'Model deployment type.', 'type' => 'string', 'required' => false, 'example' => 'PMML'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'Model description.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '模型描述',
- ],
+ 'schema' => ['description' => 'Model description.', 'type' => 'string', 'required' => false, 'example' => '模型描述'],
],
[
'name' => 'StorePath',
'in' => 'query',
- 'schema' => [
- 'description' => 'Model storage path.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml',
- ],
+ 'schema' => ['description' => 'Model storage path.', 'type' => 'string', 'required' => false, 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml'],
],
],
'responses' => [
@@ -435,37 +252,18 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Result object.',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Result object.', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['description' => 'Request 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' => 'Save Basic Model Information',
'translator' => 'machine',
@@ -476,13 +274,8 @@
.'- This interface is used to query all available feature templates in the system.'."\n"
.'- The request method is GET, and no additional parameters are required.'."\n"
.'- The returned result includes multiple feature template options, each option including a label (label) and value (value).'."\n",
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -494,9 +287,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -504,14 +295,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'FeatureTemplate',
@@ -520,26 +304,17 @@
'description' => 'Version of the feature adopted.',
'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' => 'A string representation of List<Object>, where Object has the following structure:'."\n"
- .'{'."\n"
- .'"mappingName": "xxx"'."\n"
- .'}',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"mappingName\\":\\"f1\\",\\"fieldName\\":\\"saf_shanghai_new.f1\\",\\"valueType\\":\\"DOUBLE\\",\\"defaultValue\\":\\"\\"}',
- ],
+ 'schema' => ['description' => 'A string representation of List<Object>, where Object has the following structure:'."\n"
+ .'{'."\n"
+ .'"mappingName": "xxx"'."\n"
+ .'}', 'type' => 'string', 'required' => false, 'example' => '{\\"mappingName\\":\\"f1\\",\\"fieldName\\":\\"saf_shanghai_new.f1\\",\\"valueType\\":\\"DOUBLE\\",\\"defaultValue\\":\\"\\"}'],
],
],
'responses' => [
@@ -550,65 +325,33 @@
'description' => 'Response Schema',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the request was successful, with values as follows:'."\n"
- .'- true, request succeeded'."\n"
- .'- false, request failed',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'ResultObject' => [
- 'description' => 'The result indicating if the creation was successful:'."\n"
- .'- true: Success'."\n"
- .'- false: Failure',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Indicates whether the request was successful, with values as follows:'."\n"
+ .'- true, request succeeded'."\n"
+ .'- false, request failed', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'ResultObject' => ['description' => 'The result indicating if the creation was successful:'."\n"
+ .'- true: Success'."\n"
+ .'- false: Failure', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Feature Information Save',
'translator' => 'machine',
],
'CreateCustomerModuleOutputInfo' => [
'summary' => 'Create Model Output Information',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -620,9 +363,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -630,44 +371,22 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ProcessExpression',
'in' => 'query',
- 'schema' => [
- 'description' => 'Score processing logic.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'score',
- ],
+ 'schema' => ['description' => 'Score processing logic.', 'type' => 'string', 'required' => false, 'example' => 'score'],
],
[
'name' => 'FinalScoreFormat',
'in' => 'query',
- 'schema' => [
- 'description' => 'Number of decimal places to retain.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'Number of decimal places to retain.', 'type' => 'string', 'required' => false, 'example' => '2'],
],
[
'name' => 'TestFileUrl',
'in' => 'query',
- 'schema' => [
- 'description' => 'Test file URL.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml',
- ],
+ 'schema' => ['description' => 'Test file URL.', 'type' => 'string', 'required' => false, 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml'],
],
],
'responses' => [
@@ -677,50 +396,23 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'ResultObject' => [
- 'description' => 'Result object.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'ResultObject' => ['description' => 'Result object.', 'type' => 'boolean', 'example' => 'true'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Save Output Information',
'translator' => 'machine',
@@ -733,13 +425,8 @@
.'- `remark` and `instanceSpec` are optional, where `remark` has a maximum length of 200 characters.'."\n"
.'- The available values for `instanceSpec` include `SECURE_ENV_LITE` and `SECURE_ENV_PRO`.'."\n",
'path' => '/',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -751,9 +438,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -761,32 +446,17 @@
[
'name' => 'ProjectName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project name',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxx',
- ],
+ 'schema' => ['description' => 'Project name', 'type' => 'string', 'required' => true, 'example' => 'xxx'],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => 'Remark.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remark',
- ],
+ 'schema' => ['description' => 'Remark.', 'type' => 'string', 'required' => false, 'example' => 'remark'],
],
[
'name' => 'InstanceSpec',
'in' => 'query',
- 'schema' => [
- 'description' => 'Instance specification.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SECURE_ENV_LITE',
- ],
+ 'schema' => ['description' => 'Instance specification.', 'type' => 'string', 'required' => true, 'example' => 'SECURE_ENV_LITE'],
],
],
'responses' => [
@@ -799,41 +469,22 @@
'description' => 'Return result.',
'type' => 'object',
'properties' => [
- 'ProjectId' => [
- 'description' => 'Project ID',
- 'type' => 'string',
- 'example' => '01',
- ],
+ 'ProjectId' => ['description' => 'Project ID', 'type' => 'string', 'example' => '01'],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', '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' => 'Create Security Modeling Project',
'translator' => 'machine',
@@ -845,13 +496,8 @@
."\n"
.'- **Note**: Deletion is irreversible, please use with caution.'."\n",
'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -863,9 +509,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -873,14 +517,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -891,53 +528,26 @@
'description' => 'Response Schema',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Result of the operation, indicating whether it was successful:'."\n"
- .'- true: Success'."\n"
- .'- false: Failure',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Result of the operation, indicating whether it was successful:'."\n"
+ .'- true: Success'."\n"
+ .'- false: Failure', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Delete',
'translator' => 'machine',
@@ -949,13 +559,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' => [],
@@ -967,9 +572,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -977,24 +580,12 @@
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'Project ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'File Group ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'File Group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'],
],
],
'responses' => [
@@ -1003,40 +594,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'integer', 'format' => 'int64', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', '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' => 'Deploy the Model Generated by Security Modeling',
'translator' => 'machine',
@@ -1045,13 +616,8 @@
'summary' => 'Query basic model information based on the customer model ID',
'description' => '## Request Description'."\n"
.'By providing the `customerModuleId` parameter, you can query the current status of a specified customer model. The status values may include but are not limited to "EDIT", "ONLINE", etc.'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1063,9 +629,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -1073,24 +637,12 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'AuthType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Authorization type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'READ',
- ],
+ 'schema' => ['description' => 'Authorization type.', 'type' => 'string', 'required' => false, 'example' => 'READ'],
],
],
'responses' => [
@@ -1101,79 +653,32 @@
'description' => 'Response schema',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求ID'."\n",
- 'description' => 'Request ID'."\n",
- 'type' => 'string',
- 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the application configuration information was successfully retrieved. Possible values: true: Success; false: Failure.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求ID'."\n", 'description' => 'Request ID'."\n", 'type' => 'string', 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'string', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the application configuration information was successfully retrieved. Possible values: true: Success; false: Failure.', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'CustomerModuleName' => [
- 'description' => 'Customer model name.',
- 'type' => 'string',
- 'example' => 'ModuleName',
- ],
- 'Description' => [
- 'description' => 'Remarks.',
- 'type' => 'string',
- 'example' => '备注。',
- ],
- 'InnerModuleName' => [
- 'description' => 'Model identifier.',
- 'type' => 'string',
- 'example' => 'ModuleName',
- ],
- 'ModuleType' => [
- 'description' => 'Module type.',
- 'type' => 'string',
- 'example' => 'PMML',
- ],
- 'StorePath' => [
- 'description' => 'Test address.',
- 'type' => 'string',
- 'example' => 'model.pmml',
- ],
+ 'CustomerModuleName' => ['description' => 'Customer model name.', 'type' => 'string', 'example' => 'ModuleName'],
+ 'Description' => ['description' => 'Remarks.', 'type' => 'string', 'example' => '备注。'],
+ 'InnerModuleName' => ['description' => 'Model identifier.', 'type' => 'string', 'example' => 'ModuleName'],
+ 'ModuleType' => ['description' => 'Module type.', 'type' => 'string', 'example' => 'PMML'],
+ 'StorePath' => ['description' => 'Test address.', 'type' => 'string', 'example' => 'model.pmml'],
],
],
- 'Message' => [
- 'description' => 'Return message.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Message' => ['description' => 'Return message.', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Query Basic Model Information',
'translator' => 'machine',
@@ -1182,13 +687,8 @@
'summary' => 'Query model feature information based on the customer model ID',
'description' => '## Request Description'."\n"
.'By providing the `customerModuleId` parameter, you can query the current status of a specified customer model. The status values may include, but are not limited to, "EDIT", "ONLINE", etc.'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1200,9 +700,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -1210,14 +708,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -1228,26 +719,12 @@
'description' => 'Response Schema',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求ID'."\n",
- 'description' => 'Request ID'."\n",
- 'type' => 'string',
- 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求ID'."\n", 'description' => 'Request ID'."\n", 'type' => 'string', 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'object',
@@ -1259,57 +736,27 @@
'description' => 'Returned result object.',
'type' => 'object',
'properties' => [
- 'DefaultValue' => [
- 'description' => 'Default value of the feature.',
- 'type' => 'string',
- 'example' => '0.1',
- ],
- 'FeatureType' => [
- 'description' => 'Feature type.',
- 'type' => 'string',
- 'example' => 'double',
- ],
- 'FeatureName' => [
- 'description' => 'Feature mapping name.',
- 'type' => 'string',
- 'example' => 'f1',
- ],
- 'Name' => [
- 'description' => 'Feature name.',
- 'type' => 'string',
- 'example' => 'f1',
- ],
+ 'DefaultValue' => ['description' => 'Default value of the feature.', 'type' => 'string', 'example' => '0.1'],
+ 'FeatureType' => ['description' => 'Feature type.', 'type' => 'string', 'example' => 'double'],
+ 'FeatureName' => ['description' => 'Feature mapping name.', 'type' => 'string', 'example' => 'f1'],
+ 'Name' => ['description' => 'Feature name.', 'type' => 'string', 'example' => 'f1'],
],
],
],
- 'FeatureTemplate' => [
- 'description' => 'Feature template.',
- 'type' => 'string',
- 'example' => 'FINANCE_60',
- ],
+ 'FeatureTemplate' => ['description' => 'Feature template.', 'type' => 'string', 'example' => 'FINANCE_60'],
],
],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Query Model Feature Information',
'translator' => 'machine',
@@ -1318,13 +765,8 @@
'summary' => 'Query model output information based on the customer model ID',
'description' => '## Request Description'."\n"
.'By providing the `customerModuleId` parameter, you can query the current status of a specified customer model. The status values may include but are not limited to "EDIT", "ONLINE", etc.'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1336,9 +778,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -1346,24 +786,12 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
[
'name' => 'AuthType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Authorization type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'READ',
- ],
+ 'schema' => ['description' => 'Authorization type.', 'type' => 'string', 'required' => false, 'example' => 'READ'],
],
],
'responses' => [
@@ -1374,72 +802,32 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求ID'."\n",
- 'description' => 'Request ID'."\n",
- 'type' => 'string',
- 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the request was successful, with possible values as follows:'."\n"
- .'- true, indicating the request was successful'."\n"
- .'- false, indicating the request failed',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求ID'."\n", 'description' => 'Request ID'."\n", 'type' => 'string', 'example' => '055f1546-f465-4c92-a2da-bfb86abe6f56'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the request was successful, with possible values as follows:'."\n"
+ .'- true, indicating the request was successful'."\n"
+ .'- false, indicating the request failed', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'FinalScoreFormat' => [
- 'description' => 'Number of decimal places for the output.',
- 'type' => 'string',
- 'example' => '2',
- ],
- 'ProcessExpression' => [
- 'description' => 'Score processing logic.',
- 'type' => 'string',
- 'example' => 'score',
- ],
- 'TestFile' => [
- 'description' => 'Test file.',
- 'type' => 'string',
- 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml',
- ],
+ 'FinalScoreFormat' => ['description' => 'Number of decimal places for the output.', 'type' => 'string', 'example' => '2'],
+ 'ProcessExpression' => ['description' => 'Score processing logic.', 'type' => 'string', 'example' => 'score'],
+ 'TestFile' => ['description' => 'Test file.', 'type' => 'string', 'example' => 'customer/xxxxxxxxx/xxxxxxxx.pmml'],
],
],
- 'Message' => [
- 'description' => 'Return message.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Message' => ['description' => 'Return message.', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Query Model Output Information',
'translator' => 'machine',
@@ -1450,13 +838,8 @@
.'- This interface is used to query all available feature templates in the system.'."\n"
.'- The request method is GET, and no additional parameters are required.'."\n"
.'- The returned result includes multiple feature template options, each of which includes a label (label) and a value (value).'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1468,9 +851,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -1478,12 +859,7 @@
[
'name' => 'FeatureTemplate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Feature template.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'FINANCE_51',
- ],
+ 'schema' => ['description' => 'Feature template.', 'type' => 'string', 'required' => true, 'example' => 'FINANCE_51'],
],
],
'responses' => [
@@ -1494,18 +870,10 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. A return of 200 indicates success.',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. A return of 200 indicates success.', 'type' => 'string', 'example' => '200'],
'ResultObject' => [
'description' => 'Returned result.',
'type' => 'array',
@@ -1513,32 +881,17 @@
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'FeatureName' => [
- 'description' => 'Feature name.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'FeatureName' => ['description' => 'Feature name.', 'type' => 'string', 'example' => 'xxx'],
],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Get Feature Dropdown Options Based on Feature Template',
'translator' => 'machine',
@@ -1550,13 +903,8 @@
.'- The request method is GET, and no additional parameters are required.'."\n"
.'- The returned result includes multiple feature template options, each of which consists of a label (label) and a value (value).'."\n",
'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1568,9 +916,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -1583,18 +929,8 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'title' => '成功标志'."\n",
- 'description' => 'Success flag',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'title' => '状态码'."\n",
- 'description' => 'Status code',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'Success' => ['title' => '成功标志'."\n", 'description' => 'Success flag', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['title' => '状态码'."\n", 'description' => 'Status code', 'type' => 'string', 'example' => '200'],
'ResultObject' => [
'description' => 'Returned result.',
'type' => 'array',
@@ -1602,45 +938,23 @@
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'Label' => [
- 'description' => 'Parameter label.',
- 'type' => 'string',
- 'example' => '51维特征',
- ],
- 'Value' => [
- 'description' => 'Label value.',
- 'type' => 'string',
- 'example' => 'FINANCE_51',
- ],
+ 'Label' => ['description' => 'Parameter label.', 'type' => 'string', 'example' => '51维特征'],
+ 'Value' => ['description' => 'Label value.', 'type' => 'string', 'example' => 'FINANCE_51'],
],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Feature Template Query',
'translator' => 'machine',
@@ -1652,13 +966,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' => [],
@@ -1670,9 +979,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -1680,24 +987,12 @@
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'Project ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'],
],
[
'name' => 'FileId',
'in' => 'query',
- 'schema' => [
- 'description' => 'File ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'File ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'],
],
],
'responses' => [
@@ -1706,39 +1001,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'string', 'example' => 'xxx'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', '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' => 'Get File Download URL',
'translator' => 'machine',
@@ -1749,13 +1025,8 @@
.'- This interface is used to query all available feature templates in the system.'."\n"
.'- The request method is GET, and no additional parameters are required.'."\n"
.'- The returned result includes multiple feature template options, each including a label (label) and value (value).'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1767,9 +1038,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -1777,24 +1046,12 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
[
'name' => 'FeatureTemplate',
'in' => 'query',
- 'schema' => [
- 'description' => 'Feature template.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FINANCE_51',
- ],
+ 'schema' => ['description' => 'Feature template.', 'type' => 'string', 'required' => false, 'example' => 'FINANCE_51'],
],
],
'responses' => [
@@ -1805,20 +1062,11 @@
'description' => 'Return object.',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'array',
@@ -1826,56 +1074,25 @@
'description' => 'Return result.',
'type' => 'object',
'properties' => [
- 'DefaultValue' => [
- 'description' => 'Default value of the feature.',
- 'type' => 'string',
- 'example' => '0.1',
- ],
- 'FeatureType' => [
- 'description' => 'Feature type.',
- 'type' => 'string',
- 'example' => 'double',
- ],
- 'FeatureName' => [
- 'description' => 'Feature mapping name.',
- 'type' => 'string',
- 'example' => 'f1',
- ],
- 'Name' => [
- 'description' => 'Feature name.',
- 'type' => 'string',
- 'example' => 'f1',
- ],
+ 'DefaultValue' => ['description' => 'Default value of the feature.', 'type' => 'string', 'example' => '0.1'],
+ 'FeatureType' => ['description' => 'Feature type.', 'type' => 'string', 'example' => 'double'],
+ 'FeatureName' => ['description' => 'Feature mapping name.', 'type' => 'string', 'example' => 'f1'],
+ 'Name' => ['description' => 'Feature name.', 'type' => 'string', 'example' => 'f1'],
],
],
],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Automatic Feature Rendering Information',
'translator' => 'machine',
@@ -1887,13 +1104,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' => [],
@@ -1905,9 +1117,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -1915,13 +1125,7 @@
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'Project ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '01'],
],
],
'responses' => [
@@ -1934,88 +1138,34 @@
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => 'End time of the security modeling project.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2026-02-07T02:22:30Z',
- ],
- 'EnvStatus' => [
- 'description' => 'Security environment status.',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
- 'ManualPhase' => [
- 'description' => 'Manual operation phase.',
- 'type' => 'string',
- 'example' => 'INIT',
- ],
- 'ModelingStatus' => [
- 'description' => 'Modeling project status.',
- 'type' => 'string',
- 'example' => 'PREPARING',
- ],
+ 'EndTime' => ['description' => 'End time of the security modeling project.', 'type' => 'integer', 'format' => 'int64', 'example' => '2026-02-07T02:22:30Z'],
+ 'EnvStatus' => ['description' => 'Security environment status.', 'type' => 'string', 'example' => 'ACTIVE'],
+ 'ManualPhase' => ['description' => 'Manual operation phase.', 'type' => 'string', 'example' => 'INIT'],
+ 'ModelingStatus' => ['description' => 'Modeling project status.', 'type' => 'string', 'example' => 'PREPARING'],
'PocTasks' => [
'description' => 'Associated POC tasks.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ServiceCode' => [
- 'description' => 'Service code',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'Status' => [
- 'description' => 'File synchronization status.',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'TaskName' => [
- 'description' => 'Retrospective task name.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'FileName' => [
- 'description' => 'Retrospective file name.',
- 'type' => 'string',
- 'example' => 'xxx.csv',
- ],
+ 'ServiceCode' => ['description' => 'Service code', 'type' => 'string', 'example' => 'xxx'],
+ 'Status' => ['description' => 'File synchronization status.', 'type' => 'string', 'example' => '1'],
+ 'TaskName' => ['description' => 'Retrospective task name.', 'type' => 'string', 'example' => 'xxx'],
+ 'FileName' => ['description' => 'Retrospective file name.', 'type' => 'string', 'example' => 'xxx.csv'],
],
],
],
- 'ProjectId' => [
- 'description' => 'Project ID',
- 'type' => 'string',
- 'example' => '01',
- ],
- 'ProjectName' => [
- 'description' => 'Project name.',
- 'type' => 'string',
- 'example' => 'project_01',
- ],
- 'Remark' => [
- 'description' => 'Remark information.',
- 'type' => 'string',
- 'example' => 'remark',
- ],
- 'StartTime' => [
- 'description' => 'Start time of the security modeling project.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2025-08-13T01:09:00Z',
- ],
+ 'ProjectId' => ['description' => 'Project ID', 'type' => 'string', 'example' => '01'],
+ 'ProjectName' => ['description' => 'Project name.', 'type' => 'string', 'example' => 'project_01'],
+ 'Remark' => ['description' => 'Remark information.', 'type' => 'string', 'example' => 'remark'],
+ 'StartTime' => ['description' => 'Start time of the security modeling project.', 'type' => 'integer', 'format' => 'int64', 'example' => '2025-08-13T01:09:00Z'],
'SyncedFiles' => [
'description' => 'Synchronized files.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Deployable' => [
- 'description' => 'Whether deployment is supported.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Deployable' => ['description' => 'Whether deployment is supported.', 'type' => 'boolean', 'example' => 'true'],
'Files' => [
'description' => 'Files generated by modeling.',
'type' => 'array',
@@ -2023,83 +1173,33 @@
'description' => 'File list, which needs to be specified when the type is file.',
'type' => 'object',
'properties' => [
- 'Downloadable' => [
- 'description' => 'Whether it is downloadable.',
- 'type' => 'boolean',
- ],
- 'FileId' => [
- 'description' => 'The ID of the file.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '376920',
- ],
- 'FileName' => [
- 'description' => 'The name of the file.',
- 'type' => 'string',
- 'example' => '融山-个贷-精催-演示-0625.json',
- ],
- 'Visible' => [
- 'description' => 'Visibility:'."\n"
- ."\n"
- .'**true**: Visible'."\n"
- ."\n"
- .'**false**: Not visible',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Downloadable' => ['description' => 'Whether it is downloadable.', 'type' => 'boolean'],
+ 'FileId' => ['description' => 'The ID of the file.', 'type' => 'integer', 'format' => 'int64', 'example' => '376920'],
+ 'FileName' => ['description' => 'The name of the file.', 'type' => 'string', 'example' => '融山-个贷-精催-演示-0625.json'],
+ 'Visible' => ['description' => 'Visibility:'."\n"
+ ."\n"
+ .'**true**: Visible'."\n"
+ ."\n"
+ .'**false**: Not visible', 'type' => 'boolean', 'example' => 'true'],
],
],
],
- 'GroupId' => [
- 'description' => 'Application group ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '56790766',
- ],
- 'GroupName' => [
- 'description' => 'File group name.',
- 'type' => 'string',
- 'example' => 'am',
- ],
- 'SyncedTime' => [
- 'description' => 'Synchronization time.',
- 'type' => 'string',
- 'example' => '1770607862000',
- ],
+ 'GroupId' => ['description' => 'Application group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '56790766'],
+ 'GroupName' => ['description' => 'File group name.', 'type' => 'string', 'example' => 'am'],
+ 'SyncedTime' => ['description' => 'Synchronization time.', 'type' => 'string', 'example' => '1770607862000'],
],
],
],
- 'MachineSpec' => [
- 'description' => 'Machine specification.',
- 'type' => 'string',
- 'example' => 'SECURE_ENV_LITE',
- ],
- 'LoginAccount' => [
- 'description' => 'Login account.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'MachineSpec' => ['description' => 'Machine specification.', 'type' => 'string', 'example' => 'SECURE_ENV_LITE'],
+ 'LoginAccount' => ['description' => 'Login account.', 'type' => 'string', 'example' => 'xxx'],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '创建成功',
],
@@ -2108,15 +1208,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' => 'Security Modeling Project Details',
'translator' => 'machine',
@@ -2129,13 +1224,8 @@
.'- 可选地,使用`status`参数来过滤特定状态(如`active`, `released`等)的项目。'."\n"
.'- 返回结果中包含每个项目的ID、名称、环境状态、建模状态、开始时间及结束时间(如果有的话),以及创建该项目的登录账号。'."\n",
'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2147,9 +1237,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2157,34 +1245,17 @@
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'Pagination parameter: number of items per page, with a default value of 10.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Pagination parameter: number of items per page, with a default value of 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project status.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PREPARING',
- ],
+ 'schema' => ['description' => 'Project status.', 'type' => 'string', 'required' => false, 'example' => 'PREPARING'],
],
],
'responses' => [
@@ -2193,20 +1264,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'ResultObject' => [
'description' => 'Returned result.',
'type' => 'array',
@@ -2214,96 +1276,35 @@
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => 'End time of the secure modeling project.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2025-12-29T02:15:10Z',
- ],
- 'EnvStatus' => [
- 'description' => 'Secure environment status.',
- 'type' => 'string',
- 'example' => 'PREPARING',
- ],
- 'LoginAccount' => [
- 'description' => 'Login account.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'ModelingStatus' => [
- 'description' => 'Modeling project status.',
- 'type' => 'string',
- 'example' => 'PREPARING',
- ],
- 'ProjectId' => [
- 'description' => 'Project ID.',
- 'type' => 'string',
- 'example' => '01',
- ],
- 'ProjectName' => [
- 'description' => 'Project name.',
- 'type' => 'string',
- 'example' => 'project',
- ],
- 'StartTime' => [
- 'description' => 'Start time of the secure modeling project.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2025-03-23T01:20:00Z',
- ],
+ 'EndTime' => ['description' => 'End time of the secure modeling project.', 'type' => 'integer', 'format' => 'int64', 'example' => '2025-12-29T02:15:10Z'],
+ 'EnvStatus' => ['description' => 'Secure environment status.', 'type' => 'string', 'example' => 'PREPARING'],
+ 'LoginAccount' => ['description' => 'Login account.', 'type' => 'string', 'example' => 'xxx'],
+ 'ModelingStatus' => ['description' => 'Modeling project status.', 'type' => 'string', 'example' => 'PREPARING'],
+ 'ProjectId' => ['description' => 'Project ID.', 'type' => 'string', 'example' => '01'],
+ 'ProjectName' => ['description' => 'Project name.', 'type' => 'string', 'example' => 'project'],
+ 'StartTime' => ['description' => 'Start time of the secure modeling project.', 'type' => 'integer', 'format' => 'int64', 'example' => '2025-03-23T01:20:00Z'],
],
],
],
- 'TotalItem' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalPage' => [
- 'description' => 'Total number of pages.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => 'Pagination parameter: number of items per page, with a default value of 10.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
+ 'TotalItem' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalPage' => ['description' => 'Total number of pages.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => 'Pagination parameter: number of items per page, with a default value of 10.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RequestId' => ['description' => 'Request 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' => 'List of Secure Environment Modeling Projects',
'translator' => 'machine',
],
'DescribeModelOssToken' => [
'summary' => 'Obtain OSS Authentication Data for Upload',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2315,9 +1316,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2329,104 +1328,36 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: The call was successful.'."\n"
- .'- **false**: The call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: The call was successful.'."\n"
+ .'- **false**: The call failed.', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'AccessId' => [
- 'description' => 'AccessKeyId for uploading files to OSS.',
- 'type' => 'string',
- 'example' => 'Lxxxxxxxxxxxxxxxxxxxxx',
- ],
- 'Host' => [
- 'description' => 'OSS domain name.',
- 'type' => 'string',
- 'example' => 'https://safxxxxxxxxx.aliyuncs.com',
- ],
- 'Key' => [
- 'description' => 'Key required for file upload.',
- 'type' => 'string',
- 'example' => 'saf/xxxxxx/xxxxxx',
- ],
- 'Policy' => [
- 'description' => 'Authorization policy for security group control rules.',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMxxxxxxxxxxxxxxxxxxxxxxxxxxx',
- ],
- 'Signature' => [
- 'description' => 'OSS signature.',
- 'type' => 'string',
- 'example' => 'lUxxxxxxxxxxxxxxxxxxxx',
- ],
- 'XOssSecurityToken' => [
- 'description' => 'Temporary authorization token for OSS.',
- 'type' => 'string',
- 'example' => 'smxxxxxxxxxxx',
- ],
+ 'AccessId' => ['description' => 'AccessKeyId for uploading files to OSS.', 'type' => 'string', 'example' => 'Lxxxxxxxxxxxxxxxxxxxxx'],
+ 'Host' => ['description' => 'OSS domain name.', 'type' => 'string', 'example' => 'https://safxxxxxxxxx.aliyuncs.com'],
+ 'Key' => ['description' => 'Key required for file upload.', 'type' => 'string', 'example' => 'saf/xxxxxx/xxxxxx'],
+ 'Policy' => ['description' => 'Authorization policy for security group control rules.', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMxxxxxxxxxxxxxxxxxxxxxxxxxxx'],
+ 'Signature' => ['description' => 'OSS signature.', 'type' => 'string', 'example' => 'lUxxxxxxxxxxxxxxxxxxxx'],
+ 'XOssSecurityToken' => ['description' => 'Temporary authorization token for OSS.', 'type' => 'string', 'example' => 'smxxxxxxxxxxx'],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'AccessId' => [
- 'description' => 'AccessKeyId for uploading files to OSS.',
- 'type' => 'string',
- 'example' => 'Lxxxxxxxxxxxxxxxxxxxxx',
- ],
- 'Host' => [
- 'description' => 'OSS domain name.',
- 'type' => 'string',
- 'example' => 'https://safxxxxxxxxx.aliyuncs.com',
- ],
- 'Key' => [
- 'description' => 'Key required for file upload.',
- 'type' => 'string',
- 'example' => 'saf/xxxxxx/xxxxxx',
- ],
- 'Policy' => [
- 'description' => 'Authorization policy for security group control rules.',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMxxxxxxxxxxxxxxxxxxxxxxxxxxx',
- ],
- 'Signature' => [
- 'description' => 'OSS signature.',
- 'type' => 'string',
- 'example' => 'lUxxxxxxxxxxxxxxxxxxxx',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'XOssSecurityToken' => [
- 'description' => 'Temporary authorization token for OSS.',
- 'type' => 'string',
- 'example' => 'smxxxxxxxxxxx',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'AccessId' => ['description' => 'AccessKeyId for uploading files to OSS.', 'type' => 'string', 'example' => 'Lxxxxxxxxxxxxxxxxxxxxx'],
+ 'Host' => ['description' => 'OSS domain name.', 'type' => 'string', 'example' => 'https://safxxxxxxxxx.aliyuncs.com'],
+ 'Key' => ['description' => 'Key required for file upload.', 'type' => 'string', 'example' => 'saf/xxxxxx/xxxxxx'],
+ 'Policy' => ['description' => 'Authorization policy for security group control rules.', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMxxxxxxxxxxxxxxxxxxxxxxxxxxx'],
+ 'Signature' => ['description' => 'OSS signature.', 'type' => 'string', 'example' => 'lUxxxxxxxxxxxxxxxxxxxx'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'XOssSecurityToken' => ['description' => 'Temporary authorization token for OSS.', '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' => 'Get OSS Upload Credentials',
'translator' => 'machine',
@@ -2440,13 +1371,8 @@
.'- `customerModuleId` is a required parameter and must be of string type.'."\n"
.'- This API is mainly used for front-end page display or logical judgment to confirm whether the service corresponding to the user\'s selected model has been created.'."\n",
'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2458,9 +1384,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -2468,14 +1392,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -2486,51 +1403,24 @@
'description' => 'Response Schema',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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 Existence Query',
'translator' => 'machine',
@@ -2540,13 +1430,8 @@
'description' => '## Request Description'."\n"
.'By providing the `customerModuleId` parameter, you can query the current status of a specified customer model. The status values may include, but are not limited to, "EDIT", "ONLINE", etc.'."\n",
'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2558,9 +1443,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -2568,14 +1451,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -2586,50 +1462,21 @@
'description' => 'Response Schema',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'title' => '状态码'."\n",
- 'description' => 'Status code'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Success' => [
- 'title' => '是否成功'."\n",
- 'description' => 'Whether the operation was successful'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Returned result.',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['title' => '状态码'."\n", 'description' => 'Status code'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Success' => ['title' => '是否成功'."\n", 'description' => 'Whether the operation was successful'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Returned result.', 'type' => 'string', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Status Inquiry',
'translator' => 'machine',
@@ -2637,13 +1484,8 @@
'DescribePocTaskList' => [
'summary' => 'Query POC task list.',
'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2655,9 +1497,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2669,21 +1509,9 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'Return message.',
- 'type' => 'boolean',
- 'example' => 'success',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => 'Return message.', 'type' => 'boolean', 'example' => 'success'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'array',
@@ -2691,52 +1519,30 @@
'description' => 'Return result.',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => 'Retro task ID.',
- 'type' => 'string',
- 'example' => '01',
- ],
- 'TaskName' => [
- 'description' => 'Retro task name.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'TaskId' => ['description' => 'Retro task ID.', 'type' => 'string', 'example' => '01'],
+ 'TaskName' => ['description' => 'Retro task name.', 'type' => 'string', 'example' => 'xxx'],
],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
+ 'RequestId' => ['description' => 'Request 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' => 'Query POC Retro List',
'translator' => 'machine',
],
'DescribeSafRmmpOrder' => [
'summary' => 'Query Model Hosting Orders',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2748,9 +1554,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2762,63 +1566,33 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: The call was successful.'."\n"
- .'- **false**: The call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: The call was successful.'."\n"
+ .'- **false**: The call failed.', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'object',
'properties' => [
- 'Accessible' => [
- 'description' => 'Indicates whether there is functional permission.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Accessible' => ['description' => 'Indicates whether there is functional permission.', 'type' => 'boolean', 'example' => 'true'],
],
],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Query Order Permissions',
'translator' => 'machine',
],
'DescribeServiceAndScene' => [
'summary' => 'Query Scene and Service',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2830,9 +1604,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -2840,24 +1612,12 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
[
'name' => 'AuthType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Authorization type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'READ',
- ],
+ 'schema' => ['description' => 'Authorization type.', 'type' => 'string', 'required' => false, 'example' => 'READ'],
],
],
'responses' => [
@@ -2867,62 +1627,31 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'Scene' => [
- 'description' => 'Model corresponding scene.',
- 'type' => 'string',
- 'example' => 'scene_A',
- ],
- 'Service' => [
- 'description' => 'Model corresponding service.',
- 'type' => 'string',
- 'example' => 'service_A',
- ],
+ 'Scene' => ['description' => 'Model corresponding scene.', 'type' => 'string', 'example' => 'scene_A'],
+ 'Service' => ['description' => 'Model corresponding service.', 'type' => 'string', 'example' => 'service_A'],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Query Model Corresponding Scene and Service',
'translator' => 'machine',
@@ -2937,13 +1666,8 @@
.'- `currentPage`: Current page number, starting from 1, required.'."\n"
.'- `userId`: User ID, required.'."\n",
'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2955,9 +1679,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2965,42 +1687,22 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'Model name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'StudyX',
- ],
+ 'schema' => ['description' => 'Model name.', 'type' => 'string', 'required' => false, 'example' => 'StudyX'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Current page number.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Current page number.', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'Pagination parameter: number of items per page, default value 10.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Pagination parameter: number of items per page, default value 10.', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
'name' => 'AuthType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Authorization type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'READ',
- ],
+ 'schema' => ['description' => 'Authorization type.', 'type' => 'string', 'required' => false, 'example' => 'READ'],
],
],
'responses' => [
@@ -3011,20 +1713,10 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'title' => '`code`'."\n",
- 'description' => '`code`'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the request was successful, with values as follows:'."\n"
- .'- true, request succeeded'."\n"
- .'- false, request failed',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['title' => '`code`'."\n", 'description' => '`code`'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the request was successful, with values as follows:'."\n"
+ .'- true, request succeeded'."\n"
+ .'- false, request failed', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'array',
@@ -3032,124 +1724,37 @@
'description' => 'Return result.',
'type' => 'object',
'properties' => [
- 'IterationVersion' => [
- 'description' => 'Iteration version.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'CustomerModuleName' => [
- 'description' => 'Model name.',
- 'type' => 'string',
- 'example' => 'Model_A',
- ],
- 'Description' => [
- 'description' => 'Remarks.',
- 'type' => 'string',
- 'example' => '备注。',
- ],
- 'FeatureTemplate' => [
- 'description' => 'Associated features.',
- 'type' => 'string',
- 'example' => 'template_a',
- ],
- 'InnerDefineStatus' => [
- 'description' => 'Publication status.',
- 'type' => 'string',
- 'example' => 'ONLINE',
- ],
- 'InnerModuleName' => [
- 'description' => 'Model identifier.',
- 'type' => 'string',
- 'example' => 'inner_model_a',
- ],
- 'GmtModified' => [
- 'description' => 'Modification time.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1673578656000',
- ],
- 'IsAllowIterate' => [
- 'description' => 'Whether iteration is allowed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RootModuleId' => [
- 'description' => 'Root model ID.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Id' => [
- 'description' => 'Primary key ID of the model.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'IsAllowRollback' => [
- 'description' => 'Whether rollback is allowed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AuthType' => [
- 'description' => 'Authorization type.',
- 'type' => 'string',
- 'example' => 'READ',
- ],
+ 'IterationVersion' => ['description' => 'Iteration version.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'CustomerModuleName' => ['description' => 'Model name.', 'type' => 'string', 'example' => 'Model_A'],
+ 'Description' => ['description' => 'Remarks.', 'type' => 'string', 'example' => '备注。'],
+ 'FeatureTemplate' => ['description' => 'Associated features.', 'type' => 'string', 'example' => 'template_a'],
+ 'InnerDefineStatus' => ['description' => 'Publication status.', 'type' => 'string', 'example' => 'ONLINE'],
+ 'InnerModuleName' => ['description' => 'Model identifier.', 'type' => 'string', 'example' => 'inner_model_a'],
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1673578656000'],
+ 'IsAllowIterate' => ['description' => 'Whether iteration is allowed.', 'type' => 'boolean', 'example' => 'true'],
+ 'RootModuleId' => ['description' => 'Root model ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'Id' => ['description' => 'Primary key ID of the model.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'IsAllowRollback' => ['description' => 'Whether rollback is allowed.', 'type' => 'boolean', 'example' => 'true'],
+ 'AuthType' => ['description' => 'Authorization type.', 'type' => 'string', 'example' => 'READ'],
],
],
],
- 'TotalItem' => [
- 'description' => 'Total number of records.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalPage' => [
- 'description' => 'Total number of pages.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => 'Pagination parameter: number of items per page, default value is 10.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'CurrentPage' => [
- 'description' => 'Current page.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'TotalItem' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalPage' => ['description' => 'Total number of pages.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => 'Pagination parameter: number of items per page, default value is 10.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'CurrentPage' => ['description' => 'Current page.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Query User Model List',
'translator' => 'machine',
@@ -3160,12 +1765,8 @@
.'This API is used to delete a specified customer model from the system. When calling, you must provide the `customerModuleId` parameter, which identifies the specific model to be deleted.'."\n"
."\n"
.'- **Note**: The deletion operation is irreversible, please use with caution.'."\n",
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3177,9 +1778,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -3187,14 +1786,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -3205,64 +1797,32 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'string',
- 'example' => '374',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'string', 'example' => '374'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Duplicate Model',
'translator' => 'machine',
],
'EditModel' => [
'summary' => 'Edit Model',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3274,9 +1834,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -3284,14 +1842,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -3301,51 +1852,24 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: The call was successful.'."\n"
- .'- **false**: The call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Result object.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: The call was successful.'."\n"
+ .'- **false**: The call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Result object.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Rollback Model to Edit',
'translator' => 'machine',
@@ -3357,13 +1881,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' => [],
@@ -3375,9 +1894,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -3385,13 +1902,7 @@
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'Project ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'],
],
],
'responses' => [
@@ -3400,39 +1911,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'string', 'example' => 'xxx'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', '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' => 'Get Initial Login Password',
'translator' => 'machine',
@@ -3443,13 +1935,8 @@
.'This API is used to delete a specified customer model from the system. When calling, you must provide the `customerModuleId` parameter, which identifies the specific model to be deleted.'."\n"
."\n"
.'- **Note**: The deletion operation is irreversible, please use with caution.'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3461,9 +1948,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -3471,14 +1956,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -3489,51 +1967,24 @@
'description' => 'Response Schema',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Result object.',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Result object.', 'type' => 'string', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Iterate Model',
'translator' => 'machine',
@@ -3541,13 +1992,8 @@
'OfflineModel' => [
'summary' => 'Offline Model',
'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3559,9 +2005,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -3569,14 +2013,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -3586,52 +2023,24 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: The call was successful.'."\n"
- .'- **false**: The call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: The call was successful.'."\n"
+ .'- **false**: The call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'true'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Offline Model',
'translator' => 'machine',
@@ -3642,13 +2051,8 @@
.'This API is used to delete a specified customer model from the system. When calling, you must provide the `customerModuleId` parameter, which identifies the specific model to be deleted.'."\n"
."\n"
.'- **Note**: Deletion is irreversible, please use with caution.'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3660,9 +2064,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -3670,14 +2072,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -3688,51 +2083,24 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Online Model',
'translator' => 'machine',
@@ -3743,13 +2111,8 @@
.'- This interface is used to query all available feature templates in the system.'."\n"
.'- The request method is GET, and no additional parameters are required.'."\n"
.'- The returned result includes multiple feature template options, each of which includes a label (label) and a value (value).'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3761,9 +2124,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -3771,12 +2132,7 @@
[
'name' => 'Expression',
'in' => 'query',
- 'schema' => [
- 'description' => 'Expression.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'score',
- ],
+ 'schema' => ['description' => 'Expression.', 'type' => 'string', 'required' => false, 'example' => 'score'],
],
],
'responses' => [
@@ -3787,20 +2143,11 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. A return of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. A return of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'object',
@@ -3808,45 +2155,25 @@
'Params' => [
'description' => 'List of parameters.',
'type' => 'array',
- 'items' => [
- 'description' => 'Parameters after expression parsing.',
- 'type' => 'string',
- 'example' => 'score',
- ],
+ 'items' => ['description' => 'Parameters after expression parsing.', 'type' => 'string', 'example' => 'score'],
],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Test Expression Parsing',
'translator' => 'machine',
],
'PrepublishModel' => [
'summary' => 'Pre-release Model',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3858,9 +2185,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -3868,14 +2193,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -3885,51 +2203,24 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Submit to Test Environment',
'translator' => 'machine',
@@ -3941,13 +2232,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' => [],
@@ -3959,9 +2245,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -3969,13 +2253,7 @@
[
'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Project ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '01',
- ],
+ 'schema' => ['description' => 'Project ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '01'],
],
],
'responses' => [
@@ -3984,30 +2262,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '创建成功',
],
@@ -4016,15 +2277,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' => 'Request to Sync Model Files',
'translator' => 'machine',
@@ -4035,13 +2291,8 @@
.'This API is used to delete a specified customer model from the system. When calling, you must provide the `customerModuleId` parameter, which identifies the specific model to be deleted.'."\n"
."\n"
.'- **Note**: The deletion operation is irreversible, please use with caution.'."\n",
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4053,9 +2304,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -4063,14 +2312,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -4081,43 +2323,19 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'Request 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' => 'Rollback',
'translator' => 'machine',
@@ -4128,13 +2346,8 @@
.'- This interface is used to query all available feature templates in the system.'."\n"
.'- The request method is GET, and no additional parameters are required.'."\n"
.'- The returned result includes multiple feature template options, each of which includes a label (label) and a value (value).'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4146,9 +2359,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -4156,14 +2367,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -4174,20 +2378,11 @@
'description' => 'Response Schema',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'object',
@@ -4199,75 +2394,30 @@
'description' => 'Results.',
'type' => 'object',
'properties' => [
- 'ActualResult' => [
- 'description' => 'Actual output.',
- 'type' => 'string',
- 'example' => '0.00',
- ],
- 'Consistency' => [
- 'description' => 'Whether it is consistent.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TestResult' => [
- 'description' => 'Test output.',
- 'type' => 'string',
- 'example' => '0.00',
- ],
- 'TrainResult' => [
- 'description' => 'Training output.',
- 'type' => 'string',
- 'example' => '0.00',
- ],
+ 'ActualResult' => ['description' => 'Actual output.', 'type' => 'string', 'example' => '0.00'],
+ 'Consistency' => ['description' => 'Whether it is consistent.', 'type' => 'boolean', 'example' => 'true'],
+ 'TestResult' => ['description' => 'Test output.', 'type' => 'string', 'example' => '0.00'],
+ 'TrainResult' => ['description' => 'Training output.', 'type' => 'string', 'example' => '0.00'],
],
],
],
- 'ConsistencyRate' => [
- 'description' => 'Consistency rate.',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '98.0',
- ],
- 'Total' => [
- 'description' => 'Total number.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'ConsistencyCount' => [
- 'description' => 'Number of consistencies.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '49.0',
- ],
+ 'ConsistencyRate' => ['description' => 'Consistency rate.', 'type' => 'number', 'format' => 'double', 'example' => '98.0'],
+ 'Total' => ['description' => 'Total number.', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'ConsistencyCount' => ['description' => 'Number of consistencies.', 'type' => 'integer', 'format' => 'int64', 'example' => '49.0'],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Model Submission Test',
'translator' => 'machine',
@@ -4278,13 +2428,8 @@
.'- This interface is used to query all available feature templates in the system.'."\n"
.'- The request method is GET, and no additional parameters are required.'."\n"
.'- The returned result includes multiple feature template options, each of which includes a label (label) and a value (value).'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4296,9 +2441,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -4306,14 +2449,7 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -4324,55 +2460,28 @@
'description' => 'Response Schema',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. A return of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. A return of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'array',
- 'items' => [
- 'description' => 'Result object.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
+ 'items' => ['description' => 'Result object.', 'type' => 'boolean', 'example' => 'true'],
],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Test Environment Verification',
'translator' => 'machine',
@@ -4383,13 +2492,8 @@
.'- This interface is used to query all available feature templates in the system.'."\n"
.'- The request method is GET, and no additional parameters are required.'."\n"
.'- The returned result includes multiple feature template options, each of which includes a label (label) and a value (value).'."\n",
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4401,9 +2505,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -4411,22 +2513,12 @@
[
'name' => 'Expression',
'in' => 'query',
- 'schema' => [
- 'description' => 'Expression.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'score',
- ],
+ 'schema' => ['description' => 'Expression.', 'type' => 'string', 'required' => false, 'example' => 'score'],
],
[
'name' => 'Params',
'in' => 'query',
- 'schema' => [
- 'description' => 'Parameter list.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"score": "1"}',
- ],
+ 'schema' => ['description' => 'Parameter list.', 'type' => 'string', 'required' => false, 'example' => '{"score": "1"}'],
],
],
'responses' => [
@@ -4437,63 +2529,33 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'object',
'properties' => [
- 'Score' => [
- 'description' => 'Test score.',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
+ 'Score' => ['description' => 'Test score.', 'type' => 'number', 'format' => 'double', 'example' => '10'],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Score Processing Expression Test',
'translator' => 'machine',
],
'UpdateModuleBasicInfo' => [
'summary' => 'Update basic model information',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4505,9 +2567,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafY3PCXI',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafY3PCXI'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -4515,54 +2575,27 @@
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '客户模型id',
- 'description' => 'Customer model ID',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['title' => '客户模型id', 'description' => 'Customer model ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '456'],
],
[
'name' => 'CustomerModuleName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Model name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'moduleName',
- ],
+ 'schema' => ['description' => 'Model name.', 'type' => 'string', 'required' => false, 'example' => 'moduleName'],
],
[
'name' => 'ModuleType',
'in' => 'query',
- 'schema' => [
- 'description' => 'Module type.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PMML',
- ],
+ 'schema' => ['description' => 'Module type.', 'type' => 'string', 'required' => false, 'example' => 'PMML'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'Description.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => 'Description.', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
[
'name' => 'StorePath',
'in' => 'query',
- 'schema' => [
- 'description' => 'Test address.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'saf/xxxxx/xxx.pmml',
- ],
+ 'schema' => ['description' => 'Test address.', 'type' => 'string', 'required' => false, 'example' => 'saf/xxxxx/xxx.pmml'],
],
],
'responses' => [
@@ -4572,65 +2605,32 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: The call was successful.'."\n"
- .'- **false**: The call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResultObject' => [
- 'description' => 'Return result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: The call was successful.'."\n"
+ .'- **false**: The call failed.', 'type' => 'boolean', 'example' => 'true'],
+ 'ResultObject' => ['description' => 'Return result.', 'type' => 'boolean', 'example' => 'true'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Update Basic Model Information',
'translator' => 'machine',
],
'ValidateModelFile' => [
'summary' => 'Validate model file',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4642,9 +2642,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -4652,12 +2650,7 @@
[
'name' => 'FilePath',
'in' => 'query',
- 'schema' => [
- 'description' => 'File path.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'saf/xxxxxxx/xxx.pmml',
- ],
+ 'schema' => ['description' => 'File path.', 'type' => 'string', 'required' => false, 'example' => 'saf/xxxxxxx/xxx.pmml'],
],
],
'responses' => [
@@ -4667,62 +2660,33 @@
'description' => 'Schema of response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- ."\n"
- .'- **true**: The call was successful.'."\n"
- .'- **false**: The call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ ."\n"
+ .'- **true**: The call was successful.'."\n"
+ .'- **false**: The call failed.', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Returned result.',
'type' => 'object',
'properties' => [
- 'FileValid' => [
- 'description' => 'Validation result.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'FileValid' => ['description' => 'Validation result.', 'type' => 'boolean', 'example' => 'true'],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Model Validation',
'translator' => 'machine',
],
'ValidateTestFile' => [
'summary' => 'Validate Test File',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4734,9 +2698,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafHFAOY3',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafHFAOY3'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -4744,22 +2706,12 @@
[
'name' => 'FilePath',
'in' => 'query',
- 'schema' => [
- 'description' => 'File path.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'saf/xxxxxx/xxxxx.pmml',
- ],
+ 'schema' => ['description' => 'File path.', 'type' => 'string', 'required' => false, 'example' => 'saf/xxxxxx/xxxxx.pmml'],
],
[
'name' => 'CustomerModuleId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Model ID.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '456',
- ],
+ 'schema' => ['description' => 'Model ID.', 'type' => 'string', 'required' => false, 'example' => '456'],
],
],
'responses' => [
@@ -4769,60 +2721,31 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => 'Status code. A return value of 200 indicates success.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'Success' => [
- 'description' => 'Indicates whether the call was successful.'."\n"
- .'- **true**: Call succeeded.'."\n"
- .'- **false**: Call failed.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'Code' => ['description' => 'Status code. A return value of 200 indicates success.', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Success' => ['description' => 'Indicates whether the call was successful.'."\n"
+ .'- **true**: Call succeeded.'."\n"
+ .'- **false**: Call failed.', 'type' => 'boolean', 'example' => 'true'],
'ResultObject' => [
'description' => 'Return result.',
'type' => 'object',
'properties' => [
- 'FileValid' => [
- 'description' => 'Whether the test file is valid.',
- 'type' => 'boolean',
- ],
+ 'FileValid' => ['description' => 'Whether the test file is valid.', 'type' => 'boolean'],
],
],
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP status code.',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A91D2D1-AEC9-1658-ABCE-5A39DE66A5C2'],
+ 'HttpStatusCode' => ['description' => 'HTTP status code.', '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' => 'Test Model Validation',
'translator' => 'machine',
],
],
'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'],
],
];