summaryrefslogtreecommitdiff
path: root/data/appstream-center/2021-02-18
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/appstream-center/2021-02-18
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/appstream-center/2021-02-18')
-rw-r--r--data/appstream-center/2021-02-18/api-docs.php136
1 files changed, 50 insertions, 86 deletions
diff --git a/data/appstream-center/2021-02-18/api-docs.php b/data/appstream-center/2021-02-18/api-docs.php
index 33b19d6..0d4ede5 100644
--- a/data/appstream-center/2021-02-18/api-docs.php
+++ b/data/appstream-center/2021-02-18/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'appstream-center',
- 'version' => '2021-02-18',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'appstream-center', 'version' => '2021-02-18'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'GetAuthCode' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ExpireLoginToken' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26,48 +16,30 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ExternalUserId',
+ 'name' => 'SessionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EndUserId',
+ 'name' => 'LoginToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Policy',
+ 'name' => 'EndUserId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AutoCreateUser',
+ 'name' => 'OfficeSiteId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ExpireLoginToken' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetAuthCode' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -76,48 +48,56 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'SessionId',
+ 'name' => 'ExternalUserId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LoginToken',
+ 'name' => 'EndUserId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EndUserId',
+ 'name' => 'Policy',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'AutoCreateUser',
'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'TokenType',
+ 'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'enum' => ['LoginToken', 'StsToken'],
],
],
[
- 'name' => 'OfficeSiteId',
+ 'name' => 'AccountType',
'in' => 'formData',
'schema' => [
'type' => 'string',
- 'required' => false,
+ 'enum' => ['ad', 'simple'],
],
],
+ [
+ 'name' => 'AdDomain',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'AdPassword',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
+ ],
],
],
'GetStsToken' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -128,39 +108,23 @@
[
'name' => 'ExternalId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndUserId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Expiration',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'appstream-center.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'appstream-center.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'appstream-center.cn-shanghai.aliyuncs.com', 'endpoint' => 'appstream-center.cn-shanghai.aliyuncs.com', 'vpc' => 'appstream-center-intl.vpc-proxy.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'appstream-center.ap-southeast-1.aliyuncs.com', 'endpoint' => 'appstream-center.ap-southeast-1.aliyuncs.com', 'vpc' => 'appstream-center-intl.vpc-proxy.aliyuncs.com'],
],
];