diff options
Diffstat (limited to 'data/en_us/metaspace')
| -rw-r--r-- | data/en_us/metaspace/2022-03-07/api-docs.php | 436 |
1 files changed, 436 insertions, 0 deletions
diff --git a/data/en_us/metaspace/2022-03-07/api-docs.php b/data/en_us/metaspace/2022-03-07/api-docs.php new file mode 100644 index 0000000..f81464f --- /dev/null +++ b/data/en_us/metaspace/2022-03-07/api-docs.php @@ -0,0 +1,436 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'metaspace', + 'version' => '2022-03-07', + ], + 'directories' => [ + 'GenerateCoordinationCode', + 'ApplyCoordinationWithCode', + 'EndAllCoordinationByOwner', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GenerateCoordinationCode' => [ + 'summary' => '生成协同码', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREappstreamingD8SMIE', + ], + ], + 'parameters' => [ + [ + 'name' => 'LoginToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v2c4e2ef03d62******'."\n", + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '09e2b2e6-3181******'."\n", + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-68a7ddrt0******', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CloudDesktop' => '', + 'CloudApp' => '', + ], + 'example' => 'CloudDesktop', + ], + ], + [ + 'name' => 'ResourceRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'demo-desktop', + ], + ], + [ + 'name' => 'LoginRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'AD2D0761-1FE5-549D-B169******'."\n", + ], + 'CoordinationCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PA3MU***', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD2D0761-1FE5-549D-B169******\\\\n\\",\\n \\"CoordinationCode\\": \\"PA3MU***\\"\\n}","type":"json"}]', + ], + 'ApplyCoordinationWithCode' => [ + 'summary' => '用协同码发起协同', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREappstreamingD8SMIE', + ], + ], + 'parameters' => [ + [ + 'name' => 'LoginToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v2c4e2ef03d62******'."\n", + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '09e2b2e6-3181******'."\n", + ], + ], + [ + 'name' => 'CoordinationCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PA3MU***'."\n", + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'A8B35215993FBF283F28D61******'."\n", + ], + ], + [ + 'name' => 'LoginRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'AD2D0761-1FE5-549D-B169******'."\n", + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CoId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'co-0ad0f3p4n2******', + ], + 'OwnerUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alice', + ], + 'OwnerAliUid' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1126819517******'."\n", + ], + 'CoordinatorUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'bob', + ], + 'CoordinatorAliUid' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1126819517******'."\n", + ], + 'CoordinateStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'TERMINATED' => '', + 'COORDINATING' => '', + 'PENDING' => '', + ], + 'example' => 'COORDINATING', + ], + 'ResourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ecd-3vv4mf8zxg******', + ], + 'ResourceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'demo-desktop', + ], + 'ResourceType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'CloudDesktop' => '', + 'CloudApp' => '', + ], + 'example' => 'CloudDesktop', + ], + 'ResourceRegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'CoordinateTicket' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DQpbRGVza3RvcF0NCkZvcmNlVGxzVHlwZT0xDQ******', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD2D0761-1FE5-549D-B169******\\\\n\\",\\n \\"Data\\": {\\n \\"CoId\\": \\"co-0ad0f3p4n2******\\",\\n \\"OwnerUserId\\": \\"alice\\",\\n \\"OwnerAliUid\\": 0,\\n \\"CoordinatorUserId\\": \\"bob\\",\\n \\"CoordinatorAliUid\\": 0,\\n \\"CoordinateStatus\\": \\"COORDINATING\\",\\n \\"ResourceId\\": \\"ecd-3vv4mf8zxg******\\",\\n \\"ResourceName\\": \\"demo-desktop\\",\\n \\"ResourceType\\": \\"CloudDesktop\\",\\n \\"ResourceRegionId\\": \\"cn-hangzhou\\",\\n \\"CoordinateTicket\\": \\"DQpbRGVza3RvcF0NCkZvcmNlVGxzVHlwZT0xDQ******\\"\\n }\\n}","type":"json"}]', + ], + 'EndAllCoordinationByOwner' => [ + 'summary' => 'Owner主动结束本次协同,同步失效协同码', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREappstreamingD8SMIE', + ], + ], + 'parameters' => [ + [ + 'name' => 'LoginToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v2c4e2ef03d62******', + ], + ], + [ + 'name' => 'LoginRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '09e2b2e6-3181******', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-68a7ddrt0******', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CloudDesktop' => '', + 'CloudApp' => '', + ], + 'example' => 'CloudDesktop', + ], + ], + [ + 'name' => 'ResourceRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'AD2D0761-1FE5-549D-B169******', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD2D0761-1FE5-549D-B169******\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'metaspace.aliyuncs.com', + ], + ], +]; |
