summaryrefslogtreecommitdiff
path: root/data/en_us/waf-openapi/2017-09-30
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/waf-openapi/2017-09-30
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/waf-openapi/2017-09-30')
-rw-r--r--data/en_us/waf-openapi/2017-09-30/api-docs.php802
1 files changed, 157 insertions, 645 deletions
diff --git a/data/en_us/waf-openapi/2017-09-30/api-docs.php b/data/en_us/waf-openapi/2017-09-30/api-docs.php
index d7f42ff..1a83363 100644
--- a/data/en_us/waf-openapi/2017-09-30/api-docs.php
+++ b/data/en_us/waf-openapi/2017-09-30/api-docs.php
@@ -1,30 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'waf-openapi',
- 'version' => '2017-09-30',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'waf-openapi', 'version' => '2017-09-30'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'AppOpenAck',
- 'DescribeDomainNames',
- 'CreateDomainConfig',
- 'DescribeDomains',
- 'DescribeHttpsCertInUse',
- 'DescribeNeedUpgradeDomainLimit',
- 'DescribePackage',
- 'DescribeQps',
- 'DescribeRegionStatus',
- 'DescribeRegions',
- 'ModifyDomainPackageCount',
- 'ModifyDomainConfig',
- 'ModifyWafSwitch',
- ],
+ 'children' => ['AppOpenAck', 'DescribeDomainNames', 'CreateDomainConfig', 'DescribeDomains', 'DescribeHttpsCertInUse', 'DescribeNeedUpgradeDomainLimit', 'DescribePackage', 'DescribeQps', 'DescribeRegionStatus', 'DescribeRegions', 'ModifyDomainPackageCount', 'ModifyDomainConfig', 'ModifyWafSwitch'],
],
],
'components' => [
@@ -32,14 +14,8 @@
],
'apis' => [
'AppOpenAck' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -48,51 +24,33 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92965',
- 'abilityTreeNodes' => [
- 'FEATUREwafHU8RSD',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafHU8RSD'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
[
'name' => 'AppName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AsyncMethod',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Ack',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -100,38 +58,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbbiden',
- 'errorMessage' => 'User not authorized to operate on the specified resource.',
- ],
+ ['errorCode' => 'Forbbiden', 'errorMessage' => 'User not authorized to operate on the specified resource.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DescribeDomainNames' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -140,27 +84,18 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92968',
- 'abilityTreeNodes' => [
- 'FEATUREwafD36LCH',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafD36LCH'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -168,18 +103,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'DomainNames' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'DomainName' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -189,29 +120,17 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbbiden',
- 'errorMessage' => 'User not authorized to operate on the specified resource.',
- ],
+ ['errorCode' => 'Forbbiden', 'errorMessage' => 'User not authorized to operate on the specified resource.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'CreateDomainConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -220,134 +139,78 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '92966',
- 'abilityTreeNodes' => [
- 'FEATUREwafD36LCH',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafD36LCH'],
],
'parameters' => [
[
'name' => 'Caller',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'SourceIps',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Protocols',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'HttpPort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'HttpsPort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RsType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'IsAccessProduct',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1'],
],
[
'name' => 'LoadBalancing',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'HttpsRedirect',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'HttpToUserIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'IsNonStandardPort',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
],
'responses' => [
@@ -355,12 +218,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Cname' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'Cname' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -368,14 +227,8 @@
'responseDemo' => null,
],
'DescribeDomains' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -384,56 +237,33 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '92969',
- 'abilityTreeNodes' => [
- 'FEATUREwafD36LCH',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafD36LCH'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => '',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '10',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '10'],
],
],
'responses' => [
@@ -447,61 +277,36 @@
'properties' => [
'Domain' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'PageInfo' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'CurrentPage' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Total' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'CurrentPage' => ['type' => 'integer', 'format' => 'int32'],
+ 'Total' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbbiden',
- 'errorMessage' => 'User not authorized to operate on the specified resource.',
- ],
+ ['errorCode' => 'Forbbiden', 'errorMessage' => 'User not authorized to operate on the specified resource.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DescribeHttpsCertInUse' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -510,27 +315,18 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92971',
- 'abilityTreeNodes' => [
- 'FEATUREwafD36LCH',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafD36LCH'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -538,21 +334,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'CertContent' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'CertId' => [
- 'type' => 'string',
- ],
- 'CertName' => [
- 'type' => 'string',
- ],
- 'CertKey' => [
- 'type' => 'string',
- ],
+ 'CertContent' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'CertId' => ['type' => 'string'],
+ 'CertName' => ['type' => 'string'],
+ 'CertKey' => ['type' => 'string'],
],
],
],
@@ -560,14 +346,8 @@
'responseDemo' => null,
],
'DescribeNeedUpgradeDomainLimit' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -576,35 +356,23 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92972',
- 'abilityTreeNodes' => [
- 'FEATUREwafD36LCH',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafD36LCH'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -612,12 +380,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'NeedUpgrade' => [
- 'type' => 'boolean',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'NeedUpgrade' => ['type' => 'boolean'],
],
],
],
@@ -625,14 +389,8 @@
'responseDemo' => null,
],
'DescribePackage' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -641,19 +399,13 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92973',
- 'abilityTreeNodes' => [
- 'FEATUREwafHU8RSD',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafHU8RSD'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
],
'responses' => [
@@ -661,28 +413,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'Version' => [
- 'type' => 'string',
- ],
- 'ExpireTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'RequestId' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ 'Version' => ['type' => 'string'],
+ 'ExpireTime' => ['type' => 'integer', 'format' => 'int64'],
'Rules' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Rule' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -692,29 +433,17 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbbiden',
- 'errorMessage' => 'User not authorized to operate on the specified resource.',
- ],
+ ['errorCode' => 'Forbbiden', 'errorMessage' => 'User not authorized to operate on the specified resource.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DescribeQps' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -723,62 +452,38 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92974',
- 'abilityTreeNodes' => [
- 'FEATUREwafVPSU1I',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafVPSU1I'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'StartMillisecond',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'EndMillisecond',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'Field',
@@ -786,9 +491,7 @@
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
'maxItems' => 200,
],
@@ -799,24 +502,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'TimeScope' => [
'type' => 'object',
'properties' => [
- 'Start' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'End' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Step' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Start' => ['type' => 'integer', 'format' => 'int64'],
+ 'End' => ['type' => 'integer', 'format' => 'int64'],
+ 'Step' => ['type' => 'integer', 'format' => 'int32'],
],
],
'Items' => [
@@ -825,9 +517,7 @@
'properties' => [
'Qps' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -837,71 +527,43 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbbiden',
- 'errorMessage' => 'User not authorized to operate on the specified resource.',
- ],
+ ['errorCode' => 'Forbbiden', 'errorMessage' => 'User not authorized to operate on the specified resource.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DescribeRegionStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceSource',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'waf-cloud',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'waf-cloud'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
],
'responses' => [
@@ -909,46 +571,26 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'InDebt' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PayType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'InDebt' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'PayType' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbbiden',
- 'errorMessage' => 'User not authorized to operate on the specified resource.',
- ],
+ ['errorCode' => 'Forbbiden', 'errorMessage' => 'User not authorized to operate on the specified resource.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'DescribeRegions' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -957,9 +599,7 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '92975',
- 'abilityTreeNodes' => [
- 'FEATUREwafHU8RSD',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafHU8RSD'],
],
'parameters' => [],
'responses' => [
@@ -967,18 +607,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
'Regions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Region' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -988,29 +624,17 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbbiden',
- 'errorMessage' => 'User not authorized to operate on the specified resource.',
- ],
+ ['errorCode' => 'Forbbiden', 'errorMessage' => 'User not authorized to operate on the specified resource.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
],
],
'responseDemo' => null,
],
'ModifyDomainPackageCount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1019,36 +643,23 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92983',
- 'abilityTreeNodes' => [
- 'FEATUREwafHU8RSD',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafHU8RSD'],
],
'parameters' => [
[
'name' => 'DomainPackageCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
],
'responses' => [
@@ -1056,9 +667,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1066,14 +675,8 @@
'responseDemo' => null,
],
'ModifyDomainConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1082,134 +685,78 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92982',
- 'abilityTreeNodes' => [
- 'FEATUREwafD36LCH',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafD36LCH'],
],
'parameters' => [
[
'name' => 'Caller',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'SourceIps',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Protocols',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'HttpPort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'HttpsPort',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RsType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'IsAccessProduct',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '1',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1'],
],
[
'name' => 'LoadBalancing',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'HttpsRedirect',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'HttpToUserIp',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'IsNonStandardPort',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
],
'responses' => [
@@ -1217,9 +764,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1227,14 +772,8 @@
'responseDemo' => null,
],
'ModifyWafSwitch' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1243,52 +782,33 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92984',
- 'abilityTreeNodes' => [
- 'FEATUREwafHU8RSD',
- ],
+ 'abilityTreeNodes' => ['FEATUREwafHU8RSD'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'cn',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'cn'],
],
[
'name' => 'Caller',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ServiceOn',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
],
'responses' => [
@@ -1296,9 +816,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
@@ -1307,13 +825,7 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'wafopenapi.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'wafopenapi.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'wafopenapi.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'wafopenapi.ap-southeast-1.aliyuncs.com'],
],
];