summaryrefslogtreecommitdiff
path: root/data/nls-cloud-meta/2018-05-18/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/nls-cloud-meta/2018-05-18/api-docs.php')
-rw-r--r--data/nls-cloud-meta/2018-05-18/api-docs.php30
1 files changed, 6 insertions, 24 deletions
diff --git a/data/nls-cloud-meta/2018-05-18/api-docs.php b/data/nls-cloud-meta/2018-05-18/api-docs.php
index f24e324..7f2ef1f 100644
--- a/data/nls-cloud-meta/2018-05-18/api-docs.php
+++ b/data/nls-cloud-meta/2018-05-18/api-docs.php
@@ -1,23 +1,14 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'nls-cloud-meta',
- 'version' => '2018-05-18',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'nls-cloud-meta', 'version' => '2018-05-18'],
'components' => [
'schemas' => [],
],
'apis' => [
'CreateToken' => [
'path' => '/pop/2018-05-18/tokens',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27,17 +18,8 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'nls-slp.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com ',
- ],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'nls-slp.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'nls-meta.cn-shanghai.aliyuncs.com '],
],
];