summaryrefslogtreecommitdiff
path: root/data/en_us/appstream-center/2021-02-18
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/appstream-center/2021-02-18
downloadacs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz
acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip
Diffstat (limited to 'data/en_us/appstream-center/2021-02-18')
-rw-r--r--data/en_us/appstream-center/2021-02-18/api-docs.php325
1 files changed, 325 insertions, 0 deletions
diff --git a/data/en_us/appstream-center/2021-02-18/api-docs.php b/data/en_us/appstream-center/2021-02-18/api-docs.php
new file mode 100644
index 0000000..4b300f4
--- /dev/null
+++ b/data/en_us/appstream-center/2021-02-18/api-docs.php
@@ -0,0 +1,325 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'appstream-center',
+ 'version' => '2021-02-18',
+ ],
+ 'directories' => [
+ 'GetAuthCode',
+ [
+ 'id' => 354391,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'ExpireLoginToken',
+ 'GetStsToken',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'GetAuthCode' => [
+ 'summary' => 'Obtains an authorization code that includes the identity and permission information of a user. You can use the code to launch cloud apps in integration scenarios.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'ExternalUserId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alice',
+ ],
+ ],
+ [
+ 'name' => 'EndUserId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alice',
+ ],
+ ],
+ [
+ 'name' => 'Policy',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "Version": "1",'."\n"
+ .' "Resource": {'."\n"
+ .' "Type": "AppInstanceGroup",'."\n"
+ .' "Id": "aig-9ciijz60n4xsv****"'."\n"
+ .' }'."\n"
+ .'}',
+ ],
+ ],
+ [
+ 'name' => 'AutoCreateUser',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****',
+ ],
+ 'AuthModel' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acv2ZEq2TNSqOlX+DvyetHGRT08iPhbWg/os1W4HojpBxkMQZkAnbKSfz/wNvS0E149IQZ5TogvBUE8ghCSVV+QBnv48Y+sn4z9fY5ywZA1peI5s4TplQI0TADBhPZXEIzMOdmbNsDGGlGcKOAq8ixd1Epzdu9XfvRzdLOO6o3zQwTZxXsjOgGBW8JTcgCP9W9iYiIjHIdZ2VCAnmMzuyVkyED8gymEevH10QoclyH/O3s8Yq6VF34gMXihDQeiI8PyiAZrW0JWXSWpdy3n4yGtAqMAgv46FzTA+XJ6C********',
+ ],
+ 'EndUserId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'alice',
+ ],
+ 'ExpireTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"AuthModel\\": {\\n \\"AuthCode\\": \\"acv2ZEq2TNSqOlX+DvyetHGRT08iPhbWg/os1W4HojpBxkMQZkAnbKSfz/wNvS0E149IQZ5TogvBUE8ghCSVV+QBnv48Y+sn4z9fY5ywZA1peI5s4TplQI0TADBhPZXEIzMOdmbNsDGGlGcKOAq8ixd1Epzdu9XfvRzdLOO6o3zQwTZxXsjOgGBW8JTcgCP9W9iYiIjHIdZ2VCAnmMzuyVkyED8gymEevH10QoclyH/O3s8Yq6VF34gMXihDQeiI8PyiAZrW0JWXSWpdy3n4yGtAqMAgv46FzTA+XJ6C********\\",\\n \\"EndUserId\\": \\"alice\\",\\n \\"ExpireTime\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetAuthCode',
+ ],
+ 'ExpireLoginToken' => [
+ 'summary' => 'Manually invalidates a logon token.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'SessionId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'a863f4c3-2f1d-4971-8cf7-e2b92ae9****',
+ ],
+ ],
+ [
+ 'name' => 'LoginToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v185fdd7f6d39fa7861981639366085772e150a390a5bb7b43c4e62440d94fc392b945770e1596cebe90085ce0af4d****',
+ ],
+ ],
+ [
+ 'name' => 'EndUserId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'testuser',
+ ],
+ ],
+ [
+ 'name' => 'OfficeSiteId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing+dir-172301****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]',
+ 'title' => 'ExpireLoginToken',
+ ],
+ 'GetStsToken' => [
+ 'summary' => '获取stsToken',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREappstreamingV87T4P',
+ ],
+ 'autoTest' => false,
+ 'notSupportAutoTestReason' => '参数无阿里云资源id',
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ExternalId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Alex',
+ ],
+ ],
+ [
+ 'name' => 'EndUserId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Alex',
+ ],
+ ],
+ [
+ 'name' => 'Expiration',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '600',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CCF92035-6231-5ABB-930E-1E003C32****',
+ ],
+ 'StsTokenModel' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SessionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'be4be09e-cd00-4b4c-add7-11b4d8****',
+ ],
+ 'StsToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sts****',
+ ],
+ 'AliUid' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '105552640689****',
+ ],
+ 'TenantId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '105552640689****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CCF92035-6231-5ABB-930E-1E003C32****\\",\\n \\"StsTokenModel\\": {\\n \\"SessionId\\": \\"be4be09e-cd00-4b4c-add7-11b4d8****\\",\\n \\"StsToken\\": \\"sts****\\",\\n \\"AliUid\\": 0,\\n \\"TenantId\\": 0\\n }\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'appstream-center.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'appstream-center.ap-southeast-1.aliyuncs.com',
+ ],
+ ],
+];