summaryrefslogtreecommitdiff
path: root/data/domain/2018-02-08/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/domain/2018-02-08/api-docs.php')
-rw-r--r--data/domain/2018-02-08/api-docs.php140
1 files changed, 26 insertions, 114 deletions
diff --git a/data/domain/2018-02-08/api-docs.php b/data/domain/2018-02-08/api-docs.php
index e149f53..e41a33d 100644
--- a/data/domain/2018-02-08/api-docs.php
+++ b/data/domain/2018-02-08/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Domain',
- 'version' => '2018-02-08',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Domain', 'version' => '2018-02-08'],
'components' => [
'schemas' => [],
],
'apis' => [
'QueryBrokerDemand' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'APP' => [],
@@ -37,57 +27,29 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- ],
+ 'enum' => ['1', '2', '3', '4', '5', '6', '7', '8', '9'],
],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '10',
- 'maximum' => '200',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '200'],
],
[
'name' => 'BizId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateFixedPriceSelectedOrder' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -98,55 +60,33 @@
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Code',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Source',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ContactId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ExpectedPrice',
'in' => 'query',
- 'schema' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'number', 'format' => 'double', 'required' => true],
],
],
],
'CheckSelectedDomainStatus' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -157,21 +97,13 @@
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'SelectedDomainList' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -182,22 +114,14 @@
[
'name' => 'ListDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'QueryExchangeRate' => [
'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -208,30 +132,18 @@
[
'name' => 'FromCurrency',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ToCurrency',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'domain.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'domain-intl.aliyuncs.com',
- ],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'domain.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'domain-intl.aliyuncs.com'],
],
];