diff options
Diffstat (limited to 'data/maas/2026-03-18/api-docs.php')
| -rw-r--r-- | data/maas/2026-03-18/api-docs.php | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/data/maas/2026-03-18/api-docs.php b/data/maas/2026-03-18/api-docs.php new file mode 100644 index 0000000..c6d0fae --- /dev/null +++ b/data/maas/2026-03-18/api-docs.php @@ -0,0 +1,173 @@ +<?php return [ + 'version' => '1.0', + 'info' => ['style' => 'ROA', 'product' => 'MaaS', 'version' => '2026-03-18'], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateApiKey' => [ + 'path' => '/maas/apikeys', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], + ], + [ + 'name' => 'description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 200], + ], + ], + ], + 'DeleteApiKey' => [ + 'path' => '/maas/apikeys/{apiKeyId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'apiKeyId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + ], + ], + 'GetApiKey' => [ + 'path' => '/maas/apikeys/{apiKeyId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'apiKeyId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + ], + ], + 'ListApiKeys' => [ + 'path' => '/maas/apikeys', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '100'], + ], + [ + 'name' => 'workspaceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64], + ], + [ + 'name' => 'apiKeyId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 200], + ], + ], + ], + 'ListWorkspaces' => [ + 'path' => '/maas/workspaces', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/x-www-form-urlencoded'], + 'produces' => ['application/json'], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '100'], + ], + [ + 'name' => 'workspaceName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 30], + ], + ], + ], + 'UpdateApiKey' => [ + 'path' => '/maas/apikeys/{apiKeyId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'apiKeyId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 200], + ], + ], + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'maas.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maas.cn-beijing.aliyuncs.com', 'endpoint' => 'maas.cn-beijing.aliyuncs.com', 'vpc' => 'maas-vpc.cn-beijing.aliyuncs.com'], + ], +]; |
