summaryrefslogtreecommitdiff
path: root/data/en_us/nls-cloud-meta/2018-05-18/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/nls-cloud-meta/2018-05-18/api-docs.php
downloadacs-metadata-full-b5cdc3380f379f7c0246858ac091f04334b7fb8d.tar.gz
acs-metadata-full-b5cdc3380f379f7c0246858ac091f04334b7fb8d.zip
Diffstat (limited to 'data/en_us/nls-cloud-meta/2018-05-18/api-docs.php')
-rw-r--r--data/en_us/nls-cloud-meta/2018-05-18/api-docs.php122
1 files changed, 122 insertions, 0 deletions
diff --git a/data/en_us/nls-cloud-meta/2018-05-18/api-docs.php b/data/en_us/nls-cloud-meta/2018-05-18/api-docs.php
new file mode 100644
index 0000000..f96fea5
--- /dev/null
+++ b/data/en_us/nls-cloud-meta/2018-05-18/api-docs.php
@@ -0,0 +1,122 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'nls-cloud-meta',
+ 'version' => '2018-05-18',
+ ],
+ 'directories' => [
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateToken',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'CreateToken' => [
+ 'summary' => '创建Token',
+ 'path' => '/pop/2018-05-18/tokens',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREnlsQCJJW7',
+ 'FEATUREnls1MXGI2',
+ 'FEATUREnlsJNB1FR',
+ 'FEATUREnlsLCZB9H',
+ 'FEATUREnls3WJ7BI',
+ 'FEATUREnlsJSWKDV',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'A51587CB-5193-4DB8-9AED-CD4365C2****',
+ ],
+ 'ErrMsg' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Specified access key is not found.',
+ ],
+ 'Token' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExpireTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1553825814',
+ ],
+ 'UserId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'fb1c4648a61b426589dab0fe90d1****',
+ ],
+ ],
+ ],
+ 'NlsRequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dd05a301b40441c99a2671905325****',
+ ],
+ 'ErrCode' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '50000000',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A51587CB-5193-4DB8-9AED-CD4365C2****\\",\\n \\"ErrMsg\\": \\"Specified access key is not found.\\",\\n \\"Token\\": {\\n \\"ExpireTime\\": 1553825814,\\n \\"UserId\\": \\"xxx\\",\\n \\"Id\\": \\"fb1c4648a61b426589dab0fe90d1****\\"\\n },\\n \\"NlsRequestId\\": \\"dd05a301b40441c99a2671905325****\\",\\n \\"ErrCode\\": 50000000\\n}","type":"json"}]',
+ ],
+ ],
+ '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 ',
+ ],
+ ],
+];