summaryrefslogtreecommitdiff
path: root/data/nls-filetrans/2019-08-23
diff options
context:
space:
mode:
Diffstat (limited to 'data/nls-filetrans/2019-08-23')
-rw-r--r--data/nls-filetrans/2019-08-23/api-docs.php49
1 files changed, 10 insertions, 39 deletions
diff --git a/data/nls-filetrans/2019-08-23/api-docs.php b/data/nls-filetrans/2019-08-23/api-docs.php
index 2e176eb..ea7b191 100644
--- a/data/nls-filetrans/2019-08-23/api-docs.php
+++ b/data/nls-filetrans/2019-08-23/api-docs.php
@@ -1,22 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'nls-filetrans',
- 'version' => '2019-08-23',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'nls-filetrans', 'version' => '2019-08-23'],
'components' => [
'schemas' => [],
],
'apis' => [
'GetTaskResult' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26,21 +17,13 @@
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'SubmitTask' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -53,26 +36,14 @@
[
'name' => 'Task',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'nls-filetrans.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'nls-filetrans.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'nls-filetrans.cn-shenzhen.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'nls-filetrans.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'nls-filetrans.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'nls-filetrans.cn-shenzhen.aliyuncs.com'],
],
];