diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/mpserverless/2019-06-15/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/mpserverless/2019-06-15/api-docs.php')
| -rw-r--r-- | data/en_us/mpserverless/2019-06-15/api-docs.php | 12598 |
1 files changed, 6234 insertions, 6364 deletions
diff --git a/data/en_us/mpserverless/2019-06-15/api-docs.php b/data/en_us/mpserverless/2019-06-15/api-docs.php index 68c07d2..2c8b1a2 100644 --- a/data/en_us/mpserverless/2019-06-15/api-docs.php +++ b/data/en_us/mpserverless/2019-06-15/api-docs.php @@ -1,221 +1,102 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'MPServerless', - 'version' => '2019-06-15', - ], + 'info' => ['style' => 'RPC', 'product' => 'MPServerless', 'version' => '2019-06-15'], 'directories' => [ [ - 'id' => 77563, - 'title' => null, + 'children' => ['CreateSpaceWithOrder', 'DescribeSpaces', 'CreateSpace', 'DeleteSpace', 'UpdateSpace', 'ListSpace'], 'type' => 'directory', - 'children' => [ - 'CreateSpaceWithOrder', - 'DescribeSpaces', - 'CreateSpace', - 'DeleteSpace', - 'UpdateSpace', - 'ListSpace', - ], + 'title' => 'Service space', ], [ - 'id' => 77595, - 'title' => null, + 'children' => ['CreateFunctionDeployment', 'UpdateHttpTriggerConfig', 'DescribeFunction', 'DescribeHttpTriggerConfig', 'ListFunction', 'ListFunctionDeployment', 'ListFunctionLog', 'DeployFunction', 'RunFunction'], 'type' => 'directory', - 'children' => [ - 'CreateFunction', - 'CreateFunctionDeployment', - 'DeleteFunction', - 'UpdateFunction', - 'UpdateHttpTriggerConfig', - 'DescribeFunction', - 'DescribeHttpTriggerConfig', - 'ListFunction', - 'ListFunctionDeployment', - 'ListFunctionLog', - 'DeployFunction', - 'RunFunction', - ], + 'title' => 'Cloud functions', ], [ - 'id' => 77612, - 'title' => null, - 'type' => 'directory', 'children' => [ [ - 'id' => 164600, - 'title' => null, + 'children' => ['DeleteDBCollection', 'RenameDBCollection', 'RunDBCommand'], 'type' => 'directory', - 'children' => [ - 'DeleteDBCollection', - 'RenameDBCollection', - 'RunDBCommand', - ], + 'title' => 'Collection management and commands', ], [ - 'id' => 77541, - 'title' => null, + 'children' => ['CreateDBRestoreTask', 'QueryDBBackupCollections', 'QueryDBRestoreTaskStatus', 'QueryDBBackupDumpTimes'], 'type' => 'directory', - 'children' => [ - 'CreateDBRestoreTask', - 'QueryDBBackupCollections', - 'QueryDBRestoreTaskStatus', - 'QueryDBBackupDumpTimes', - ], + 'title' => 'Backup and restoration', ], [ - 'id' => 164601, - 'title' => null, + 'children' => ['CreateDBExportTask', 'CreateDBImportTask', 'QueryDBExportTaskStatus', 'QueryDBImportTaskStatus'], 'type' => 'directory', - 'children' => [ - 'CreateDBExportTask', - 'CreateDBImportTask', - 'QueryDBExportTaskStatus', - 'QueryDBImportTaskStatus', - ], + 'title' => 'Data import and export', ], ], + 'type' => 'directory', + 'title' => 'Cloud database', ], [ - 'id' => 164602, - 'title' => null, + 'children' => ['RegisterFile', 'DescribeFileUploadSignedUrl', 'DescribeCdnDomain', 'SaveCdnDomainConfig'], 'type' => 'directory', - 'children' => [ - 'DeleteFile', - 'RegisterFile', - 'DescribeFileUploadSignedUrl', - 'ListFile', - 'DescribeCdnDomain', - 'SaveCdnDomainConfig', - ], + 'title' => 'Cloud storage', ], [ - 'id' => 77573, - 'title' => null, - 'type' => 'directory', 'children' => [ [ - 'id' => 164603, - 'title' => null, + 'children' => ['DeleteWebHostingFile', 'BatchDeleteWebHostingFiles', 'ListWebHostingFiles', 'DescribeWebHostingFile', 'GetWebHostingUploadCredential'], 'type' => 'directory', - 'children' => [ - 'DeleteWebHostingFile', - 'BatchDeleteWebHostingFiles', - 'ListWebHostingFiles', - 'DescribeWebHostingFile', - 'GetWebHostingUploadCredential', - ], + 'title' => 'Files', ], [ - 'id' => 164604, - 'title' => null, + 'children' => ['BindWebHostingCustomDomain', 'UnbindWebHostingCustomDomain', 'SaveWebHostingCustomDomainConfig', 'VerifyWebHostingDomainOwner', 'GetWebHostingDomainVerificationContent', 'ListWebHostingCustomDomains', 'RefreshWebHostingCustomDomainCache'], 'type' => 'directory', - 'children' => [ - 'BindWebHostingCustomDomain', - 'UnbindWebHostingCustomDomain', - 'SaveWebHostingCustomDomainConfig', - 'VerifyWebHostingDomainOwner', - 'GetWebHostingDomainVerificationContent', - 'ListWebHostingCustomDomains', - 'RefreshWebHostingCustomDomainCache', - ], + 'title' => 'Domain names', ], [ - 'id' => 164605, - 'title' => null, + 'children' => ['DeleteWebHostingCertificate', 'AttachWebHostingCertificate', 'GetWebHostingCertificateDetail'], 'type' => 'directory', - 'children' => [ - 'DeleteWebHostingCertificate', - 'AttachWebHostingCertificate', - 'GetWebHostingCertificateDetail', - ], + 'title' => 'Certificates', ], [ - 'id' => 164606, - 'title' => null, + 'children' => ['SaveWebHostingCustomDomainCorsConfig', 'GetWebHostingConfig', 'ModifyWebHostingConfig'], 'type' => 'directory', - 'children' => [ - 'SaveWebHostingCustomDomainCorsConfig', - 'GetWebHostingConfig', - 'ModifyWebHostingConfig', - ], + 'title' => 'Configuration', ], ], + 'type' => 'directory', + 'title' => 'Static website hosting', ], [ - 'id' => 77544, - 'title' => null, + 'children' => ['EnableExtension', 'UpdateServicePolicy', 'OpenService', 'OpenWebHostingService', 'ResetServerSecret', 'SaveAppAuthToken', 'DescribeFCOpenStatus', 'DescribeServicePolicy', 'ListExtensions', 'QueryServiceStatus', 'GetWebHostingStatus', 'CheckMpServerlessRoleExists'], 'type' => 'directory', - 'children' => [ - 'EnableExtension', - 'UpdateServicePolicy', - 'OpenService', - 'OpenWebHostingService', - 'ResetServerSecret', - 'SaveAppAuthToken', - 'DescribeFCOpenStatus', - 'DescribeServicePolicy', - 'ListExtensions', - 'QueryServiceStatus', - 'GetWebHostingStatus', - 'CheckMpServerlessRoleExists', - ], + 'title' => 'Management', ], [ - 'id' => 77582, - 'title' => null, + 'children' => ['AddDingtalkOpenPlatformConfig', 'SaveAntOpenPlatformConfig', 'SaveWechatOpenPlatformConfig', 'DeleteAntOpenPlatformConfig', 'DeleteDingtalkOpenPlatformConfig', 'DeleteWechatOpenPlatformConfig', 'UpdateDingtalkOpenPlatformConfig', 'DescribeSpaceClientConfig', 'ListOpenPlatformConfig', 'ListDingtalkOpenPlatformConfigs'], 'type' => 'directory', - 'children' => [ - 'AddDingtalkOpenPlatformConfig', - 'SaveAntOpenPlatformConfig', - 'SaveWechatOpenPlatformConfig', - 'DeleteAntOpenPlatformConfig', - 'DeleteDingtalkOpenPlatformConfig', - 'DeleteWechatOpenPlatformConfig', - 'UpdateDingtalkOpenPlatformConfig', - 'DescribeSpaceClientConfig', - 'ListOpenPlatformConfig', - 'ListDingtalkOpenPlatformConfigs', - ], + 'title' => 'Open platform configuration', ], [ - 'id' => 77619, - 'title' => null, + 'children' => ['AddCorsDomain', 'DeleteCorsDomain', 'ListCorsDomains'], 'type' => 'directory', - 'children' => [ - 'AddCorsDomain', - 'DeleteCorsDomain', - 'ListCorsDomains', - ], + 'title' => 'Security domain names', ], [ - 'id' => 164608, - 'title' => null, + 'children' => ['QuerySpaceSpecDetail', 'QuerySpaceUsage', 'QuerySpaceConsumption', 'DescribeResourceQuota'], + 'type' => 'directory', + 'title' => 'Resource usage and thresholds', + ], + [ + 'children' => ['CreateFunction', 'DeleteFile', 'DeleteFunction', 'DescribeResourceUsage', 'ListFile', 'UpdateFunction'], + 'title' => 'Others', 'type' => 'directory', - 'children' => [ - 'QuerySpaceSpecDetail', - 'QuerySpaceUsage', - 'QuerySpaceConsumption', - 'DescribeResourceQuota', - 'DescribeResourceUsage', - ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateSpaceWithOrder' => [ - 'summary' => '创建服务空间并下单', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddCorsDomain' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -227,95 +108,20 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], - ], - [ - 'name' => 'Desc', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - 'maxLength' => 128, - ], - ], - [ - 'name' => 'SubscriptionType', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Subscription', - 'enum' => [ - 'Subscription', - 'PayAsYouGo', - ], - ], - ], - [ - 'name' => 'Period', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'enum' => [ - '1', - '2', - '3', - '6', - '12', - ], - ], - ], - [ - 'name' => 'PackageVersion', + 'name' => 'Domain', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'professional', - 'enum' => [ - 'free', - 'base', - 'standard', - 'professional', - 'enterprise', - 'ultimate', - ], - ], + 'schema' => ['description' => 'The domain name. Wildcards are supported for the prefix and port.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'maxLength' => 253, 'minLength' => 1, 'example' => '*.example.com:*', 'title' => ''], ], [ - 'name' => 'UseCoupon', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], + 'schema' => ['description' => 'The ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mp-0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ @@ -323,133 +129,77 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mp-1140a548-****-44ac-8bfb-a21c073f0d1a', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C71E8AEA-D1C3-****-956F-C261B7A43E92', - ], - 'OrderId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '222082414200***', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'emas_EmasServerlessPost_public_cn-n8m2y7l****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '74374923-6536-46EB-8639-409384EAE980', 'title' => ''], + 'DomainId' => ['description' => 'The ID of the domain.', 'type' => 'string', 'example' => '97e3ff58-01e4-****-b975-1805fec34d77', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SpaceId\\": \\"mp-1140a548-****-44ac-8bfb-a21c073f0d1a\\",\\n \\"RequestId\\": \\"C71E8AEA-D1C3-****-956F-C261B7A43E92\\",\\n \\"OrderId\\": \\"222082414200***\\",\\n \\"InstanceId\\": \\"emas_EmasServerlessPost_public_cn-n8m2y7l****\\"\\n}","type":"json"}]', - ], - 'DescribeSpaces' => [ - 'summary' => '根据 spaceId、租户ID、EMAS项目空间或者套餐规格来查询空间实例信息', - 'methods' => [ - 'post', - 'get', + 'title' => 'Add CORS Domain Name', + 'summary' => 'Adds a CORS domain to a service space.', + 'description' => '><notice>'."\n" + ."\n" + .'You can add a maximum of 10 secure cross-origin domains.'."\n" + ."\n" + .'></notice>', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:27.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:AddCorsDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"74374923-6536-46EB-8639-409384EAE980\\",\\n \\"DomainId\\": \\"97e3ff58-01e4-****-b975-1805fec34d77\\"\\n}","type":"json"}]', + ], + 'AddDingtalkOpenPlatformConfig' => [ + 'summary' => 'Add DingTalk Open Platform configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'PageNum', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '0', - 'default' => '0', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], - ], - [ - 'name' => 'SpaceIds', - 'in' => 'formData', - 'style' => 'simple', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'mp-c2d29d85-44f5-4ede-****-4f803ba06a7c', - ], - 'required' => false, - ], - ], - [ - 'name' => 'TenantId', + 'name' => 'AppId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'XKHKTPDJ', - ], + 'schema' => ['description' => 'DingTalk miniapp ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dingoa7pqicyk3x9t*****', 'maxLength' => 64, 'title' => ''], ], [ - 'name' => 'EmasWorkspaceId', + 'name' => 'AppSecret', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3449110', - ], + 'schema' => ['description' => 'DingTalk miniapp key.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO', 'maxLength' => 200, 'title' => ''], ], [ - 'name' => 'SpecCode', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ULTIMATE', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ @@ -457,181 +207,99 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '68B76E59-CC10-5EEC-BCED-73A6C51179BC', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '-', - ], - 'Count' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Spaces' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mp-f215973f-db40-4013-92a8-b09690c7****', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'emas_EmasServerlessPre_public_cn-0ju2pax****', - ], - 'EmasWorkspaceId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3818905', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'myspace', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ServiceStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'IN_SERVICE', - ], - 'PackageStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'UPGRADING', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2022-05-19T06:06:05Z', - ], - 'GmtModified' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2022-05-19T06:06:05Z', - ], - 'SpecCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ENTERPRISE', - ], - 'ChargeType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PREPAY', - ], - 'OrderType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BUY', - ], - 'AutoRenew' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RenewDuration' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'PackageStartDate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2022-06-18T16:00:00Z', - ], - 'PackageEndDate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2022-09-18T16:00:00Z', - ], - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '44DF7A95-603F-4651-9298-BE1850BEB53F', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68B76E59-CC10-5EEC-BCED-73A6C51179BC\\",\\n \\"GmtCreate\\": \\"2024-03-27T06:43:17Z\\",\\n \\"Count\\": 10,\\n \\"Spaces\\": [\\n {\\n \\"SpaceId\\": \\"mp-f215973f-db40-4013-92a8-b09690c7****\\",\\n \\"InstanceId\\": \\"emas_EmasServerlessPre_public_cn-0ju2pax****\\",\\n \\"EmasWorkspaceId\\": 3818905,\\n \\"Name\\": \\"myspace\\",\\n \\"Description\\": \\"线上\\",\\n \\"ServiceStatus\\": \\"IN_SERVICE\\",\\n \\"PackageStatus\\": \\"UPGRADING\\",\\n \\"GmtCreate\\": \\"2022-05-19T06:06:05Z\\",\\n \\"GmtModified\\": \\"2022-05-19T06:06:05Z\\",\\n \\"SpecCode\\": \\"ENTERPRISE\\",\\n \\"ChargeType\\": \\"PREPAY\\",\\n \\"OrderType\\": \\"BUY\\",\\n \\"AutoRenew\\": true,\\n \\"RenewDuration\\": \\"3\\",\\n \\"PackageStartDate\\": \\"2022-06-18T16:00:00Z\\",\\n \\"PackageEndDate\\": \\"2022-09-18T16:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'CreateSpace' => [ - 'summary' => '创建小程序Serverless服务空间', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44DF7A95-603F-4651-9298-BE1850BEB53F\\"\\n}","type":"json"}]', + 'title' => 'Add DingTalk Open Platform configuration', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:27.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:AddDingtalkOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'AttachWebHostingCertificate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'SpaceId', + 'in' => 'formData', + 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'formData', + 'schema' => ['description' => 'The custom domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com', 'title' => ''], + ], + [ + 'name' => 'CertType', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'The certificate type. Valid values:'."\n" + ."\n" + .'- upload: Upload a certificate.'."\n" + ."\n" + .'- cas: Use an existing certificate.', 'type' => 'string', - 'required' => false, + 'required' => true, 'docRequired' => true, - 'example' => 'space1', + 'enum' => ['upload'], + 'example' => 'upload', + 'title' => '', ], ], [ - 'name' => 'Desc', + 'name' => 'CertName', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'description', - 'maxLength' => 128, - ], + 'schema' => ['description' => 'The name of the certificate.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testCert', 'title' => ''], ], [ - 'name' => 'WorkspaceId', + 'name' => 'ServerCertificate', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '211975XXXX', - ], + 'schema' => ['description' => 'The content of the certificate.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----', 'title' => ''], + ], + [ + 'name' => 'PrivateKey', + 'in' => 'formData', + 'schema' => ['description' => 'The private key of the certificate.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '-----BEGIN RSA PRIVATE KEY----- ...... -----END RSA PRIVATE KEY-----', 'title' => ''], ], ], 'responses' => [ @@ -639,50 +307,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'fd46b91a-4591-49b6-abcd-59e9733*****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C44BB160-2F2D-5E34-BC08-B8C8B6D7702F', - ], + 'Data' => ['description' => 'The result of the operation.'."\n" + ."\n" + .'- true: The operation succeeded.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'example' => 'CEF9831B-A6D2-4485-9CAD-1B8FBC8B****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SpaceId\\": \\"fd46b91a-4591-49b6-abcd-59e9733*****\\",\\n \\"RequestId\\": \\"C44BB160-2F2D-5E34-BC08-B8C8B6D7702F\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateSpaceResponse>\\n <RequestId>C44BB160-2F2D-5E34-BC08-B8C8B6D7702F</RequestId>\\n <SpaceId>fd46b91a-4591-49b6-abcd-59e9733*****</SpaceId>\\n <Success>true</Success>\\n</CreateSpaceResponse>","errorExample":""}]', - 'title' => 'CreateSpace', + 'title' => 'AttachWebHostingCertificate', + 'summary' => 'Call the AttachWebHostingCertificate operation to attach a certificate.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteSpace' => [ - 'summary' => '删除服务空间', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:26.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:AttachWebHostingCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"CEF9831B-A6D2-4485-9CAD-1B8FBC8B****\\"\\n}","type":"json"}]', + ], + 'BatchDeleteWebHostingFiles' => [ + 'summary' => 'Deletes files from static website hosting in bulk.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -690,12 +369,20 @@ [ 'name' => 'SpaceId', 'in' => 'formData', + 'schema' => ['description' => 'ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], + ], + [ + 'name' => 'FilePaths', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Paths of the files to delete.', + 'type' => 'array', + 'items' => ['description' => 'Path of a file to delete.', 'type' => 'string', 'required' => false, 'example' => 'static/index.870cf761.js', 'title' => ''], 'required' => true, - 'docRequired' => true, - 'example' => '92e26ea9-6450-4b40-9c20-xxxx', + 'example' => '/static/test.png', + 'maxItems' => 1000, + 'title' => '', ], ], ], @@ -704,45 +391,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', - ], + 'Data' => ['description' => 'Indicates whether the operation succeeded.'."\n" + ."\n" + .'- true: The operation succeeded.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteSpaceResponse>\\r\\n\\t<RequestId>9D653EC3-8F53-4307-9B1C-52F5922384A6</RequestId>\\r\\n</DeleteSpaceResponse>\\t\\r\\n","errorExample":""}]', - 'title' => 'DeleteSpace', - 'requestParamsDescription' => ' ', + 'title' => 'Batch delete files under static website hosting', + 'requestParamsDescription' => 'For example, to delete two files named a and b, set the FilePaths parameter as follows:`{"FilePaths.1": "a", "FilePaths.2": "b" }`', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateSpace' => [ - 'summary' => '更新服务空间', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:26.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:BatchDeleteWebHostingFiles', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****\\"\\n}","type":"json"}]', + ], + 'BindWebHostingCustomDomain' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -750,37 +451,12 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '826061c4-5095-4550-8b74-3bcd9af*****', - ], - ], - [ - 'name' => 'Desc', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'CustomDomain', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'IN_SERVICE', - 'enum' => [ - 'IN_SERVICE', - 'PAUSED', - ], - ], + 'schema' => ['description' => 'The custom domain name that has an ICP filing.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com', 'title' => ''], ], ], 'responses' => [ @@ -788,39 +464,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EA770971-A4A0-4555-9E00-C94A2194E150', - ], + 'Data' => ['description' => 'The result of the operation.'."\n" + ."\n" + .'- true: The operation is successful.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => 'CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EA770971-A4A0-4555-9E00-C94A2194E150\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateSpaceResponse>\\r\\n <RequestId>9D653EC3-8F53-4307-9B1C-52F5922384A6</RequestId>\\r\\n</UpdateSpaceResponse>","errorExample":""}]', - 'title' => 'UpdateSpace', + 'title' => 'Add a custom domain name', + 'summary' => 'Binds a custom domain name.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListSpace' => [ - 'summary' => '查询服务空间列表', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:26.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:BindWebHostingCustomDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7\\"\\n}","type":"json"}]', + ], + 'CheckMpServerlessRoleExists' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -829,68 +514,18 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'PageNum', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'example' => '0', - 'default' => '0', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], - ], - [ - 'name' => 'SpaceIds', - 'in' => 'formData', - 'style' => 'simple', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'b9105f6d-f403-4ad5-8a05-82e4524659c8,aff8cd35-4273-40ce-943e-9ab8cd8d89fc', - ], - 'required' => false, - ], - ], - [ - 'name' => 'EmasWorkspaceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3821658', - ], + 'name' => 'RoleName', + 'in' => 'query', + 'schema' => ['description' => 'Required parameter. Set to **AliyunServiceRoleForMPServerless**.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AliyunServiceRoleForMPServerless', 'title' => ''], ], ], 'responses' => [ @@ -898,168 +533,93 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B314EDAD-FFCA-536D-BA9C-08B42F7C2DDE', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'Count' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '23', - ], - 'Spaces' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'IN_SERVICE', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582018007000', - ], - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '368ef42a-763f-0000-acc2-8aa9564c****', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'myspace', - ], - 'Desc' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'GmtLastAccess' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582018007000', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F340DF8D-7125-49B7-AC48-7F5C8DB382CB', 'title' => ''], + 'Exists' => ['description' => 'Indicates whether the required permission exists.'."\n" + ."\n" + .'- true: The permission exists.'."\n" + ."\n" + .'- false: The permission does not exist.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B314EDAD-FFCA-536D-BA9C-08B42F7C2DDE\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"Count\\": 23,\\n \\"Spaces\\": [\\n {\\n \\"Status\\": \\"IN_SERVICE\\",\\n \\"GmtCreate\\": 1582018007000,\\n \\"SpaceId\\": \\"368ef42a-763f-0000-acc2-8aa9564c****\\",\\n \\"Name\\": \\"myspace\\",\\n \\"Desc\\": \\"我的空间\\",\\n \\"GmtLastAccess\\": 1582018007000\\n }\\n ]\\n}","type":"json"}]', - ], - 'CreateFunction' => [ - 'summary' => '创建云函数', - 'methods' => [ - 'post', - 'get', + 'title' => 'Check whether the Mp role exists', + 'summary' => 'Checks whether an Alibaba Cloud user has the required permission.', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:26.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:CheckMpServerlessRoleExists', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F340DF8D-7125-49B7-AC48-7F5C8DB382CB\\",\\n \\"Exists\\": true\\n}","type":"json"}]', + ], + 'CreateDBExportTask' => [ + 'summary' => 'Creates a database export task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoFunction', - ], + 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'Desc', + 'name' => 'Collection', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - 'maxLength' => 128, - ], + 'schema' => ['description' => 'The name of the collection.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'article', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'FileType', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'The type of the exported file. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + ."\n" + .'- CSV', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => '226e5213-697c-4a52-b4ff-xxxxx', - ], - ], - [ - 'name' => 'Runtime', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'nodejs12', - 'default' => 'nodejs14', - 'enum' => [ - 'nodejs8', - 'nodejs12', - ], - ], - ], - [ - 'name' => 'Memory', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '512', - 'maximum' => '2048', - 'minimum' => '128', + 'enum' => ['JSON', 'CSV'], + 'example' => 'CSV', + 'title' => '', ], ], [ - 'name' => 'Timeout', + 'name' => 'Fields', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - 'maximum' => '7200', - 'minimum' => '1', - ], + 'schema' => ['description' => 'The list of fields to export. Separate the fields with commas (,). This parameter is required when FileType is set to CSV.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'name,content', 'title' => ''], ], ], 'responses' => [ @@ -1067,111 +627,102 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E63E7F4F-8538-5B0E-8712-78F92B6DCB9C', - ], - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2021-11-18T08:02:33.954Z', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demoFunction', - ], - 'ModifiedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '021-11-18T08:02:33.954Z', - ], - 'Desc' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Spec' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Timeout' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5s', - ], - 'Runtime' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Node.js 12', - ], - 'InstanceConcurrency' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'Memory' => [ - 'description' => '', - 'type' => 'string', - 'example' => '512 MB', - ], - ], - ], + 'RequestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => '0150006d-ab93-4920-a63e-c011dea1e089', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E63E7F4F-8538-5B0E-8712-78F92B6DCB9C\\",\\n \\"CreatedAt\\": \\"2021-11-18T08:02:33.954Z\\",\\n \\"Name\\": \\"demoFunction\\",\\n \\"ModifiedAt\\": \\"021-11-18T08:02:33.954Z\\",\\n \\"Desc\\": \\"测试函数\\",\\n \\"Spec\\": {\\n \\"Timeout\\": \\"5s\\",\\n \\"Runtime\\": \\"Node.js 12\\",\\n \\"InstanceConcurrency\\": \\"1\\",\\n \\"Memory\\": \\"512 MB\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateFunctionResponse>\\n <ModifiedAt>2021-11-18T08:02:33.954Z</ModifiedAt>\\n <Desc>测试函数</Desc>\\n <RequestId>E63E7F4F-8538-5B0E-8712-78F92B6DCB9C</RequestId>\\n <CreatedAt>2021-11-18T08:02:33.954Z</CreatedAt>\\n <Spec>\\n <Runtime>Node.js 12</Runtime>\\n <Timeout>5 s</Timeout>\\n <Memory>512 MB</Memory>\\n <InstanceConcurrency>1</InstanceConcurrency>\\n </Spec>\\n <Success>true</Success>\\n <Name>demoFunction</Name>\\n</CreateFunctionResponse>","errorExample":""}]', - ], - 'CreateFunctionDeployment' => [ - 'summary' => '创建云函数部署单', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Create a database export job', + 'description' => '> After you create an export task, call the QueryDBExportTaskStatus operation to query the status of the task. If the data export is successful, a URL is returned. You can use this URL to download the exported file.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateDBExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TaskId\\": \\"0150006d-ab93-4920-a63e-c011dea1e089\\"\\n}","type":"json"}]', + ], + 'CreateDBImportTask' => [ + 'summary' => 'Create a database import job. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'SpaceId', + 'in' => 'formData', + 'schema' => ['description' => 'The service space ID. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], + ], + [ + 'name' => 'Collection', + 'in' => 'formData', + 'schema' => ['description' => 'Collection name. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'FileType', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'The type of the import file. Valid values: '."\n" + .'- JSON '."\n" + .'- CSV ', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'demoFunction', + 'example' => 'CSV', + 'enum' => ['JSON', 'CSV'], + 'title' => '', ], ], [ - 'name' => 'SpaceId', + 'name' => 'Mode', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'The conflict handling mode. Valid values: '."\n" + .'- INSERT (default): Ignore the record if a conflict occurs during import. '."\n" + .'- UPSERT: Update the existing record with the content from the file if a conflict occurs. ', 'type' => 'string', - 'required' => true, + 'required' => false, 'docRequired' => true, - 'example' => 'dece4ea0-d432-4cfa-8514-xxxx', + 'example' => 'UPSERT', + 'enum' => ['INSERT', 'UPSERT'], + 'title' => '', ], ], ], @@ -1180,76 +731,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'UploadSignedUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://bucket.oss-cn-shanghai.aliyuncs.com/afc0e1c9d446fxxxxx-v2.zip?OSSAccessKeyId=LTAIKCq5x****kK6&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D', - ], - 'DeploymentId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'dep-5e49fd471c9d4451c33bdd06', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9D653EC3-8F53-4307-9B1C-52F5922384A6', - ], + 'Host' => ['description' => 'The host used for file upload. '."\n" + .'><notice>The file upload host returned by this API has cross-domain restrictions in place. It only allows direct file uploads from the official console.aliyun.com website and cannot be used for direct uploads from third-party websites. This restriction does not affect file uploads from non-web clients.</notice> ', 'type' => 'string', 'example' => 'https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com', 'title' => ''], + 'ExpireTime' => ['description' => 'The expiration time for file upload. ', 'type' => 'string', 'example' => '2020-07-20T05:32:03Z', 'title' => ''], + 'FileKey' => ['description' => 'The FileKey used for file upload. ', 'type' => 'string', 'example' => 'mongo/import/0e16bb12-14af-4635-b24c-5ac1a9*****/20200720130203_973820af-966d-42ec-9fab-17dfe4a******.csv', 'title' => ''], + 'AccessKeyId' => ['description' => 'The AccessKeyId used for file upload. ', 'type' => 'string', 'example' => 'LTAI****************', 'title' => ''], + 'Signature' => ['description' => 'The signature used for file upload. ', 'type' => 'string', 'example' => '*****luWDvbmhqwwy9pm/Mso++pk=', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID. ', 'type' => 'string', 'example' => '692DCFEF-46DD-4EBB-B1DB-338E687DC260', 'title' => ''], + 'Policy' => ['description' => 'The policy used for file upload. ', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjjoiMjAyMC0wNy0yMFQwNTozMjowMy40NDVaIiwiY29uZGl0aW9ucyI*****Y29udGVudC1sZW5ndoiMjAyMC==', 'title' => ''], + 'TaskId' => ['description' => 'The job ID. ', 'type' => 'string', 'example' => '973820af-966d-42ec-9fab-17dfe4a*****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"UploadSignedUrl\\": \\"http://bucket.oss-cn-shanghai.aliyuncs.com/afc0e1c9d446fxxxxx-v2.zip?OSSAccessKeyId=LTAI****************&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D\\",\\n \\"DeploymentId\\": \\"dep-5e49fd471c9d4451c33bdd06\\",\\n \\"RequestId\\": \\"9D653EC3-8F53-4307-9B1C-52F5922384A6\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateFunctionDeploymentResponse>\\n <RequestId>9D653EC3-8F53-4307-9B1C-52F5922384A6</RequestId>\\n <DeploymentId>5cff17161c9d4401e9208145</DeploymentId>\\n <UploadSignedUrl>http://bucket.oss-cn-shanghai.aliyuncs.com/afc0e1c9d44*****2c30a-v2.zip?OSSAccessKeyId=LTAIKCq5xHz1****&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D</UploadSignedUrl>\\n</CreateFunctionDeploymentResponse>","errorExample":""}]', - 'title' => 'CreateFunctionDeployment', - ], - 'DeleteFunction' => [ - 'summary' => '删除云函数', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Host\\": \\"https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com\\",\\n \\"ExpireTime\\": \\"2020-07-20T05:32:03Z\\",\\n \\"FileKey\\": \\"mongo/import/0e16bb12-14af-4635-b24c-5ac1a9*****/20200720130203_973820af-966d-42ec-9fab-17dfe4a******.csv\\",\\n \\"AccessKeyId\\": \\"LTAI****************\\",\\n \\"Signature\\": \\"*****luWDvbmhqwwy9pm/Mso++pk=\\",\\n \\"RequestId\\": \\"692DCFEF-46DD-4EBB-B1DB-338E687DC260\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjjoiMjAyMC0wNy0yMFQwNTozMjowMy40NDVaIiwiY29uZGl0aW9ucyI*****Y29udGVudC1sZW5ndoiMjAyMC==\\",\\n \\"TaskId\\": \\"973820af-966d-42ec-9fab-17dfe4a*****\\"\\n}","type":"json"}]', + 'title' => 'Create a database import job ', + 'description' => 'After the import job is created successfully, the system returns a job ID, the file upload URL, and authentication information. You must upload the file to be imported to the provided URL within the specified time window. After the file is uploaded successfully, you must invoke the QueryDBImportTaskStatus API to trigger the import job and query the data import status. '."\n" + .'When uploading the file, use the POST method and set the Content-Type header to `multipart/form-data`. Below is a sample curl command for uploading a file: '."\n" + .'```'."\n" + .'curl -X POST \\'."\n" + .'-H \'Content-Type: multipart/form-data\' \\'."\n" + .'-F \'key=${FileKey}\' \\'."\n" + .'-F \'policy=${Policy}\' \\'."\n" + .'-F \'OSSAccessKeyId=${AccessKeyId}\' \\'."\n" + .'-F \'Signature=${Signature}\' \\'."\n" + .'-F \'file=@${FilePath}\' \\'."\n" + .'\'${Host}\''."\n" + .'```'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateDBImportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDBRestoreTask' => [ + 'summary' => 'Create a collection restore job. After the restore job is created successfully, a job ID is returned.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoFunction', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'BackupId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dece4ea0-d432-4cfa-****-8a88d205e2b8', - ], + 'schema' => ['description' => 'Backup file ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '20201118114602_6bd7c996-f620-4026-ae24-418eddf78671', 'title' => ''], + ], + [ + 'name' => 'OriginCollections', + 'in' => 'formData', + 'schema' => ['description' => 'Names of the collections to be restored. Separate multiple collection names with commas, such as `coll1,coll2`.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'coll1,coll2', 'title' => ''], + ], + [ + 'name' => 'NewCollections', + 'in' => 'formData', + 'schema' => ['description' => 'The names of the collections after restoration. These names must not be the same as any existing document names in the database and must correspond one-to-one with the originCollections. Separate multiple collection names with commas, such as `newColl1,newColl2`.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'newColl1,newColl2', 'title' => ''], ], ], 'responses' => [ @@ -1257,31 +833,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9D653EC3-8F53-4307-9B1C-52F5922384A6', - ], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], + 'TaskId' => ['description' => 'Job ID.', 'type' => 'string', 'example' => '0150006d-ab93-4920-a63e-c011dea1e089', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9D653EC3-8F53-4307-9B1C-52F5922384A6\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteFunctionResponse>\\r\\n\\t<RequestId>9D653EC3-8F53-4307-9B1C-52F5922384A6</RequestId>\\r\\n</DeleteFunctionResponse>\\t\\r\\n","errorExample":""}]', - 'title' => 'DeleteFunction', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TaskId\\": \\"0150006d-ab93-4920-a63e-c011dea1e089\\"\\n}","type":"json"}]', + 'title' => 'Create a collection restore job', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateFunction' => [ - 'summary' => '更新函数信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateDBRestoreTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFunction' => [ + 'summary' => 'Create a cloud function.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1290,132 +882,55 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Desc', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'description', - 'maxLength' => 128, - ], - ], - [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoFunction', - ], - ], - [ - 'name' => 'SpaceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dece4ea0-d432-4cfa-8514-8a88d205e2b8', - ], - ], - [ - 'name' => 'Memory', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2048', - 'minimum' => '128', - 'example' => '256', - ], + 'schema' => ['description' => 'The function name. '."\n" + .'The name must be 1 to 30 characters long and can contain only letters, digits, underscores (_), and hyphens (-). It cannot start with a digit or a hyphen.'."\n" + ."\n" + .'> The name of the cloud function must match the name of the Node.js code package to be uploaded.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoFunction', 'title' => ''], ], [ - 'name' => 'Timeout', + 'name' => 'Desc', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '7200', - 'minimum' => '1', - 'example' => '5', - ], + 'schema' => ['description' => 'Description of the cloud function.', 'type' => 'string', 'required' => false, 'example' => '测试函数', 'maxLength' => 128, 'title' => ''], ], [ - 'name' => 'HttpTriggerPath', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '/http/hello', - 'maxLength' => 128, - ], + 'schema' => ['description' => 'The ID of the service space to which the cloud function belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '226e5213-697c-4a52-b4ff-xxxxx', 'title' => ''], ], [ - 'name' => 'TimingTriggerConfig', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cron:0 0 * * * *', - ], - ], - [ - 'name' => 'TimingTriggerUserPayload', + 'name' => 'Runtime', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Execution runtime of the cloud function. The default value is nodejs14. Valid values include nodejs12, nodejs14, and others. For more information, see the document [Runtime Support List](https://help.aliyun.com/document_detail/2717618.html).', 'type' => 'string', 'required' => false, - 'example' => 'hello', + 'example' => 'nodejs12', + 'default' => 'nodejs14', + 'enum' => ['nodejs8', 'nodejs12', 'nodejs14', 'nodejs16', 'nodejs18', 'nodejs20'], + 'enumValueTitles' => ['nodejs14' => 'nodejs14', 'nodejs12' => 'nodejs12', 'nodejs16' => 'nodejs16'], + 'title' => '', ], ], [ - 'name' => 'InstanceConcurrency', + 'name' => 'Memory', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '20', - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'Memory specification for the function. The value must be a multiple of 64, with a minimum of 128 MB and a maximum of 2048 MB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '512', 'maximum' => '2048', 'minimum' => '128', 'title' => ''], ], [ - 'name' => 'Runtime', + 'name' => 'Timeout', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'nodejs8', - 'enum' => [ - 'nodejs8', - 'nodejs12', - ], - ], + 'schema' => ['description' => 'The function timeout, in seconds. Default value is 5. Valid values range from 1 to 7200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'maximum' => '7200', 'minimum' => '1', 'title' => ''], ], ], 'responses' => [ @@ -1423,92 +938,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', - ], - 'TimingTriggerConfig' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cron:0 0 * * * *', - ], - 'TimingTriggerUserPayload' => [ - 'description' => '', - 'type' => 'string', - 'example' => '24', - ], - 'HttpTriggerPath' => [ - 'description' => '', - 'type' => 'string', - 'example' => '/http/hello', - ], - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demoFunction', - ], - 'ModifiedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Desc' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'description', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'E63E7F4F-8538-5B0E-8712-78F92B6DCB9C', 'title' => ''], + 'CreatedAt' => ['description' => 'Creation Time.', 'type' => 'string', 'example' => '2021-11-18T08:02:33.954Z', 'title' => ''], + 'Name' => ['description' => 'Function name.', 'type' => 'string', 'example' => 'demoFunction', 'title' => ''], + 'ModifiedAt' => ['description' => 'Updated At.', 'type' => 'string', 'example' => '021-11-18T08:02:33.954Z', 'title' => ''], + 'Desc' => ['description' => 'Function description.', 'type' => 'string', 'example' => '测试函数', 'title' => ''], 'Spec' => [ - 'description' => '', + 'description' => 'Runtime parameters of the cloud function.', 'type' => 'object', 'properties' => [ - 'Timeout' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5s', - ], - 'Runtime' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Node.js 8', - ], - 'InstanceConcurrency' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Memory' => [ - 'description' => '', - 'type' => 'string', - 'example' => '128 MB', - ], + 'Timeout' => ['description' => 'Timeout.', 'type' => 'string', 'example' => '5s', 'title' => ''], + 'Runtime' => ['description' => 'Runtime environment.', 'type' => 'string', 'example' => 'Node.js 12', 'title' => ''], + 'InstanceConcurrency' => ['description' => 'Maximum concurrency per instance.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Memory' => ['description' => 'Memory size.', 'type' => 'string', 'example' => '512 MB', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"TimingTriggerConfig\\": \\"cron:0 0 * * * *\\",\\n \\"TimingTriggerUserPayload\\": \\"24\\",\\n \\"HttpTriggerPath\\": \\"/http/hello\\",\\n \\"CreatedAt\\": \\"2019-06-20T03:22:54.854Z\\",\\n \\"Name\\": \\"demoFunction\\",\\n \\"ModifiedAt\\": \\"2019-06-20T03:22:54.854Z\\",\\n \\"Desc\\": \\"description\\",\\n \\"Spec\\": {\\n \\"Timeout\\": \\"5s\\",\\n \\"Runtime\\": \\"Node.js 8\\",\\n \\"InstanceConcurrency\\": 1,\\n \\"Memory\\": \\"128 MB\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifiedAt>2019-06-20T03:22:54.854Z</ModifiedAt>\\n<Desc>xxx</Desc>\\n<HttpTriggerPath>/http/hello</HttpTriggerPath>\\n<RequestId>319DADF8-0BE9-4AAB-B3C1-4EA07ACE35CE</RequestId>\\n<CreatedAt>2019-06-20T03:22:54.854Z</CreatedAt>\\n<TimingTriggerConfig>cron:0 0 * * * *</TimingTriggerConfig>\\n<Spec>\\n <InstanceConcurrency>1</InstanceConcurrency>\\n <Runtime>Node.js 8</Runtime>\\n <Timeout>5s</Timeout>\\n <Memory>128 MB</Memory>\\n</Spec>\\n<Name>sayHello</Name>","errorExample":""}]', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'UpdateHttpTriggerConfig' => [ - 'summary' => '更新云函数的HTTP触发配置', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E63E7F4F-8538-5B0E-8712-78F92B6DCB9C\\",\\n \\"CreatedAt\\": \\"2021-11-18T08:02:33.954Z\\",\\n \\"Name\\": \\"demoFunction\\",\\n \\"ModifiedAt\\": \\"021-11-18T08:02:33.954Z\\",\\n \\"Desc\\": \\"测试函数\\",\\n \\"Spec\\": {\\n \\"Timeout\\": \\"5s\\",\\n \\"Runtime\\": \\"Node.js 12\\",\\n \\"InstanceConcurrency\\": \\"1\\",\\n \\"Memory\\": \\"512 MB\\"\\n }\\n}","type":"json"}]', + 'title' => 'Create a Cloud Function', + 'changeSet' => [ + ['createdAt' => '2024-04-02T09:48:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-04-02T09:39:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-19T09:17:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-18T07:14:26.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFunctionDeployment' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1517,68 +998,97 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'EnableService', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => true, - 'docRequired' => true, - 'example' => 'true', - ], + 'schema' => ['description' => 'The name of the deployment.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoFunction', 'title' => ''], ], [ 'name' => 'SpaceId', 'in' => 'formData', + 'schema' => ['description' => 'The ID of the space where the function is located.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dece4ea0-d432-4cfa-8514-xxxx', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'UploadSignedUrl' => ['description' => 'The upload URL.', 'type' => 'string', 'example' => 'http://bucket.oss-cn-shanghai.aliyuncs.com/afc0e1c9d446fxxxxx-v2.zip?OSSAccessKeyId=LTAI****************&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D', 'title' => ''], + 'DeploymentId' => ['description' => 'The deployment ID.', 'type' => 'string', 'example' => 'dep-5e49fd471c9d4451c33bdd06', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9D653EC3-8F53-4307-9B1C-52F5922384A6', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '34C45988-2B24-****-A4DC-4D6C952890D8', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'Create a cloud function deployment', + 'summary' => 'Creates a function deployment.', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:25.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'CustomDomain', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'abc.xxx.com', - 'maxLength' => 253, + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateFunctionDeployment', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UploadSignedUrl\\": \\"http://bucket.oss-cn-shanghai.aliyuncs.com/afc0e1c9d446fxxxxx-v2.zip?OSSAccessKeyId=LTAI****************&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D\\",\\n \\"DeploymentId\\": \\"dep-5e49fd471c9d4451c33bdd06\\",\\n \\"RequestId\\": \\"9D653EC3-8F53-4307-9B1C-52F5922384A6\\"\\n}","type":"json"}]', + ], + 'CreateSpace' => [ + 'summary' => 'Create a miniapp Serverless service space.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CustomDomainCertificate', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', + ], + 'parameters' => [ + [ + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE----- MIIFK****GCSqGSIb3DQEBCwUA= -----END CERTIFICATE-----', - ], + 'schema' => ['description' => 'Service Space Name. It must start with a letter and can only contain letters, digits, and characters.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'space1', 'title' => ''], ], [ - 'name' => 'CustomDomainPrivateKey', + 'name' => 'Desc', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN PRIVATE KEY----- MIIEwA******DmUwVD0M74ECwZw= -----END PRIVATE KEY-----', - ], + 'schema' => ['description' => 'Description of the service space.', 'type' => 'string', 'required' => false, 'example' => 'description', 'maxLength' => 128, 'title' => ''], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => ['description' => 'Workspace ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '211975XXXX', 'title' => ''], ], ], 'responses' => [ @@ -1586,67 +1096,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EnableService' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CustomDomainCname' => [ - 'description' => '', - 'type' => 'string', - 'example' => '724d************795a2.custom.bspapp.com', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '34C45988-2B24-****-A4DC-4D6C952890D8', - ], - 'DefaultEndpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '724dade5-492f-426b-a5df-ff****0795a2.bspapp.com', - ], - 'CustomDomainCertificateInfo' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"notAfter":"2021-09-28T08:21:42Z","notBefore":"2021-06-30T08:21:43Z","subject":"CN=*.example.com"}', - ], - 'CustomDomain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'abc.example.com', - ], + 'SpaceId' => ['description' => 'Service Space ID.', 'type' => 'string', 'example' => 'fd46b91a-4591-49b6-abcd-59e9733*****', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C44BB160-2F2D-5E34-BC08-B8C8B6D7702F', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EnableService\\": true,\\n \\"CustomDomainCname\\": \\"724d************795a2.custom.bspapp.com\\",\\n \\"RequestId\\": \\"34C45988-2B24-****-A4DC-4D6C952890D8\\",\\n \\"DefaultEndpoint\\": \\"724dade5-492f-426b-a5df-ff****0795a2.bspapp.com\\",\\n \\"CustomDomainCertificateInfo\\": \\"{\\\\\\"notAfter\\\\\\":\\\\\\"2021-09-28T08:21:42Z\\\\\\",\\\\\\"notBefore\\\\\\":\\\\\\"2021-06-30T08:21:43Z\\\\\\",\\\\\\"subject\\\\\\":\\\\\\"CN=*.example.com\\\\\\"}\\",\\n \\"CustomDomain\\": \\"abc.example.com\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<UpdateHttpTriggerConfigResponse>\\n\\t<DefaultEndpoint>226e5213-****-4a52-b4ff-35a09f8a52de.bspapp.com</DefaultEndpoint>\\n\\t<RequestId>34C45988-2B24-495D-A4DC-4D6C952890D8</RequestId>\\n\\t<EnableService>true</EnableService>\\n\\t<Success>true</Success>\\n\\t<CustomDomainCname>226e5213-****-4a52-b4ff-35a09f8a52de.custom.bspapp.com</CustomDomainCname>\\n </UpdateHttpTriggerConfigResponse>\\n\\t\\n","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SpaceId\\": \\"fd46b91a-4591-49b6-abcd-59e9733*****\\",\\n \\"RequestId\\": \\"C44BB160-2F2D-5E34-BC08-B8C8B6D7702F\\"\\n}","type":"json"}]', + 'title' => 'Create a miniapp service space', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFunction' => [ - 'summary' => '查询已创建的云函数详情', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-06-10T03:35:32.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateSpace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'Space', 'arn' => 'acs:mpserverless::{#accountId}:space/*'], + ], + ], + ], ], + ], + 'CreateSpaceWithOrder' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -1654,162 +1152,119 @@ [ 'name' => 'Name', 'in' => 'formData', + 'schema' => ['description' => 'The name of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'Desc', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the service space.', 'type' => 'string', 'required' => false, 'maxLength' => 128, 'example' => '测试服务空间', 'title' => ''], + ], + [ + 'name' => 'SubscriptionType', + 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- Subscription: Subscription.'."\n" + ."\n" + .'- PayAsYouGo: Pay-as-you-go.', 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'example' => 'demoFunction', + 'enum' => ['Subscription', 'PayAsYouGo'], + 'example' => 'Subscription', + 'title' => '', ], ], [ - 'name' => 'SpaceId', + 'name' => 'Period', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'The subscription duration in months. Valid values are 1, 2, 3, 6, and 12. This parameter is required when the billing method is subscription.', + 'type' => 'integer', + 'format' => 'int32', + 'enum' => ['1', '2', '3', '6', '12'], + 'required' => false, + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PackageVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The specification of the subscription package. This parameter is required when the billing method is subscription.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dece4ea0-d432-4cfa-8514-xxxx', + 'enum' => ['free', 'base', 'standard', 'professional', 'enterprise', 'ultimate'], + 'required' => false, + 'example' => 'professional', + 'title' => '', ], ], + [ + 'name' => 'UseCoupon', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to use a cash coupon. Valid values:'."\n" + ."\n" + .'- **true**: Use a cash coupon.'."\n" + ."\n" + .'- **false**: Do not use a cash coupon.'."\n" + ."\n" + .'The default value is **false**.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '75CE67BE-48E9-52AF-B965-4690270CD53A', - ], - 'Function' => [ - 'type' => 'object', - 'properties' => [ - 'TimingTriggerConfig' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'TimingTriggerUserPayload' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hello', - ], - 'HttpTriggerPath' => [ - 'description' => '', - 'type' => 'string', - 'example' => '/http/getWxToken', - ], - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-02T02:40:37Z', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demoFunction', - ], - 'ModifiedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019-06-21T02:22:53Z', - ], - 'Desc' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Spec' => [ - 'type' => 'object', - 'properties' => [ - 'Timeout' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5', - ], - 'Runtime' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nodejs12', - ], - 'InstanceConcurrency' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Memory' => [ - 'description' => '', - 'type' => 'string', - 'example' => '512', - ], - ], - ], - ], - ], - 'Deployment' => [ - 'type' => 'object', - 'properties' => [ - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019-06-11T10:51:19Z', - ], - 'DeploymentId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'dep-62020d3bea44fd4608118233', - ], - 'DownloadSignedUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://bucket.oss-cn-shanghai.aliyuncs.com/xxxx-v2.zip?OSSAccessKeyId=LT*********1DkK6&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D', - ], - 'VersionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019061110511905080', - ], - 'ModifiedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019-06-11T10:51:19Z', - ], - ], - ], + 'SpaceId' => ['description' => 'The ID of the service space.', 'type' => 'string', 'example' => 'mp-1140a548-****-44ac-8bfb-a21c073f0d1a', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C71E8AEA-D1C3-****-956F-C261B7A43E92', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '222082414200***', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'emas_EmasServerlessPost_public_cn-n8m2y7l****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75CE67BE-48E9-52AF-B965-4690270CD53A\\",\\n \\"Function\\": {\\n \\"TimingTriggerConfig\\": \\"公测版:cron:0 0 */2 * * *\\\\n\\\\n商业版:0 0 */2 * * *\\",\\n \\"TimingTriggerUserPayload\\": \\"hello\\",\\n \\"HttpTriggerPath\\": \\"/http/getWxToken\\",\\n \\"CreatedAt\\": \\"2021-12-02T02:40:37Z\\",\\n \\"Name\\": \\"demoFunction\\",\\n \\"ModifiedAt\\": \\"2019-06-21T02:22:53Z\\",\\n \\"Desc\\": \\"获取微信绑定手机号\\",\\n \\"Spec\\": {\\n \\"Timeout\\": \\"5\\",\\n \\"Runtime\\": \\"nodejs12\\",\\n \\"InstanceConcurrency\\": 1,\\n \\"Memory\\": \\"512\\"\\n }\\n },\\n \\"Deployment\\": {\\n \\"CreatedAt\\": \\"2019-06-11T10:51:19Z\\",\\n \\"DeploymentId\\": \\"dep-62020d3bea44fd4608118233\\",\\n \\"DownloadSignedUrl\\": \\"http://bucket.oss-cn-shanghai.aliyuncs.com/xxxx-v2.zip?OSSAccessKeyId=LT*********1DkK6&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D\\",\\n \\"VersionNo\\": \\"2019061110511905080\\",\\n \\"ModifiedAt\\": \\"2019-06-11T10:51:19Z\\"\\n }\\n}","type":"json"}]', - ], - 'DescribeHttpTriggerConfig' => [ - 'summary' => '查询云函数的HTTP触发配置', - 'methods' => [ - 'post', - 'get', + 'title' => 'Create a service space and pay for the order', + 'summary' => 'Creates a service space and places an order.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateSpaceWithOrder', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'Space', 'arn' => 'acs:mpserverless::{#accountId}:space/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SpaceId\\": \\"mp-1140a548-****-44ac-8bfb-a21c073f0d1a\\",\\n \\"RequestId\\": \\"C71E8AEA-D1C3-****-956F-C261B7A43E92\\",\\n \\"OrderId\\": \\"222082414200***\\",\\n \\"InstanceId\\": \\"emas_EmasServerlessPost_public_cn-n8m2y7l****\\"\\n}","type":"json"}]', + ], + 'DeleteAntOpenPlatformConfig' => [ + 'summary' => 'Delete Alipay Open Platform configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -1817,13 +1272,12 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '34C45988-2B24-****-A4DC-4D6C952890D8', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], + ], + [ + 'name' => 'AppId', + 'in' => 'formData', + 'schema' => ['description' => 'Miniapp ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '201909116717****', 'title' => ''], ], ], 'responses' => [ @@ -1831,124 +1285,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EnableService' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CustomDomainCname' => [ - 'description' => '', - 'type' => 'string', - 'example' => '724d************795a2.custom.bspapp.com', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4555773F-769B-4960-87E6-16009E5A4844', - ], - 'DefaultEndpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '724dade5-492f-426b-a5df-ff****0795a2.bspapp.com', - ], - 'CustomDomainCertificateInfo' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"notAfter":"2021-09-28T08:21:42Z","notBefore":"2021-06-30T08:21:43Z","subject":"CN=*.example.com"}', - ], - 'CustomDomain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'abc.example.com', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '2540E86F-2CD4-44AC-A7AB-59CAF40C225D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"EnableService\\": true,\\n \\"CustomDomainCname\\": \\"724d************795a2.custom.bspapp.com\\",\\n \\"RequestId\\": \\"4555773F-769B-4960-87E6-16009E5A4844\\",\\n \\"DefaultEndpoint\\": \\"724dade5-492f-426b-a5df-ff****0795a2.bspapp.com\\",\\n \\"CustomDomainCertificateInfo\\": \\"{\\\\\\"notAfter\\\\\\":\\\\\\"2021-09-28T08:21:42Z\\\\\\",\\\\\\"notBefore\\\\\\":\\\\\\"2021-06-30T08:21:43Z\\\\\\",\\\\\\"subject\\\\\\":\\\\\\"CN=*.example.com\\\\\\"}\\",\\n \\"CustomDomain\\": \\"abc.example.com\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeHttpTriggerConfigResponse>\\r\\n\\t<DefaultEndpoint>226e5213-697c-****-b4ff-35a09f8a52de.bspapp.com</DefaultEndpoint>\\r\\n\\t<RequestId>63D32428-3AF4-459F-8FB0-FE7B8A9D9003</RequestId>\\r\\n\\t<EnableService>true</EnableService>\\r\\n\\t<Success>true</Success>\\r\\n\\t<CustomDomainCname>226e5213-697c-4a52-b4ff-35a09f8a52de.custom.bspapp.com</CustomDomainCname>\\r\\n</DescribeHttpTriggerConfigResponse>","errorExample":""}]', - 'title' => 'DescribeHttpTriggerConfig', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2540E86F-2CD4-44AC-A7AB-59CAF40C225D\\"\\n}","type":"json"}]', + 'title' => 'Delete Alipay Open Platform configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListFunction' => [ - 'summary' => '查询已创建的云函数列表', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:24.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteAntOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteCorsDomain' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'PageNum', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], - ], - [ - 'name' => 'FilterBy', + 'name' => 'DomainId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'demo', - ], + 'schema' => ['description' => 'Domain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '97e3ff58-01e4-****-b975-1805fec34d77', 'title' => ''], ], [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dece4ea0-d432-4cfa-****-8a88d205e2b8', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ @@ -1956,207 +1353,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D388FE2B-61D5-4A76-A8F0-xxxx', - ], - 'Paginator' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PageNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TimingTriggerConfig' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cron:0 0 * * * *', - ], - 'HttpTriggerPath' => [ - 'description' => '', - 'type' => 'string', - 'example' => '/http/hello', - ], - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019-06-21T02:22:55.996Z', - ], - 'ModifiedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019-06-21T02:22:55.996Z', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demoFunction', - ], - 'Desc' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'Spec' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Timeout' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5s', - ], - 'Runtime' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Node.js 8', - ], - 'InstanceConcurrency' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Memory' => [ - 'description' => '', - 'type' => 'string', - 'example' => '128 MB', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '091A8BC0-8A73-4035-9441-922BF969631D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D388FE2B-61D5-4A76-A8F0-xxxx\\",\\n \\"Paginator\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"PageCount\\": 1\\n },\\n \\"DataList\\": [\\n {\\n \\"TimingTriggerConfig\\": \\"cron:0 0 * * * *\\",\\n \\"HttpTriggerPath\\": \\"/http/hello\\",\\n \\"CreatedAt\\": \\"2019-06-21T02:22:55.996Z\\",\\n \\"ModifiedAt\\": \\"2019-06-21T02:22:55.996Z\\",\\n \\"Name\\": \\"demoFunction\\",\\n \\"Desc\\": \\"test\\",\\n \\"Spec\\": {\\n \\"Timeout\\": \\"5s\\",\\n \\"Runtime\\": \\"Node.js 8\\",\\n \\"InstanceConcurrency\\": 1,\\n \\"Memory\\": \\"128 MB\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>319DADF8-0BE9-4AAB-B3C1-4EA07ACE35CE</RequestId>\\n<Paginator>\\n <Total>1</Total>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <PageCount>1</PageCount>\\n</Paginator>\\n<DataList>\\n <Name>testFunction</Name>\\n <Desc/>\\n <HttpTriggerPath>/http/hello</HttpTriggerPath>\\n <CreatedAt>2019-06-10T02:33:16.674Z</CreatedAt>\\n <ModifiedAt>2019-06-10T02:33:16.674Z</ModifiedAt>\\n <TimingTriggerConfig>cron:0 0 * * * *</TimingTriggerConfig>\\n <Spec>\\n <InstanceConcurrency>1</InstanceConcurrency>\\n <Memory>128 MB</Memory>\\n <Timeout>5s</Timeout>\\n <Runtime>Node.js 8</Runtime>\\n </Spec>\\n</DataList>","errorExample":""}]', - 'title' => 'ListFunction', + 'title' => 'Delete a CORS domain name', + 'summary' => 'Deletes a CORS domain.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListFunctionDeployment' => [ - 'summary' => '查询云函数部署单列表', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteCorsDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"091A8BC0-8A73-4035-9441-922BF969631D\\"\\n}","type":"json"}]', + ], + 'DeleteDBCollection' => [ + 'summary' => 'Delete a database collection via the API.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'PageNum', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], - ], - [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoFunction', - ], - ], - [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dece4ea0-d432-4cfa-****-8a88d205e2b8', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '92e26ea9-6450-4b40-9c20-xxxx', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'Body', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'DEPLOY_SUCCESS', - ], + 'schema' => ['description' => 'The dataset to delete. The format is a JSON string where the static field "command" is set to "drop" and the "collection" value is the name of the collection to delete.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"command": "drop", "collection": "table1"}', 'title' => ''], ], ], 'responses' => [ @@ -2164,335 +1423,112 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', - ], - 'Paginator' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PageNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CreatedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019-06-21T02:22:53.309Z', - ], - 'DeploymentId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'dep-5e49fd471c9d4451c33bdd06', - ], - 'DownloadSignedUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://function-apiserver-test.oss-cn-shanghai.aliyuncs.com/5d0afc0e1c9d44*****32c30a-v5.zip?OSSAccessKeyId=LTA************&Expires=1561425220&Signature=SAgUkZFK54eAbU6TLT9zMZ7S8eg%3D', - ], - 'VersionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019061110511930090', - ], - 'ModifiedAt' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019-06-21T02:22:55.996Z', - ], - 'Status' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'DEPLOY_SUCCESS', - ], - 'Label' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '20C1EDFE-6355-4344-B20A-A7A5A1581026', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"Paginator\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"PageCount\\": 1\\n },\\n \\"DataList\\": [\\n {\\n \\"CreatedAt\\": \\"2019-06-21T02:22:53.309Z\\",\\n \\"DeploymentId\\": \\"dep-5e49fd471c9d4451c33bdd06\\",\\n \\"DownloadSignedUrl\\": \\"http://function-apiserver-test.oss-cn-shanghai.aliyuncs.com/5d0afc0e1c9d44*****32c30a-v5.zip?OSSAccessKeyId=LTA************&Expires=1561425220&Signature=SAgUkZFK54eAbU6TLT9zMZ7S8eg%3D\\",\\n \\"VersionNo\\": \\"2019061110511930090\\",\\n \\"ModifiedAt\\": \\"2019-06-21T02:22:55.996Z\\",\\n \\"Status\\": {\\n \\"Status\\": \\"DEPLOY_SUCCESS\\",\\n \\"Label\\": \\"部署成功\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<HttpStatusCode>200</HttpStatusCode>\\n<RequestId>71F897B5-7078-487E-8029-EE2FD071D203</RequestId>\\n<Paginator>\\n <PageCount>1</PageCount>\\n <PageSize>10</PageSize>\\n <PageNum>1</PageNum>\\n <Total>2</Total>\\n</Paginator>\\n<DataList>\\n <Status>\\n <Status>DEPLOY_SUCCESS</Status>\\n <Label>部署成功</Label>\\n </Status>\\n <DeploymentId>dep-5e0ab12b1c9d44709fa2c***</DeploymentId>\\n <DownloadSignedUrl>http://mps-zjk-faas-prod.oss-cn-zhangjiakou.aliyuncs.com/upload/xxxx</DownloadSignedUrl>\\n <ModifiedAt>2019-12-31T02:23:41.799Z</ModifiedAt>\\n <VersionNo>2019123110233936929</VersionNo>\\n <CreatedAt>2019-12-31T02:23:39.371Z</CreatedAt>\\n</DataList>\\n<DataList>\\n <Status>\\n <Status>DEPLOY_SUCCESS</Status>\\n <Label>部署成功</Label>\\n </Status>\\n <DeploymentId>dep-5e0aa9d21c9d446d94af0***</DeploymentId>\\n <DownloadSignedUrl>http://mps-zjk-faas-prod.oss-cn-zhangjiakou.aliyuncs.com/upload/xxxx</DownloadSignedUrl>\\n <ModifiedAt>2019-12-31T01:52:20.966Z</ModifiedAt>\\n <VersionNo>2019123109521824866</VersionNo>\\n <CreatedAt>2019-12-31T01:52:18.251Z</CreatedAt>\\n</DataList>\\n<Success>true</Success>\\n<Code>OK</Code>","errorExample":""}]', - 'title' => 'ListFunctionDeployment', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"20C1EDFE-6355-4344-B20A-A7A5A1581026\\"\\n}","type":"json"}]', + 'title' => 'Delete Database Collection', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListFunctionLog' => [ - 'summary' => '查询函数执行日志', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:24.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteDBCollection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteDingtalkOpenPlatformConfig' => [ + 'summary' => 'Delete the DingTalk Open Platform configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'PageNum', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'minimum' => '1', - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'AppId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '10', - ], - ], - [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demoFunction', - ], + 'schema' => ['description' => 'DingTalk miniapp ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dingoa7pqicyk3x9t*****', 'title' => ''], ], [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dece4ea0-****-4cfa-8514-8a88d205e2b8', - ], - ], - [ - 'name' => 'LogRequestId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '0a206a521561344642018387523432', - ], - ], - [ - 'name' => 'FromDate', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1560134212326', - ], - ], - [ - 'name' => 'ToDate', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1560134212326', - ], - ], - [ - 'name' => 'Status', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SUCCESS', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', - ], - 'Paginator' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PageNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'dece4ea0-d432-4cfa-8514-8a88d205e2b8', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', - ], - 'FunctionName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demoFunction', - ], - 'Timestamps' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1545403746724', - ], - ], - 'Contents' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2018-12-21 14:49:06.724 INFO Start `hello2` at Fri Dec 21 2018 14:49:06 GMT+0000 (UTC) 2018-12-21 14:49:06.724 INFO Successin 0ms', - ], - ], - 'Levels' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'INFO', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"Paginator\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"PageCount\\": 1\\n },\\n \\"DataList\\": [\\n {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"SpaceId\\": \\"dece4ea0-d432-4cfa-8514-8a88d205e2b8\\",\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"FunctionName\\": \\"demoFunction\\",\\n \\"Timestamps\\": [\\n \\"1545403746724\\"\\n ],\\n \\"Contents\\": [\\n \\"2018-12-21 14:49:06.724 INFO Start `hello2` at Fri Dec 21 2018 14:49:06 GMT+0000 (UTC) 2018-12-21 14:49:06.724 INFO Successin 0ms\\"\\n ],\\n \\"Levels\\": [\\n \\"INFO\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C293BB03-B6AD-46C2-80D1-19C8FB573916</RequestId>\\n<Paginator>\\n <Total>1</Total>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <PageCount>1</PageCount>\\n</Paginator>\\n<DataList>\\n <SpaceId>b04c2224-****-438c-938a-2b29073900ff</SpaceId>\\n <FunctionName>hello2</FunctionName>\\n <RequestId>d879d5f1c19192cdd1bf69e670cb5dbf</RequestId>\\n <Timestamp>1545403746724</Timestamp>\\n <Level>INFO</Level>\\n <LoggerName>fnLogger</LoggerName>\\n <LoggerFile>/release/lib/runtime/logs/runtime/fn.log</LoggerFile>\\n <Status>SUCCESS</Status>\\n <Content>2018-12-21 14:49:06.724 INFO Start `hello2` at Fri Dec 21 2018 14:49:06 GMT+0000 (UTC)\\n2018-12-21 14:49:06.724 INFO Successin 0ms\\n</Content>\\n</DataList>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\"\\n}","type":"json"}]', + 'title' => 'Delete the DingTalk Open Platform configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeployFunction' => [ - 'summary' => '函数部署', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:24.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteDingtalkOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteFile' => [ + 'summary' => 'Delete a file.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2500,37 +1536,25 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasXYAKDO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'DeploymentId', + 'name' => 'Id', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dep-5e49fd471c9d4451c33bdd06', - ], + 'schema' => ['description' => '- Delete a single file by its UUID, for example: ef69b85f-****-4942-8a0f-211a82b48ec7 '."\n" + .'- Delete files by folder structure by providing a prefix ending with "/", for example: images/. Wait patiently if the folder contains many files. '."\n" + .'- Support deleting multiple files and folders simultaneously by separating UUIDs and prefixes with commas (,). You can delete up to 50 items at once, for example: ef69b85f-****-4942-8a0f-211a82b48ec7,images/,docs/', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'c568f23d-a46f-4866-****-142e5eb3e174', 'title' => ''], ], [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dece4ea0-d432-4cfa-****-8a88d205e2b8xxxx', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ @@ -2538,69 +1562,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9D653EC3-8F53-4307-9B1C-52F5922384A6', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9D653EC3-8F53-4307-9B1C-52F5922384A6\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeployFunctionResponse>\\r\\n\\t<RequestId>9D653EC3-8F53-4307-9B1C-52F5922384A6</RequestId>\\r\\n</DeployFunctionResponse>\\t\\r\\n","errorExample":""}]', - 'title' => 'DeployFunction', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\"\\n}","type":"json"}]', + 'title' => 'Delete a file', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'RunFunction' => [ - 'summary' => '执行函数,同步执行最多支持60秒', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteFunction' => [ + 'summary' => 'Delete a cloud function.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ach41172-adba-4af1-b2e5-63fc5f56a649', - ], + 'schema' => ['description' => 'Function Name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoFunction', 'title' => ''], ], [ - 'name' => 'Body', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{"functionTarget":"test-function","functionArgs":{"a":"aaaa","b":"bbbb","num":100}}', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dece4ea0-d432-4cfa-****-8a88d205e2b8', 'title' => ''], ], ], 'responses' => [ @@ -2608,65 +1630,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F75E60FA-7583-4E2E-AC14-6C608F89804', - ], - 'Result' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"name":"tom"}', - ], - 'RuntimeMeta' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'InvocationDuration' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '523', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '980879201561364765437209427735', - ], - 'BillingDuration' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '600', - ], - 'MaxMemoryUsage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '27', - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '9D653EC3-8F53-4307-9B1C-52F5922384A6', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F75E60FA-7583-4E2E-AC14-6C608F89804\\",\\n \\"Result\\": \\"{\\\\\\"name\\\\\\":\\\\\\"tom\\\\\\"}\\",\\n \\"RuntimeMeta\\": {\\n \\"InvocationDuration\\": 523,\\n \\"RequestId\\": \\"980879201561364765437209427735\\",\\n \\"BillingDuration\\": 600,\\n \\"MaxMemoryUsage\\": 27\\n }\\n}","errorExample":""},{"type":"xml","example":"<Result>{\\"name\\":\\"tom\\"}</Result>\\n<HttpStatusCode>200</HttpStatusCode>\\n<RequestId>780A14D7-D478-4090-AF53-A324A60C0222</RequestId>\\n<AffectedDocs>1</AffectedDocs>\\n<Success>true</Success>\\n<Code>OK</Code>","errorExample":""}]', - 'title' => 'RunFunction', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D653EC3-8F53-4307-9B1C-52F5922384A6\\"\\n}","type":"json"}]', + 'title' => 'Delete a cloud function', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteDBCollection' => [ - 'summary' => '删除数据库集合', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteSpace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2678,9 +1677,7 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -2688,24 +1685,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '92e26ea9-6450-4b40-9c20-xxxx', - ], - ], - [ - 'name' => 'Body', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{"command": "drop", "collection": "table1"}', - ], + 'schema' => ['description' => 'The ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '92e26ea9-6450-4b40-9c20-xxxx', 'title' => ''], ], ], 'responses' => [ @@ -2713,30 +1693,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20C1EDFE-6355-4344-B20A-A7A5A1581026', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"20C1EDFE-6355-4344-B20A-A7A5A1581026\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDBCollectionResponse>\\r\\n\\t<AffectedDocs>0</AffectedDocs>\\r\\n\\t<RequestId>20C1EDFE-6355-4344-B20A-A7A5A1581026</RequestId>\\r\\n\\t<Result>true</Result>\\r\\n</DeleteDBCollectionResponse>","errorExample":""}]', + 'title' => 'Delete a service Space', + 'summary' => 'Deletes a service space.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'RenameDBCollection' => [ - 'summary' => '重命名集合', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteSpace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\"\\n}","type":"json"}]', + ], + 'DeleteWebHostingCertificate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2745,12 +1738,10 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -2758,35 +1749,12 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9*****', - ], + 'schema' => ['description' => 'The ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'OriginCollection', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'coll1', - ], - ], - [ - 'name' => 'NewCollection', + 'name' => 'Domain', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'newColl1', - ], + 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com', 'title' => ''], ], ], 'responses' => [ @@ -2794,77 +1762,73 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20C1EDFE-6355-4344-B20A-A7A5A1581026', - ], + 'Data' => ['description' => 'The operation result.'."\n" + ."\n" + .'- true: The operation succeeded.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => 'D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"20C1EDFE-6355-4344-B20A-A7A5A1581026\\"\\n}","errorExample":""},{"type":"xml","example":"<RenameDBCollectionResponse>\\n <RequestId>20C1EDFE-6355-4344-B20A-A7A5A1581026</RequestId>\\n</RenameDBCollectionResponse>","errorExample":""}]', - 'title' => 'RenameDBCollection', + 'title' => 'Detach Certificate', + 'summary' => 'Detaches the certificate and disables HTTPS access.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'RunDBCommand' => [ - 'summary' => '执行数据库命令', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteWebHostingCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F\\"\\n}","type":"json"}]', + ], + 'DeleteWebHostingFile' => [ + 'summary' => 'Delete a file from static website hosting.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, - 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ach41172-adba-4af1-b2e5-63fc5f56a649', - ], + 'schema' => ['description' => 'Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'Body', + 'name' => 'FilePath', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{"command":"findOne","collection":"test_collection","query":{"name":"tome"}}', - ], + 'schema' => ['description' => 'File Path.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '/error.jpg', 'title' => ''], ], ], 'responses' => [ @@ -2872,54 +1836,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F75E60FA-7583-4E2E-AC14-6C608F89804', - ], - 'Result' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"_id":"5d107e5af957c439d505b95b","age":1,"name":"aaaaa","time":1561362071732}', - ], - 'AffectedDocs' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'Data' => ['description' => 'Returns the result of the operation execution.'."\n" + .'- true: Succeeded.'."\n" + .'- false: Failed to Operate.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F75E60FA-7583-4E2E-AC14-6C608F89804\\",\\n \\"Result\\": \\"{\\\\\\"_id\\\\\\":\\\\\\"5d107e5af957c439d505b95b\\\\\\",\\\\\\"age\\\\\\":1,\\\\\\"name\\\\\\":\\\\\\"aaaaa\\\\\\",\\\\\\"time\\\\\\":1561362071732}\\",\\n \\"AffectedDocs\\": 1\\n}","errorExample":""},{"type":"xml","example":"<Result>{\\"_id\\":\\"5d107e5af957c439d505b95b\\",\\"age\\":1,\\"name\\":\\"aaaaa\\",\\"text\\":\\"Mon Jun 24 2019 15:41:11 GMT+0800 (CST)\\",\\"time\\":1561362071732}</Result>\\n<HttpStatusCode>200</HttpStatusCode>\\n<RequestId>780A14D7-D478-4090-AF53-A324A60C0222</RequestId>\\n<AffectedDocs>1</AffectedDocs>\\n<Success>true</Success>\\n<Code>OK</Code>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****\\"\\n}","type":"json"}]', + 'title' => 'Delete a file from static website hosting', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', - ], - 'CreateDBRestoreTask' => [ - 'summary' => '创建集合回档任务。创建回档任务成功后,会返回任务ID', - 'methods' => [ - 'post', - 'get', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteWebHostingFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteWechatOpenPlatformConfig' => [ + 'summary' => 'Delete the WeChat Open Platform configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -2927,46 +1895,12 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'BackupId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '20201118114602_6bd7c996-f620-4026-ae24-418eddf78671', - ], - ], - [ - 'name' => 'OriginCollections', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'coll1,coll2', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'NewCollections', + 'name' => 'AppId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'newColl1,newColl2', - ], + 'schema' => ['description' => 'WeChat mini program ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123456', 'title' => ''], ], ], 'responses' => [ @@ -2974,83 +1908,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0150006d-ab93-4920-a63e-c011dea1e089', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '819BE656-D2E0-4858-8B21-B2E477085AAF', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TaskId\\": \\"0150006d-ab93-4920-a63e-c011dea1e089\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateDBRestoreTaskResponse>\\r\\n <RequestId>58881468-E779-4203-B933-BD53FDC60D6F</RequestId>\\r\\n <taskId>0150006d-ab93-4920-a63e-c011dea1e089</taskId>\\r\\n</CreateDBRestoreTaskResponse>","errorExample":""}]', - 'title' => 'CreateDBRestoreTask', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"819BE656-D2E0-4858-8B21-B2E477085AAF\\"\\n}","type":"json"}]', + 'title' => 'Delete the WeChat Open Platform configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'QueryDBBackupCollections' => [ - 'summary' => '根据备份ID来查询备份的集合', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteWechatOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeployFunction' => [ + 'summary' => 'Trigger function deployment.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'DeploymentId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', - ], + 'schema' => ['description' => 'Deployment ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dep-5e49fd471c9d4451c33bdd06', 'title' => ''], ], [ - 'name' => 'BackupId', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '20201118114602_6bd7c996-f620-4026-ae24-418eddf78671', - ], + 'schema' => ['description' => 'Service Space ID to which the function belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dece4ea0-d432-4cfa-****-8a88d205e2b8xxxx', 'title' => ''], ], ], 'responses' => [ @@ -3058,47 +1976,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', - ], - 'Collections' => [ - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'coll1', - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '9D653EC3-8F53-4307-9B1C-52F5922384A6', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Collections\\": [\\n \\"coll1\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<QueryDBBackupCollectionsResponse>\\n <RequestId>58881468-E779-4203-B933-BD53FDC60D6F</RequestId>\\n <Collections>coll1</Collections>\\n <Collections>coll2</Collections>\\n</QueryDBBackupCollectionsResponse>","errorExample":""}]', - 'title' => 'QueryDBBackupCollections', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D653EC3-8F53-4307-9B1C-52F5922384A6\\"\\n}","type":"json"}]', + 'title' => 'Trigger function deployment', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'QueryDBRestoreTaskStatus' => [ - 'summary' => '查询集合回档任务状态', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:DeployFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeCdnDomain' => [ + 'summary' => 'Query an Alibaba Cloud CDN accelerated domain name. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3110,33 +2024,33 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasXYAKDO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ + 'name' => 'TenantId', + 'in' => 'formData', + 'schema' => ['description' => 'Tenant ID. ', 'type' => 'string', 'required' => false, 'example' => 'UNIGTXQTAO', 'title' => ''], + ], + [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'example' => 'mp-05c3aa1c-****-43ae-a03d-61eff91c592e', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'Type', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Supports management of custom domain names for cloud storage and static websites: '."\n" + .'- FILE: Alibaba Cloud CDN for cloud storage '."\n" + .'- WEB: Alibaba Cloud CDN for static website hosting (requires a custom domain name to be attached to CDN) ', 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'example' => '0150006d-ab93-4920-a63e-c011dea1e089', + 'example' => 'FILE', + 'enum' => ['FILE', 'WEB'], + 'title' => '', ], ], ], @@ -3145,217 +2059,240 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SUCCESS', + 'SpaceId' => ['description' => 'Service Space ID. ', 'type' => 'string', 'example' => 'mp-65e6491b-****-4c2e-b202-7f0036eb2713', 'title' => ''], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => 'E8A2FA95-6F70-****-971C-34C27485441D', 'title' => ''], + 'ServiceStatus' => ['description' => '- IN_SERVICE: The CDN service is in service. '."\n" + .'- PAUSED: The CDN service has been paused. Check your account balance, subscription expiration date, or whether your resource usage exceeds the quota. ', 'type' => 'string', 'example' => 'IN_SERVICE', 'title' => ''], + 'DomainName' => ['description' => 'Alibaba Cloud CDN accelerated domain name. ', 'type' => 'string', 'example' => 'mp-65e6491b-****-4c2e-b202-7f0036eb2713.cdn.bspapp.com', 'title' => ''], + 'CorsConfig' => [ + 'description' => 'Cross-origin resource sharing (CORS) configuration. ', + 'type' => 'object', + 'properties' => [ + 'AllowOrigin' => ['description' => 'Set the cross-origin validation rule. The default value is “*”. The cross-origin validation rules are as follows: '."\n" + .'- If set to “*”, the response header “Access-Control-Allow-Origin: *” is always returned, regardless of whether the user request includes the “Origin” parameter or what value the “Origin” parameter carries. '."\n" + .'- If one or more values are configured for the CORS response header (multiple values separated by commas): '."\n" + .' - If the “Origin” parameter in the request header exactly matches any of the configured values, the corresponding CORS response header is returned. '."\n" + .' - If no exact match is found, no CORS response header is returned. '."\n" + .'- If a wildcard domain name is configured, the system validates whether the “Origin” value in the request header matches the wildcard pattern. ', 'type' => 'string', 'example' => 'https://www.baidu.com', 'title' => ''], + 'ConfigId' => ['description' => 'Configuration ID. ', 'type' => 'string', 'example' => '274436853071****', 'title' => ''], + 'AccessOriginControl' => ['description' => '- true: Enables cross-origin authentication. Each request is checked against the CORS rules. '."\n" + .'- false: Disables cross-origin validation. The configured CORS response headers are returned unconditionally. ', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'FailedCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'RefererConfig' => [ + 'description' => 'Hotlink protection configuration. ', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '- white: whitelist '."\n" + .'- black: blacklist '."\n" + .'> The blacklist and whitelist are mutually exclusive. You can enable only one of them at a time. ', 'type' => 'string', 'example' => 'white', 'title' => ''], + 'ReferList' => ['description' => 'List of domain names, separated by commas (,). '."\n" + .'> The total length of the Referer hotlink protection rule must not exceed 60 KB. ', 'type' => 'string', 'example' => 'a*b.example.com', 'title' => ''], + 'AllowEmpty' => ['description' => 'Specifies whether requests with an empty Referer field are allowed to access Alibaba Cloud CDN resources. Valid values: '."\n" + .'- on: Allowed. '."\n" + .'- off (Default Value): Not allowed. ', 'type' => 'string', 'example' => 'on', 'title' => ''], + 'DisableAst' => ['description' => 'Specifies whether to use exact match mode to control whether the domain names entered in the list are matched exactly. If this option is enabled (on), domain names are matched exactly. '."\n" + .'- When the value is set to on: '."\n" + .' - Exact match is supported. '."\n" + .' - If example.com is added to the list, only example.com matches. '."\n" + .' - If a*b.example.com is added to the list, it matches a<any character>b.example.com. '."\n" + .' - Suffix matching is not supported. '."\n" + .'- When the value is set to off (default): '."\n" + .' - Exact match is not supported. '."\n" + .' - Suffix matching is supported. '."\n" + .' - If example.com is added to the list, both example.com and <any character>.example.com match. '."\n" + .' - If a*b.example.com is added to the list, both a<any character>b.example.com and <any character>.a<any character>b.example.com match. '."\n", 'type' => 'string', 'example' => 'a*b.example.com', 'title' => ''], + 'ConfigId' => ['description' => 'Configuration ID. ', 'type' => 'string', 'example' => '28048528682****', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', + 'IpConfig' => [ + 'description' => 'IP blacklists and whitelists configuration. ', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '- white: whitelist '."\n" + .'- black: blacklist '."\n" + ."\n" + .'> Blacklists and whitelists are mutually exclusive. You can enable only one type at a time. ', 'type' => 'string', 'example' => 'black', 'title' => ''], + 'IpList' => ['description' => '- IP list, with multiple entries separated by commas (,). CIDR notation for network segments is supported. '."\n" + .'- You can configure up to approximately 700 IPv6 addresses or 2000 IPv4 addresses. '."\n" + ."\n" + .'For more information, see [IP address validation pattern](https://help.aliyun.com/document_detail/27138.htm#section-6dp-9h1-ty3). ', 'type' => 'string', 'example' => '183.157.108.82,140.205.147.26', 'title' => ''], + 'ConfigId' => ['description' => 'Configuration ID. ', 'type' => 'string', 'example' => '25623800702****', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'DetailMessage' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SERVER_BUSY', + 'UaConfig' => [ + 'description' => 'Client ID (User-Agent) blacklist and whitelist configuration. ', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '- white: Whitelist '."\n" + .'- black: Blacklist '."\n" + ."\n" + .'> Blacklists and whitelists are mutually exclusive. You can enable only one type at a time. ', 'type' => 'string', 'example' => 'white', 'title' => ''], + 'UaList' => ['description' => 'Enter the User-Agent. Wildcard character * (matches any string) and multiple values (separated by |) are supported. For example: \\*curl\\*|\\*IE\\*|\\*chrome\\*|\\*firefox\\*. '."\n" + .'> If you need to apply access control to user requests that include the User-Agent request header but have an empty value, you can use the parameter this-is-empty-ua to represent an empty User-Agent value. ', 'type' => 'string', 'example' => '*curl*|*IE*|*chrome*|*firefox*', 'title' => ''], + 'ConfigId' => ['description' => 'Configuration ID. ', 'type' => 'string', 'example' => '25950108534****', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'SuccessCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'AuthConfig' => [ + 'description' => 'Alibaba Cloud CDN authentication configuration. Valid only in "FILE" mode. ', + 'type' => 'object', + 'properties' => [ + 'AuthType' => ['description' => 'Authentication type. Enumeration values: '."\n" + .'- no_auth: Authentication is not enabled. '."\n" + .'- type_a: Type A authentication. '."\n" + .'- type_b: Type B authentication. '."\n" + .'- type_c: Type C authentication. '."\n" + ."\n" + .'For more information, see [Authentication Methods and Principles](https://help.aliyun.com/document_detail/85113.htm). ', 'type' => 'string', 'example' => 'no_auth', 'title' => ''], + 'AuthKey' => ['description' => 'Authentication key, 6 to 128 characters long, used to compute the Authentication Signature. ', 'type' => 'string', 'example' => 'SL4ZB****', 'title' => ''], + 'AuthDelta' => ['description' => 'Default validity period (in seconds) for authentication. ', 'type' => 'integer', 'format' => 'int32', 'example' => '3600', 'title' => ''], + 'configId' => ['description' => 'Configuration ID. ', 'type' => 'string', 'example' => '25950108534****'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'TaskId.NotFound', - 'errorMessage' => 'The specified TaskId does not exist.', - ], - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SpaceId\\": \\"mp-65e6491b-****-4c2e-b202-7f0036eb2713\\",\\n \\"RequestId\\": \\"E8A2FA95-6F70-****-971C-34C27485441D\\",\\n \\"ServiceStatus\\": \\"IN_SERVICE\\",\\n \\"DomainName\\": \\"mp-65e6491b-****-4c2e-b202-7f0036eb2713.cdn.bspapp.com\\",\\n \\"CorsConfig\\": {\\n \\"AllowOrigin\\": \\"https://www.baidu.com\\",\\n \\"ConfigId\\": \\"274436853071****\\",\\n \\"AccessOriginControl\\": true\\n },\\n \\"RefererConfig\\": {\\n \\"Type\\": \\"white\\",\\n \\"ReferList\\": \\"a*b.example.com\\",\\n \\"AllowEmpty\\": \\"on\\",\\n \\"DisableAst\\": \\"a*b.example.com\\",\\n \\"ConfigId\\": \\"28048528682****\\"\\n },\\n \\"IpConfig\\": {\\n \\"Type\\": \\"black\\",\\n \\"IpList\\": \\"183.157.108.82,140.205.147.26\\",\\n \\"ConfigId\\": \\"25623800702****\\"\\n },\\n \\"UaConfig\\": {\\n \\"Type\\": \\"white\\",\\n \\"UaList\\": \\"*curl*|*IE*|*chrome*|*firefox*\\",\\n \\"ConfigId\\": \\"25950108534****\\"\\n },\\n \\"AuthConfig\\": {\\n \\"AuthType\\": \\"no_auth\\",\\n \\"AuthKey\\": \\"SL4ZB****\\",\\n \\"AuthDelta\\": 3600,\\n \\"configId\\": \\"25950108534****\\\\n\\"\\n }\\n}","type":"json"}]', + 'title' => 'Retrieve Alibaba Cloud CDN Configuration ', + 'description' => 'Obtain the configuration information of an Alibaba Cloud CDN accelerated domain name. ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"SUCCESS\\",\\n \\"FailedCount\\": 1,\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"DetailMessage\\": \\"SERVER_BUSY\\",\\n \\"SuccessCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<QueryDBRestoreTaskStatusResponse>\\n <RequestId>58881468-E779-4203-B933-BD53FDC60D6F</RequestId>\\n <status>SUCCESS</status>\\n <successCount>1</successCount>\\n <failedCount>0</failedCount>\\n</QueryDBRestoreTaskStatusResponse>","errorExample":""}]', - 'title' => 'QueryDBRestoreTaskStatus', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'QueryDBBackupDumpTimes' => [ - 'summary' => '查询备份时间和备份ID,默认保存最近7天的备份记录', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeFCOpenStatus' => [ + 'summary' => 'View whether the Alibaba Cloud Function Compute service has been enabled.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], - 'parameters' => [ - [ - 'name' => 'SpaceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', - ], - 'BackupDumpTimes' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'BackupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20201118114602_6bd7c996-f620-4026-ae24-418eddf78671', - ], - 'DumpTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2020-11-18T03:46:02Z', - ], - ], - ], - ], + 'Status' => ['description' => 'Enabling status.', 'type' => 'string', 'example' => 'Opened', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C293BB03-B6AD-46C2-80D1-xxxx', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"Opened\\",\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-xxxx\\"\\n}","type":"json"}]', + 'title' => 'Obtain the FC enabling status', + 'changeSet' => [ + ['createdAt' => '2021-12-14T06:46:51.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeFCOpenStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"BackupDumpTimes\\": [\\n {\\n \\"BackupId\\": \\"20201118114602_6bd7c996-f620-4026-ae24-418eddf78671\\",\\n \\"DumpTime\\": \\"2020-11-18T03:46:02Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<QueryDBBackupDumpTimesResponse>\\n <RequestId>58881468-E779-4203-B933-BD53FDC60D6F</RequestId>\\n <backupDumpTimes>\\n <dumpTime>2020-11-18T03:46:02Z</dumpTime>\\n <backupId>20201118114602_6bd7c996-f620-4026-ae24-418eddf78671</backupId>\\n </backupDumpTimes>\\n <backupDumpTimes>\\n <dumpTime>2020-11-18T04:05:28Z</dumpTime>\\n <backupId>20201118120527_6bd7c996-f620-4026-ae24-418eddf78671</backupId>\\n </backupDumpTimes>\\n</QueryDBBackupDumpTimesResponse>","errorExample":""}]', - 'title' => 'QueryDBBackupDumpTimes', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'CreateDBExportTask' => [ - 'summary' => '创建数据库导出任务', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeFileUploadSignedUrl' => [ + 'summary' => 'Retrieves the signed URL required to upload a file.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasXYAKDO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'Filename', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => '- The original file name.'."\n" + ."\n" + .'- If the name ends with a forward slash (/), an empty folder is created. Subfolders are supported. When you create a folder, a file signature is not returned and the creation is completed automatically.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'wlop29.jpg', 'title' => ''], ], [ - 'name' => 'Collection', + 'name' => 'Size', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'article', - ], + 'schema' => ['description' => 'The file size in bytes.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '41836', 'title' => ''], ], [ - 'name' => 'FileType', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'CSV', - 'enum' => [ - 'JSON', - 'CSV', - ], - ], + 'schema' => ['description' => 'The service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mp-0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'Fields', + 'name' => 'ContentType', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'name,content', - ], + 'schema' => ['description' => 'The file type. Examples: .pdf, .xls, .xlsx, .doc, .docx, .ppt, .pptx, and .txt.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'png', 'title' => ''], + ], + [ + 'name' => 'FileId', + 'in' => 'formData', + 'schema' => ['description' => 'The custom path to upload the file. Subfolders are supported. The path can contain letters, digits, Chinese characters, hyphens (-), underscores (\\_), and periods (.). The total length cannot exceed 1,024 characters. The path must start with a forward slash (/). Example:'."\n" + .'`/abc/edf/hello.jpg`'."\n" + ."\n" + .'> - If a file already exists at this path, it is overwritten.'."\n" + .'>'."\n" + .'> - You can also overwrite an existing file by providing its fileId or URL.', 'type' => 'string', 'required' => false, 'example' => '/abc/edf/hello.jpg', 'title' => ''], ], ], 'responses' => [ @@ -3363,113 +2300,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0150006d-ab93-4920-a63e-c011dea1e089', - ], + 'SignUrl' => ['description' => 'The URL to upload the file.', 'type' => 'string', 'example' => 'https://bsppub.oss-cn-shanghai.aliyuncs.com/FBPSBVMO-myspace/41552d60-52de-xxx-a713-43e879b0717a.JPG?OSSAccessKeyId=LTAI****************&Expires=1582152512&Signature=sek1B0Xm2r***tNvfX9tX%2BBJxA%3D', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E9A50E1B-5ECE-42D4-B261-C07D1BBE68DE', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the file.', 'type' => 'string', 'example' => '2fada31e-8fa5-****-b595-9698cd6b5f06', 'title' => ''], + 'OssCallbackUrl' => ['description' => 'The webhook address for the upload result.', 'type' => 'string', 'example' => 'https://api.next.bspapp.com/oss_upload_callback', 'title' => ''], + 'Overwrite' => ['description' => 'Indicates whether the upload request overwrites the file.'."\n" + ."\n" + .'- true: The file is overwritten.'."\n" + ."\n" + .'- false: The file is not overwritten.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', + 'title' => 'Obtain the signature required for uploading a file', + 'responseParamsDescription' => 'After you retrieve the signed upload URL (SignUrl), use the PUT method to upload the file to that URL. The PUT request must include the webhook address parameter in the headers. Construct the parameter as follows:'."\n" + ."\n" + .'- Step 1: Construct the string {"callbackUrl":"....","callbackBody":"{\\\\"fileId\\\\":\\\\"....\\\\",\\\\"spaceId\\\\":\\\\"....\\\\"}","callbackBodyType":"application/json"}. Replace the placeholders with the values of the OssCallbackUrl, Id, and `SpaceId` parameters.'."\n" + ."\n" + .'- Step 2: Base64-encode the string.'."\n" + ."\n" + .'- Step 3: When uploading the file, include the `x-oss-callback` header and set its value to the Base64-encoded string from Step 2.'."\n" + ."\n" + .'><notice>'."\n" + ."\n" + .'The ContentType request parameter is part of the signature calculation. When uploading the file, include the **Content-Type** header and ensure its value matches the ContentType request parameter.'."\n" + ."\n" + .'></notice>', + 'changeSet' => [ + ['createdAt' => '2023-06-01T07:37:06.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ['createdAt' => '2023-04-20T07:15:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-01-06T08:55:01.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-28T08:41:48.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeFileUploadSignedUrl', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TaskId\\": \\"0150006d-ab93-4920-a63e-c011dea1e089\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateDBExportTaskResponse>\\n <TaskId>0150006d-ab93-4920-a63e-c011dea1e089</TaskId>\\n <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>\\n</CreateDBExportTaskResponse>","errorExample":""}]', - 'title' => 'CreateDBExportTask', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SignUrl\\": \\"https://bsppub.oss-cn-shanghai.aliyuncs.com/FBPSBVMO-myspace/41552d60-52de-xxx-a713-43e879b0717a.JPG?OSSAccessKeyId=LTAI****************&Expires=1582152512&Signature=sek1B0Xm2r***tNvfX9tX%2BBJxA%3D\\",\\n \\"RequestId\\": \\"E9A50E1B-5ECE-42D4-B261-C07D1BBE68DE\\",\\n \\"Id\\": \\"2fada31e-8fa5-****-b595-9698cd6b5f06\\",\\n \\"OssCallbackUrl\\": \\"https://api.next.bspapp.com/oss_upload_callback\\",\\n \\"Overwrite\\": true\\n}","type":"json"}]', ], - 'CreateDBImportTask' => [ - 'summary' => '创建数据库导入任务', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeFunction' => [ + 'summary' => 'Queries the details of a cloud function.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'Collection', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'test', - ], - ], - [ - 'name' => 'FileType', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'CSV', - 'enum' => [ - 'JSON', - 'CSV', - ], - ], + 'schema' => ['description' => 'The name of the cloud function.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoFunction', 'title' => ''], ], [ - 'name' => 'Mode', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'UPSERT', - 'enum' => [ - 'INSERT', - 'UPSERT', - ], - ], + 'schema' => ['description' => 'The ID of the service space to which the cloud function belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dece4ea0-d432-4cfa-8514-xxxx', 'title' => ''], ], ], 'responses' => [ @@ -3477,112 +2389,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Host' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com', - ], - 'ExpireTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2020-07-20T05:32:03Z', - ], - 'FileKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mongo/import/0e16bb12-14af-4635-b24c-5ac1a9*****/20200720130203_973820af-966d-42ec-9fab-17dfe4a******.csv', - ], - 'AccessKeyId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'LTAIupaslTlU*****', - ], - 'Signature' => [ - 'description' => '', - 'type' => 'string', - 'example' => '*****luWDvbmhqwwy9pm/Mso++pk=', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '692DCFEF-46DD-4EBB-B1DB-338E687DC260', - ], - 'Policy' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eyJleHBpcmF0aW9uIjjoiMjAyMC0wNy0yMFQwNTozMjowMy40NDVaIiwiY29uZGl0aW9ucyI*****Y29udGVudC1sZW5ndoiMjAyMC==', + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => '75CE67BE-48E9-52AF-B965-4690270CD53A', 'title' => ''], + 'Function' => [ + 'type' => 'object', + 'properties' => [ + 'TimingTriggerConfig' => ['description' => 'The scheduled trigger configuration.', 'type' => 'string', 'example' => '公测版:cron:0 0 */2 * * *'."\n" + ."\n" + .'商业版:0 0 */2 * * *', 'title' => ''], + 'TimingTriggerUserPayload' => ['description' => 'Custom parameters for scheduled trigger tasks.'."\n" + ."\n" + .'> This feature is supported only in the commercial version.', 'type' => 'string', 'example' => 'hello', 'title' => ''], + 'HttpTriggerPath' => ['description' => 'The HTTP trigger path. Set this to an empty string to disable the feature. The path must start with `/`, must not end with `/`, must be unique within the same Space, and can contain only letters, digits, and the characters (/), (-), (\\_), and (.). The maximum length is 128 characters.', 'type' => 'string', 'example' => '/http/getWxToken', 'title' => ''], + 'CreatedAt' => ['description' => 'The creation time of the cloud function.', 'type' => 'string', 'example' => '2021-12-02T02:40:37Z', 'title' => ''], + 'Name' => ['description' => 'The name of the cloud function.', 'type' => 'string', 'example' => 'demoFunction', 'title' => ''], + 'ModifiedAt' => ['description' => 'The last modification time of the cloud function.', 'type' => 'string', 'example' => '2019-06-21T02:22:53Z', 'title' => ''], + 'Desc' => ['description' => 'The description of the cloud function.', 'type' => 'string', 'example' => '获取微信绑定手机号', 'title' => ''], + 'Spec' => [ + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => 'The function timeout in seconds. Default value is 5. Valid range is 1–10.', 'type' => 'string', 'example' => '5', 'title' => ''], + 'Runtime' => ['description' => 'The execution environment of the cloud function. Default value is nodejs12. Valid values are nodejs8 and nodejs12.', 'type' => 'string', 'example' => 'nodejs12', 'title' => ''], + 'InstanceConcurrency' => ['description' => 'The maximum concurrency per instance. Default value is 1. Valid range is 1–100. Enabling multi-concurrency per instance reduces cold start frequency. This setting works well when your function spends significant time waiting for downstream service responses. Do not use it if your function maintains shared state that cannot be accessed concurrently or if a single request consumes large amounts of CPU and memory resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Memory' => ['description' => 'The memory allocation for the function. Must be a multiple of 64 MB, with a minimum of 128 MB and a maximum of 2048 MB.', 'type' => 'string', 'example' => '512', 'title' => ''], + ], + 'description' => 'The runtime environment.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Information about the cloud function.', + 'title' => '', + 'example' => '', ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '973820af-966d-42ec-9fab-17dfe4a*****', + 'Deployment' => [ + 'type' => 'object', + 'properties' => [ + 'CreatedAt' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2019-06-11T10:51:19Z', 'title' => ''], + 'DeploymentId' => ['description' => 'The deployment record ID.', 'type' => 'string', 'example' => 'dep-62020d3bea44fd4608118233', 'title' => ''], + 'DownloadSignedUrl' => ['description' => 'The download URL.', 'type' => 'string', 'example' => 'http://bucket.oss-cn-shanghai.aliyuncs.com/xxxx-v2.zip?OSSAccessKeyId=LT*********1DkK6&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D', 'title' => ''], + 'VersionNo' => ['description' => 'The version number. This equals the timestamp when the deployment package was uploaded.', 'type' => 'string', 'example' => '2019061110511905080', 'title' => ''], + 'ModifiedAt' => ['description' => 'The last modification time.', 'type' => 'string', 'example' => '2019-06-11T10:51:19Z', 'title' => ''], + ], + 'description' => 'Details of the deployment record.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', + 'title' => 'Query details of a created cloud function', + 'changeSet' => [ + ['createdAt' => '2022-07-12T05:53:13.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Host\\": \\"https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com\\",\\n \\"ExpireTime\\": \\"2020-07-20T05:32:03Z\\",\\n \\"FileKey\\": \\"mongo/import/0e16bb12-14af-4635-b24c-5ac1a9*****/20200720130203_973820af-966d-42ec-9fab-17dfe4a******.csv\\",\\n \\"AccessKeyId\\": \\"LTAI****************\\",\\n \\"Signature\\": \\"*****luWDvbmhqwwy9pm/Mso++pk=\\",\\n \\"RequestId\\": \\"692DCFEF-46DD-4EBB-B1DB-338E687DC260\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjjoiMjAyMC0wNy0yMFQwNTozMjowMy40NDVaIiwiY29uZGl0aW9ucyI*****Y29udGVudC1sZW5ndoiMjAyMC==\\",\\n \\"TaskId\\": \\"973820af-966d-42ec-9fab-17dfe4a*****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateDBImportTaskResponse>\\n <Policy>eyJleHBpcmF0aW9uIjjoiMjAyMC0wNy0yMFQwNTozMjowMy40NDVaIiwiY29uZGl0aW9ucyI*****Y29udGVudC1sZW5ndoiMjAyMC==</Policy>\\n <FileKey>mongo/import/0e16bb12-14af-4635-b24c-5ac1a9*****/20200720130203_973820af-966d-42ec-9fab-17dfe4a******.csv</FileKey>\\n <TaskId>973820af-966d-42ec-9fab-17dfe4a*****</TaskId>\\n <RequestId>692DCFEF-46DD-4EBB-B1DB-338E687DC260</RequestId>\\n <AccessKeyId>LTAIupaslTlU*****</AccessKeyId>\\n <Signature>*****luWDvbmhqwwy9pm/Mso++pk=</Signature>\\n <Host>https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com</Host>\\n <ExpireTime>2020-07-20T05:32:03Z</ExpireTime>\\n</CreateDBImportTaskResponse>","errorExample":""}]', - 'title' => 'CreateDBImportTask', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75CE67BE-48E9-52AF-B965-4690270CD53A\\",\\n \\"Function\\": {\\n \\"TimingTriggerConfig\\": \\"公测版:cron:0 0 */2 * * *\\\\n\\\\n商业版:0 0 */2 * * *\\",\\n \\"TimingTriggerUserPayload\\": \\"hello\\",\\n \\"HttpTriggerPath\\": \\"/http/getWxToken\\",\\n \\"CreatedAt\\": \\"2021-12-02T02:40:37Z\\",\\n \\"Name\\": \\"demoFunction\\",\\n \\"ModifiedAt\\": \\"2019-06-21T02:22:53Z\\",\\n \\"Desc\\": \\"获取微信绑定手机号\\",\\n \\"Spec\\": {\\n \\"Timeout\\": \\"5\\",\\n \\"Runtime\\": \\"nodejs12\\",\\n \\"InstanceConcurrency\\": 1,\\n \\"Memory\\": \\"512\\"\\n }\\n },\\n \\"Deployment\\": {\\n \\"CreatedAt\\": \\"2019-06-11T10:51:19Z\\",\\n \\"DeploymentId\\": \\"dep-62020d3bea44fd4608118233\\",\\n \\"DownloadSignedUrl\\": \\"http://bucket.oss-cn-shanghai.aliyuncs.com/xxxx-v2.zip?OSSAccessKeyId=LT*********1DkK6&Expires=1561425220&Signature=xEuiAgUMShQ4v8fYIl3FM8Jp3MA%3D\\",\\n \\"VersionNo\\": \\"2019061110511905080\\",\\n \\"ModifiedAt\\": \\"2019-06-11T10:51:19Z\\"\\n }\\n}","type":"json"}]', ], - 'QueryDBExportTaskStatus' => [ - 'summary' => '查询数据库导出任务状态,若任务执行成功会同时返回文件下载链接,若失败会返回失败原因', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeHttpTriggerConfig' => [ + 'summary' => 'Queries the HTTP trigger configuration of a cloud function.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, + 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9*****', - ], - ], - [ - 'name' => 'TaskId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0150006d-ab93-4920-a63e-c011dea*****', - ], + 'schema' => ['description' => 'The ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '34C45988-2B24-****-A4DC-4D6C952890D8', 'title' => ''], ], ], 'responses' => [ @@ -3590,63 +2494,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ExportedCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '58881468-E779-4203-B933-BD53FDC60D6F', - ], - 'DownloadUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com/mongo/export/0e16bb12-14af-4635-b24c-5ac1a9a7bb9f/20200720104406_0150006d-ab93-4920-a63e-c011dea1e089.csv?Expires=1595215206&OSSAccessKeyId=LTAIupaslTlU****&Signature=CKxpKX3Wj%2BLVtZ****%2FTbe%2BX9sc%3D', - ], - 'DetailMessage' => [ - 'description' => '', - 'type' => 'string', - 'example' => ' SERVER_BUSY', - ], + 'EnableService' => ['description' => 'Indicates whether the HTTP trigger feature is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CustomDomainCname' => ['description' => 'The canonical name (CNAME) address of the custom domain name bound to the HTTP trigger.', 'type' => 'string', 'example' => '724d************795a2.custom.bspapp.com', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4555773F-769B-4960-87E6-16009E5A4844', 'title' => ''], + 'DefaultEndpoint' => ['description' => 'The default domain name.', 'type' => 'string', 'example' => '724dade5-492f-426b-a5df-ff****0795a2.bspapp.com', 'title' => ''], + 'CustomDomainCertificateInfo' => ['description' => 'The certificate information of the custom domain name bound to the HTTP trigger.', 'type' => 'string', 'example' => '{"notAfter":"2021-09-28T08:21:42Z","notBefore":"2021-06-30T08:21:43Z","subject":"CN=*.example.com"}', 'title' => ''], + 'CustomDomain' => ['description' => 'The custom domain name bound to the HTTP trigger.', 'type' => 'string', 'example' => 'abc.example.com', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'TaskId.NotFound', - 'errorMessage' => 'The specified TaskId does not exist.', - ], - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExportedCount\\": \\"2\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"58881468-E779-4203-B933-BD53FDC60D6F\\",\\n \\"DownloadUrl\\": \\"https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com/mongo/export/0e16bb12-14af-4635-b24c-5ac1a9a7bb9f/20200720104406_0150006d-ab93-4920-a63e-c011dea1e089.csv?Expires=1595215206&OSSAccessKeyId=LTAI****************&Signature=CKxpKX3Wj%2BLVtZ****%2FTbe%2BX9sc%3D\\",\\n \\"DetailMessage\\": \\" SERVER_BUSY\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryDBExportTaskStatusResponse>\\n <Status>SUCCESS</Status>\\n <ExportedCount>2</ExportedCount>\\n <RequestId>58881468-E779-4203-B933-BD53FDC60D6F</RequestId>\\n <DownloadUrl>https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com/mongo/export/0e16bb12-14af-4635-b24c-5ac1a9a7bb9f/20200720104406_0150006d-ab93-4920-a63e-c011dea1e089.csv?Expires=1595215206&OSSAccessKeyId=LTAIupaslTlU****&Signature=CKxpKX3Wj%2BLVtZ****%2FTbe%2BX9sc%3D</DownloadUrl>\\n</QueryDBExportTaskStatusResponse>","errorExample":""}]', - 'title' => 'QueryDBExportTaskStatus', + 'title' => 'Query the HTTP trigger configuration of a cloud function', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'QueryDBImportTaskStatus' => [ - 'summary' => '查询数据库导入状态', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:22.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeHttpTriggerConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EnableService\\": true,\\n \\"CustomDomainCname\\": \\"724d************795a2.custom.bspapp.com\\",\\n \\"RequestId\\": \\"4555773F-769B-4960-87E6-16009E5A4844\\",\\n \\"DefaultEndpoint\\": \\"724dade5-492f-426b-a5df-ff****0795a2.bspapp.com\\",\\n \\"CustomDomainCertificateInfo\\": \\"{\\\\\\"notAfter\\\\\\":\\\\\\"2021-09-28T08:21:42Z\\\\\\",\\\\\\"notBefore\\\\\\":\\\\\\"2021-06-30T08:21:43Z\\\\\\",\\\\\\"subject\\\\\\":\\\\\\"CN=*.example.com\\\\\\"}\\",\\n \\"CustomDomain\\": \\"abc.example.com\\"\\n}","type":"json"}]', + ], + 'DescribeResourceQuota' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3658,9 +2546,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasA7J3YO', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -3668,24 +2554,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'TaskId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '973820af-966d-42ec-9fab-17dfe4a*****', - ], + 'schema' => ['description' => 'The ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '226e5213-697c-****-b4ff-35a09f8a52de', 'title' => ''], ], ], 'responses' => [ @@ -3693,101 +2562,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'FailedCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '692DCFEF-46DD-4EBB-B1DB-338E687DC260', - ], - 'DetailMessage' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SERVER_BUSY', - ], - 'SuccessCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6', - ], + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', 'title' => ''], + 'StaticWebDataSizeQuota' => ['description' => 'The storage capacity threshold for the static website. Unit: GB.', 'type' => 'number', 'format' => 'double', 'example' => '2', 'title' => ''], + 'CloudStorageDataSizeQuota' => ['description' => 'The storage capacity threshold for cloud storage. Unit: GB.', 'type' => 'number', 'format' => 'double', 'example' => '10', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'TaskId.NotFound', - 'errorMessage' => 'The specified TaskId does not exist.', - ], - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', + 'title' => 'Query the resource thresholds of a service space', + 'summary' => 'Queries the resource thresholds for a service space.', + 'changeSet' => [ + ['createdAt' => '2021-11-25T11:59:29.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeResourceQuota', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"SUCCESS\\",\\n \\"FailedCount\\": \\"0\\",\\n \\"RequestId\\": \\"692DCFEF-46DD-4EBB-B1DB-338E687DC260\\",\\n \\"DetailMessage\\": \\"SERVER_BUSY\\",\\n \\"SuccessCount\\": \\"6\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryDBImportTaskStatusResponse>\\n <Status>SUCCESS</Status>\\n <RequestId>692DCFEF-46DD-4EBB-B1DB-338E687DC260</RequestId>\\n <FailedCount>0</FailedCount>\\n <SuccessCount>2</SuccessCount>\\n</QueryDBImportTaskStatusResponse>","errorExample":""}]', - 'title' => 'QueryDBImportTaskStatus', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"StaticWebDataSizeQuota\\": 2,\\n \\"CloudStorageDataSizeQuota\\": 10\\n}","type":"json"}]', ], - 'DeleteFile' => [ - 'summary' => '删除文件', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeResourceUsage' => [ + 'summary' => 'Query resource usage.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasXYAKDO', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, - 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'c568f23d-a46f-4866-****-142e5eb3e174', - ], + 'schema' => ['description' => 'Service Space ID. ', 'type' => 'string', 'required' => true, 'example' => '226e5213-697c-****-b4ff-35a09f8a52de', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Page number. Valid values: any integer greater than 1. ', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'Page size. The default value is 30, and the maximum value is 1000. Valid values: 1 to 1000. ', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '100', 'default' => '30', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['description' => 'The start time for retrieving resource usage. The date format follows the ISO 8601 notation and uses UTC+8, in the format yyyy-MM-ddTHH:mm:ssZ. By default, it returns data for today.', 'type' => 'string', 'required' => false, 'example' => '2021-10-01T00:00:00Z', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['description' => 'The end time for retrieving resource usage. The date format follows the ISO8601 notation and uses UTC+8. The format is yyyy-MM-ddTHH:mm:ssZ. The end time must be later than the start time. ', 'type' => 'string', 'required' => false, 'example' => '2021-10-02T00:00:00Z', 'title' => ''], ], ], 'responses' => [ @@ -3795,99 +2645,214 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', + 'Code' => ['description' => 'The status of the request. '."\n" + .'- success: Succeeded. '."\n" + .'- failed: Failed. ', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Message' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'SpaceNotExist', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The response status code returned by the HTTP Request. A value of 200 indicates that the request succeeded. ', 'type' => 'string', 'required' => true, 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID. ', 'type' => 'string', 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', 'title' => ''], + 'Success' => ['description' => 'The status of the request. '."\n" + .'- true: Succeeded. '."\n" + .'- false: Failed. ', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DataList' => [ + 'description' => 'Returned Data.', + 'type' => 'array', + 'items' => [ + 'description' => 'Function data size.', + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => 'The start time for retrieving resource usage. The date format follows the ISO8601 notation and uses UTC, formatted as yyyy-MM-ddTHH:mm:ssZ. By default, data for today is returned.', 'type' => 'string', 'example' => '2021-10-01T15:00:00Z', 'title' => ''], + 'EndTime' => ['description' => 'End time for retrieving resource usage. The end time must be later than the start time.', 'type' => 'string', 'example' => '2021-10-01T16:00:00Z', 'title' => ''], + 'CloudStorage' => [ + 'description' => 'Cloud storage.', + 'type' => 'object', + 'properties' => [ + 'DataSize' => ['description' => 'Capacity (in bytes).', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Traffic' => ['description' => 'Traffic (in bytes).', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Upload' => ['description' => 'Upload Count.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Download' => ['description' => 'Download Count.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CloudDB' => [ + 'description' => 'ApsaraDB.', + 'type' => 'object', + 'properties' => [ + 'DataSize' => ['description' => 'Capacity (in bytes).', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Write' => ['description' => 'Number of write operations.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Read' => ['description' => 'Number of read operations.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CloudFunction' => [ + 'description' => 'Cloud function.', + 'type' => 'object', + 'properties' => [ + 'Compute' => ['description' => 'Compute usage (in GBS).', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Count' => ['description' => 'Number of calls.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Traffic' => ['description' => 'Traffic (in bytes).', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'StaticWeb' => [ + 'description' => 'Static website hosting', + 'type' => 'object', + 'properties' => [ + 'DataSize' => ['description' => 'Capacity (in bytes).', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Traffic' => ['description' => 'Traffic (in bytes).', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Paginator' => [ + 'description' => 'Paging information. ', + 'type' => 'object', + 'properties' => [ + 'PageCount' => ['description' => 'Total number of pages. ', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'PageNum' => ['description' => 'Page number. ', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'Page size. ', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Total' => ['description' => 'Total count. ', 'type' => 'integer', 'format' => 'int64', 'example' => '255', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteFileResponse>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8DE990</RequestId>\\n</DeleteFileResponse>","errorExample":""}]', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'RegisterFile' => [ - 'summary' => '注册文件', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"SpaceNotExist\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"Success\\": true,\\n \\"DataList\\": [\\n {\\n \\"StartTime\\": \\"2021-10-01T15:00:00Z\\",\\n \\"EndTime\\": \\"2021-10-01T16:00:00Z\\",\\n \\"CloudStorage\\": {\\n \\"DataSize\\": 0,\\n \\"Traffic\\": 0,\\n \\"Upload\\": 0,\\n \\"Download\\": 0\\n },\\n \\"CloudDB\\": {\\n \\"DataSize\\": 0,\\n \\"Write\\": 0,\\n \\"Read\\": 0\\n },\\n \\"CloudFunction\\": {\\n \\"Compute\\": 0,\\n \\"Count\\": 0,\\n \\"Traffic\\": 0\\n },\\n \\"StaticWeb\\": {\\n \\"DataSize\\": 0,\\n \\"Traffic\\": 0\\n }\\n }\\n ],\\n \\"Paginator\\": {\\n \\"PageCount\\": 3,\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 100,\\n \\"Total\\": 255\\n }\\n}","type":"json"}]', + 'title' => 'Query resource usage ', + 'changeSet' => [ + ['createdAt' => '2021-11-04T11:12:12.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeResourceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeServicePolicy' => [ + 'summary' => 'Query permission rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasXYAKDO', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2fada31e-8fa5-****-b595-9698cd6b5f06', - ], + 'schema' => ['description' => 'Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'ServiceName', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Service Name. Valid values:'."\n" + .' - db'."\n" + .' - file', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => '0e16bb12-****-4635-b24c-5ac1a9a7bb9f', + 'example' => 'db', + 'enum' => ['db', 'file'], + 'title' => '', ], ], + [ + 'name' => 'CollectionName', + 'in' => 'formData', + 'schema' => ['description' => 'Collection name. This parameter is optional and is meaningful only when **serviceName** is **db**.', 'type' => 'string', 'required' => false, 'example' => 'test', 'docRequired' => false, 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'SpaceId' => ['description' => 'Space ID.', 'type' => 'string', 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '15F08A3A-DDBC-4199-93CA-343419E81235', 'title' => ''], + 'Policy' => ['description' => 'Permission rule.', 'type' => 'string', 'example' => '{\\".write\\":false,\\".read\\":true}', 'title' => ''], + 'PolicyName' => ['description' => 'Permission pattern. Possible values are:'."\n" + .'- PUBLICREAD: All users can read; only the creator and administrators can write.'."\n" + .'- PRIVATE: Only the creator and administrators can read and write.'."\n" + .'- ADMINWRITEONLY: All users can read; only administrators can write.'."\n" + .'- ADMINREADWRITEONLY: Only administrators can read and write.'."\n" + .'- EXTENDED: Custom security rule.', 'type' => 'string', 'example' => 'ADMINWRITEONLY', 'title' => ''], + 'ServiceName' => ['description' => 'Service Name.', 'type' => 'string', 'example' => 'db', 'title' => ''], + 'CollectionName' => ['description' => 'Collection name.', 'type' => 'string', 'example' => 'test', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId> CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SpaceId\\": \\"0e16bb12-14af-****-b24c-5ac1a9a7bb9f\\",\\n \\"RequestId\\": \\"15F08A3A-DDBC-4199-93CA-343419E81235\\",\\n \\"Policy\\": \\"{\\\\\\\\\\\\\\".write\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\".read\\\\\\\\\\\\\\":true}\\",\\n \\"PolicyName\\": \\"ADMINWRITEONLY\\",\\n \\"ServiceName\\": \\"db\\",\\n \\"CollectionName\\": \\"test\\"\\n}","type":"json"}]', + 'title' => 'Query permission rules', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeFileUploadSignedUrl' => [ - 'summary' => '获取上传文件需要的签名', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:22.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeServicePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeSpaceClientConfig' => [ + 'summary' => 'Query the details of a service space. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3896,70 +2861,28 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasXYAKDO', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Filename', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'wlop29.jpg', - ], - ], - [ - 'name' => 'Size', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '41836', - ], - ], - [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'mp-0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Service space ID. ', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '226e5213-697c-4a52-b4ff-35a09f8*****', 'title' => ''], ], [ - 'name' => 'ContentType', + 'name' => 'Detail', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'png', - ], + 'schema' => ['description' => 'Whether to return detailed information. The default value is false. ', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'FileId', + 'name' => 'WorkspaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '/abc/edf/hello.jpg', - ], + 'schema' => ['description' => 'Workspace ID ', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'example' => '211975XXXX', 'title' => ''], ], ], 'responses' => [ @@ -3967,149 +2890,99 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SignUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://bsppub.oss-cn-shanghai.aliyuncs.com/FBPSBVMO-myspace/41552d60-52de-xxx-a713-43e879b0717a.JPG?OSSAccessKeyId=LTAIk****dtFueLA&Expires=1582152512&Signature=sek1B0Xm2r***tNvfX9tX%2BBJxA%3D', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E9A50E1B-5ECE-42D4-B261-C07D1BBE68DE', - ], - 'Id' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2fada31e-8fa5-****-b595-9698cd6b5f06', - ], - 'OssCallbackUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://api.next.bspapp.com/oss_upload_callback', - ], - 'Overwrite' => [ - 'type' => 'boolean', - ], + 'ApiKey' => ['description' => 'Client key. ', 'type' => 'string', 'example' => '0a4gJT0faV*****D4lgQmw==', 'title' => ''], + 'SpaceId' => ['description' => 'Service space ID. ', 'type' => 'string', 'example' => '226e5213-697c-4a52-b4ff-35a09f8*****', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID. ', 'type' => 'string', 'example' => 'EA770971-A4A0-4555-9E00-C94A2194E150', 'title' => ''], + 'PrivateKey' => ['description' => 'Server private key. This field is returned only when Detail is true. ', 'type' => 'string', 'example' => '-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhki******G9w0BAQE7V0sQaj\\n-----END PRIVATE KEY-----', 'title' => ''], + 'Endpoint' => ['description' => 'Service gateway Endpoint. ', 'type' => 'string', 'example' => '226e5213-697c-4a52-b4ff-35a09f8*****', 'title' => ''], + 'FileUploadEndpoint' => ['description' => 'File Upload Endpoint. ', 'type' => 'string', 'example' => 'cocdsfmb-12266946259*****-file.oss-cn-zhangjiakou.aliyuncs.com', 'title' => ''], + 'Name' => ['description' => 'Service space Name. ', 'type' => 'string', 'example' => 'myspace', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SignUrl\\": \\"https://bsppub.oss-cn-shanghai.aliyuncs.com/FBPSBVMO-myspace/41552d60-52de-xxx-a713-43e879b0717a.JPG?OSSAccessKeyId=LTAI****************&Expires=1582152512&Signature=sek1B0Xm2r***tNvfX9tX%2BBJxA%3D\\",\\n \\"RequestId\\": \\"E9A50E1B-5ECE-42D4-B261-C07D1BBE68DE\\",\\n \\"Id\\": \\"2fada31e-8fa5-****-b595-9698cd6b5f06\\",\\n \\"OssCallbackUrl\\": \\"https://api.next.bspapp.com/oss_upload_callback\\",\\n \\"Overwrite\\": true\\n}","type":"json"}]', - ], - 'ListFile' => [ - 'summary' => '查询文件列表', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApiKey\\": \\"0a4gJT0faV*****D4lgQmw==\\",\\n \\"SpaceId\\": \\"226e5213-697c-4a52-b4ff-35a09f8*****\\",\\n \\"RequestId\\": \\"EA770971-A4A0-4555-9E00-C94A2194E150\\",\\n \\"PrivateKey\\": \\"-----BEGIN PRIVATE KEY-----\\\\\\\\nMIIEvgIBADANBgkqhki******G9w0BAQE7V0sQaj\\\\\\\\n-----END PRIVATE KEY-----\\",\\n \\"Endpoint\\": \\"226e5213-697c-4a52-b4ff-35a09f8*****\\",\\n \\"FileUploadEndpoint\\": \\"cocdsfmb-12266946259*****-file.oss-cn-zhangjiakou.aliyuncs.com\\",\\n \\"Name\\": \\"myspace\\"\\n}","type":"json"}]', + 'title' => 'Query the configuration details of a service space ', + 'changeSet' => [ + ['createdAt' => '2022-06-10T03:35:32.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeSpaceClientConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeSpaces' => [ + 'summary' => 'Query space instance information by spaceId, tenant ID, EMAS project space, or Package Tier. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasXYAKDO', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'PageNum', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-xxxx-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Page number, starting from 0. ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'example' => '0', 'default' => '0', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'Page size. Default value is 10. ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], ], [ - 'name' => 'Keyword', + 'name' => 'SpaceIds', 'in' => 'formData', + 'style' => 'simple', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'List of service space IDs. ', + 'type' => 'array', + 'items' => ['description' => 'Service space ID. ', 'type' => 'string', 'required' => false, 'example' => 'mp-c2d29d85-44f5-4ede-****-4f803ba06a7c', 'title' => ''], 'required' => false, + 'title' => '', 'example' => '', ], ], [ - 'name' => 'FileId', + 'name' => 'TenantId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'id1', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'CAESBgoEIgIIABgAIrQBCrEBA6wAAAAxTDdmZmZmZmZmZjg5OWJlMzguUzZkNzAyZDY2Mz***', - ], + 'schema' => ['description' => 'Tenant ID. ', 'type' => 'string', 'required' => false, 'example' => 'XKHKTPDJ', 'title' => ''], ], [ - 'name' => 'Mode', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'DIRECTORY', - 'enum' => [ - 'DEFAULT', - 'DIRECTORY', - ], - ], - ], - [ - 'name' => 'Prefix', + 'name' => 'EmasWorkspaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '/images', - ], + 'schema' => ['description' => 'EMAS project Space ID. ', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3449110', 'title' => ''], ], [ - 'name' => 'AuthDelta', + 'name' => 'SpecCode', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'schema' => ['description' => 'Package Tier ', 'type' => 'string', 'required' => false, 'example' => 'ULTIMATE', 'title' => ''], ], ], 'responses' => [ @@ -4117,93 +2990,84 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FE88BEC8-8F83-408A-9ED3-771C510C705F', - ], - 'Paginator' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eyJhY2NvdW50IjoiMTE2MTQwNTMxMDE0OTY2OCIsImV2ZW50SWQiOiIzMkI3QTE1Mi05NUJFLTUyNkMtQjEyNC00RUYxRDk2RDM4QkEiLCJsb2dJZCI6IjE0LTExNjE0MDUzMTAxNDk2NjgiLCJ0aW1lIjoxNjM1MjEzMzk0MDAwfQ', - ], - ], - ], - 'DataList' => [ - 'description' => '', + 'RequestId' => ['description' => 'Unique request ID. ', 'type' => 'string', 'example' => '68B76E59-CC10-5EEC-BCED-73A6C51179BC', 'title' => ''], + 'GmtCreate' => ['description' => 'Time. ', 'type' => 'string', 'example' => '2024-03-27T06:43:17Z', 'title' => ''], + 'Count' => ['description' => 'Total number of service spaces. ', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Spaces' => [ + 'description' => 'Service spaces. ', 'type' => 'array', 'items' => [ + 'description' => 'Service space. ', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JPG', - ], - 'Size' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2020-01-16T05:45:33.000Z', - ], - 'Url' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://fbpxxx.cdn.bspapp.com/FBPSBVMO-myspace/68dbd670-3823-11ea-bfb9-xxxx.JPG', - ], - 'GmtModified' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2020-01-16T05:45:33.000Z', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1579153532001.JPG', - ], - 'Id' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c568f23d-a46f-4866-xxxx-142e5eb3e174', - ], - 'AuthDelta' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'SpaceId' => ['description' => 'Service space ID. ', 'type' => 'string', 'example' => 'mp-f215973f-db40-4013-92a8-b09690c7****', 'title' => ''], + 'InstanceId' => ['description' => 'Instance ID. ', 'type' => 'string', 'example' => 'emas_EmasServerlessPre_public_cn-0ju2pax****', 'title' => ''], + 'EmasWorkspaceId' => ['description' => 'EMAS project space ID. ', 'type' => 'integer', 'format' => 'int64', 'example' => '3818905', 'title' => ''], + 'Name' => ['description' => 'Service space name. ', 'type' => 'string', 'example' => 'myspace', 'title' => ''], + 'Description' => ['description' => 'Service space description. ', 'type' => 'string', 'example' => '线上', 'title' => ''], + 'ServiceStatus' => ['description' => 'Space status. The return value can be UNINITIALIZED, PRODUCING, PRODUCE_FAILED, PAUSED, or IN_SERVICE. ', 'type' => 'string', 'example' => 'IN_SERVICE', 'title' => ''], + 'PackageStatus' => ['description' => '- RENEWING: Renewal in progress '."\n" + .'- UPGRADING: Upgrade in progress ', 'type' => 'string', 'example' => 'UPGRADING', 'title' => ''], + 'GmtCreate' => ['description' => 'Creation Time. '."\n", 'type' => 'string', 'example' => '2022-05-19T06:06:05Z', 'title' => ''], + 'GmtModified' => ['description' => 'Updated At.', 'type' => 'string', 'example' => '2022-05-19T06:06:05Z', 'title' => ''], + 'SpecCode' => ['description' => '- FREE Developer '."\n" + .'- BASE Basic Edition '."\n" + .'- STANDARD Standard Edition '."\n" + .'- PROFESSIONAL Professional Edition '."\n" + .'- ENTERPRISE Enterprise Edition '."\n" + .'- UTIMATE Ultimate ', 'type' => 'string', 'example' => 'ENTERPRISE', 'title' => ''], + 'ChargeType' => ['description' => '- PREPAY: Package-based billing '."\n" + .'- POSTPAY: Pay-as-you-go billing method ', 'type' => 'string', 'example' => 'PREPAY', 'title' => ''], + 'OrderType' => ['description' => '- BUY: New purchase '."\n" + .'- RENEW: Renewal '."\n" + .'- UPGRADE: Upgrade ', 'type' => 'string', 'example' => 'BUY', 'title' => ''], + 'AutoRenew' => ['description' => 'When the billing type is subscription, the value is as follows: '."\n" + .'- true: auto-renewal. '."\n" + .'- false: manual renewal. ', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RenewDuration' => ['description' => 'Renewal duration. ', 'type' => 'string', 'example' => '3', 'title' => ''], + 'PackageStartDate' => ['description' => 'Resource plan start time. ', 'type' => 'string', 'example' => '2022-06-18T16:00:00Z', 'title' => ''], + 'PackageEndDate' => ['description' => 'Resource plan Expiration Time. ', 'type' => 'string', 'example' => '2022-09-18T16:00:00Z', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE88BEC8-8F83-408A-9ED3-771C510C705F\\",\\n \\"Paginator\\": {\\n \\"PageSize\\": 10,\\n \\"NextToken\\": \\"eyJhY2NvdW50IjoiMTE2MTQwNTMxMDE0OTY2OCIsImV2ZW50SWQiOiIzMkI3QTE1Mi05NUJFLTUyNkMtQjEyNC00RUYxRDk2RDM4QkEiLCJsb2dJZCI6IjE0LTExNjE0MDUzMTAxNDk2NjgiLCJ0aW1lIjoxNjM1MjEzMzk0MDAwfQ\\"\\n },\\n \\"DataList\\": [\\n {\\n \\"Type\\": \\"JPG\\",\\n \\"Size\\": 1000,\\n \\"GmtCreate\\": \\"2020-01-16T05:45:33.000Z\\",\\n \\"Url\\": \\"https://fbpxxx.cdn.bspapp.com/FBPSBVMO-myspace/68dbd670-3823-11ea-bfb9-xxxx.JPG\\",\\n \\"GmtModified\\": \\"2020-01-16T05:45:33.000Z\\",\\n \\"Name\\": \\"1579153532001.JPG\\",\\n \\"Id\\": \\"c568f23d-a46f-4866-xxxx-142e5eb3e174\\",\\n \\"AuthDelta\\": 1800\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListFileResponse>\\n <RequestId>FE88BEC8-8F83-408A-9ED3-771C510C705F</RequestId>\\n <Paginator>\\n <PageNum>1</PageNum>\\n <PageSize>10</PageSize>\\n <Total>1</Total>\\n <PageCount>1</PageCount>\\n </Paginator>\\n <DataList>\\n <Type>JPG</Type>\\n <Size>1000</Size>\\n <GmtCreate>2020-01-16T05:45:33.000Z</GmtCreate>\\n <Url>https://fbpxxx.cdn.bspapp.com/FBPSBVMO-myspace/68dbd670-3823-11ea-bfb9-xxxx.JPG</Url>\\n <GmtModified>2020-01-16T05:45:33.000Z</GmtModified>\\n <Name>1579153532001.JPG</Name>\\n <Id>c568f23d-a46f-4866-xxxx-142e5eb3e174</Id>\\n </DataList>\\n</ListFileResponse>","errorExample":""}]', - ], - 'DescribeCdnDomain' => [ - 'summary' => '查询cdn域名', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68B76E59-CC10-5EEC-BCED-73A6C51179BC\\",\\n \\"GmtCreate\\": \\"2024-03-27T06:43:17Z\\",\\n \\"Count\\": 10,\\n \\"Spaces\\": [\\n {\\n \\"SpaceId\\": \\"mp-f215973f-db40-4013-92a8-b09690c7****\\",\\n \\"InstanceId\\": \\"emas_EmasServerlessPre_public_cn-0ju2pax****\\",\\n \\"EmasWorkspaceId\\": 3818905,\\n \\"Name\\": \\"myspace\\",\\n \\"Description\\": \\"线上\\",\\n \\"ServiceStatus\\": \\"IN_SERVICE\\",\\n \\"PackageStatus\\": \\"UPGRADING\\",\\n \\"GmtCreate\\": \\"2022-05-19T06:06:05Z\\",\\n \\"GmtModified\\": \\"2022-05-19T06:06:05Z\\",\\n \\"SpecCode\\": \\"ENTERPRISE\\",\\n \\"ChargeType\\": \\"PREPAY\\",\\n \\"OrderType\\": \\"BUY\\",\\n \\"AutoRenew\\": true,\\n \\"RenewDuration\\": \\"3\\",\\n \\"PackageStartDate\\": \\"2022-06-18T16:00:00Z\\",\\n \\"PackageEndDate\\": \\"2022-09-18T16:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query space list information ', + 'description' => '> This feature is supported only in commercial editions. ', + 'changeSet' => [ + ['createdAt' => '2022-06-10T03:37:27.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeSpaces', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeWebHostingFile' => [ + 'summary' => 'Query the details of a file under static website hosting.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4215,46 +3079,20 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasXYAKDO', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'TenantId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'UNIGTXQTAO', - ], - ], - [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mp-05c3aa1c-****-43ae-a03d-61eff91c592e', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'FilePath', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'FILE', - 'enum' => [ - 'FILE', - 'WEB', - ], - ], + 'schema' => ['description' => 'File Path, a required parameter.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '/error.png', 'title' => ''], ], ], 'responses' => [ @@ -4262,330 +3100,146 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mp-65e6491b-****-4c2e-b202-7f0036eb2713', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E8A2FA95-6F70-****-971C-34C27485441D', - ], - 'ServiceStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'IN_SERVICE', - ], - 'DomainName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mp-65e6491b-****-4c2e-b202-7f0036eb2713.cdn.bspapp.com', - ], - 'CorsConfig' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AllowOrigin' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://www.baidu.com', - ], - 'ConfigId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '274436853071****', - ], - 'AccessOriginControl' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'RefererConfig' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'white', - ], - 'ReferList' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'a*b.example.com', - ], - 'AllowEmpty' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'on', - ], - 'DisableAst' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'a*b.example.com', - ], - 'ConfigId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '28048528682****', - ], - ], - ], - 'IpConfig' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'black', - ], - 'IpList' => [ - 'description' => '', - 'type' => 'string', - 'example' => '183.157.108.82,140.205.147.26', - ], - 'ConfigId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '25623800702****', - ], - ], - ], - 'UaConfig' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'white', - ], - 'UaList' => [ - 'description' => '', - 'type' => 'string', - 'example' => '*curl*|*IE*|*chrome*|*firefox*', - ], - 'ConfigId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '25950108534****', - ], - ], - ], - 'AuthConfig' => [ - 'description' => '', + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '93FC5921-2A54-408B-B360-2E5C93488CF4', 'title' => ''], + 'Data' => [ + 'description' => 'The returned file details.', 'type' => 'object', 'properties' => [ - 'AuthType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'no_auth', - ], - 'AuthKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SL4ZB****', - ], - 'AuthDelta' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3600', - ], - 'configId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '25950108534****'."\n", - ], + 'FilePath' => ['description' => 'File Path.', 'type' => 'string', 'example' => '/error.png', 'title' => ''], + 'ContentType' => ['description' => 'File Type.', 'type' => 'string', 'example' => 'image/png', 'title' => ''], + 'ETag' => ['description' => 'Tag.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Size' => ['description' => 'File Size, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '235628', 'title' => ''], + 'Exists' => ['description' => 'Indicates whether the file path exists. If you query a non-existent file path, this field returns false and other fields are empty.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'LastModifiedTime' => ['description' => 'UNIX timestamp of the last time the file was modified.', 'type' => 'integer', 'format' => 'int64', 'example' => '1590398956000', 'title' => ''], + 'SignedUrl' => ['description' => 'Signed URL of the file, valid for 30 minutes.', 'type' => 'string', 'example' => 'http://fbpsbvmo-154159039388****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/error.png?Expires=1590460358&OSSAccessKeyId=STS.NUcPHyHQr2xQ6zAe5ybi*****&Signature=b2L4kBEFrA2EZvZbm3B%2FyNSxVeA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SpaceId\\": \\"mp-65e6491b-****-4c2e-b202-7f0036eb2713\\",\\n \\"RequestId\\": \\"E8A2FA95-6F70-****-971C-34C27485441D\\",\\n \\"ServiceStatus\\": \\"IN_SERVICE\\",\\n \\"DomainName\\": \\"mp-65e6491b-****-4c2e-b202-7f0036eb2713.cdn.bspapp.com\\",\\n \\"CorsConfig\\": {\\n \\"AllowOrigin\\": \\"https://www.baidu.com\\",\\n \\"ConfigId\\": \\"274436853071****\\",\\n \\"AccessOriginControl\\": true\\n },\\n \\"RefererConfig\\": {\\n \\"Type\\": \\"white\\",\\n \\"ReferList\\": \\"a*b.example.com\\",\\n \\"AllowEmpty\\": \\"on\\",\\n \\"DisableAst\\": \\"a*b.example.com\\",\\n \\"ConfigId\\": \\"28048528682****\\"\\n },\\n \\"IpConfig\\": {\\n \\"Type\\": \\"black\\",\\n \\"IpList\\": \\"183.157.108.82,140.205.147.26\\",\\n \\"ConfigId\\": \\"25623800702****\\"\\n },\\n \\"UaConfig\\": {\\n \\"Type\\": \\"white\\",\\n \\"UaList\\": \\"*curl*|*IE*|*chrome*|*firefox*\\",\\n \\"ConfigId\\": \\"25950108534****\\"\\n },\\n \\"AuthConfig\\": {\\n \\"AuthType\\": \\"no_auth\\",\\n \\"AuthKey\\": \\"SL4ZB****\\",\\n \\"AuthDelta\\": 3600,\\n \\"configId\\": \\"25950108534****\\\\n\\"\\n }\\n}","type":"json"}]', - ], - 'SaveCdnDomainConfig' => [ - 'summary' => '配置cdn', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"93FC5921-2A54-408B-B360-2E5C93488CF4\\",\\n \\"Data\\": {\\n \\"FilePath\\": \\"/error.png\\",\\n \\"ContentType\\": \\"image/png\\",\\n \\"ETag\\": \\"test\\",\\n \\"Size\\": 235628,\\n \\"Exists\\": true,\\n \\"LastModifiedTime\\": 1590398956000,\\n \\"SignedUrl\\": \\"http://fbpsbvmo-154159039388****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/error.png?Expires=1590460358&OSSAccessKeyId=STS.NUcPHyHQr2xQ6zAe5ybi*****&Signature=b2L4kBEFrA2EZvZbm3B%2FyNSxVeA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv\\"\\n }\\n}","type":"json"}]', + 'title' => 'Query file details under static website hosting', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:21.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeWebHostingFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'EnableExtension' => [ + 'summary' => 'Enable an extension capability.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasXYAKDO', - ], + 'abilityTreeNodes' => ['FEATUREemas25T2EG'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'TenantId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'UNIULEH***', - ], - ], - [ - 'name' => 'SpaceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mp-03c11beb-****-4d02-bb40-65a7ad224f4d', - ], - ], - [ - 'name' => 'Type', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'FILE', - 'enum' => [ - 'FILE', - 'WEB', - ], - ], - ], - [ - 'name' => 'CorsConfig', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => ' {"allowOrigin":"https://*.example.com", "accessOriginControl": true} ', - ], - ], - [ - 'name' => 'RefererConfig', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => ' {"type":"white", "referList":"example.com", "allowEmpty":"off", "disableAst":"off"}', - ], - ], - [ - 'name' => 'IpConfig', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => ' {"type":"white", "ipList":"192.168.2.0/24"}', - ], - ], - [ - 'name' => 'UaConfig', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => ' {"type":"white", "uaList":"*IE*|*firefox*"}', - ], - ], - [ - 'name' => 'AuthConfig', + 'name' => 'ExtensionId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"authType":"type_a", "authKey":"hkpyytgrnf", "authDelta":1800}', - ], + 'schema' => ['description' => 'UUID of the extension capability.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ext-5d53a4fb1c9d446e2075a2cc', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Response content.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9B1D280D-F8C8-****-B30F-BDE5A981FDA9', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B1D280D-F8C8-****-B30F-BDE5A981FDA9\\"\\n}","type":"json"}]', - ], - 'DeleteWebHostingFile' => [ - 'summary' => '删除静态网站托管下的文件', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\"\\n}","type":"json"}]', + 'title' => 'Enable an extension capability', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-06-10T03:35:32.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:EnableExtension', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetWebHostingCertificateDetail' => [ + 'summary' => 'Queries the certificate details for a custom domain name.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, + 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'FilePath', + 'name' => 'CustomDomain', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '/error.jpg', - ], + 'schema' => ['description' => 'Custom domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com', 'title' => ''], ], ], 'responses' => [ @@ -4593,50 +3247,77 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => 'D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F', 'title' => ''], 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', + 'description' => 'Returned data.', + 'type' => 'object', + 'properties' => [ + 'CertLife' => ['description' => 'Certificate validity period.', 'type' => 'string', 'example' => '1 years', 'title' => ''], + 'CertType' => ['description' => 'Certificate type.'."\n" + ."\n" + .'- upload: Upload certificate.'."\n" + ."\n" + .'- cas: Alibaba Cloud Security certificate.', 'type' => 'string', 'example' => 'upload', 'title' => ''], + 'CertDomainName' => ['description' => 'Domain name.', 'type' => 'string', 'example' => 'www.example.com', 'title' => ''], + 'ServerCertificateStatus' => ['description' => 'Certificate binding status of the domain name.'."\n" + ."\n" + .'- off: No certificate.'."\n" + ."\n" + .'- on: Certificate bound.', 'type' => 'string', 'example' => 'on', 'title' => ''], + 'CertName' => ['description' => 'Certificate name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'CertExpiredTime' => ['description' => 'Certificate expiration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1621252800000', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteWebHostingFileResponse>\\r\\n <RequestId>DB14BED4-ABB5-4033-920F-E22E52580911</RequestId>\\r\\n <HttpStatusCode>200</HttpStatusCode>\\r\\n <Data>true</Data>\\r\\n <Code>success</Code>\\r\\n <Success>true</Success>\\r\\n</DeleteWebHostingFileResponse>","errorExample":""}]', - 'title' => 'DeleteWebHostingFile', + 'title' => 'Query the details of the certificate associated with a custom domain name ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'BatchDeleteWebHostingFiles' => [ - 'summary' => '批量删除静态网站托管下的文件', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:21.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingCertificateDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F\\",\\n \\"Data\\": {\\n \\"CertLife\\": \\"1 years\\",\\n \\"CertType\\": \\"upload\\",\\n \\"CertDomainName\\": \\"www.example.com\\",\\n \\"ServerCertificateStatus\\": \\"on\\",\\n \\"CertName\\": \\"test\\",\\n \\"CertExpiredTime\\": 1621252800000\\n }\\n}","type":"json"}]', + ], + 'GetWebHostingConfig' => [ + 'summary' => 'Query the static website hosting configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -4644,28 +3325,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'FilePaths', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'required' => true, - 'example' => '/static/test.png', - 'maxItems' => 1000, - ], + 'schema' => ['description' => 'The ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], ], 'responses' => [ @@ -4673,36 +3333,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => '828A8808-3FC9-418C-893A-5A708CFABB8E', 'title' => ''], 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'SpaceId' => ['description' => 'The ID of the service space.', 'type' => 'string', 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], + 'AllowedIps' => ['description' => 'The IP address whitelist for the static website hosting test domain. Requests from IP addresses not on this list may be blocked.', 'type' => 'string', 'example' => '42.120.72.0/24', 'title' => ''], + 'ErrorPath' => ['description' => 'The 404 error page path.', 'type' => 'string', 'example' => 'error.html', 'title' => ''], + 'DefaultDomain' => ['description' => 'The default domain. Use it only for testing. Its response speed is limited. To serve your website publicly, attach a custom domain that has completed ICP filing.', 'type' => 'string', 'example' => 'static-0e16bb12-14af-4635-b24c-5ac1a9a*****.bspapp.com', 'title' => ''], + 'IndexPath' => ['description' => 'The home page path.', 'type' => 'string', 'example' => 'index.html', 'title' => ''], + 'ErrorHttpStatus' => [ + 'description' => 'The HTTP status code for the page specified by ErrorPath. Valid values are 404 and 200. If this field is absent, the actual value is 404.', + 'type' => 'string', + 'enum' => [], + 'example' => '200', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****\\"\\n}","errorExample":""},{"type":"xml","example":"<BatchDeleteWebHostingFilesResponse>\\r\\n <Data>true</Data>\\r\\n <RequestId>0e16bb12-14af-4635-b24c-5ac1a9a*****</RequestId>\\r\\n</BatchDeleteWebHostingFilesResponse>","errorExample":""}]', - 'title' => 'BatchDeleteWebHostingFiles', + 'title' => 'Query static website configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListWebHostingFiles' => [ - 'summary' => '分页获取网站静态文件', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-12-19T09:53:17.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-19T09:17:29.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-25T11:59:29.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"828A8808-3FC9-418C-893A-5A708CFABB8E\\",\\n \\"Data\\": {\\n \\"SpaceId\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****\\",\\n \\"AllowedIps\\": \\"42.120.72.0/24\\",\\n \\"ErrorPath\\": \\"error.html\\",\\n \\"DefaultDomain\\": \\"static-0e16bb12-14af-4635-b24c-5ac1a9a*****.bspapp.com\\",\\n \\"IndexPath\\": \\"index.html\\",\\n \\"ErrorHttpStatus\\": \\"200\\"\\n }\\n}","type":"json"}]', + ], + 'GetWebHostingDomainVerificationContent' => [ + 'summary' => 'Obtain the domain ownership validation content.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4714,9 +3403,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -4724,49 +3411,12 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'Prefix', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '/', - ], - ], - [ - 'name' => 'Marker', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error1.png', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'Domain', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '500', - 'minimum' => '1', - 'example' => '100', - 'default' => '50', - ], + 'schema' => ['description' => 'Domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com', 'title' => ''], ], ], 'responses' => [ @@ -4774,89 +3424,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '93FC5921-2A54-408B-B360-2E5C93488CF4', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '74374923-6536-46EB-8639-409384EAE980', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'Returned data.', 'type' => 'object', 'properties' => [ - 'NextMarker' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error1.png', - ], - 'Count' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'WebHostingFiles' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FilePath' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'error/error.jpg', - ], - 'ContentType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'image/png', - ], - 'ETag' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'Size' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '235628', - ], - 'LastModifiedTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1590398956000', - ], - 'SignedUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://fbpsbvmo-15415903938*****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error.jpg?Expires=1590462873&OSSAccessKeyId=STS.NT9oaFvbRzj8vSViJL2y*****&Signature=pSMbsZUZGwfZEcvT9R7VZPMp%2BVA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5eMJNvym71zzajTdHXnjUoZPvYVjIHgpjz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOgBG3HPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAZ6L6gVhZYEK78ZBsQq1hP9nvtEGENelJYiTPWAHmB1mDutOaEzgSpwVMaP3FWpMTy6KgBKMox1NJLUZJK23NlJIlMIJ8lVyCQOG4Ig7oTXTbFc0PQMShK%2FeQIQ2WvZ2x%2F%2FZdgaZIeQR4WnawsWF%2BYC4ScTig0wYTuaLx7pH2WHJ', - ], - ], - ], - ], + 'Content' => ['description' => 'Domain ownership validation record value.', 'type' => 'string', 'example' => 'verify_c28a8e24b4bc9fab22d949cebdb1d7ae', 'title' => ''], + 'Domain' => ['description' => 'Domain name.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"93FC5921-2A54-408B-B360-2E5C93488CF4\\",\\n \\"Data\\": {\\n \\"NextMarker\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error1.png\\",\\n \\"Count\\": 50,\\n \\"WebHostingFiles\\": [\\n {\\n \\"FilePath\\": \\"error/error.jpg\\",\\n \\"ContentType\\": \\"image/png\\",\\n \\"ETag\\": \\"test\\",\\n \\"Size\\": 235628,\\n \\"LastModifiedTime\\": 1590398956000,\\n \\"SignedUrl\\": \\"http://fbpsbvmo-15415903938*****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error.jpg?Expires=1590462873&OSSAccessKeyId=STS.NT9oaFvbRzj8vSViJL2y*****&Signature=pSMbsZUZGwfZEcvT9R7VZPMp%2BVA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5eMJNvym71zzajTdHXnjUoZPvYVjIHgpjz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOgBG3HPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAZ6L6gVhZYEK78ZBsQq1hP9nvtEGENelJYiTPWAHmB1mDutOaEzgSpwVMaP3FWpMTy6KgBKMox1NJLUZJK23NlJIlMIJ8lVyCQOG4Ig7oTXTbFc0PQMShK%2FeQIQ2WvZ2x%2F%2FZdgaZIeQR4WnawsWF%2BYC4ScTig0wYTuaLx7pH2WHJ\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListWebHostingFilesResponse>\\n <RequestId>077C43E6-95E9-40FC-A796-B2CFBD63C2D6</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Data>\\n <WebHostingFiles>\\n <FilePath>error.html</FilePath>\\n <SignedUrl>http://fbpsbvmo-154159039388****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/error.html?Expires=1590460358&OSSAccessKeyId=STS.NUcPHyHQr2xQ6zAe5ybi*****&Signature=b2L4kBEFrA2EZvZbm3B%2FyNSxVeA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv</SignedUrl>\\n <ContentType>text/html</ContentType>\\n <Size>172</Size>\\n <LastModifiedTime>1590399001000</LastModifiedTime>\\n </WebHostingFiles>\\n <WebHostingFiles>\\n <FilePath>index.html</FilePath>\\n <SignedUrl>http://fbpsbvmo-154159039388****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a7*****/index.html?Expires=1590460358&OSSAccessKeyId=STS.NUcPHyHQr2xQ6zAe5ybi*****&Signature=w7ke9GsiFjb2bR7bQNOOTk4nlbA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv</SignedUrl>\\n <ContentType>text/html</ContentType>\\n <Size>166</Size>\\n <LastModifiedTime>1590398956000</LastModifiedTime>\\n </WebHostingFiles>\\n <Count>2</Count>\\n </Data>\\n <Code>success</Code>\\n <Success>true</Success>\\n</ListWebHostingFilesResponse>","errorExample":""}]', - 'title' => 'ListWebHostingFiles', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeWebHostingFile' => [ - 'summary' => '查询静态网站托管下的一个文件详情', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"74374923-6536-46EB-8639-409384EAE980\\",\\n \\"Data\\": {\\n \\"Content\\": \\"verify_c28a8e24b4bc9fab22d949cebdb1d7ae\\",\\n \\"Domain\\": \\"example.com\\"\\n }\\n}","type":"json"}]', + 'title' => 'Obtain host domain validated content', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingDomainVerificationContent', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetWebHostingStatus' => [ + 'summary' => 'Query the activation status of the static website hosting feature.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4868,9 +3482,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -4878,24 +3490,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'FilePath', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '/error.png', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], ], 'responses' => [ @@ -4903,74 +3498,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '93FC5921-2A54-408B-B360-2E5C93488CF4', - ], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => 'D8F7FDDC-4EF3-44B9-9452-CFD7A081FB85', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'Returned data.', 'type' => 'object', 'properties' => [ - 'FilePath' => [ - 'description' => '', - 'type' => 'string', - 'example' => '/error.png', - ], - 'ContentType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'image/png', - ], - 'ETag' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'Size' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '235628', - ], - 'Exists' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'LastModifiedTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1590398956000', - ], - 'SignedUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http://fbpsbvmo-154159039388****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/error.png?Expires=1590460358&OSSAccessKeyId=STS.NUcPHyHQr2xQ6zAe5ybi*****&Signature=b2L4kBEFrA2EZvZbm3B%2FyNSxVeA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv', - ], + 'Status' => ['description' => 'Feature activation status. Possible values are as follows:'."\n" + .'- UNUSED: Not activated.'."\n" + .'- OPENING: Being activated.'."\n" + .'- IN_SERVICE: Activated.', 'type' => 'string', 'example' => 'OPENING', 'title' => ''], + 'SpaceId' => ['description' => 'Service space ID.', 'type' => 'string', 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"93FC5921-2A54-408B-B360-2E5C93488CF4\\",\\n \\"Data\\": {\\n \\"FilePath\\": \\"/error.png\\",\\n \\"ContentType\\": \\"image/png\\",\\n \\"ETag\\": \\"test\\",\\n \\"Size\\": 235628,\\n \\"Exists\\": true,\\n \\"LastModifiedTime\\": 1590398956000,\\n \\"SignedUrl\\": \\"http://fbpsbvmo-154159039388****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/error.png?Expires=1590460358&OSSAccessKeyId=STS.NUcPHyHQr2xQ6zAe5ybi*****&Signature=b2L4kBEFrA2EZvZbm3B%2FyNSxVeA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeWebHostingFileResponse>\\n <RequestId>077C43E6-95E9-40FC-A796-B2CFBD63C2D6</RequestId>\\n <Data>\\n <Exists>true</Exists>\\n <Etag>test</Etag>\\n <FilePath>/error.png</FilePath>\\n <LastModifiedTime>1590398956000</LastModifiedTime>\\n <SignedUrl>http://fbpsbvmo-154159039388****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/error.png?Expires=1590460358&OSSAccessKeyId=STS.NUcPHyHQr2xQ6zAe5ybi*****&Signature=b2L4kBEFrA2EZvZbm3B%2FyNSxVeA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv</SignedUrl>\\n <ContentType>image/png</ContentType>\\n <Size>235628</Size>\\n </Data>\\n</DescribeWebHostingFileResponse>","errorExample":""}]', - 'title' => 'DescribeWebHostingFile', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8F7FDDC-4EF3-44B9-9452-CFD7A081FB85\\",\\n \\"Data\\": {\\n \\"Status\\": \\"OPENING\\",\\n \\"SpaceId\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****\\"\\n }\\n}","type":"json"}]', + 'title' => 'Query the activation status of the static website hosting feature', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetWebHostingUploadCredential' => [ - 'summary' => '获取静态网站托管的上传文件凭证', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:21.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetWebHostingUploadCredential' => [ + 'summary' => 'Obtain upload credentials for static website hosting. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4982,9 +3559,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -4992,24 +3567,12 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'The Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ 'name' => 'FilePath', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '/', - ], + 'schema' => ['description' => 'File Path.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '/', 'title' => ''], ], ], 'responses' => [ @@ -5017,87 +3580,114 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '93FC5921-2A54-408B-B360-2E5C93488CF4', - ], + 'RequestId' => ['description' => 'Unique request ID. ', 'type' => 'string', 'example' => '93FC5921-2A54-408B-B360-2E5C93488CF4', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'Returned data. ', 'type' => 'object', 'properties' => [ - 'FilePath' => [ - 'description' => '', - 'type' => 'string', - 'example' => '/', - ], - 'Signature' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'w7ke9GsiFjb2bR7bQNOOTk4nlbA', - ], - 'Policy' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyMC0wNS0yNlQwNjozMjoxOC43NTZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTI0Mjg4MDBdLHsia2V5IjoiMGUxNmJiMTItMTRhZi00NjM1LWIyNGMtNWFjMWE5YTdiYjlmL2Zvcm1hdC5qc29uIn1dfQ==', - ], - 'SecurityToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv', - ], - 'ExpiredTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1590460358', - ], - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'fbpsbvmo-154159039388***-static.oss-cn-zhangjiakou.aliyuncs.com', - ], - 'AccessKeyId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'STS.NUcPHyHQr2xQ6zAe5ybi*****', - ], + 'FilePath' => ['description' => 'File Path. ', 'type' => 'string', 'example' => '/', 'title' => ''], + 'Signature' => ['description' => 'The signature of the temporary credential for File Upload, used to authenticate the request during upload.', 'type' => 'string', 'example' => 'w7ke9GsiFjb2bR7bQNOOTk4nlbA', 'title' => ''], + 'Policy' => ['description' => 'Policy for validating the legitimacy of request form fields.', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyMC0wNS0yNlQwNjozMjoxOC43NTZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTI0Mjg4MDBdLHsia2V5IjoiMGUxNmJiMTItMTRhZi00NjM1LWIyNGMtNWFjMWE5YTdiYjlmL2Zvcm1hdC5qc29uIn1dfQ==', 'title' => ''], + 'SecurityToken' => ['description' => 'The security token of the temporary credential for File Upload.', 'type' => 'string', 'example' => 'CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv', 'title' => ''], + 'ExpiredTime' => ['description' => 'The UNIX timestamp indicating when the credential will expire.', 'type' => 'integer', 'format' => 'int64', 'example' => '1590460358', 'title' => ''], + 'Endpoint' => ['description' => 'The Target Endpoint for uploading files.', 'type' => 'string', 'example' => 'fbpsbvmo-154159039388***-static.oss-cn-zhangjiakou.aliyuncs.com', 'title' => ''], + 'AccessKeyId' => ['description' => 'The AccessKeyId of the temporary credential for File Upload.', 'type' => 'string', 'example' => 'STS.NUcPHyHQr2xQ6zAe5ybi*****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"93FC5921-2A54-408B-B360-2E5C93488CF4\\",\\n \\"Data\\": {\\n \\"FilePath\\": \\"/\\",\\n \\"Signature\\": \\"w7ke9GsiFjb2bR7bQNOOTk4nlbA\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyMC0wNS0yNlQwNjozMjoxOC43NTZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTI0Mjg4MDBdLHsia2V5IjoiMGUxNmJiMTItMTRhZi00NjM1LWIyNGMtNWFjMWE5YTdiYjlmL2Zvcm1hdC5qc29uIn1dfQ==\\",\\n \\"SecurityToken\\": \\"CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv\\",\\n \\"ExpiredTime\\": 1590460358,\\n \\"Endpoint\\": \\"fbpsbvmo-154159039388***-static.oss-cn-zhangjiakou.aliyuncs.com\\",\\n \\"AccessKeyId\\": \\"STS.NUcPHyHQr2xQ6zAe5ybi*****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetWebHostingUploadCredentialResponse>\\n <RequestId>93FC5921-2A54-408B-B360-2E5C93488CF4</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Data>\\n <FilePath>/</FilePath>\\n <Policy>eyJleHBpcmF0aW9uIjoiMjAyMC0wNS0yNlQwNjozMjoxOC43NTZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTI0Mjg4MDBdLHsia2V5IjoiMGUxNmJiMTItMTRhZi00NjM1LWIyNGMtNWFjMWE5YTdiYjlmL2Zvcm1hdC5qc29uIn1dfQ==</Policy>\\n <SecurityToken>CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv</SecurityToken>\\n <BucketName>fbpsbvmo-154159039388***-static</BucketName>\\n <Endpoint>fbpsbvmo-154159039388***-static.oss-cn-zhangjiakou.aliyuncs.com</Endpoint>\\n <AccessKeyId>STS.NUcPHyHQr2xQ6zAe5ybi*****</AccessKeyId>\\n <Signature>w7ke9GsiFjb2bR7bQNOOTk4nlbA</Signature>\\n <ExpiredTime>1590460358</ExpiredTime>\\n </Data>\\n <Code>success</Code>\\n <Success>true</Success>\\n</GetWebHostingUploadCredentialResponse>","errorExample":""}]', - 'title' => 'GetWebHostingUploadCredential', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"93FC5921-2A54-408B-B360-2E5C93488CF4\\",\\n \\"Data\\": {\\n \\"FilePath\\": \\"/\\",\\n \\"Signature\\": \\"w7ke9GsiFjb2bR7bQNOOTk4nlbA\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyMC0wNS0yNlQwNjozMjoxOC43NTZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTI0Mjg4MDBdLHsia2V5IjoiMGUxNmJiMTItMTRhZi00NjM1LWIyNGMtNWFjMWE5YTdiYjlmL2Zvcm1hdC5qc29uIn1dfQ==\\",\\n \\"SecurityToken\\": \\"CAISgQJ1q6Ft5B2yfSjIr5bWG%2FLNpY5Thbq6NFzwgTUsbuZ4grfe0Tz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOjKEbIPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAU49tl4awl%2F0fID3wRpPDCKqg%2BfXifeRRPI2Tr%2Bm4PmK4qPffsI%2F5JXB4JA71uN5TkvMC6LxxTuQnJaTateDrfEDnzyyIVISjvQ7rzt8sxZCnDDfjzx6Lc5TAELuapDjeXK6w%2BWkbhwBTWcjrGAJvdaOA4IodaPZyDlyhO4jt1nv\\",\\n \\"ExpiredTime\\": 1590460358,\\n \\"Endpoint\\": \\"fbpsbvmo-154159039388***-static.oss-cn-zhangjiakou.aliyuncs.com\\",\\n \\"AccessKeyId\\": \\"STS.NUcPHyHQr2xQ6zAe5ybi*****\\"\\n }\\n}","type":"json"}]', + 'title' => 'Obtain upload credentials for static website hosting', 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'responseParamsDescription' => 'Sample file upload method: '."\n" + .'```nodejs '."\n" + .'async function uploadFile(file) { '."\n" + .' try { '."\n" + .' // 1. Obtain upload credentials '."\n" + .' const credentials = await getUploadCredentials(); '."\n" + .' '."\n" + .' // 2. Build the upload form '."\n" + .' const formData = new FormData(); '."\n" + .' formData.append(\'policy\', credentials.Policy); '."\n" + .' formData.append(\'OSSAccessKeyId\', credentials.AccessKeyId); '."\n" + .' formData.append(\'success_action_status\', \'200\'); '."\n" + .' formData.append(\'signature\', credentials.Signature); '."\n" + .' formData.append(\'x-oss-security-token\', credentials.SecurityToken); '."\n" + .' formData.append(\'key\', credentials.FilePath + file.name); '."\n" + .' // Note: The \'file\' field must be appended last '."\n" + .' formData.append(\'file\', file); '."\n" + .' '."\n" + .' // 3. Execute the upload '."\n" + .' const uploadResponse = await fetch(`https://${credentials.Endpoint}`, { '."\n" + .' method: \'POST\', '."\n" + .' body: formData '."\n" + .' }); '."\n" + .' '."\n" + .' if (uploadResponse.status === 200) { '."\n" + .' const fileUrl = `https://${credentials.Endpoint}/${credentials.FilePath}${file.name}`; '."\n" + .' console.log(\'File Upload Succeeded:\', fileUrl); '."\n" + .' return { '."\n" + .' success: true, '."\n" + .' url: fileUrl, '."\n" + .' filename: file.name '."\n" + .' }; '."\n" + .' } else { '."\n" + .' throw new Error(`Upload failed, status code: ${uploadResponse.status}`); '."\n" + .' } '."\n" + .' '."\n" + .' } catch (error) { '."\n" + .' console.error(\'Failed to Upload File:\', error); '."\n" + .' return { '."\n" + .' success: false, '."\n" + .' error: error.message '."\n" + .' }; '."\n" + .' } '."\n" + .'} '."\n" + .'``` ', 'extraInfo' => ' ', - ], - 'BindWebHostingCustomDomain' => [ - 'summary' => '添加自定义域名', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:20.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingUploadCredential', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListCorsDomains' => [ + 'summary' => 'Query CORS domain names.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -5105,24 +3695,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'CustomDomain', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ @@ -5130,50 +3703,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'ED81670E-570A-481C-A50D-6B0EAA823BB1', 'title' => ''], + 'Domains' => [ + 'description' => 'List of domain names.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'Domain name.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], + 'DomainId' => ['description' => 'Domain ID.', 'type' => 'string', 'example' => '97e3ff58-01e4-****-b975-1805fec34d77', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7\\"\\n}","errorExample":""},{"type":"xml","example":"<BindWebHostingCustomDomainResponse>\\r\\n <RequestId>CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7</RequestId>\\r\\n <HttpStatusCode>200</HttpStatusCode>\\r\\n <Data>true</Data>\\r\\n <Code>success</Code>\\r\\n <Success>true</Success>\\r\\n</BindWebHostingCustomDomainResponse>","errorExample":""}]', - 'title' => 'BindWebHostingCustomDomain', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ED81670E-570A-481C-A50D-6B0EAA823BB1\\",\\n \\"Domains\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"DomainId\\": \\"97e3ff58-01e4-****-b975-1805fec34d77\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query CORS domain names', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UnbindWebHostingCustomDomain' => [ - 'summary' => '删除一个自定义域名', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:20.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListCorsDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListDingtalkOpenPlatformConfigs' => [ + 'summary' => 'Query DingTalk Open Platform configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -5181,24 +3775,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'CustomDomain', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ @@ -5206,90 +3783,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'D8A5FF68-2C8A-46D0-A11C-FA034F4F475F', 'title' => ''], + 'Configs' => [ + 'description' => 'Configuration related to DingTalk miniapps.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UpdateTime' => ['description' => 'Updated At.', 'type' => 'string', 'example' => '2020-01-17T03:04:46Z', 'title' => ''], + 'AppSecret' => ['description' => 'DingTalk miniapp key.', 'type' => 'string', 'example' => '1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO', 'title' => ''], + 'AppId' => ['description' => 'DingTalk miniapp ID.', 'type' => 'string', 'example' => 'dingoa7pqicyk3x9******', 'title' => ''], + 'CreateTime' => ['description' => 'Creation Time.', 'type' => 'string', 'example' => '2020-01-17T03:04:46Z', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7\\"\\n}","errorExample":""},{"type":"xml","example":"<UnbindWebHostingCustomDomainResponse>\\r\\n <RequestId>CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7</RequestId>\\r\\n <HttpStatusCode>200</HttpStatusCode>\\r\\n <Data>true</Data>\\r\\n <Code>success</Code>\\r\\n <Success>true</Success>\\r\\n</UnbindWebHostingCustomDomainResponse>","errorExample":""}]', - 'title' => 'UnbindWebHostingCustomDomain', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8A5FF68-2C8A-46D0-A11C-FA034F4F475F\\",\\n \\"Configs\\": [\\n {\\n \\"UpdateTime\\": \\"2020-01-17T03:04:46Z\\",\\n \\"AppSecret\\": \\"1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO\\",\\n \\"AppId\\": \\"dingoa7pqicyk3x9******\\",\\n \\"CreateTime\\": \\"2020-01-17T03:04:46Z\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query DingTalk Open Platform Configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SaveWebHostingCustomDomainConfig' => [ - 'summary' => '保存域名配置', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:20.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListDingtalkOpenPlatformConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListExtensions' => [ + 'summary' => 'Query extension capabilities.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemas25T2EG'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'ForceRedirectType', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'HTTPS_FORCE', - 'enum' => [ - 'HTTPS_FORCE', - 'OFF', - ], - ], + 'schema' => ['description' => 'Page number. Default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1', 'minimum' => '1', 'default' => '1', 'title' => ''], ], [ - 'name' => 'DomainName', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'Page size. Default value is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'title' => ''], ], ], 'responses' => [ @@ -5297,53 +3869,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '828A8808-3FC9-418C-893A-5A708CFABB8E', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'DD0F8BC9-516F-4AEF-8D95-D290C2296D78', 'title' => ''], + 'PageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Extensions' => [ + 'description' => 'Extension capability information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExtensionDocumentationLink' => ['description' => 'Extension documentation link.', 'type' => 'string', 'example' => 'https://help.aliyun.com/document_detail/137586.html', 'title' => ''], + 'ExtensionId' => ['description' => 'Extension UUID.', 'type' => 'string', 'example' => 'ext-5d53a4fb1c9d446e2075a2cc', 'title' => ''], + 'ExtensionDesc' => ['description' => 'Extension description.', 'type' => 'string', 'example' => '支持开发者在云函数中快速调用小程序生态的业务API。已支持支付宝特色能力,高德、钉钉相关能力敬请期待。', 'title' => ''], + 'ExtensionName' => ['description' => 'Extension name.', 'type' => 'string', 'example' => '云调用', 'title' => ''], + 'Enabled' => ['description' => 'Whether enabled.', 'type' => 'string', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"828A8808-3FC9-418C-893A-5A708CFABB8E\\"\\n}","errorExample":""},{"type":"xml","example":"<SaveWebHostingCustomDomainConfigResponse>\\r\\n <RequestId>0e16bb12-14af-4635-b24c-5ac1a9a*****</RequestId>\\r\\n</SaveWebHostingCustomDomainConfigResponse>","errorExample":""}]', - 'title' => 'SaveWebHostingCustomDomainConfig', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD0F8BC9-516F-4AEF-8D95-D290C2296D78\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"Extensions\\": [\\n {\\n \\"ExtensionDocumentationLink\\": \\"https://help.aliyun.com/document_detail/137586.html\\",\\n \\"ExtensionId\\": \\"ext-5d53a4fb1c9d446e2075a2cc\\",\\n \\"ExtensionDesc\\": \\"支持开发者在云函数中快速调用小程序生态的业务API。已支持支付宝特色能力,高德、钉钉相关能力敬请期待。\\",\\n \\"ExtensionName\\": \\"云调用\\",\\n \\"Enabled\\": \\"true\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query extension capabilities', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'VerifyWebHostingDomainOwner' => [ - 'summary' => '验证Web主机域名所有者', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-06-10T03:26:33.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListExtensions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListFile' => [ + 'summary' => 'Query the file list. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasXYAKDO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -5351,111 +3946,53 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '226e5213-697c-****-b4ff-35a09f8a52de', - ], + 'schema' => ['description' => 'Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-xxxx-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'Number of entries per page. Default Value is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], ], [ - 'name' => 'VerifyType', + 'name' => 'Keyword', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dnsCheck', - ], + 'schema' => ['description' => 'Keyword.', 'type' => 'string', 'required' => false, 'example' => '关键字1', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '74374923-6536-46EB-8639-409384EAE980', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"74374923-6536-46EB-8639-409384EAE980\\"\\n}","errorExample":""},{"type":"xml","example":"<VerifyWebHostingDomainOwnerResponse>\\n <Data/>\\n <RequestId>74374923-6536-46EB-8639-409384EAE980</RequestId>\\n</VerifyWebHostingDomainOwnerResponse>","errorExample":""}]', - 'title' => 'VerifyWebHostingDomainOwner', - ], - 'GetWebHostingDomainVerificationContent' => [ - 'summary' => '获取域名归属校验内容', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'FileId', + 'in' => 'formData', + 'schema' => ['description' => 'ID or URL of the file(s) to query. '."\n" + .'You can query multiple files simultaneously by separating their IDs or URLs with commas (,). You can specify up to 50 file IDs or URLs.', 'type' => 'string', 'required' => false, 'example' => 'id1', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'Used to mark the position from which reading starts. An empty value indicates reading from the beginning. '."\n" + .'> This feature is supported only in the commercial edition.', 'type' => 'string', 'required' => false, 'example' => 'CAESBgoEIgIIABgAIrQBCrEBA6wAAAAxTDdmZmZmZmZmZjg5OWJlMzguUzZkNzAyZDY2Mz***', 'title' => ''], ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', - ], - 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'Mode', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'File list pattern. Valid values: '."\n" + .'- DEFAULT (default): Default pattern. All files are displayed in descending order by upload time. '."\n" + .'- DIRECTORY: Folder pattern.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', + 'required' => false, + 'example' => 'DIRECTORY', + 'enum' => ['DEFAULT', 'DIRECTORY'], + 'title' => '', ], ], [ - 'name' => 'Domain', + 'name' => 'Prefix', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'Path prefix. By default, queries the root directory.', 'type' => 'string', 'required' => false, 'example' => '/images', 'title' => ''], + ], + [ + 'name' => 'AuthDelta', + 'in' => 'formData', + 'schema' => ['description' => 'Authentication validity duration, in seconds. This parameter takes effect only when you have enabled the authentication feature in Alibaba Cloud CDN configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1800', 'title' => ''], ], ], 'responses' => [ @@ -5463,80 +4000,112 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '74374923-6536-46EB-8639-409384EAE980', - ], - 'Data' => [ - 'description' => '', + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => 'FE88BEC8-8F83-408A-9ED3-771C510C705F', 'title' => ''], + 'Paginator' => [ + 'description' => 'Paging information. ', 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'verify_c28a8e24b4bc9fab22d949cebdb1d7ae', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.com', + 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Used to mark the position from which reading starts. An empty value indicates reading from the beginning. '."\n" + .'> This feature is supported only in the commercial edition.', 'type' => 'string', 'example' => 'eyJhY2NvdW50IjoiMTE2MTQwNTMxMDE0OTY2OCIsImV2ZW50SWQiOiIzMkI3QTE1Mi05NUJFLTUyNkMtQjEyNC00RUYxRDk2RDM4QkEiLCJsb2dJZCI6IjE0LTExNjE0MDUzMTAxNDk2NjgiLCJ0aW1lIjoxNjM1MjEzMzk0MDAwfQ', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DataList' => [ + 'description' => 'Data list. ', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'File type. Includes two reserved types: '."\n" + ."\n" + .'- directory: Folder. In this case, only the Name field value is valid, which represents the folder name. '."\n" + .'- only_in_oss: File with inconsistent data. This occurs when a user uploads the file but does not complete registration, resulting in data inconsistency. The typical resolution is to delete and re-upload the file. ', 'type' => 'string', 'example' => 'JPG', 'title' => ''], + 'Size' => ['description' => 'File Size. '."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], + 'GmtCreate' => ['description' => 'Creation Time. ', 'type' => 'string', 'example' => '2020-01-16T05:45:33.000Z', 'title' => ''], + 'Url' => ['description' => 'File download link. ', 'type' => 'string', 'example' => 'https://fbpxxx.cdn.bspapp.com/FBPSBVMO-myspace/68dbd670-3823-11ea-bfb9-xxxx.JPG', 'title' => ''], + 'GmtModified' => ['description' => 'Updated At. ', 'type' => 'string', 'example' => '2020-01-16T05:45:33.000Z', 'title' => ''], + 'Name' => ['description' => 'File Name. ', 'type' => 'string', 'example' => '1579153532001.JPG', 'title' => ''], + 'Id' => ['description' => 'UUID. ', 'type' => 'string', 'example' => 'c568f23d-a46f-4866-xxxx-142e5eb3e174', 'title' => ''], + 'AuthDelta' => ['description' => 'Authentication validity duration, in seconds. This field is valid only when you have enabled the authentication feature in Alibaba Cloud CDN configuration. ', 'type' => 'integer', 'format' => 'int32', 'example' => '1800', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE88BEC8-8F83-408A-9ED3-771C510C705F\\",\\n \\"Paginator\\": {\\n \\"PageSize\\": 10,\\n \\"NextToken\\": \\"eyJhY2NvdW50IjoiMTE2MTQwNTMxMDE0OTY2OCIsImV2ZW50SWQiOiIzMkI3QTE1Mi05NUJFLTUyNkMtQjEyNC00RUYxRDk2RDM4QkEiLCJsb2dJZCI6IjE0LTExNjE0MDUzMTAxNDk2NjgiLCJ0aW1lIjoxNjM1MjEzMzk0MDAwfQ\\"\\n },\\n \\"DataList\\": [\\n {\\n \\"Type\\": \\"JPG\\",\\n \\"Size\\": 1000,\\n \\"GmtCreate\\": \\"2020-01-16T05:45:33.000Z\\",\\n \\"Url\\": \\"https://fbpxxx.cdn.bspapp.com/FBPSBVMO-myspace/68dbd670-3823-11ea-bfb9-xxxx.JPG\\",\\n \\"GmtModified\\": \\"2020-01-16T05:45:33.000Z\\",\\n \\"Name\\": \\"1579153532001.JPG\\",\\n \\"Id\\": \\"c568f23d-a46f-4866-xxxx-142e5eb3e174\\",\\n \\"AuthDelta\\": 1800\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query file list', + 'changeSet' => [ + ['createdAt' => '2023-07-13T09:33:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-04-20T05:43:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-10T03:35:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-03-03T12:12:29.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"74374923-6536-46EB-8639-409384EAE980\\",\\n \\"Data\\": {\\n \\"Content\\": \\"verify_c28a8e24b4bc9fab22d949cebdb1d7ae\\",\\n \\"Domain\\": \\"example.com\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetWebHostingDomainVerificationContentResponse>\\n <RequestId>74374923-6536-46EB-8639-409384EAE980</RequestId>\\n <Data>\\n <Content>verify_c28a8e24b4bc9fab22d949cebdb1d7ae</Content>\\n <Domain>example.com</Domain>\\n </Data>\\n</GetWebHostingDomainVerificationContentResponse>","errorExample":""}]', - 'title' => 'GetWebHostingDomainVerificationContent', ], - 'ListWebHostingCustomDomains' => [ - 'summary' => '查询当前静态网站绑定的自定义域名', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListFunction' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ + 'name' => 'PageNum', + 'in' => 'formData', + 'schema' => ['description' => 'The page number. Starts from page 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The number of rows displayed per page. Default is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'FilterBy', + 'in' => 'formData', + 'schema' => ['description' => 'Query conditions.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'demo', 'title' => ''], + ], + [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'The service space ID to which the cloud function belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dece4ea0-d432-4cfa-****-8a88d205e2b8', 'title' => ''], ], ], 'responses' => [ @@ -5544,209 +4113,134 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '93FC5921-2A54-408B-B360-2E5C93488CF4', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D388FE2B-61D5-4A76-A8F0-xxxx', 'title' => ''], + 'Paginator' => [ + 'description' => 'Paging information.', + 'type' => 'object', + 'properties' => [ + 'PageNum' => ['description' => 'The page number of the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of rows per page set during the paged query.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Total' => ['description' => 'The total number of cloud functions queried.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageCount' => ['description' => 'The number of pages queried.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Data' => [ - 'description' => '', + 'DataList' => [ + 'description' => 'Cloud function details.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'online', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.test.com', - ], - 'UpdateTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1590470646143', - ], - 'SslProtocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'off', - ], - 'ForceRedirectType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'HTTPS_FORCE', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', + 'TimingTriggerConfig' => ['description' => 'Timed trigger configuration.', 'type' => 'string', 'example' => 'cron:0 0 * * * *', 'title' => ''], + 'HttpTriggerPath' => ['description' => 'The HTTP trigger path.', 'type' => 'string', 'example' => '/http/hello', 'title' => ''], + 'CreatedAt' => ['description' => 'The cloud function creation time.', 'type' => 'string', 'example' => '2019-06-21T02:22:55.996Z', 'title' => ''], + 'ModifiedAt' => ['description' => 'The cloud function modification time.', 'type' => 'string', 'example' => '2019-06-21T02:22:55.996Z', 'title' => ''], + 'Name' => ['description' => 'The cloud function name.', 'type' => 'string', 'example' => 'demoFunction', 'title' => ''], + 'Desc' => ['description' => 'The cloud function description.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Spec' => [ + 'description' => 'Cloud function runtime parameters.', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => 'Timeout duration.', 'type' => 'string', 'example' => '5s', 'title' => ''], + 'Runtime' => ['description' => 'Runtime environment.', 'type' => 'string', 'example' => 'Node.js 8', 'title' => ''], + 'InstanceConcurrency' => ['description' => 'The maximum concurrency allowed for a single instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Memory' => ['description' => 'Memory size.', 'type' => 'string', 'example' => '128 MB', 'title' => ''], + ], + 'title' => '', 'example' => '', ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1590470646000', - ], - 'Cname' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.test.com.w.kunlungr.com', - ], - 'EnableCors' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AccessControlAllowOrigin' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://*.example.com, https://*.example.org', - ], - 'AccessOriginControl' => [ - 'type' => 'boolean', - ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"93FC5921-2A54-408B-B360-2E5C93488CF4\\",\\n \\"Data\\": [\\n {\\n \\"Status\\": \\"online\\",\\n \\"Domain\\": \\"www.test.com\\",\\n \\"UpdateTime\\": 1590470646143,\\n \\"SslProtocol\\": \\"off\\",\\n \\"ForceRedirectType\\": \\"HTTPS_FORCE\\",\\n \\"Description\\": \\"测试域名\\",\\n \\"CreateTime\\": 1590470646000,\\n \\"Cname\\": \\"www.test.com.w.kunlungr.com\\",\\n \\"EnableCors\\": true,\\n \\"AccessControlAllowOrigin\\": \\"https://*.example.com, https://*.example.org\\",\\n \\"AccessOriginControl\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListWebHostingCustomDomainsResponse>\\n <RequestId>93FC5921-2A54-408B-B360-2E5C93488CF4</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Data>\\n <Status>online</Status>\\n <EnableCors>true</EnableCors>\\n <SslProtocol>off</SslProtocol>\\n <ForceRedirectType>OFF</ForceRedirectType>\\n <Description>测试域名</Description>\\n <CreateTime>1590470646000</CreateTime>\\n <UpdateTime>1590470646143</UpdateTime>\\n <AccessControlAllowOrigin>https://*.example.com, https://*.example.org</AccessControlAllowOrigin>\\n <Domain>www.test.com</Domain>\\n <Cname>www.test.com.w.kunlungr.com</Cname>\\n </Data>\\n <Code>success</Code>\\n <Success>true</Success>\\n</ListWebHostingCustomDomainsResponse>","errorExample":""}]', - 'title' => 'ListWebHostingCustomDomains', + 'title' => 'Query the list of created cloud functions', + 'summary' => 'Retrieve a list of created cloud functions.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'RefreshWebHostingCustomDomainCache' => [ - 'summary' => '刷新网站CDN缓存', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:20.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D388FE2B-61D5-4A76-A8F0-xxxx\\",\\n \\"Paginator\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"PageCount\\": 1\\n },\\n \\"DataList\\": [\\n {\\n \\"TimingTriggerConfig\\": \\"cron:0 0 * * * *\\",\\n \\"HttpTriggerPath\\": \\"/http/hello\\",\\n \\"CreatedAt\\": \\"2019-06-21T02:22:55.996Z\\",\\n \\"ModifiedAt\\": \\"2019-06-21T02:22:55.996Z\\",\\n \\"Name\\": \\"demoFunction\\",\\n \\"Desc\\": \\"test\\",\\n \\"Spec\\": {\\n \\"Timeout\\": \\"5s\\",\\n \\"Runtime\\": \\"Node.js 8\\",\\n \\"InstanceConcurrency\\": 1,\\n \\"Memory\\": \\"128 MB\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListFunctionDeployment' => [ + 'summary' => 'Queries a list of function deployments.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'PageNum', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'The page number of the list. The value starts from 1. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'DomainName', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'The number of entries per page. The maximum value is 100. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E63E7F4F-8538-5B0E-8712-78F92B6DCB9C', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E63E7F4F-8538-5B0E-8712-78F92B6DCB9C\\"\\n}","type":"json"}]', - ], - 'DeleteWebHostingCertificate' => [ - 'summary' => '解绑证书,关闭HTTPS访问', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the deployment.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoFunction', 'title' => ''], ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', - ], - 'parameters' => [ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dece4ea0-d432-4cfa-****-8a88d205e2b8', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'Status', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'The status of the deployment. Valid values:'."\n" + ."\n" + .'- DEPLOY\\_SUCCESS: Queries successful deployments.'."\n" + ."\n" + .'- DEPLOY\\_FAILED: Queries failed deployments.'."\n" + ."\n" + .'> If you do not specify a status, all deployments are queried.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'DEPLOY_SUCCESS', 'title' => ''], ], ], 'responses' => [ @@ -5754,159 +4248,238 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', 'title' => ''], + 'Paginator' => [ + 'description' => 'The paging information.', + 'type' => 'object', + 'properties' => [ + 'PageNum' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageCount' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F', + 'DataList' => [ + 'description' => 'The list of function data.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreatedAt' => ['description' => 'The time when the deployment was created.', 'type' => 'string', 'example' => '2019-06-21T02:22:53.309Z', 'title' => ''], + 'DeploymentId' => ['description' => 'The deployment ID.', 'type' => 'string', 'example' => 'dep-5e49fd471c9d4451c33bdd06', 'title' => ''], + 'DownloadSignedUrl' => ['description' => 'The download URL.', 'type' => 'string', 'example' => 'http://function-apiserver-test.oss-cn-shanghai.aliyuncs.com/5d0afc0e1c9d44*****32c30a-v5.zip?OSSAccessKeyId=LTA************&Expires=1561425220&Signature=SAgUkZFK54eAbU6TLT9zMZ7S8eg%3D', 'title' => ''], + 'VersionNo' => ['description' => 'The version number.', 'type' => 'string', 'example' => '2019061110511930090', 'title' => ''], + 'ModifiedAt' => ['description' => 'The time when the deployment was last modified.', 'type' => 'string', 'example' => '2019-06-21T02:22:55.996Z', 'title' => ''], + 'Status' => [ + 'description' => 'The status.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status.', 'type' => 'string', 'example' => 'DEPLOY_SUCCESS', 'title' => ''], + 'Label' => ['description' => 'The description of the status.', 'type' => 'string', 'example' => '部署成功', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteWebHostingCertificateResponse>\\r\\n <RequestId>CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7</RequestId>\\r\\n <HttpStatusCode>200</HttpStatusCode>\\r\\n <Data>true</Data>\\r\\n <Code>success</Code>\\r\\n <Success>true</Success>\\r\\n</DeleteWebHostingCertificateResponse>","errorExample":""}]', - 'title' => 'DeleteWebHostingCertificate', + 'title' => 'Query the list of cloud function deployment orders', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AttachWebHostingCertificate' => [ - 'summary' => '绑定证书', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:19.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListFunctionDeployment', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"Paginator\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"PageCount\\": 1\\n },\\n \\"DataList\\": [\\n {\\n \\"CreatedAt\\": \\"2019-06-21T02:22:53.309Z\\",\\n \\"DeploymentId\\": \\"dep-5e49fd471c9d4451c33bdd06\\",\\n \\"DownloadSignedUrl\\": \\"http://function-apiserver-test.oss-cn-shanghai.aliyuncs.com/5d0afc0e1c9d44*****32c30a-v5.zip?OSSAccessKeyId=LTA************&Expires=1561425220&Signature=SAgUkZFK54eAbU6TLT9zMZ7S8eg%3D\\",\\n \\"VersionNo\\": \\"2019061110511930090\\",\\n \\"ModifiedAt\\": \\"2019-06-21T02:22:55.996Z\\",\\n \\"Status\\": {\\n \\"Status\\": \\"DEPLOY_SUCCESS\\",\\n \\"Label\\": \\"部署成功\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListFunctionLog' => [ + 'summary' => 'Query the execution logs of aggregation functions. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'PageNum', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'Page number. Default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'Page size. Default value is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '10', 'title' => ''], ], [ - 'name' => 'CertType', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'upload', - 'enum' => [ - 'upload', - ], - ], + 'schema' => ['description' => 'Function Name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoFunction', 'title' => ''], ], [ - 'name' => 'CertName', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'testCert', - ], + 'schema' => ['description' => 'Space ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dece4ea0-****-4cfa-8514-8a88d205e2b8', 'title' => ''], ], [ - 'name' => 'ServerCertificate', + 'name' => 'LogRequestId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----', - ], + 'schema' => ['description' => 'Request ID during function runtime.', 'type' => 'string', 'required' => false, 'example' => '0a206a521561344642018387523432', 'title' => ''], ], [ - 'name' => 'PrivateKey', + 'name' => 'FromDate', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '-----BEGIN RSA PRIVATE KEY----- ...... -----END RSA PRIVATE KEY-----', - ], + 'schema' => ['description' => 'Start Time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1560134212326', 'title' => ''], + ], + [ + 'name' => 'ToDate', + 'in' => 'formData', + 'schema' => ['description' => 'End Time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1560134212326', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => ['description' => 'Status. Valid values:'."\n" + ."\n" + .'- SUCCESS: Succeeded'."\n" + .'- FAIL: Failed'."\n" + .'- If empty, all statuses are returned.', 'type' => 'string', 'required' => false, 'example' => 'SUCCESS', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Returned content. ', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', 'title' => ''], + 'Paginator' => [ + 'description' => 'Paging information.', + 'type' => 'object', + 'properties' => [ + 'PageNum' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Total' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageCount' => ['description' => 'Total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF9831B-A6D2-4485-9CAD-1B8FBC8B****', + 'DataList' => [ + 'description' => 'List of function data. ', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'Function runtime status. ', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'SpaceId' => ['description' => 'Service space ID. ', 'type' => 'string', 'example' => 'dece4ea0-d432-4cfa-8514-8a88d205e2b8', 'title' => ''], + 'RequestId' => ['description' => 'Request ID during function runtime. ', 'type' => 'string', 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', 'title' => ''], + 'FunctionName' => ['description' => 'Function name. ', 'type' => 'string', 'example' => 'demoFunction', 'title' => ''], + 'Timestamps' => [ + 'description' => 'Time. ', + 'type' => 'array', + 'items' => ['description' => 'Log recording time. ', 'type' => 'string', 'example' => '1545403746724', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Contents' => [ + 'description' => 'Content. ', + 'type' => 'array', + 'items' => ['description' => 'Log content. ', 'type' => 'string', 'example' => '2018-12-21 14:49:06.724 INFO Start `hello2` at Fri Dec 21 2018 14:49:06 GMT+0000 (UTC) 2018-12-21 14:49:06.724 INFO Successin 0ms', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Levels' => [ + 'description' => 'Level. ', + 'type' => 'array', + 'items' => ['description' => 'Log level. ', 'type' => 'string', 'example' => 'INFO', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"CEF9831B-A6D2-4485-9CAD-1B8FBC8B****\\"\\n}","errorExample":""},{"type":"xml","example":"<AttachWebHostingCertificateResponse>\\n <Data>true</Data>\\n <RequestId>CEF9831B-A6D2-4485-9CAD-1B8FBC8B****</RequestId>\\n</AttachWebHostingCertificateResponse>","errorExample":""}]', - 'title' => 'AttachWebHostingCertificate', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"Paginator\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 1,\\n \\"PageCount\\": 1\\n },\\n \\"DataList\\": [\\n {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"SpaceId\\": \\"dece4ea0-d432-4cfa-8514-8a88d205e2b8\\",\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"FunctionName\\": \\"demoFunction\\",\\n \\"Timestamps\\": [\\n \\"1545403746724\\"\\n ],\\n \\"Contents\\": [\\n \\"2018-12-21 14:49:06.724 INFO Start `hello2` at Fri Dec 21 2018 14:49:06 GMT+0000 (UTC) 2018-12-21 14:49:06.724 INFO Successin 0ms\\"\\n ],\\n \\"Levels\\": [\\n \\"INFO\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query function execution logs', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetWebHostingCertificateDetail' => [ - 'summary' => '查询自定义域名关联的证书详情', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:19.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListFunctionLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListOpenPlatformConfig' => [ + 'summary' => 'Query the Alipay and WeChat Open Platform configuration. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5918,9 +4491,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -5928,157 +4499,134 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Service Space ID. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'CustomDomain', + 'name' => 'Platform', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Platform. Valid values: '."\n" + .' - Alipay '."\n" + .' - WeChat ', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'www.example.com', + 'example' => 'Alipay', + 'enum' => ['wechat', 'Wechat', 'alipay', 'Alipay'], + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Returned content. ', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F', - ], - 'Data' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CertLife' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1 years', - ], - 'CertType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'upload', - ], - 'CertDomainName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'ServerCertificateStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'on', - ], - 'CertName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'CertExpiredTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1621252800000', + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => '2540E86F-2CD4-44AC-A7AB-59CAF40C225D', 'title' => ''], + 'SecretList' => [ + 'description' => 'Key list. ', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SpaceId' => ['description' => 'Service Space ID. ', 'type' => 'string', 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], + 'AppSecret' => ['description' => 'Application key. ', 'type' => 'string', 'example' => '1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO', 'title' => ''], + 'PublicCert' => ['description' => 'Alipay public key certificate. ', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----', 'title' => ''], + 'AppCert' => ['description' => 'Application public key certificate. ', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- MIIEwTCCA6mgAwIBAgIQICAJGbUNoqdPr25qpPU7+ -----END CERTIFICATE-----', 'title' => ''], + 'PrivateKey' => ['description' => 'Private key. ', 'type' => 'string', 'example' => 'MIIEvgIBADANBgkqhkiG9w0BAQEFAAS', 'title' => ''], + 'AppId' => ['description' => 'Miniapp ID. ', 'type' => 'string', 'example' => '201909116717****', 'title' => ''], + 'RootCert' => ['description' => 'Alipay root certificate. ', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----', 'title' => ''], + 'PublicKey' => ['description' => 'Public key. ', 'type' => 'string', 'example' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ', 'title' => ''], + 'Platform' => ['description' => 'Platform. ', 'type' => 'string', 'example' => 'Alipay', 'title' => ''], + 'SignMode' => ['description' => 'Signature mode. Valid values are as follows: '."\n" + .'- PUBLIC_KEY: public key. '."\n" + .'- CERT: public key certificate. ', 'type' => 'string', 'example' => 'CERT', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F\\",\\n \\"Data\\": {\\n \\"CertLife\\": \\"1 years\\",\\n \\"CertType\\": \\"upload\\",\\n \\"CertDomainName\\": \\"www.example.com\\",\\n \\"ServerCertificateStatus\\": \\"on\\",\\n \\"CertName\\": \\"test\\",\\n \\"CertExpiredTime\\": 1621252800000\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetWebHostingCertificateDetailResponse>\\n <RequestId>D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Data>\\n <CertLife>1 years</CertLife>\\n <CertExpiredTime>1621252800000</CertExpiredTime>\\n <CertDomainName>www.example.com</CertDomainName>\\n <CertType>upload</CertType>\\n <CertName>test</CertName>\\n <ServerCertificateStatus>on</ServerCertificateStatus>\\n </Data>\\n <Code>success</Code>\\n <Success>true</Success>\\n</GetWebHostingCertificateDetailResponse>","errorExample":""}]', - 'title' => 'GetWebHostingCertificateDetail', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2540E86F-2CD4-44AC-A7AB-59CAF40C225D\\",\\n \\"SecretList\\": [\\n {\\n \\"SpaceId\\": \\"0e16bb12-14af-****-b24c-5ac1a9a7bb9f\\",\\n \\"AppSecret\\": \\"1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO\\",\\n \\"PublicCert\\": \\"-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----\\",\\n \\"AppCert\\": \\"-----BEGIN CERTIFICATE----- MIIEwTCCA6mgAwIBAgIQICAJGbUNoqdPr25qpPU7+ -----END CERTIFICATE-----\\",\\n \\"PrivateKey\\": \\"MIIEvgIBADANBgkqhkiG9w0BAQEFAAS\\",\\n \\"AppId\\": \\"201909116717****\\",\\n \\"RootCert\\": \\"-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----\\",\\n \\"PublicKey\\": \\"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ\\",\\n \\"Platform\\": \\"Alipay\\",\\n \\"SignMode\\": \\"CERT\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Alipay and WeChat Open Platform configuration ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SaveWebHostingCustomDomainCorsConfig' => [ - 'summary' => '静态网站跨域设置', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:19.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListSpace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpaceId', + 'name' => 'PageNum', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '226e5213-697c-4a52-b4ff-35a09f8*****', - ], + 'schema' => ['description' => 'Page number. Start from 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'default' => '0', 'example' => '0', 'title' => ''], ], [ - 'name' => 'DomainName', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'Number of items per page. Default is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], ], [ - 'name' => 'EnableCors', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], - ], - [ - 'name' => 'AccessControlAllowOrigin', + 'name' => 'SpaceIds', 'in' => 'formData', + 'style' => 'simple', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'List of service space IDs.', + 'type' => 'array', + 'items' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => false, 'example' => 'b9105f6d-f403-4ad5-8a05-82e4524659c8,aff8cd35-4273-40ce-943e-9ab8cd8d89fc', 'title' => ''], 'required' => false, - 'example' => 'https://*.example.com, https://*.example.org', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'AccessOriginControl', + 'name' => 'EmasWorkspaceId', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - ], + 'schema' => ['description' => 'EMAS project ID.', 'type' => 'string', 'required' => false, 'example' => '3821658', 'title' => ''], ], ], 'responses' => [ @@ -6086,58 +4634,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'success', - 'title' => 'Id of the request', - ], - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SpaceNotExist', - ], - 'HttpStatusCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6E2E1770-E9C7-52E9-BF2C-94A0BACFADBE"', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B314EDAD-FFCA-536D-BA9C-08B42F7C2DDE', 'title' => ''], + 'GmtCreate' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Count' => ['description' => 'Total number of items. Used for paging.', 'type' => 'integer', 'format' => 'int32', 'example' => '23', 'title' => ''], + 'Spaces' => [ + 'description' => 'Service spaces.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'Service status. Valid values:'."\n" + ."\n" + .'- IN\\_SERVICE: in service.'."\n" + ."\n" + .'- PAUSED: paused.', 'type' => 'string', 'example' => 'IN_SERVICE', 'title' => ''], + 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1582018007000', 'title' => ''], + 'SpaceId' => ['description' => 'Service space ID.', 'type' => 'string', 'example' => '368ef42a-763f-0000-acc2-8aa9564c****', 'title' => ''], + 'Name' => ['description' => 'Service space name.', 'type' => 'string', 'example' => 'myspace', 'title' => ''], + 'Desc' => ['description' => 'Description.', 'type' => 'string', 'example' => '我的空间', 'title' => ''], + 'GmtLastAccess' => ['description' => 'Last access time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1582018007000', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'title' => 'Schema of Response', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"SpaceNotExist\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"6E2E1770-E9C7-52E9-BF2C-94A0BACFADBE\\\\\\"\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<SaveWebHostingCustomDomainCorsConfig>\\r\\n\\t<RequestId>6E2E1770-E9C7-52E9-BF2C-94A0BACFADBE</RequestId>\\r\\n\\t<Data>true</Data>\\r\\n\\t<Success>true</Success>\\r\\n</SaveWebHostingCustomDomainCorsConfig>","errorExample":""}]', - 'title' => 'SaveWebHostingCustomDomainCorsConfig', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetWebHostingConfig' => [ - 'summary' => '查询静态网站配置', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query the list of service spaces', + 'summary' => 'Lists service spaces.', + 'changeSet' => [ + ['createdAt' => '2022-06-10T03:35:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-04-21T10:30:48.000Z', 'description' => 'Request parameters changed, Response parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'mpserverless:ListSpace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'Space', 'arn' => 'acs:mpserverless::{#accountId}:space/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B314EDAD-FFCA-536D-BA9C-08B42F7C2DDE\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"Count\\": 23,\\n \\"Spaces\\": [\\n {\\n \\"Status\\": \\"IN_SERVICE\\",\\n \\"GmtCreate\\": 1582018007000,\\n \\"SpaceId\\": \\"368ef42a-763f-0000-acc2-8aa9564c****\\",\\n \\"Name\\": \\"myspace\\",\\n \\"Desc\\": \\"我的空间\\",\\n \\"GmtLastAccess\\": 1582018007000\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListWebHostingCustomDomains' => [ + 'summary' => 'Query the custom domain names attached to the current static website. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6149,9 +4707,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -6159,13 +4715,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'Service Space ID. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], ], 'responses' => [ @@ -6173,80 +4723,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '828A8808-3FC9-418C-893A-5A708CFABB8E', - ], + 'RequestId' => ['description' => 'Unique request ID. ', 'type' => 'string', 'example' => '93FC5921-2A54-408B-B360-2E5C93488CF4', 'title' => ''], 'Data' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - 'AllowedIps' => [ - 'description' => '', - 'type' => 'string', - 'example' => '42.120.72.0/24', - ], - 'ErrorPath' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'error.html', - ], - 'DefaultDomain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'static-0e16bb12-14af-4635-b24c-5ac1a9a*****.bspapp.com', - ], - 'IndexPath' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'index.html', - ], - 'ErrorHttpStatus' => [ - 'type' => 'string', - 'enum' => [], + 'description' => 'Returned data. ', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'Domain status. '."\n" + .'- online: Normal '."\n" + .'- offline: Disabled '."\n" + .'- configuring: Configuring '."\n" + .'- configure_failed: Configuration failed '."\n" + .'- disabling: Disabling '."\n" + .'- checking: Under review '."\n" + .'- check_failed: Review failed ', 'type' => 'string', 'example' => 'online', 'title' => ''], + 'Domain' => ['description' => 'Domain name. ', 'type' => 'string', 'example' => 'www.test.com', 'title' => ''], + 'UpdateTime' => ['description' => 'Updated At ', 'type' => 'integer', 'format' => 'int64', 'example' => '1590470646143', 'title' => ''], + 'SslProtocol' => ['description' => 'HTTPS enabling status. '."\n" + .'- on: Enabled '."\n" + .'- off: Disabled ', 'type' => 'string', 'example' => 'off', 'title' => ''], + 'ForceRedirectType' => ['description' => 'Optional parameters: '."\n" + .'- HTTPS_FORCE: Force redirect to HTTPS. '."\n" + .'- OFF: No redirect. ', 'type' => 'string', 'example' => 'HTTPS_FORCE', 'title' => ''], + 'Description' => ['description' => 'Domain description. ', 'type' => 'string', 'example' => '测试域名', 'title' => ''], + 'CreateTime' => ['description' => 'Creation Time ', 'type' => 'integer', 'format' => 'int64', 'example' => '1590470646000', 'title' => ''], + 'Cname' => ['description' => 'Alias record value. ', 'type' => 'string', 'example' => 'www.test.com.w.kunlungr.com', 'title' => ''], + 'EnableCors' => ['description' => 'Indicates whether cross-domain is enabled. ', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AccessControlAllowOrigin' => ['description' => 'Cross-domain rule ', 'type' => 'string', 'example' => 'https://*.example.com, https://*.example.org', 'title' => ''], + 'AccessOriginControl' => ['description' => 'When cross-domain validation is enabled, indicates whether the Origin field is validated. '."\n" + .'- true: Cross-origin headers are returned only after validation passes. '."\n" + .'- false: The Origin field is not validated; configured cross-origin headers are always returned. ', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"828A8808-3FC9-418C-893A-5A708CFABB8E\\",\\n \\"Data\\": {\\n \\"SpaceId\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****\\",\\n \\"AllowedIps\\": \\"42.120.72.0/24\\",\\n \\"ErrorPath\\": \\"error.html\\",\\n \\"DefaultDomain\\": \\"static-0e16bb12-14af-4635-b24c-5ac1a9a*****.bspapp.com\\",\\n \\"IndexPath\\": \\"index.html\\",\\n \\"ErrorHttpStatus\\": \\"200\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetWebHostingConfigResponse>\\n <Code>success</Code>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Message>SpaceNotExist</Message>\\n <RequestId>828A8808-3FC9-418C-893A-5A708CFABB8E</RequestId>\\n <Success>true</Success>\\n <Data>\\n <SpaceId>0e16bb12-14af-4635-b24c-5ac1a9a*****</SpaceId>\\n <AllowedIps>42.120.72.0/24</AllowedIps>\\n <ErrorPath>error.html</ErrorPath>\\n <DefaultDomain>static-0e16bb12-14af-4635-b24c-5ac1a9a*****.bspapp.com</DefaultDomain>\\n <IndexPath>index.html</IndexPath>\\n <HistoryModePath>/</HistoryModePath>\\n </Data>\\n</GetWebHostingConfigResponse>","errorExample":""}]', - 'title' => 'GetWebHostingConfig', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"93FC5921-2A54-408B-B360-2E5C93488CF4\\",\\n \\"Data\\": [\\n {\\n \\"Status\\": \\"online\\",\\n \\"Domain\\": \\"www.test.com\\",\\n \\"UpdateTime\\": 1590470646143,\\n \\"SslProtocol\\": \\"off\\",\\n \\"ForceRedirectType\\": \\"HTTPS_FORCE\\",\\n \\"Description\\": \\"测试域名\\",\\n \\"CreateTime\\": 1590470646000,\\n \\"Cname\\": \\"www.test.com.w.kunlungr.com\\",\\n \\"EnableCors\\": true,\\n \\"AccessControlAllowOrigin\\": \\"https://*.example.com, https://*.example.org\\",\\n \\"AccessOriginControl\\": true\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the custom domain name of the current static website ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebHostingConfig' => [ - 'summary' => '更新静态网站配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-06-01T07:37:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-09T12:16:29.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListWebHostingCustomDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListWebHostingFiles' => [ + 'summary' => 'Retrieve static website files with paging.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -6254,55 +4818,22 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], - ], - [ - 'name' => 'IndexPath', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'index.html', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'ErrorPath', + 'name' => 'Prefix', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'error.html', - ], + 'schema' => ['description' => 'Path prefix.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '/', 'title' => ''], ], [ - 'name' => 'AllowedIps', + 'name' => 'Marker', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '42.120.72.0/24', - ], + 'schema' => ['description' => 'Pagination cursor. Set this to the value of NextMarker returned from the previous page. For the first page, use an empty string.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error1.png', 'title' => ''], ], [ - 'name' => 'ErrorHttpStatus', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'enum' => [ - '200', - '404', - ], - ], + 'schema' => ['description' => 'Page size. Default is 50, maximum is 500.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '100', 'default' => '50', 'title' => ''], ], ], 'responses' => [ @@ -6310,108 +4841,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '93FC5921-2A54-408B-B360-2E5C93488CF4', 'title' => ''], 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '074C8CF9-E7F8-436D-A546-4E5876D0F800', + 'description' => 'Returned data.', + 'type' => 'object', + 'properties' => [ + 'NextMarker' => ['description' => 'Pagination token, marking the last data entry retrieved in the current paging request.', 'type' => 'string', 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error1.png', 'title' => ''], + 'Count' => ['description' => 'Total number of returned data items.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'WebHostingFiles' => [ + 'description' => 'Static website file information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FilePath' => ['description' => 'File Path.', 'type' => 'string', 'example' => 'error/error.jpg', 'title' => ''], + 'ContentType' => ['description' => 'File type.', 'type' => 'string', 'example' => 'image/png', 'title' => ''], + 'ETag' => ['description' => 'Tag.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Size' => ['description' => 'File Size, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '235628', 'title' => ''], + 'LastModifiedTime' => ['description' => 'UNIX timestamp of the last file modification time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1590398956000', 'title' => ''], + 'SignedUrl' => ['description' => 'File download URL, valid for 30 minutes.', 'type' => 'string', 'example' => 'http://fbpsbvmo-15415903938*****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error.jpg?Expires=1590462873&OSSAccessKeyId=STS.NT9oaFvbRzj8vSViJL2y*****&Signature=pSMbsZUZGwfZEcvT9R7VZPMp%2BVA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5eMJNvym71zzajTdHXnjUoZPvYVjIHgpjz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOgBG3HPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAZ6L6gVhZYEK78ZBsQq1hP9nvtEGENelJYiTPWAHmB1mDutOaEzgSpwVMaP3FWpMTy6KgBKMox1NJLUZJK23NlJIlMIJ8lVyCQOG4Ig7oTXTbFc0PQMShK%2FeQIQ2WvZ2x%2F%2FZdgaZIeQR4WnawsWF%2BYC4ScTig0wYTuaLx7pH2WHJ', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"074C8CF9-E7F8-436D-A546-4E5876D0F800\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyWebHostingConfigResponse>\\r\\n <RequestId>CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7</RequestId>\\r\\n <HttpStatusCode>200</HttpStatusCode>\\r\\n <Data>true</Data>\\r\\n <Code>success</Code>\\r\\n <Success>true</Success>\\r\\n</ModifyWebHostingConfigResponse>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"93FC5921-2A54-408B-B360-2E5C93488CF4\\",\\n \\"Data\\": {\\n \\"NextMarker\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error1.png\\",\\n \\"Count\\": 50,\\n \\"WebHostingFiles\\": [\\n {\\n \\"FilePath\\": \\"error/error.jpg\\",\\n \\"ContentType\\": \\"image/png\\",\\n \\"ETag\\": \\"test\\",\\n \\"Size\\": 235628,\\n \\"LastModifiedTime\\": 1590398956000,\\n \\"SignedUrl\\": \\"http://fbpsbvmo-15415903938*****-static.oss-cn-zhangjiakou.aliyuncs.com/0e16bb12-14af-4635-b24c-5ac1a9a*****/test/error.jpg?Expires=1590462873&OSSAccessKeyId=STS.NT9oaFvbRzj8vSViJL2y*****&Signature=pSMbsZUZGwfZEcvT9R7VZPMp%2BVA%3D&security-token=CAISgQJ1q6Ft5B2yfSjIr5eMJNvym71zzajTdHXnjUoZPvYVjIHgpjz2IHBEeXRuA%2B0WsvQ%2Bnm9X6vgelqFZYqRoYGHiUZOgBG3HPUXzDbDasumZsJYm6vT8a0XxZjf%2F2MjNGZabKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2Fbr4NwdGbZxZASjaidcD9p7PxZrrNRgVUHcLvGwKBXn8AGyZQhKwlMh1ToiuPzkk5bMukuE1gXAp7VL99irEP%2BNdNJxOZpzadCx0dFte7DJuCwqsEgaqfoo1vEUpWeW5I7CXwcN%2BWePN%2BvF79tuIEpwae0gEqsBtv%2F4mLhxtunSkZQQTrutnEPAOhqAAZ6L6gVhZYEK78ZBsQq1hP9nvtEGENelJYiTPWAHmB1mDutOaEzgSpwVMaP3FWpMTy6KgBKMox1NJLUZJK23NlJIlMIJ8lVyCQOG4Ig7oTXTbFc0PQMShK%2FeQIQ2WvZ2x%2F%2FZdgaZIeQR4WnawsWF%2BYC4ScTig0wYTuaLx7pH2WHJ\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Paginate to retrieve static files of a website', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'EnableExtension' => [ - 'summary' => '开通扩展能力', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:19.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemas25T2EG', - ], - 'autoTest' => false, - 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', + 'flowControl' => [ + 'flowControlList' => [], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'ExtensionId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ext-5d53a4fb1c9d446e2075a2cc', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListWebHostingFiles', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F655A8D5-B967-440B-8683-DAD6FF8DE990</RequestId>","errorExample":""}]', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'UpdateServicePolicy' => [ - 'summary' => '更新权限', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyWebHostingConfig' => [ + 'summary' => 'Update the static website configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -6419,67 +4927,33 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'ServiceName', + 'name' => 'IndexPath', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'db', - 'enum' => [ - 'db', - 'file', - ], - ], + 'schema' => ['description' => 'Home page path.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'index.html', 'title' => ''], ], [ - 'name' => 'Policy', + 'name' => 'ErrorPath', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '{\\".write\\":false,\\".read\\":true}', - ], + 'schema' => ['description' => '404 error page path.', 'type' => 'string', 'required' => false, 'example' => 'error.html', 'title' => ''], ], [ - 'name' => 'CollectionName', + 'name' => 'AllowedIps', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The whitelist of IP addresses allowed to access the test domain name for static website hosting. Access from IPs not on the whitelist may be restricted. Only IPv4 addresses are supported. You can configure either individual IP addresses or IP segments. The mask length must be between 24 and 31, inclusive. Up to three entries can be configured simultaneously, separated by commas.', 'type' => 'string', 'required' => false, 'example' => '42.120.72.0/24', 'title' => ''], ], [ - 'name' => 'PolicyName', + 'name' => 'ErrorHttpStatus', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'The HTTP status code corresponding to the error page after ErrorPath is configured. Valid values are 404 and 200. The default value is 404.', 'type' => 'string', + 'enum' => ['200', '404'], 'required' => false, - 'docRequired' => false, - 'example' => 'EXTENDED', - 'enum' => [ - 'PUBLICREAD', - 'PRIVATE', - 'ADMINWRITEONLY', - 'ADMINREADWRITEONLY', - 'EXTENDED', - ], + 'example' => '200', + 'title' => '', ], ], ], @@ -6488,56 +4962,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '8932780D-9AF2-4E50-844C-13A1250918EE', - ], - 'Policy' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{\\".write\\":false,\\".read\\":true}', - ], - 'PolicyName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EXTENDED', - ], - 'ServiceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'db', - ], - 'CollectionName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], + 'Data' => ['description' => 'Result of the operation execution. '."\n" + .'- true: Succeeded. '."\n" + .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '074C8CF9-E7F8-436D-A546-4E5876D0F800', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SpaceId\\": \\"0e16bb12-14af-****-b24c-5ac1a9a7bb9f\\",\\n \\"RequestId\\": \\"8932780D-9AF2-4E50-844C-13A1250918EE\\",\\n \\"Policy\\": \\"{\\\\\\\\\\\\\\".write\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\".read\\\\\\\\\\\\\\":true}\\",\\n \\"PolicyName\\": \\"EXTENDED\\",\\n \\"ServiceName\\": \\"db\\",\\n \\"CollectionName\\": \\"test\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateServicePolicyResponse>\\n <Policy>{\\".write\\":false,\\".read\\":true}</Policy>\\n <RequestId>3E1EB9A8-28F8-4820-8ABE-2E592010533E</RequestId>\\n <ServiceName>db</ServiceName>\\n <CollectionName>test</CollectionName>\\n <PolicyName>EXTENDED</PolicyName>\\n <SpaceId>826061c4-5095-4550-8b74-3bcd9af*****</SpaceId>\\n</UpdateServicePolicyResponse>","errorExample":""}]', - 'title' => 'UpdateServicePolicy', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"074C8CF9-E7F8-436D-A546-4E5876D0F800\\"\\n}","type":"json"}]', + 'title' => 'Update static website configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-12-19T09:17:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-25T11:59:29.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:ModifyWebHostingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], ], 'OpenService' => [ - 'summary' => '开通Serverless产品', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Activate a Serverless product.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6549,9 +5014,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -6559,28 +5022,19 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '226e5213-697c-4a52-b4ff-xxxxx', - ], + 'schema' => ['description' => 'The service space ID to which the cloud function belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '226e5213-697c-4a52-b4ff-xxxxx', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Serverless product. Product categories include cloud function, cloud storage, and static website hosting. Valid values are CLOUD_FUNCTION, CLOUD_STORAGE, and WEB_HOSTING.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'CLOUD_FUNCTION', - 'enum' => [ - 'CLOUD_STORAGE', - 'WEB_HOSTING', - 'CLOUD_FUNCTION', - ], + 'enum' => ['CLOUD_STORAGE', 'WEB_HOSTING', 'CLOUD_FUNCTION'], + 'title' => '', ], ], ], @@ -6589,36 +5043,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E63E7F4F-8538-5B0E-8712-78F92B6DCB9C', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'E63E7F4F-8538-5B0E-8712-78F92B6DCB9C', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E63E7F4F-8538-5B0E-8712-78F92B6DCB9C\\"\\n}","type":"json"}]', + 'title' => 'Activate service', + 'changeSet' => [ + ['createdAt' => '2022-11-08T09:32:30.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T07:17:03.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:OpenService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E63E7F4F-8538-5B0E-8712-78F92B6DCB9C\\"\\n}","errorExample":""},{"type":"xml","example":"<OpenServiceResponse>\\n <RequestId>E63E7F4F-8538-5B0E-8712-78F92B6DCB9C</RequestId>\\n</OpenServiceResponse>","errorExample":""}]', - 'title' => 'OpenService', ], 'OpenWebHostingService' => [ - 'summary' => '开通静态网站托管功能', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6630,9 +5093,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -6640,13 +5101,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], ], 'responses' => [ @@ -6654,36 +5109,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1819B1E4-3540-47ED-8E5A-A252C926D81D', - ], + 'Data' => ['description' => 'Returned data.'."\n" + ."\n" + .'- true: Operation successful.'."\n" + ."\n" + .'- false: Operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '1819B1E4-3540-47ED-8E5A-A252C926D81D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"1819B1E4-3540-47ED-8E5A-A252C926D81D\\"\\n}","errorExample":""},{"type":"xml","example":"<OpenWebHostingServiceResponse>\\n <RequestId>1819B1E4-3540-47ED-8E5A-A252C926D81D</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Data>true</Data>\\n <Code>success</Code>\\n <Success>true</Success>\\n</OpenWebHostingServiceResponse>","errorExample":""}]', - 'title' => 'OpenWebHostingService', + 'title' => 'Enable the static website hosting feature', + 'summary' => 'Enables the static website hosting feature.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ResetServerSecret' => [ - 'summary' => '接口重置服务端密钥', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:18.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:OpenWebHostingService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"1819B1E4-3540-47ED-8E5A-A252C926D81D\\"\\n}","type":"json"}]', + ], + 'QueryDBBackupCollections' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6692,12 +5159,10 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -6705,13 +5170,12 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '826061c4-5095-4550-8b74-3bcd9af*****', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], + ], + [ + 'name' => 'BackupId', + 'in' => 'formData', + 'schema' => ['description' => 'Backup file ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '20201118114602_6bd7c996-f620-4026-ae24-418eddf78671', 'title' => ''], ], ], 'responses' => [ @@ -6719,53 +5183,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EA770971-A4A0-4555-9E00-C94A2194E150', + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], + 'Collections' => [ + 'type' => 'array', + 'items' => ['description' => 'List of backed-up collections.', 'type' => 'string', 'example' => 'coll1', 'title' => ''], + 'description' => 'List of backed-up collections.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EA770971-A4A0-4555-9E00-C94A2194E150\\"\\n}","errorExample":""},{"type":"xml","example":"<ResetServerSecretResponse>\\r\\n\\t <RequestId>C293BB03-B6AD-46C2-80D1-19C8FB573916</RequestId>\\r\\n</ResetServerSecretResponse>","errorExample":""}]', - 'title' => 'ResetServerSecret', + 'title' => 'Query the collection of backups by backup ID', + 'summary' => 'Query a backup collection by backup ID.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SaveAppAuthToken' => [ - 'summary' => '授权isv模式访问', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBBackupCollections', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Collections\\": [\\n \\"coll1\\"\\n ]\\n}","type":"json"}]', + ], + 'QueryDBBackupDumpTimes' => [ + 'summary' => 'Queries the backup time and backup ID. By default, backup records from the last 7 days are retained. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -6773,46 +5250,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '368ef42a-763f-0000-acc2-8aa9564c****', - ], - ], - [ - 'name' => 'IsvAppId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2021002110693xxx', - ], - ], - [ - 'name' => 'AppId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2021002198669xxx', - ], - ], - [ - 'name' => 'AppAuthToken', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '202111BB576ef688a3564875a75a9babd6XXXXXX', - ], + 'schema' => ['description' => 'Service space ID. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], ], 'responses' => [ @@ -6820,85 +5258,143 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F340DF8D-7125-49B7-AC48-7F5C8DB382CB', + 'RequestId' => ['description' => 'Unique request ID. ', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], + 'BackupDumpTimes' => [ + 'description' => 'Collection of backup records. ', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BackupId' => ['description' => 'Backup record ID. ', 'type' => 'string', 'example' => '20201118114602_6bd7c996-f620-4026-ae24-418eddf78671', 'title' => ''], + 'DumpTime' => ['description' => 'Backup time. ', 'type' => 'string', 'example' => '2020-11-18T03:46:02Z', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"BackupDumpTimes\\": [\\n {\\n \\"BackupId\\": \\"20201118114602_6bd7c996-f620-4026-ae24-418eddf78671\\",\\n \\"DumpTime\\": \\"2020-11-18T03:46:02Z\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query backup time and backup ID ', + 'description' => '> The backup time returned by this API is the time when the backup job started. Because task execution takes some time, this time does not represent an exact snapshot of the backup content at that moment. ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBBackupDumpTimes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F340DF8D-7125-49B7-AC48-7F5C8DB382CB\\"\\n}","errorExample":""},{"type":"xml","example":"<SaveAppAuthTokenResponse/>","errorExample":""}]', - 'title' => 'SaveAppAuthToken', ], - 'DescribeFCOpenStatus' => [ - 'summary' => '查看是否已开通阿里云函数计算服务', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'QueryDBExportTaskStatus' => [ + 'summary' => 'Queries the status of a database export job. If the task execution succeeds, a file download link is returned. If it fails, the failure reason is returned.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, - 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], - 'parameters' => [], + 'parameters' => [ + [ + 'name' => 'SpaceId', + 'in' => 'formData', + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9*****', 'title' => ''], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => ['description' => 'Job ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0150006d-ab93-4920-a63e-c011dea*****', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Opened', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C293BB03-B6AD-46C2-80D1-xxxx', - ], + 'ExportedCount' => ['description' => 'Number of exported records. Returned only when the Task Status is SUCCESS.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'Status' => ['description' => 'Task Status. Possible values are:'."\n" + .'- WAITING: The job is queued and has not started execution yet.'."\n" + .'- RUNNING: The job is executing.'."\n" + .'- SUCCESS: Succeeded.'."\n" + .'- FAILED: Failed.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'RequestId' => ['description' => 'Unique Request ID.', 'type' => 'string', 'example' => '58881468-E779-4203-B933-BD53FDC60D6F', 'title' => ''], + 'DownloadUrl' => ['description' => 'Download Link. Returned only when the Task Status is SUCCESS.', 'type' => 'string', 'example' => 'https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com/mongo/export/0e16bb12-14af-4635-b24c-5ac1a9a7bb9f/20200720104406_0150006d-ab93-4920-a63e-c011dea1e089.csv?Expires=1595215206&OSSAccessKeyId=LTAI****************&Signature=CKxpKX3Wj%2BLVtZ****%2FTbe%2BX9sc%3D', 'title' => ''], + 'DetailMessage' => ['description' => 'Error message when the job fails.', 'type' => 'string', 'example' => ' SERVER_BUSY', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Opened\\",\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-xxxx\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeFCOpenStatusResponse>\\n <Status>Opened</Status>\\n <RequestId>C293BB03-B6AD-46C2-80D1-xxxx</RequestId>\\n</DescribeFCOpenStatusResponse>","errorExample":""}]', - 'title' => 'DescribeFCOpenStatus', - ], - 'DescribeServicePolicy' => [ - 'summary' => '查询权限规则', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'TaskId.NotFound', 'errorMessage' => 'The specified TaskId does not exist.', 'description' => 'The specified TaskId does not exist.'], + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExportedCount\\": \\"2\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"58881468-E779-4203-B933-BD53FDC60D6F\\",\\n \\"DownloadUrl\\": \\"https://mps-zjk-share.oss-cn-zhangjiakou.aliyuncs.com/mongo/export/0e16bb12-14af-4635-b24c-5ac1a9a7bb9f/20200720104406_0150006d-ab93-4920-a63e-c011dea1e089.csv?Expires=1595215206&OSSAccessKeyId=LTAI****************&Signature=CKxpKX3Wj%2BLVtZ****%2FTbe%2BX9sc%3D\\",\\n \\"DetailMessage\\": \\" SERVER_BUSY\\"\\n}","type":"json"}]', + 'title' => 'Query Database Export Job Status', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBExportTaskStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'QueryDBImportTaskStatus' => [ + 'summary' => 'Query the database import status.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6910,9 +5406,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -6920,39 +5414,12 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], - ], - [ - 'name' => 'ServiceName', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'db', - 'enum' => [ - 'db', - 'file', - ], - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'CollectionName', + 'name' => 'TaskId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'docRequired' => false, - ], + 'schema' => ['description' => 'Job ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '973820af-966d-42ec-9fab-17dfe4a*****', 'title' => ''], ], ], 'responses' => [ @@ -6960,101 +5427,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '15F08A3A-DDBC-4199-93CA-343419E81235', - ], - 'Policy' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{\\".write\\":false,\\".read\\":true}', - ], - 'PolicyName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ADMINWRITEONLY', - ], - 'ServiceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'db', - ], - 'CollectionName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], + 'Status' => ['description' => 'Task execution status. Valid values:'."\n" + .'- NEW: Newly created. A task has been created but no file has been uploaded, or the file upload is incomplete.'."\n" + .'- WAITING: Queued. The task has not started execution yet.'."\n" + .'- RUNNING: Executing.'."\n" + .'- SUCCESS: Succeeded.'."\n" + .'- FAILED: Failed.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'FailedCount' => ['description' => 'Number of failed records.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '692DCFEF-46DD-4EBB-B1DB-338E687DC260', 'title' => ''], + 'DetailMessage' => ['description' => 'Error message when the task fails.', 'type' => 'string', 'example' => 'SERVER_BUSY', 'title' => ''], + 'SuccessCount' => ['description' => 'Number of successful records.', 'type' => 'string', 'example' => '6', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SpaceId\\": \\"0e16bb12-14af-****-b24c-5ac1a9a7bb9f\\",\\n \\"RequestId\\": \\"15F08A3A-DDBC-4199-93CA-343419E81235\\",\\n \\"Policy\\": \\"{\\\\\\\\\\\\\\".write\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\".read\\\\\\\\\\\\\\":true}\\",\\n \\"PolicyName\\": \\"ADMINWRITEONLY\\",\\n \\"ServiceName\\": \\"db\\",\\n \\"CollectionName\\": \\"test\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeServicePolicyResponse>\\n <Policy>{\\".write\\":false,\\".read\\":true}</Policy>\\n <RequestId>42B1D550-53CA-4DFC-A081-94D8DF00B81B</RequestId>\\n <ServiceName>db</ServiceName>\\n <CollectionName>test</CollectionName>\\n <PolicyName>ADMINWRITEONLY</PolicyName>\\n <HttpStatusCode>200</HttpStatusCode>\\n <SpaceId>826061c4-5095-4550-8b74-3bcd9af*****</SpaceId>\\n <Success>true</Success>\\n</DescribeServicePolicyResponse>","errorExample":""}]', - 'title' => 'DescribeServicePolicy', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'TaskId.NotFound', 'errorMessage' => 'The specified TaskId does not exist.', 'description' => 'The specified TaskId does not exist.'], + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"SUCCESS\\",\\n \\"FailedCount\\": \\"0\\",\\n \\"RequestId\\": \\"692DCFEF-46DD-4EBB-B1DB-338E687DC260\\",\\n \\"DetailMessage\\": \\"SERVER_BUSY\\",\\n \\"SuccessCount\\": \\"6\\"\\n}","type":"json"}]', + 'title' => 'Query database import status', + 'description' => '> The first invocation after uploading a file triggers task execution. We recommend that you invoke this API after successfully uploading the import file. If task execution succeeds, the response includes the counts of both successfully imported and failed records. If the task fails, the response includes the failure reason.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListExtensions' => [ - 'summary' => '查询扩展能力', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBImportTaskStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'QueryDBRestoreTaskStatus' => [ + 'summary' => 'Query the status of a collection rollback job.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemas25T2EG', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - 'minimum' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'TaskId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'default' => '10', - ], + 'schema' => ['description' => 'Job ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0150006d-ab93-4920-a63e-c011dea1e089', 'title' => ''], ], ], 'responses' => [ @@ -7062,83 +5510,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'DD0F8BC9-516F-4AEF-8D95-D290C2296D78', - ], - 'PageNumber' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Extensions' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ExtensionDocumentationLink' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://help.aliyun.com/document_detail/137586.html', - ], - 'ExtensionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ext-5d53a4fb1c9d446e2075a2cc', - ], - 'ExtensionDesc' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ExtensionName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Enabled' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'true', - ], - ], - ], - ], + 'Status' => ['description' => 'The status of the rollback job. Valid values are as follows:'."\n" + .'- NEW: Newly created. This status will never appear for an export job.'."\n" + .'- WAITING: Queued. This may occur when there are many jobs.'."\n" + .'- RUNNING: Executing.'."\n" + .'- SUCCESS: Succeeded.'."\n" + .'- FAILED: Failed.'."\n" + ."\n" + .'> Note: You should abort polling once the job status becomes **SUCCESS** or **FAILED**.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'FailedCount' => ['description' => 'The quantity of database records that failed to roll back.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], + 'DetailMessage' => ['description' => 'The error message when the job fails.', 'type' => 'string', 'example' => 'SERVER_BUSY', 'title' => ''], + 'SuccessCount' => ['description' => 'The quantity of database records successfully rolled back.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DD0F8BC9-516F-4AEF-8D95-D290C2296D78\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Extensions\\": [\\n {\\n \\"ExtensionDocumentationLink\\": \\"https://help.aliyun.com/document_detail/137586.html\\",\\n \\"ExtensionId\\": \\"ext-5d53a4fb1c9d446e2075a2cc\\",\\n \\"ExtensionDesc\\": \\"支持开发者在云函数中快速调用小程序生态的业务API。已支持支付宝特色能力,高德、钉钉相关能力敬请期待。\\",\\n \\"Enabled\\": \\"true\\",\\n \\"ExtensionName\\": \\"云调用\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Extensions>\\n <Enabled>true</Enabled>\\n <ExtensionDesc>支持开发者在云函数中快速调用小程序生态的业务API。已支持支付宝特色能力,高德、钉钉相关能力敬请期待。</ExtensionDesc>\\n <ExtensionDocumentationLink>https://help.aliyun.com/document_detail/137586.html</ExtensionDocumentationLink>\\n <ExtensionName>云调用</ExtensionName>\\n <ExtensionId>ext-5d53a4fb1c9d446e2075a2cc</ExtensionId>\\n</Extensions>\\n<PageNumber>1</PageNumber>\\n<HttpStatusCode>200</HttpStatusCode>\\n<TotalCount>1</TotalCount>\\n<PageSize>10</PageSize>\\n<RequestId>DD0F8BC9-516F-4AEF-8D95-D290C2296D78</RequestId>\\n<Success>true</Success>\\n<Code>OK</Code>","errorExample":""}]', - 'title' => 'ListExtensions', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'TaskId.NotFound', 'errorMessage' => 'The specified TaskId does not exist.', 'description' => 'The specified TaskId does not exist.'], + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"SUCCESS\\",\\n \\"FailedCount\\": 1,\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"DetailMessage\\": \\"SERVER_BUSY\\",\\n \\"SuccessCount\\": 1\\n}","type":"json"}]', + 'title' => 'Query the status of a collection rollback job', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBRestoreTaskStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], ], 'QueryServiceStatus' => [ - 'summary' => '查询Serverless产品服务状态', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Query the status of a Serverless product service. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7150,9 +5573,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -7160,28 +5581,19 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '226e5213-697c-4a52-b4ff-xxxxx', - ], + 'schema' => ['description' => 'Service Space ID. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '226e5213-697c-4a52-b4ff-xxxxx', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Serverless product. Product categories include Cloud Function, Cloud Storage, and Static Website Hosting. Valid values are CLOUD_FUNCTION, CLOUD_STORAGE, and WEB_HOSTING. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'CLOUD_FUNCTION', - 'enum' => [ - 'CLOUD_FUNCTION', - 'CLOUD_STORAGE', - 'WEB_HOSTING', - ], + 'enum' => ['CLOUD_FUNCTION', 'CLOUD_STORAGE', 'WEB_HOSTING'], + 'title' => '', ], ], ], @@ -7190,45 +5602,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E63E7F4F-8538-5B0E-8712-78F92B6DCB9C', - ], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => 'E63E7F4F-8538-5B0E-8712-78F92B6DCB9C', 'title' => ''], 'ServiceStatus' => [ - 'description' => '', + 'description' => 'The status of the Serverless product service. The return value is UNUSED, OPENING, or IN_SERVICE. ', 'type' => 'string', - 'enumValueTitles' => [ - 'IN_SERVICE' => 'IN_SERVICE', - 'UNUSED' => 'UNUSED', - 'OPENING' => 'OPENING', - ], + 'enumValueTitles' => ['IN_SERVICE' => 'IN_SERVICE', 'UNUSED' => 'UNUSED', 'OPENING' => 'OPENING'], 'example' => 'OPENING', + 'title' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'AccessDenied', - 'errorMessage' => 'You are not authorized to access this space.', - ], + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E63E7F4F-8538-5B0E-8712-78F92B6DCB9C\\",\\n \\"ServiceStatus\\": \\"OPENING\\"\\n}","type":"json"}]', - ], - 'GetWebHostingStatus' => [ - 'summary' => '查询静态网站托管功能开通状态', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query service status ', + 'changeSet' => [ + ['createdAt' => '2022-11-08T09:32:30.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T08:26:13.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryServiceStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'QuerySpaceConsumption' => [ + 'summary' => 'Query the current month\'s usage and consumption of the service space. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7240,9 +5660,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasU3GTV3', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -7250,13 +5668,7 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => false, 'example' => 'mp-95865273-9b1f-496d-****-cb88fa4d66a2', 'title' => ''], ], ], 'responses' => [ @@ -7264,47 +5676,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D8F7FDDC-4EF3-44B9-9452-CFD7A081FB85', + 'RequestId' => ['description' => 'Unique request ID. ', 'type' => 'string', 'example' => 'F16FEFE8-4E57-5795-BE7B-2D29F0C61B8C', 'title' => ''], + 'GmtCreate' => ['description' => 'Creation Time. ', 'type' => 'string', 'example' => '0', 'title' => ''], + 'SpaceId' => ['description' => 'Service space ID.', 'type' => 'string', 'example' => 'mp-26fe89b6-****-4a90-b332-b424ce9651e6', 'title' => ''], + 'SpecCode' => ['description' => '- FREE Developer Edition '."\n" + .'- BASE Basic Edition '."\n" + .'- STANDARD Standard Edition '."\n" + .'- PROFESSIONAL Professional Edition '."\n" + .'- ENTERPRISE Enterprise Edition '."\n" + .'- UTIMATE Ultimate ', 'type' => 'string', 'example' => 'BASE', 'title' => ''], + 'FcUsage' => [ + 'description' => 'Function Compute usage ', + 'type' => 'object', + 'properties' => [ + 'Cost' => ['description' => 'Compute usage (in MB·hundred milliseconds) ', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'RequestCount' => ['description' => 'Number Of Calls to functions '."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'TxTraffic' => ['description' => 'Total outbound traffic from functions, in bytes. ', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Data' => [ - 'description' => '', + 'DbUsage' => [ + 'description' => 'ApsaraDB usage.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'OPENING', - ], - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', - ], + 'StorageSize' => ['description' => 'Disk capacity, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'ReadCount' => ['description' => 'Number of read requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'WriteCount' => ['description' => 'Number of write requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CsUsage' => [ + 'description' => 'Cloud storage usage. '."\n", + 'type' => 'object', + 'properties' => [ + 'StorageSize' => ['description' => 'Disk capacity, in bytes. ', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'DownloadCount' => ['description' => 'Count of file accesses or downloads. ', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'UploadCount' => ['description' => 'Count of file uploads. ', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'CdnTraffic' => ['description' => 'Alibaba Cloud CDN traffic, in bytes. ', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], ], + 'title' => '', + 'example' => '', + ], + 'WhUsage' => [ + 'description' => 'Static website hosting usage.', + 'type' => 'object', + 'properties' => [ + 'StorageSize' => ['description' => 'Disk capacity, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'CdnTraffic' => ['description' => 'Alibaba Cloud CDN traffic, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'CycleStartTime' => ['description' => 'Start time of the current billing cycle (in seconds). ', 'type' => 'integer', 'format' => 'int64', 'example' => '1664467200', 'title' => ''], + 'CycleEndTime' => ['description' => 'End time of the current billing epoch, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1667059200', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8F7FDDC-4EF3-44B9-9452-CFD7A081FB85\\",\\n \\"Data\\": {\\n \\"Status\\": \\"OPENING\\",\\n \\"SpaceId\\": \\"0e16bb12-14af-4635-b24c-5ac1a9a*****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetWebHostingStatusResponse>\\n <RequestId>D8F7FDDC-4EF3-44B9-9452-CFD7A081FB85</RequestId>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Data>\\n <Status>OPENING</Status>\\n <SpaceId>0e16bb12-14af-4635-b24c-5ac1a9a*****</SpaceId>\\n </Data>\\n <Code>success</Code>\\n <Success>true</Success>\\n</GetWebHostingStatusResponse>","errorExample":""}]', - 'title' => 'GetWebHostingStatus', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CheckMpServerlessRoleExists' => [ - 'summary' => '检查阿里云用户是否具有权限', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F16FEFE8-4E57-5795-BE7B-2D29F0C61B8C\\",\\n \\"GmtCreate\\": \\"0\\",\\n \\"SpaceId\\": \\"mp-26fe89b6-****-4a90-b332-b424ce9651e6\\",\\n \\"SpecCode\\": \\"BASE\\",\\n \\"FcUsage\\": {\\n \\"Cost\\": 0,\\n \\"RequestCount\\": 0,\\n \\"TxTraffic\\": 0\\n },\\n \\"DbUsage\\": {\\n \\"StorageSize\\": 0,\\n \\"ReadCount\\": 0,\\n \\"WriteCount\\": 0\\n },\\n \\"CsUsage\\": {\\n \\"StorageSize\\": 0,\\n \\"DownloadCount\\": 0,\\n \\"UploadCount\\": 0,\\n \\"CdnTraffic\\": 0\\n },\\n \\"WhUsage\\": {\\n \\"StorageSize\\": 0,\\n \\"CdnTraffic\\": 0\\n },\\n \\"CycleStartTime\\": 1664467200,\\n \\"CycleEndTime\\": 1667059200\\n}","type":"json"}]', + 'title' => 'Query resource consumption for a space', + 'description' => '> This feature is supported only by commercial editions. ', + 'changeSet' => [ + ['createdAt' => '2022-09-28T08:41:47.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-10T03:37:27.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QuerySpaceConsumption', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'QuerySpaceSpecDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7316,23 +5776,25 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'RoleName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'AliyunServiceRoleForMPServerless', - ], + 'name' => 'SpecCode', + 'in' => 'formData', + 'schema' => ['description' => '- FREE: Developer Edition'."\n" + ."\n" + .'- BASE: Basic Edition'."\n" + ."\n" + .'- STANDARD: Standard Edition'."\n" + ."\n" + .'- PROFESSIONAL: Professional Edition'."\n" + ."\n" + .'- ENTERPRISE: Enterprise Edition'."\n" + ."\n" + .'- ULTIMATE: Ultimate Edition', 'type' => 'string', 'required' => true, 'example' => 'BASE', 'title' => ''], ], ], 'responses' => [ @@ -7340,117 +5802,226 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F340DF8D-7125-49B7-AC48-7F5C8DB382CB', - ], - 'Exists' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => '20C1EDFE-6355-4344-B20A-A7A5A1581026', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the plan was created.', 'type' => 'string', 'title' => '', 'example' => ''], + 'SpecCode' => ['description' => '- FREE: Developer Edition'."\n" + ."\n" + .'- BASE: Basic Edition'."\n" + ."\n" + .'- STANDARD: Standard Edition'."\n" + ."\n" + .'- PROFESSIONAL: Professional Edition'."\n" + ."\n" + .'- ENTERPRISE: Enterprise Edition'."\n" + ."\n" + .'- ULTIMATE: Ultimate Edition', 'type' => 'string', 'example' => 'BASE', 'title' => ''], + 'CsCdnTraffic' => ['description' => 'The cloud storage traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2147483648', 'title' => ''], + 'CsDownloadCount' => ['description' => 'The number of times files in cloud storage are accessed or downloaded.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'CsStorageSize' => ['description' => 'The disk capacity of cloud storage. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '8589934592', 'title' => ''], + 'CsUploadCount' => ['description' => 'The number of times files are uploaded to cloud storage.', 'type' => 'integer', 'format' => 'int64', 'example' => '50000', 'title' => ''], + 'DbReadCount' => ['description' => 'The number of read requests for ApsaraDB.', 'type' => 'integer', 'format' => 'int64', 'example' => '50000', 'title' => ''], + 'DbStorageSize' => ['description' => 'The disk capacity of ApsaraDB. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2147483648', 'title' => ''], + 'DbWriteCount' => ['description' => 'The number of write requests for ApsaraDB.', 'type' => 'integer', 'format' => 'int64', 'example' => '30000', 'title' => ''], + 'FcCost' => ['description' => 'The resource usage of Function Compute. Unit: MB per 100 ms.', 'type' => 'integer', 'format' => 'int64', 'example' => '102400000', 'title' => ''], + 'FcRequestCount' => ['description' => 'The number of Function Compute invocations.', 'type' => 'integer', 'format' => 'int64', 'example' => '150000', 'title' => ''], + 'FcTxTraffic' => ['description' => 'The outbound traffic of Function Compute.', 'type' => 'integer', 'format' => 'int64', 'example' => '1073741824', 'title' => ''], + 'WhCdnTraffic' => ['description' => 'The CDN traffic for static website hosting. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2147483648', 'title' => ''], + 'WhStorageSize' => ['description' => 'The disk capacity for static website hosting. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '8589934592', 'title' => ''], + 'SpecDetailText' => ['description' => 'The details of the plan specifications.', 'type' => 'string', 'example' => '云函数:\\\\n 资源使用量 1万 GBs/月\\\\n调用次数 15 万次/月\\\\n出网流量 1 GB/月\\\\n\\\\br云数据库:\\\\n容量 2 GB\\\\n读操作 5 万次/天\\\\n写操作 3 万次/天\\\\n\\\\br云存储:\\\\n容量 8 GB\\\\n下载操作次数 10 万次/月\\\\n上传操作次数 5 万次/月\\\\nCDN流量 2 GB/月\\\\n\\\\br静态网站托管:\\\\n 容量 8 GB\\\\nCDN流量 2 GB/月"', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F340DF8D-7125-49B7-AC48-7F5C8DB382CB\\",\\n \\"Exists\\": true\\n}","errorExample":""},{"type":"xml","example":"<CheckMpServerlessRoleExistsResponse>\\n <RequestId>F340DF8D-7125-49B7-AC48-7F5C8DB382CB</RequestId>\\n <Exists>true</Exists>\\n</CheckMpServerlessRoleExistsResponse>","errorExample":""}]', - 'title' => 'CheckMpServerlessRoleExists', - ], - 'AddDingtalkOpenPlatformConfig' => [ - 'summary' => '添加钉钉开放平台配置', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query Package Tier Details', + 'summary' => 'Retrieves plan details based on its specifications.', + 'description' => '> This feature is available only in the Professional Edition.', + 'changeSet' => [ + ['createdAt' => '2022-06-10T03:37:27.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QuerySpaceSpecDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"20C1EDFE-6355-4344-B20A-A7A5A1581026\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"SpecCode\\": \\"BASE\\",\\n \\"CsCdnTraffic\\": 2147483648,\\n \\"CsDownloadCount\\": 100000,\\n \\"CsStorageSize\\": 8589934592,\\n \\"CsUploadCount\\": 50000,\\n \\"DbReadCount\\": 50000,\\n \\"DbStorageSize\\": 2147483648,\\n \\"DbWriteCount\\": 30000,\\n \\"FcCost\\": 102400000,\\n \\"FcRequestCount\\": 150000,\\n \\"FcTxTraffic\\": 1073741824,\\n \\"WhCdnTraffic\\": 2147483648,\\n \\"WhStorageSize\\": 8589934592,\\n \\"SpecDetailText\\": \\"云函数:\\\\\\\\\\\\\\\\n 资源使用量 1万 GBs/月\\\\\\\\\\\\\\\\n调用次数 15 万次/月\\\\\\\\\\\\\\\\n出网流量 1 GB/月\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\br云数据库:\\\\\\\\\\\\\\\\n容量 2 GB\\\\\\\\\\\\\\\\n读操作 5 万次/天\\\\\\\\\\\\\\\\n写操作 3 万次/天\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\br云存储:\\\\\\\\\\\\\\\\n容量 8 GB\\\\\\\\\\\\\\\\n下载操作次数 10 万次/月\\\\\\\\\\\\\\\\n上传操作次数 5 万次/月\\\\\\\\\\\\\\\\nCDN流量 2 GB/月\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\br静态网站托管:\\\\\\\\\\\\\\\\n 容量 8 GB\\\\\\\\\\\\\\\\nCDN流量 2 GB/月\\\\\\"\\"\\n}","type":"json"}]', + ], + 'QuerySpaceUsage' => [ + 'summary' => 'Retrieves details about service space resource usage.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'AppId', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dingoa7pqicyk3x9t*****', - 'maxLength' => 64, - ], + 'schema' => ['description' => 'The service space ID.', 'type' => 'string', 'required' => true, 'example' => 'mp-fd37e37e-b436-4a7a-****-58c89ce3586d', 'title' => ''], ], [ - 'name' => 'AppSecret', + 'name' => 'StartTime', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO', - 'maxLength' => 200, - ], + 'schema' => ['description' => 'The start time in UTC.', 'type' => 'string', 'required' => true, 'example' => '2022-06-17T16:00:00Z', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'EndTime', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'The end time in UTC.'."\n" + ."\n" + .'- The end time must be later than the start time.'."\n" + ."\n" + .'- If the time range is within one day, hourly metering data is returned automatically.', 'type' => 'string', 'required' => true, 'example' => '2022-06-18T16:00:00Z', 'title' => ''], + ], + [ + 'name' => 'Interval', + 'in' => 'formData', + 'schema' => ['description' => 'This field is optional. If omitted, data granularity varies based on the query time span. For spans longer than one day, data is returned daily. For spans of one day or less, data is returned hourly.'."\n" + ."\n" + .'The time granularity for query data. Unit: minutes. Valid values:'."\n" + ."\n" + .'- 1440 (returns data daily, for spans up to 31 days).'."\n" + ."\n" + .'- 60 (returns data hourly, for spans up to 7 days).'."\n" + ."\n" + .'- 5 (returns data every five minutes, for spans up to 1 day).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The returned content.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '44DF7A95-603F-4651-9298-BE1850BEB53F', + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => 'A9FB71D5-2C06-5810-A5FA-B88E45FE****', 'title' => ''], + 'SpaceId' => ['description' => 'The service space ID.', 'type' => 'string', 'example' => 'mp-23c7c857-****-4512-bab0-3dbf986e7576', 'title' => ''], + 'StartTime' => ['description' => 'The start time.', 'type' => 'string', 'example' => '2022-06-17T16:00:00Z', 'title' => ''], + 'EndTime' => ['description' => 'The end timestamp of the query range.', 'type' => 'string', 'example' => '2022-06-18T16:00:00Z', 'title' => ''], + 'SpaceUsageDataList' => [ + 'description' => 'The data list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data list.', + 'type' => 'object', + 'properties' => [ + 'Timestamp' => ['description' => 'The statistics timestamp.', 'type' => 'string', 'example' => '2022-06-17T16:00:00Z', 'title' => ''], + 'FcUsage' => [ + 'description' => 'Function Compute usage.', + 'type' => 'object', + 'properties' => [ + 'Cost' => ['description' => 'The compute amount (MB per hundred milliseconds).', 'type' => 'integer', 'format' => 'int64', 'example' => '35645000', 'title' => ''], + 'RequestCount' => ['description' => 'The number of function invocations.', 'type' => 'integer', 'format' => 'int64', 'example' => '12451', 'title' => ''], + 'TxTraffic' => ['description' => 'The total outbound traffic of the function, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '124521635', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DbUsage' => [ + 'description' => 'ApsaraDB usage.', + 'type' => 'object', + 'properties' => [ + 'StorageSize' => ['description' => 'The disk capacity, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2542108', 'title' => ''], + 'ReadCount' => ['description' => 'The number of ApsaraDB read operations (rounded up to the nearest 4 KB).', 'type' => 'integer', 'format' => 'int64', 'example' => '5685123', 'title' => ''], + 'WriteCount' => ['description' => 'The number of ApsaraDB write operations (rounded up to the nearest 1 KB).', 'type' => 'integer', 'format' => 'int64', 'example' => '241500', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CsUsage' => [ + 'description' => 'Cloud storage usage.', + 'type' => 'object', + 'properties' => [ + 'StorageSize' => ['description' => 'The disk capacity, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '4024575081', 'title' => ''], + 'DownloadCount' => ['description' => 'The number of file accesses or downloads.', 'type' => 'integer', 'format' => 'int64', 'example' => '45668113', 'title' => ''], + 'UploadCount' => ['description' => 'The number of file uploads.', 'type' => 'integer', 'format' => 'int64', 'example' => '2352', 'title' => ''], + 'CdnTraffic' => ['description' => 'CDN traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '94134230', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WhUsage' => [ + 'description' => 'Static website hosting usage.', + 'type' => 'object', + 'properties' => [ + 'StorageSize' => ['description' => 'The disk capacity, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '226230160', 'title' => ''], + 'CdnTraffic' => ['description' => 'CDN traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '5644311', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EffectiveBillFlag' => ['description' => 'Marks whether this data is billed.'."\n" + ."\n" + .'- true: Billed normally.'."\n" + ."\n" + .'- false: Not billed. For example, if the service space is suspended, usage data is not used for billing.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"44DF7A95-603F-4651-9298-BE1850BEB53F\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>44DF7A95-603F-4651-9298-BE1850BEB53F</RequestId>","errorExample":""}]', - 'title' => 'AddDingtalkOpenPlatformConfig', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'SaveAntOpenPlatformConfig' => [ - 'summary' => '保存支付宝开放平台配置', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query resource usage', + 'description' => '> This feature is only available in the commercial edition.', + 'changeSet' => [ + ['createdAt' => '2023-06-01T07:37:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-03-16T02:38:07.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-12-05T03:25:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-10T03:37:27.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QuerySpaceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A9FB71D5-2C06-5810-A5FA-B88E45FE****\\",\\n \\"SpaceId\\": \\"mp-23c7c857-****-4512-bab0-3dbf986e7576\\",\\n \\"StartTime\\": \\"2022-06-17T16:00:00Z\\",\\n \\"EndTime\\": \\"2022-06-18T16:00:00Z\\",\\n \\"SpaceUsageDataList\\": [\\n {\\n \\"Timestamp\\": \\"2022-06-17T16:00:00Z\\",\\n \\"FcUsage\\": {\\n \\"Cost\\": 35645000,\\n \\"RequestCount\\": 12451,\\n \\"TxTraffic\\": 124521635\\n },\\n \\"DbUsage\\": {\\n \\"StorageSize\\": 2542108,\\n \\"ReadCount\\": 5685123,\\n \\"WriteCount\\": 241500\\n },\\n \\"CsUsage\\": {\\n \\"StorageSize\\": 4024575081,\\n \\"DownloadCount\\": 45668113,\\n \\"UploadCount\\": 2352,\\n \\"CdnTraffic\\": 94134230\\n },\\n \\"WhUsage\\": {\\n \\"StorageSize\\": 226230160,\\n \\"CdnTraffic\\": 5644311\\n },\\n \\"EffectiveBillFlag\\": true\\n }\\n ]\\n}","type":"json"}]', + ], + 'RefreshWebHostingCustomDomainCache' => [ + 'summary' => 'Purges the Alibaba Cloud CDN cache for a custom accelerated domain name used in static website hosting, so that your newly uploaded files take effect immediately. You can invoke this operation up to three times per hour.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7459,12 +6030,10 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -7472,138 +6041,140 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'AppId', + 'name' => 'DomainName', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '201909116717****', - 'maxLength' => 64, - ], + 'schema' => ['description' => 'Custom domain name for static website hosting.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com', 'title' => ''], ], - [ - 'name' => 'PublicKey', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => 'E63E7F4F-8538-5B0E-8712-78F92B6DCB9C', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCA', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'PrivateKey', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSk', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], ], - [ - 'name' => 'SignMode', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'CERT', - 'enum' => [ - 'PUBLIC_KEY', - 'CERT', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E63E7F4F-8538-5B0E-8712-78F92B6DCB9C\\"\\n}","type":"json"}]', + 'title' => 'Purge Static Website CDN Cache', + 'description' => '> This feature is supported only in the Commercial edition.', + 'changeSet' => [ + ['createdAt' => '2022-07-12T05:53:44.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'mpserverless:RefreshWebHostingCustomDomainCache', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], + ], + ], + 'RegisterFile' => [ + 'summary' => 'Register a file.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AppCert', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE----- MIIEwTCCA6mgAwIBAgIQICAJGbUNoqdPr25qpPU7+ -----END CERTIFICATE-----', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemasXYAKDO'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', + ], + 'parameters' => [ [ - 'name' => 'PublicCert', + 'name' => 'Id', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----', - ], + 'schema' => ['description' => 'The UUID. The value is the ID returned by the DescribeFileUploadSignedUrl API.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2fada31e-8fa5-****-b595-9698cd6b5f06', 'title' => ''], ], [ - 'name' => 'RootCert', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----', - ], + 'schema' => ['description' => 'The service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-****-4635-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2540E86F-2CD4-44AC-A7AB-59CAF40C225D', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2540E86F-2CD4-44AC-A7AB-59CAF40C225D\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>2540E86F-2CD4-44AC-A7AB-59CAF40C225D</RequestId>","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Register File', + 'description' => '><warning>The latest version uses the OSS callback mechanism for file uploads and no longer requires you to invoke this API to register a file.></warning>', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SaveWechatOpenPlatformConfig' => [ - 'summary' => '保存微信开放平台配置', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:17.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:RegisterFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'RenameDBCollection' => [ + 'summary' => 'Rename a collection.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -7611,37 +6182,17 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'The service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9*****', 'title' => ''], ], [ - 'name' => 'AppId', + 'name' => 'OriginCollection', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '123456', - 'maxLength' => 64, - ], + 'schema' => ['description' => 'The name of the existing collection to be renamed. You must specify the name of a collection that already exists.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'coll1', 'title' => ''], ], [ - 'name' => 'AppSecret', + 'name' => 'NewCollection', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '9w0BAQEFAASCBKgwggSkAgEAAoI', - 'maxLength' => 200, - ], + 'schema' => ['description' => 'The new collection name. The new name must not be the same as any existing collection name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'newColl1', 'title' => ''], ], ], 'responses' => [ @@ -7649,42 +6200,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '44DF7A95-603F-4651-9298-BE1850BEB53F', - ], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '20C1EDFE-6355-4344-B20A-A7A5A1581026', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"44DF7A95-603F-4651-9298-BE1850BEB53F\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>44DF7A95-603F-4651-9298-BE1850BEB53F</RequestId>","errorExample":""}]', - 'title' => 'SaveWechatOpenPlatformConfig', - ], - 'DeleteAntOpenPlatformConfig' => [ - 'summary' => '删除支付宝开放平台配置', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"20C1EDFE-6355-4344-B20A-A7A5A1581026\\"\\n}","type":"json"}]', + 'title' => 'Rename a collection', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:RenameDBCollection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ResetServerSecret' => [ + 'summary' => 'Reset the server key for the API.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -7692,24 +6259,99 @@ [ 'name' => 'SpaceId', 'in' => 'formData', + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '826061c4-5095-4550-8b74-3bcd9af*****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => 'EA770971-A4A0-4555-9E00-C94A2194E150', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EA770971-A4A0-4555-9E00-C94A2194E150\\"\\n}","type":"json"}]', + 'title' => 'Reset Server Key', + 'description' => 'After the reset succeeds, you can invoke the [DescribeSpaceClientConfig](https://help.aliyun.com/document_detail/173420.html) API to query the newly generated server private key. The new key pair takes effect immediately, and the legacy key pair becomes invalid within 10 minutes.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:ResetServerSecret', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'RunDBCommand' => [ + 'summary' => 'Execute a database command.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AppId', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemasA7J3YO'], + 'autoTest' => false, + 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', + ], + 'parameters' => [ + [ + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '201909116717****', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ach41172-adba-4af1-b2e5-63fc5f56a649', 'title' => ''], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'schema' => ['description' => 'The command for the database request, formatted as a JSON string.'."\n" + ."\n" + .'It contains two required fields:'."\n" + ."\n" + .'- command: includes collection operations, index operations, and data operations.'."\n" + ."\n" + .'Collection operation commands:'."\n" + .'- collections: retrieve the list of collections;'."\n" + .'- createCollection: create a collection, requiring the field name, which specifies the name of the collection to be created;'."\n" + ."\n" + .'Index operation commands:'."\n" + .'- listIndexes: retrieve the list of indexes, requiring the field collection;'."\n" + .'- createIndex: create an index, requiring the fields collection, field, and options;'."\n" + .'- dropIndex: delete an index, requiring the field dropIndex;'."\n" + ."\n" + .'Data operation commands:'."\n" + .'- Support commands such as find, insertOne, and replaceOne, which require the fields collection and options. Each command has different options; refer to the developer guide for specific details.'."\n" + ."\n" + .'For example:'."\n" + .'- When the command parameter is find, the field query is required.'."\n" + .'- When the command parameter is replaceOne, the fields filter and doc are required.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"command":"findOne","collection":"test_collection","query":{"name":"tome"}}', 'title' => ''], ], ], 'responses' => [ @@ -7717,70 +6359,199 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2540E86F-2CD4-44AC-A7AB-59CAF40C225D', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'F75E60FA-7583-4E2E-AC14-6C608F89804', 'title' => ''], + 'Result' => ['description' => 'The result returned by the database, formatted as a JSON string.', 'type' => 'string', 'example' => '{"_id":"5d107e5af957c439d505b95b","age":1,"name":"aaaaa","time":1561362071732}', 'title' => ''], + 'AffectedDocs' => ['description' => 'The number of database documents affected by this operation.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2540E86F-2CD4-44AC-A7AB-59CAF40C225D\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>2540E86F-2CD4-44AC-A7AB-59CAF40C225D</RequestId>","errorExample":""}]', - 'title' => 'DeleteAntOpenPlatformConfig', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F75E60FA-7583-4E2E-AC14-6C608F89804\\",\\n \\"Result\\": \\"{\\\\\\"_id\\\\\\":\\\\\\"5d107e5af957c439d505b95b\\\\\\",\\\\\\"age\\\\\\":1,\\\\\\"name\\\\\\":\\\\\\"aaaaa\\\\\\",\\\\\\"time\\\\\\":1561362071732}\\",\\n \\"AffectedDocs\\": 1\\n}","type":"json"}]', + 'title' => 'Execute a database command', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteDingtalkOpenPlatformConfig' => [ - 'summary' => '删除钉钉开放平台配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'extraInfo' => 'This API is relatively complex. The following examples illustrate some usage methods for your reference:'."\n" + ."\n" + .'### Retrieve a collection list '."\n" + .'Input parameters (params): '."\n" + .'```'."\n" + .'{'."\n" + .' "SpaceId": "mp-c68e6766-2bda-4263-916d-****",'."\n" + .' "Body": "{"command":"collections"}"'."\n" + .'}'."\n" + .'``` '."\n" + .'Result (data): '."\n" + .'```'."\n" + .'{'."\n" + .' "AffectedDocs":5,'."\n" + .' "RequestId":"4CFE11BE-536C-58DD-****",'."\n" + .' "Success":true,'."\n" + .' "Result":"["album","photo","test","users","wallpaper"]"'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'### Create a collection '."\n" + .'Input parameters (params): '."\n" + .'```'."\n" + .'{'."\n" + .' "SpaceId": "mp-c68e6766-2bda-4263-916d-****",'."\n" + .' "Body": "{"command":"createCollection", "name":"mytable"}"'."\n" + .'}'."\n" + .'``` '."\n" + .'Result (data): '."\n" + .'```'."\n" + .'{'."\n" + .' "AffectedDocs":1,'."\n" + .' "RequestId":"042ED29A-3148-5133-ABEA-****",'."\n" + .' "Success":true,'."\n" + .' "Result":"["mytable"]"'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'### Create an index '."\n" + ."\n" + .'Create a non-unique compound index on the collection "mytable", sorted by userId in ascending order and userName in descending order.'."\n" + ."\n" + .'Input parameters (params): '."\n" + .'```'."\n" + .'{'."\n" + .' "SpaceId": "mp-c68e6766-2bda-4263-916d-****",'."\n" + .' "Body": "{"command":"createIndex", "collection":"mytable", "field":{"userId":1,"userName":-1}, "options":{"name":"idx-userid-username", "unique":false} }"'."\n" + .'}'."\n" + .'``` '."\n" + .'Result (data): '."\n" + .'```'."\n" + .'{'."\n" + .' "AffectedDocs":0,'."\n" + .' "RequestId":"C67E7C63-EB30-506E-BF28-****",'."\n" + .' "Success":true,'."\n" + .' "Result":"idx-userid-username"'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'### Retrieve an index list '."\n" + .'Input parameters (params): '."\n" + .'```'."\n" + .'{'."\n" + .' "SpaceId": "mp-c68e6766-2bda-4263-916d-****",'."\n" + .' "Body": "{"command":"listIndexes", "collection":"mytable"}"'."\n" + .'}'."\n" + .'``` '."\n" + .'Result (data): '."\n" + .'```'."\n" + .'{'."\n" + .' "AffectedDocs": 2,'."\n" + .' "RequestId": "8B8F315A-FBCA-560E-8C85-****",'."\n" + .' "Success": true,'."\n" + .' "Result": "[{"v":2,"key":{"_id":1},"name":"_id_","ns":"db_ALYEZT****_mp-c68e6766-2bda-4263-916d-****.mytable"},{"v":2,"key":{"userId":1,"userName":-1},"name":"idx-userid-username","ns":"db_ALYEZT****_mp-c68e6766-2bda-4263-916d-****.mytable"}]"'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'### Delete an index '."\n" + .'Input parameters (params): '."\n" + .'```'."\n" + .'{'."\n" + .' "SpaceId": "mp-c68e6766-2bda-4263-916d-****",'."\n" + .' "Body": "{"command":"dropIndex", "collection":"mytable", "indexName":"idx-userid-username"}"'."\n" + .'}'."\n" + .'``` '."\n" + .'Result (data): '."\n" + .'```'."\n" + .'{'."\n" + .' "AffectedDocs": 0,'."\n" + .' "RequestId": "1EE343F7-9DE8-534C-AE12-****",'."\n" + .' "Success": true'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'### Insert a document '."\n" + .'Input parameters (params): '."\n" + .'```'."\n" + .'{'."\n" + .' "SpaceId": "mp-c68e6766-2bda-4263-916d-****",'."\n" + .' "Body": "{"command":"insertOne", "collection":"mytable", "doc":{"userId":1, "userName":"张三"}}"'."\n" + .'}'."\n" + .'``` '."\n" + .'Result (data): '."\n" + .'```'."\n" + .'{'."\n" + .' "AffectedDocs": 1,'."\n" + .' "RequestId": "B1032DBA-51CF-5E47-91C5-****",'."\n" + .' "Success": true,'."\n" + .' "Result": "{"insertedId":"636496e2f43e60aba4939f5f","ok":1,"n":1}"'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'### Query the first ten documents '."\n" + .'Input parameters (params): '."\n" + .'```'."\n" + .'{'."\n" + .' "SpaceId": "mp-c68e6766-2bda-4263-916d-****",'."\n" + .' "Body": "{"command":"find", "collection":"mytable", "query":{}, "options":{"skip":0, "limit":10}}"'."\n" + .'}'."\n" + .'``` '."\n" + .'Result (data): '."\n" + .'```'."\n" + .'{'."\n" + .' "AffectedDocs": 2,'."\n" + .' "RequestId": "AB1F4B1C-F6E6-5E49-AB4B-****",'."\n" + .' "Success": true,'."\n" + .' "Result": "[{"_id":"636496e2f43e60aba4939f5f","userName":"张三","userId":1},{"_id":"636496ef819ce88b66f34b6d","userName":"李四","userId":2}]"'."\n" + .'}'."\n" + .'```', + 'changeSet' => [ + ['createdAt' => '2023-03-16T02:38:07.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3000', 'countWindow' => 10, 'regionId' => '*', 'api' => 'RunDBCommand'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'mpserverless:RunDBCommand', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'RunFunction' => [ + 'summary' => 'Execute a function. Synchronous execution supports a maximum duration of 60 seconds. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'readAndWrite', 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'AppId', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dingoa7pqicyk3x9t*****', - ], + 'schema' => ['description' => 'Service space ID. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ach41172-adba-4af1-b2e5-63fc5f56a649', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'Body', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Formatted as a JSON string. The functionTarget field specifies the function name, and functionArgs contains the parameters passed to the function, also formatted as a JSON string. ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"functionTarget":"test-function","functionArgs":{"a":"aaaa","b":"bbbb","num":100}}', 'title' => ''], ], ], 'responses' => [ @@ -7788,31 +6559,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => 'F75E60FA-7583-4E2E-AC14-6C608F89804', 'title' => ''], + 'Result' => ['description' => 'Data returned by the function, formatted as a JSON string. ', 'type' => 'string', 'example' => '{"name":"tom"}', 'title' => ''], + 'RuntimeMeta' => [ + 'description' => 'Function runtime metadata. ', + 'type' => 'object', + 'properties' => [ + 'InvocationDuration' => ['description' => 'Running time, in milliseconds. ', 'type' => 'integer', 'format' => 'int32', 'example' => '523', 'title' => ''], + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => '980879201561364765437209427735', 'title' => ''], + 'BillingDuration' => ['description' => 'Billing duration, in milliseconds. ', 'type' => 'integer', 'format' => 'int32', 'example' => '600', 'title' => ''], + 'MaxMemoryUsage' => ['description' => 'Memory usage, in MB. ', 'type' => 'integer', 'format' => 'int32', 'example' => '27', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F655A8D5-B967-440B-8683-DAD6FF8DE990</RequestId>","errorExample":""}]', - 'title' => 'DeleteDingtalkOpenPlatformConfig', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F75E60FA-7583-4E2E-AC14-6C608F89804\\",\\n \\"Result\\": \\"{\\\\\\"name\\\\\\":\\\\\\"tom\\\\\\"}\\",\\n \\"RuntimeMeta\\": {\\n \\"InvocationDuration\\": 523,\\n \\"RequestId\\": \\"980879201561364765437209427735\\",\\n \\"BillingDuration\\": 600,\\n \\"MaxMemoryUsage\\": 27\\n }\\n}","type":"json"}]', + 'title' => 'Execute Function ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteWechatOpenPlatformConfig' => [ - 'summary' => '删除微信开放平台配置', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-06-01T07:37:07.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'mpserverless:RunFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'SaveAntOpenPlatformConfig' => [ + 'summary' => 'Save the Alipay Open Platform configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7821,12 +6617,10 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -7834,107 +6628,131 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ 'name' => 'AppId', 'in' => 'formData', + 'schema' => ['description' => 'Miniapp ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '201909116717****', 'maxLength' => 64, 'title' => ''], + ], + [ + 'name' => 'PublicKey', + 'in' => 'formData', + 'schema' => ['description' => 'Public key.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCA', 'title' => ''], + ], + [ + 'name' => 'PrivateKey', + 'in' => 'formData', + 'schema' => ['description' => 'Private key.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSk', 'title' => ''], + ], + [ + 'name' => 'SignMode', + 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Signature mode. Valid values are as follows:'."\n" + .'- PUBLIC_KEY: public key.'."\n" + .'- CERT: public key certificate.', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => '123456', + 'example' => 'CERT', + 'enum' => ['PUBLIC_KEY', 'CERT'], + 'title' => '', ], ], + [ + 'name' => 'AppCert', + 'in' => 'formData', + 'schema' => ['description' => 'Application public key certificate.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE----- MIIEwTCCA6mgAwIBAgIQICAJGbUNoqdPr25qpPU7+ -----END CERTIFICATE-----', 'title' => ''], + ], + [ + 'name' => 'PublicCert', + 'in' => 'formData', + 'schema' => ['description' => 'Alipay public key certificate.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----', 'title' => ''], + ], + [ + 'name' => 'RootCert', + 'in' => 'formData', + 'schema' => ['description' => 'Alipay root certificate.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Content returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '819BE656-D2E0-4858-8B21-B2E477085AAF', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '2540E86F-2CD4-44AC-A7AB-59CAF40C225D', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"819BE656-D2E0-4858-8B21-B2E477085AAF\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>819BE656-D2E0-4858-8B21-B2E477085AAF</RequestId>","errorExample":""}]', - 'title' => 'DeleteWechatOpenPlatformConfig', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2540E86F-2CD4-44AC-A7AB-59CAF40C225D\\"\\n}","type":"json"}]', + 'title' => 'Save the Alipay Open Platform configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateDingtalkOpenPlatformConfig' => [ - 'summary' => '更新钉钉开放平台配置', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:16.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:SaveAntOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'SaveAppAuthToken' => [ + 'summary' => 'Authorizes access in ISV mode.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'AppId', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'dingoa7pqicyk3x9t*****', - 'maxLength' => 128, - ], + 'schema' => ['description' => 'ID of the service space.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '368ef42a-763f-0000-acc2-8aa9564c****', 'title' => ''], ], [ - 'name' => 'AppSecret', + 'name' => 'IsvAppId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO', - 'maxLength' => 400, - ], + 'schema' => ['description' => 'App ID of the ISV.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021002110693xxx', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'AppId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'App ID of the miniapp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021002198669xxx', 'title' => ''], + ], + [ + 'name' => 'AppAuthToken', + 'in' => 'formData', + 'schema' => ['description' => 'Authorization token for the miniapp.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '202111BB576ef688a3564875a75a9babd6XXXXXX', 'title' => ''], ], ], 'responses' => [ @@ -7942,83 +6760,129 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', - ], + 'RequestId' => ['description' => 'ID of the request.', 'type' => 'string', 'example' => 'F340DF8D-7125-49B7-AC48-7F5C8DB382CB', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F655A8D5-B967-440B-8683-DAD6FF8DE990</RequestId>","errorExample":""}]', - 'title' => 'UpdateDingtalkOpenPlatformConfig', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeSpaceClientConfig' => [ - 'summary' => '查询服务空间详情', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Save application authentication token', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:SaveAppAuthToken', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F340DF8D-7125-49B7-AC48-7F5C8DB382CB\\"\\n}","type":"json"}]', + ], + 'SaveCdnDomainConfig' => [ + 'summary' => 'Configure a CDN domain.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasXYAKDO'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ + 'name' => 'TenantId', + 'in' => 'formData', + 'schema' => ['description' => 'The tenant ID.', 'type' => 'string', 'required' => false, 'example' => 'UNIULEH***', 'title' => ''], + ], + [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '226e5213-697c-4a52-b4ff-35a09f8*****', - ], + 'schema' => ['description' => 'The service space ID.', 'type' => 'string', 'required' => true, 'example' => 'mp-03c11beb-****-4d02-bb40-65a7ad224f4d', 'title' => ''], ], [ - 'name' => 'Detail', + 'name' => 'Type', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => '- FILE: Configures cloud storage CDN.'."\n" + ."\n" + .'- WEB: Configures static website hosting CDN.', 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'true', + 'required' => true, + 'enum' => ['FILE', 'WEB'], + 'example' => 'FILE', + 'title' => '', ], ], [ - 'name' => 'WorkspaceId', + 'name' => 'CorsConfig', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '1', - 'example' => '211975XXXX', - ], + 'schema' => ['description' => '- Set cross-domain: \\`{"allowOrigin":"https\\://\\*.example.com", "accessOriginControl": true}\\`.'."\n" + ."\n" + .'- Delete cross-domain:'."\n" + ."\n" + .' - Method 1: \\`{"type":"remove", "configId": "268021436\\*\\*\\*"}\\`.'."\n" + ."\n" + .' - Method 2: \\`{"allowOrigin":"", "configId": "268021436\\*\\*\\*"}\\`.', 'type' => 'string', 'required' => false, 'example' => ' {"allowOrigin":"https://*.example.com", "accessOriginControl": true} ', 'title' => ''], + ], + [ + 'name' => 'RefererConfig', + 'in' => 'formData', + 'schema' => ['description' => '- Set whitelist: \\`{"type":"white", "referList":"example.com", "allowEmpty":"off", "disableAst":"off"}\\`'."\n" + ."\n" + .'- Set blacklist: \\`{"type":"black", "referList":"example.com", "allowEmpty":"off", "disableAst":"off"}\\`'."\n" + ."\n" + .'- Delete configuration: \\`{"type":"remove", "configId": "268021436\\*\\*\\*"}\\`', 'type' => 'string', 'required' => false, 'example' => ' {"type":"white", "referList":"example.com", "allowEmpty":"off", "disableAst":"off"}', 'title' => ''], + ], + [ + 'name' => 'IpConfig', + 'in' => 'formData', + 'schema' => ['description' => '- Set whitelist: \\`{"type":"white", "ipList":"192.168.2.0/24"}\\`'."\n" + ."\n" + .'- Set blacklist: \\`{"type":"black", "ipList":"192.168.2.0/24"}\\`'."\n" + ."\n" + .'- Delete configuration: \\`{"type":"remove", "configId": "268021436\\*\\*\\*"}\\`', 'type' => 'string', 'required' => false, 'example' => ' {"type":"white", "ipList":"192.168.2.0/24"}', 'title' => ''], + ], + [ + 'name' => 'UaConfig', + 'in' => 'formData', + 'schema' => ['description' => '- Set whitelist: \\`{"type":"white", "uaList":"\\*IE\\*|\\*firefox\\*"}\\`'."\n" + ."\n" + .'- Set blacklist: \\`{"type":"black", "uaList":"\\*IE\\*|\\*firefox\\*"}\\`'."\n" + ."\n" + .'- Delete configuration: \\`{"type":"remove", "configId": "268021436\\*\\*\\*"}\\`', 'type' => 'string', 'required' => false, 'example' => ' {"type":"white", "uaList":"*IE*|*firefox*"}', 'title' => ''], + ], + [ + 'name' => 'AuthConfig', + 'in' => 'formData', + 'schema' => ['description' => 'Configure the authentication pattern. This is only valid in FILE pattern. After enabling authentication, complete URL signature calculation using the authentication add signature algorithm to access files. Quickly obtain the signed URL through the service-side \\`file.info\\` API or the control-side \\`ListFile\\` API.'."\n" + ."\n" + .'- Enable authentication pattern, set the default URL validity period to 1800 seconds, and use Type A authentication: \\`{"authType":"type\\_a", "authKey":"hkpyytgrnf", "authDelta":1800}\\`'."\n" + ."\n" + .'- Disable authentication pattern: \\`{"authType":"no\\_auth"}\\`', 'type' => 'string', 'required' => false, 'example' => '{"authType":"type_a", "authKey":"hkpyytgrnf", "authDelta":1800}', 'title' => ''], ], ], 'responses' => [ @@ -8026,72 +6890,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ApiKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0a4gJT0faV*****D4lgQmw==', - ], - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '226e5213-697c-4a52-b4ff-35a09f8*****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EA770971-A4A0-4555-9E00-C94A2194E150', - ], - 'PrivateKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => '-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhki******G9w0BAQE7V0sQaj\\n-----END PRIVATE KEY-----', - ], - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '226e5213-697c-4a52-b4ff-35a09f8*****', - ], - 'FileUploadEndpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cocdsfmb-12266946259*****-file.oss-cn-zhangjiakou.aliyuncs.com', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'myspace', - ], + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => '9B1D280D-F8C8-****-B30F-BDE5A981FDA9', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ApiKey\\": \\"0a4gJT0faV*****D4lgQmw==\\",\\n \\"SpaceId\\": \\"226e5213-697c-4a52-b4ff-35a09f8*****\\",\\n \\"RequestId\\": \\"EA770971-A4A0-4555-9E00-C94A2194E150\\",\\n \\"PrivateKey\\": \\"-----BEGIN PRIVATE KEY-----\\\\\\\\nMIIEvgIBADANBgkqhki******G9w0BAQE7V0sQaj\\\\\\\\n-----END PRIVATE KEY-----\\",\\n \\"Endpoint\\": \\"226e5213-697c-4a52-b4ff-35a09f8*****\\",\\n \\"FileUploadEndpoint\\": \\"cocdsfmb-12266946259*****-file.oss-cn-zhangjiakou.aliyuncs.com\\",\\n \\"Name\\": \\"myspace\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeSpaceClientConfigResponse>\\n <ApiKey>0a4gJT0faV*****D4lgQmw==</ApiKey>\\n <PrivateKey>-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhki******G9w0BAQE7V0sQaj\\n-----END PRIVATE KEY-----</PrivateKey>\\n <RequestId>EA770971-A4A0-4555-9E00-C94A2194E150</RequestId>\\n <SpaceId>226e5213-697c-4a52-b4ff-35a09f8*****</SpaceId>\\n <Name>myspace</Name>\\n <Endpoint>https://api.bspapp.com</Endpoint>\\n <FileUploadEndpoint>cocdsfmb-12266946259*****-file.oss-cn-zhangjiakou.aliyuncs.com</FileUploadEndpoint>\\n</DescribeSpaceClientConfigResponse>","errorExample":""}]', - 'title' => 'DescribeSpaceClientConfig', - ], - 'ListOpenPlatformConfig' => [ - 'summary' => '查询支付宝、微信开放平台配置', - 'methods' => [ - 'post', - 'get', + 'title' => 'Save Alibaba Cloud CDN configuration', + 'requestParamsDescription' => 'To configure a Referer or IP whitelist, you must first manually delete any existing blacklist configurations. To configure a blacklist, you must first manually delete any existing whitelist configurations. UA blacklists and whitelists support overwriting, so manual deletion is not required.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:SaveCdnDomainConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B1D280D-F8C8-****-B30F-BDE5A981FDA9\\"\\n}","type":"json"}]', + ], + 'SaveWebHostingCustomDomainConfig' => [ + 'summary' => 'Save domain configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -8099,135 +6942,86 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'Platform', + 'name' => 'ForceRedirectType', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Force redirect options. '."\n" + .'- HTTPS_FORCE: Force redirect. '."\n" + .'- OFF: Do not redirect (default).', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'example' => 'Alipay', - 'enum' => [ - 'wechat', - 'Wechat', - 'alipay', - 'Alipay', - ], + 'example' => 'HTTPS_FORCE', + 'enum' => ['HTTPS_FORCE', 'OFF'], + 'title' => '', ], ], + [ + 'name' => 'DomainName', + 'in' => 'formData', + 'schema' => ['description' => 'Domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2540E86F-2CD4-44AC-A7AB-59CAF40C225D', - ], - 'SecretList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], - 'AppSecret' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO', - ], - 'PublicCert' => [ - 'description' => '', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----', - ], - 'AppCert' => [ - 'description' => '', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- MIIEwTCCA6mgAwIBAgIQICAJGbUNoqdPr25qpPU7+ -----END CERTIFICATE-----', - ], - 'PrivateKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MIIEvgIBADANBgkqhkiG9w0BAQEFAAS', - ], - 'AppId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '201909116717****', - ], - 'RootCert' => [ - 'description' => '', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----', - ], - 'PublicKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ', - ], - 'Platform' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Alipay', - ], - 'SignMode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CERT', - ], - ], - ], - ], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '828A8808-3FC9-418C-893A-5A708CFABB8E', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2540E86F-2CD4-44AC-A7AB-59CAF40C225D\\",\\n \\"SecretList\\": [\\n {\\n \\"SpaceId\\": \\"0e16bb12-14af-****-b24c-5ac1a9a7bb9f\\",\\n \\"AppSecret\\": \\"1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO\\",\\n \\"PublicCert\\": \\"-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----\\",\\n \\"AppCert\\": \\"-----BEGIN CERTIFICATE----- MIIEwTCCA6mgAwIBAgIQICAJGbUNoqdPr25qpPU7+ -----END CERTIFICATE-----\\",\\n \\"PrivateKey\\": \\"MIIEvgIBADANBgkqhkiG9w0BAQEFAAS\\",\\n \\"AppId\\": \\"201909116717****\\",\\n \\"RootCert\\": \\"-----BEGIN CERTIFICATE----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ -----END CERTIFICATE-----\\",\\n \\"PublicKey\\": \\"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ\\",\\n \\"Platform\\": \\"Alipay\\",\\n \\"SignMode\\": \\"CERT\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListOpenPlatformConfigResponse>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>2540E86F-2CD4-44AC-A7AB-59CAF40C225D</RequestId>\\n <Success>true</Success>\\n <SecretList>\\n <SignMode>PUBLIC_KEY</SignMode>\\n <PublicKey>MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ</PublicKey>\\n <AppId>201909116717****</AppId>\\n <PrivateKey>MIIEvgIBADANBgkqhkiG9w0BAQEFAAS</PrivateKey>\\n <Platform>Alipay</Platform>\\n <SpaceId>0e16bb12-14af-****-b24c-5ac1a9a7bb9f</SpaceId>\\n </SecretList>\\n <Code>OK</Code>\\n</ListOpenPlatformConfigResponse>","errorExample":""}]', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"828A8808-3FC9-418C-893A-5A708CFABB8E\\"\\n}","type":"json"}]', + 'title' => 'Save Domain Configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListDingtalkOpenPlatformConfigs' => [ - 'summary' => '查询钉钉开放平台配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:SaveWebHostingCustomDomainConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'SaveWebHostingCustomDomainCorsConfig' => [ + 'summary' => 'Configure cross-origin settings for a static website.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -8235,13 +7029,38 @@ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'example' => '226e5213-697c-4a52-b4ff-35a09f8*****', 'title' => ''], + ], + [ + 'name' => 'DomainName', + 'in' => 'formData', + 'schema' => ['description' => 'Domain name.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''], + ], + [ + 'name' => 'EnableCors', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable the cross-domain feature. Valid values:'."\n" + .'- true: Enables the cross-domain feature.'."\n" + .'- false: Disables the cross-domain feature.', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'AccessControlAllowOrigin', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies the cross-origin validation rule. The default value is "*". The cross-origin validation rules are as follows:'."\n" + .'- If set to "*", the system returns "Access-Control-Allow-Origin: *" regardless of whether the user\'s request includes an "Origin" parameter or what value the "Origin" parameter carries.'."\n" + .'- If one or more specific values are configured for the Access-Control-Allow-Origin response header (multiple values separated by commas):'."\n" + .' - If the "Origin" value in the request header exactly matches any of the configured values, the corresponding cross-origin header is returned.'."\n" + .' - If no exact match is found, no cross-origin header is returned.'."\n" + .'- If a wildcard domain name is configured, the system validates whether the Origin value in the request header matches the wildcard pattern.', 'type' => 'string', 'required' => false, 'example' => 'https://*.example.com, https://*.example.org', 'title' => ''], + ], + [ + 'name' => 'AccessOriginControl', + 'in' => 'formData', + 'schema' => ['description' => 'When cross-origin verification is enabled, specifies whether to validate the Origin field.'."\n" + .'- true: Returns cross-origin headers only after validation succeeds.'."\n" + .'- false: Does not validate the Origin field and always returns the configured cross-origin headers.'."\n" + ."\n" + .'This parameter is optional and defaults to true. It takes effect only when the cross-domain feature is enabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -8249,60 +7068,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D8A5FF68-2C8A-46D0-A11C-FA034F4F475F', - ], - 'Configs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UpdateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2020-01-17T03:04:46Z', - ], - 'AppSecret' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO', - ], - 'AppId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'dingoa7pqicyk3x9******', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2020-01-17T03:04:46Z', - ], - ], - ], - ], + 'Code' => ['description' => 'Status of the request.'."\n" + .'- success: Succeeded.'."\n" + .'- failed: Failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Message' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'SpaceNotExist', 'title' => ''], + 'HttpStatusCode' => ['description' => 'HTTP status code returned in the response. A value of 200 indicates that the request succeeded.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => '6E2E1770-E9C7-52E9-BF2C-94A0BACFADBE"', 'title' => ''], + 'Success' => ['description' => 'Status of the request.'."\n" + .'- true: Succeeded.'."\n" + .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'Result of the operation.'."\n" + .'- true: The operation succeeded.'."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'description' => 'Schema of Response', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D8A5FF68-2C8A-46D0-A11C-FA034F4F475F\\",\\n \\"Configs\\": [\\n {\\n \\"UpdateTime\\": \\"2020-01-17T03:04:46Z\\",\\n \\"AppSecret\\": \\"1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO\\",\\n \\"AppId\\": \\"dingoa7pqicyk3x9******\\",\\n \\"CreateTime\\": \\"2020-01-17T03:04:46Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D8A5FF68-2C8A-46D0-A11C-FA034F4F475F</RequestId>\\n<HttpStatusCode>200</HttpStatusCode>\\n<Configs>\\n <AppId>dingoa7pqicyk3x9******</AppId>\\n <CreateTime>2020-01-17T03:04:46Z</CreateTime>\\n <UpdateTime>2020-01-17T03:04:46Z</UpdateTime>\\n <AppSecret>1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO</AppSecret>\\n</Configs>\\n<Code>OK</Code>\\n<Success>true</Success>","errorExample":""}]', - 'title' => 'ListDingtalkOpenPlatformConfigs', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"SpaceNotExist\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"6E2E1770-E9C7-52E9-BF2C-94A0BACFADBE\\\\\\"\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'Configure cross-origin settings for a static website', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddCorsDomain' => [ - 'summary' => '为服务空间添加CORS域名', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-06-01T07:37:06.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2021-09-09T12:16:29.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:SaveWebHostingCustomDomainCorsConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'SaveWechatOpenPlatformConfig' => [ + 'summary' => 'Save the WeChat Open Platform configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8314,36 +7128,25 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '*.example.com:*', - 'maxLength' => 253, - 'minLength' => 1, - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'AppId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'mp-0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'WeChat mini program ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123456', 'maxLength' => 64, 'title' => ''], + ], + [ + 'name' => 'AppSecret', + 'in' => 'formData', + 'schema' => ['description' => 'WeChat mini program key.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9w0BAQEFAASCBKgwggSkAgEAAoI', 'maxLength' => 200, 'title' => ''], ], ], 'responses' => [ @@ -8351,32 +7154,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '74374923-6536-46EB-8639-409384EAE980', - ], - 'DomainId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '97e3ff58-01e4-****-b975-1805fec34d77', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '44DF7A95-603F-4651-9298-BE1850BEB53F', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"74374923-6536-46EB-8639-409384EAE980\\",\\n \\"DomainId\\": \\"97e3ff58-01e4-****-b975-1805fec34d77\\"\\n}","errorExample":""},{"type":"xml","example":"<AddCorsDomainResponse>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>74374923-6536-46EB-8639-409384EAE980</RequestId>\\n <DomainId>97e3ff58-01e4-****-b975-1805fec34d77</DomainId>\\n <Success>true</Success>\\n <Code>OK</Code>\\n</AddCorsDomainResponse>","errorExample":""}]', - ], - 'DeleteCorsDomain' => [ - 'summary' => '删除CORS域名', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44DF7A95-603F-4651-9298-BE1850BEB53F\\"\\n}","type":"json"}]', + 'title' => 'Save the WeChat Open Platform configuration', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:15.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:SaveWechatOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UnbindWebHostingCustomDomain' => [ + 'summary' => 'Delete a custom domain name.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8388,34 +7199,20 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'DomainId', + 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '97e3ff58-01e4-****-b975-1805fec34d77', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-4635-b24c-5ac1a9a*****', 'title' => ''], ], [ - 'name' => 'SpaceId', + 'name' => 'CustomDomain', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Custom domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com', 'title' => ''], ], ], 'responses' => [ @@ -8423,59 +7220,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '091A8BC0-8A73-4035-9441-922BF969631D', - ], + 'Data' => ['description' => 'Result of the operation execution.'."\n" + .'- true: Succeeded.'."\n" + .'- false: Failed to Operate.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => 'CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"091A8BC0-8A73-4035-9441-922BF969631D\\"\\n}","errorExample":""},{"type":"xml","example":"<HttpStatusCode>200</HttpStatusCode>\\n<RequestId>091A8BC0-8A73-4035-9441-922BF969631D</RequestId>\\n<Success>true</Success>\\n<Code>OK</Code>","errorExample":""}]', - 'title' => 'DeleteCorsDomain', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"CEF9831B-A6D2-4485-9CAD-1B8FBC8BC6F7\\"\\n}","type":"json"}]', + 'title' => 'Delete a custom domain name', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListCorsDomains' => [ - 'summary' => '查询CORS域名', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:15.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:UnbindWebHostingCustomDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateDingtalkOpenPlatformConfig' => [ + 'summary' => 'Update the DingTalk Open Platform configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasWGZWPL', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ + 'name' => 'AppId', + 'in' => 'formData', + 'schema' => ['description' => 'DingTalk miniapp ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dingoa7pqicyk3x9t*****', 'maxLength' => 128, 'title' => ''], + ], + [ + 'name' => 'AppSecret', + 'in' => 'formData', + 'schema' => ['description' => 'DingTalk miniapp key.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1r0ElNPFqLI6qgY08*******************************9TIK3RN_5fk9SEMO', 'maxLength' => 400, 'title' => ''], + ], + [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], ], ], 'responses' => [ @@ -8483,76 +7296,121 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ED81670E-570A-481C-A50D-6B0EAA823BB1', - ], - 'Domains' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.com', - ], - 'DomainId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '97e3ff58-01e4-****-b975-1805fec34d77', - ], - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ED81670E-570A-481C-A50D-6B0EAA823BB1\\",\\n \\"Domains\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"DomainId\\": \\"97e3ff58-01e4-****-b975-1805fec34d77\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListCorsDomainsResponse>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>ED81670E-570A-481C-A50D-6B0EAA823BB1</RequestId>\\n <Domains>\\n <Domain>test.example.com</Domain>\\n <DomainId>97e3ff58-01e4-****-b975-1805fec34d77</DomainId>\\n </Domains>\\n <Success>true</Success>\\n <Code>OK</Code>\\n</ListCorsDomainsResponse>","errorExample":""}]', - 'title' => 'ListCorsDomains', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\"\\n}","type":"json"}]', + 'title' => 'Update the DingTalk Open Platform configuration', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'QuerySpaceSpecDetail' => [ - 'summary' => '根据套餐规格查询套餐详情', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:15.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateDingtalkOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateFunction' => [ + 'summary' => 'Update a function.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ - 'name' => 'SpecCode', + 'name' => 'Desc', + 'in' => 'formData', + 'schema' => ['description' => 'Function description.', 'type' => 'string', 'required' => false, 'maxLength' => 128, 'example' => 'description', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'Function name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demoFunction', 'title' => ''], + ], + [ + 'name' => 'SpaceId', + 'in' => 'formData', + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dece4ea0-d432-4cfa-8514-8a88d205e2b8', 'title' => ''], + ], + [ + 'name' => 'Memory', + 'in' => 'formData', + 'schema' => ['description' => 'Function memory size. Must be a multiple of 64 MB. Minimum is 128 MB. Maximum is 2048 MB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2048', 'minimum' => '128', 'example' => '256', 'title' => ''], + ], + [ + 'name' => 'Timeout', + 'in' => 'formData', + 'schema' => ['description' => 'Function timeout period in seconds. Default is 5. Valid range is 1 to 7200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '7200', 'minimum' => '1', 'example' => '5', 'title' => ''], + ], + [ + 'name' => 'HttpTriggerPath', + 'in' => 'formData', + 'schema' => ['description' => 'HTTP trigger path. To disable this feature, set this parameter to an empty string. The path must start with /http. It cannot end with /. Paths must be unique within the same service space. Only the following characters are allowed: /, -, `_`, `.`, letters, and digits. Maximum length is 128 characters.', 'type' => 'string', 'required' => false, 'maxLength' => 128, 'example' => '/http/hello', 'title' => ''], + ], + [ + 'name' => 'TimingTriggerConfig', + 'in' => 'formData', + 'schema' => ['description' => 'Scheduled trigger configuration. To disable this feature, set this parameter to an empty string. For configuration rules, see [Use scheduled triggers for functions](https://help.aliyun.com/document_detail/160666.htm).'."\n" + ."\n" + .'> Public preview: cron:0 0 \\*/2 \\* \\* \\*. Commercial edition: 0 0 \\*/2 \\* \\* \\*.', 'type' => 'string', 'required' => false, 'example' => 'cron:0 0 * * * *', 'title' => ''], + ], + [ + 'name' => 'TimingTriggerUserPayload', + 'in' => 'formData', + 'schema' => ['description' => 'Custom input parameter for scheduled tasks.'."\n" + ."\n" + .'> This feature is supported only in the commercial edition.', 'type' => 'string', 'required' => false, 'example' => 'hello', 'title' => ''], + ], + [ + 'name' => 'InstanceConcurrency', + 'in' => 'formData', + 'schema' => ['description' => 'Maximum concurrent invocations per instance. Default is 1. Valid range is 1 to 20. Setting a value greater than 1 reduces cold starts. Use this setting when your function spends most of its time waiting for downstream services. Do not use it if your function has shared state that cannot be accessed concurrently. Also avoid it if a single request consumes large amounts of CPU or memory.'."\n" + ."\n" + .'> - When you set this value to more than 1, memory must be at least 512 MB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '20', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Runtime', 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Function runtime environment. Supported values include nodejs12 and nodejs14. For the full list, see [Supported runtimes](https://help.aliyun.com/document_detail/2717618.html).', + 'enumValueTitles' => ['nodejs14' => 'nodejs14', 'nodejs12' => 'nodejs12', 'nodejs16' => 'nodejs16'], 'type' => 'string', - 'required' => true, - 'example' => 'BASE', + 'required' => false, + 'enum' => ['nodejs8', 'nodejs12', 'nodejs14', 'nodejs16', 'nodejs18', 'nodejs20'], + 'example' => 'nodejs14', + 'title' => '', ], ], ], @@ -8561,344 +7419,172 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20C1EDFE-6355-4344-B20A-A7A5A1581026', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'string', - ], - 'SpecCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BASE', - ], - 'CsCdnTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2147483648', - ], - 'CsDownloadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'CsStorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8589934592', - ], - 'CsUploadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000', - ], - 'DbReadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000', - ], - 'DbStorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2147483648', - ], - 'DbWriteCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30000', - ], - 'FcCost' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '102400000', - ], - 'FcRequestCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '150000', - ], - 'FcTxTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1073741824', - ], - 'WhCdnTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2147483648', - ], - 'WhStorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8589934592', - ], - 'SpecDetailText' => [ - 'description' => '', - 'type' => 'string', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', 'title' => ''], + 'TimingTriggerConfig' => ['description' => 'Scheduled trigger configuration.', 'type' => 'string', 'example' => 'cron:0 0 * * * *', 'title' => ''], + 'TimingTriggerUserPayload' => ['description' => 'Custom input parameter for scheduled tasks. You can access this value in your function code as `ctx.args.userPayload`.', 'type' => 'string', 'example' => '24', 'title' => ''], + 'HttpTriggerPath' => ['description' => 'HTTP trigger path.', 'type' => 'string', 'example' => '/http/hello', 'title' => ''], + 'CreatedAt' => ['description' => 'Function creation time.', 'type' => 'string', 'example' => '2019-06-20T03:22:54.854Z', 'title' => ''], + 'Name' => ['description' => 'Function name.', 'type' => 'string', 'example' => 'demoFunction', 'title' => ''], + 'ModifiedAt' => ['description' => 'Function last modified time.', 'type' => 'string', 'example' => '2019-06-20T03:22:54.854Z', 'title' => ''], + 'Desc' => ['description' => 'Function description.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'Spec' => [ + 'description' => 'Function runtime configuration.', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => 'Timeout period.', 'type' => 'string', 'example' => '5s', 'title' => ''], + 'Runtime' => ['description' => 'Runtime environment.', 'type' => 'string', 'example' => 'Node.js 8', 'title' => ''], + 'InstanceConcurrency' => ['description' => 'Maximum concurrent invocations per instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Memory' => ['description' => 'Memory size.', 'type' => 'string', 'example' => '128 MB', 'title' => ''], + ], + 'title' => '', 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"20C1EDFE-6355-4344-B20A-A7A5A1581026\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"SpecCode\\": \\"BASE\\",\\n \\"CsCdnTraffic\\": 2147483648,\\n \\"CsDownloadCount\\": 100000,\\n \\"CsStorageSize\\": 8589934592,\\n \\"CsUploadCount\\": 50000,\\n \\"DbReadCount\\": 50000,\\n \\"DbStorageSize\\": 2147483648,\\n \\"DbWriteCount\\": 30000,\\n \\"FcCost\\": 102400000,\\n \\"FcRequestCount\\": 150000,\\n \\"FcTxTraffic\\": 1073741824,\\n \\"WhCdnTraffic\\": 2147483648,\\n \\"WhStorageSize\\": 8589934592,\\n \\"SpecDetailText\\": \\"云函数:\\\\\\\\\\\\\\\\n 资源使用量 1万 GBs/月\\\\\\\\\\\\\\\\n调用次数 15 万次/月\\\\\\\\\\\\\\\\n出网流量 1 GB/月\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\br云数据库:\\\\\\\\\\\\\\\\n容量 2 GB\\\\\\\\\\\\\\\\n读操作 5 万次/天\\\\\\\\\\\\\\\\n写操作 3 万次/天\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\br云存储:\\\\\\\\\\\\\\\\n容量 8 GB\\\\\\\\\\\\\\\\n下载操作次数 10 万次/月\\\\\\\\\\\\\\\\n上传操作次数 5 万次/月\\\\\\\\\\\\\\\\nCDN流量 2 GB/月\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\br静态网站托管:\\\\\\\\\\\\\\\\n 容量 8 GB\\\\\\\\\\\\\\\\nCDN流量 2 GB/月\\\\\\"\\"\\n}","type":"json"}]', - ], - 'QuerySpaceUsage' => [ - 'summary' => '查询服务空间资源用量详情', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Update function information', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-04-02T09:48:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-04-02T09:39:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-19T09:17:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-07-12T05:53:12.000Z', 'description' => 'Request parameters changed, Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"TimingTriggerConfig\\": \\"cron:0 0 * * * *\\",\\n \\"TimingTriggerUserPayload\\": \\"24\\",\\n \\"HttpTriggerPath\\": \\"/http/hello\\",\\n \\"CreatedAt\\": \\"2019-06-20T03:22:54.854Z\\",\\n \\"Name\\": \\"demoFunction\\",\\n \\"ModifiedAt\\": \\"2019-06-20T03:22:54.854Z\\",\\n \\"Desc\\": \\"description\\",\\n \\"Spec\\": {\\n \\"Timeout\\": \\"5s\\",\\n \\"Runtime\\": \\"Node.js 8\\",\\n \\"InstanceConcurrency\\": 1,\\n \\"Memory\\": \\"128 MB\\"\\n }\\n}","type":"json"}]', + ], + 'UpdateHttpTriggerConfig' => [ + 'summary' => 'Updates the HTTP trigger configuration for a cloud function.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasWGZWPL'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ + 'name' => 'EnableService', + 'in' => 'formData', + 'schema' => ['description' => 'Sets whether to enable the HTTP trigger feature. Values:'."\n" + ."\n" + .'- **true**: Enables the HTTP trigger feature.'."\n" + ."\n" + .'- **false**: Disables the HTTP trigger feature.', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true', 'title' => ''], + ], + [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mp-fd37e37e-b436-4a7a-****-58c89ce3586d', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '34C45988-2B24-****-A4DC-4D6C952890D8', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'CustomDomain', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2022-06-17T16:00:00Z', - ], + 'schema' => ['description' => 'Custom domain name. If you do not pass this field, the custom domain name is not updated. If you set it to an empty string, the custom domain name is deleted.'."\n" + ."\n" + .'Before binding a custom domain name, your domain name must have an Alibaba Cloud ICP filing and a CNAME record configured to CustomDomainCname.', 'type' => 'string', 'required' => false, 'maxLength' => 253, 'example' => 'abc.xxx.com', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'CustomDomainCertificate', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '2022-06-18T16:00:00Z', - ], + 'schema' => ['description' => 'The HTTPS certificate for the custom domain name. Use this with CustomDomainPrivateKey. If you do not pass these two fields, the certificate is not updated. If you pass empty strings for both, the certificate is deleted.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE----- MIIFK****GCSqGSIb3DQEBCwUA= -----END CERTIFICATE-----', 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'CustomDomainPrivateKey', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'schema' => ['description' => 'The private key for the custom domain name\'s HTTPS certificate. Use this with CustomDomainCertificate. If you do not pass these two fields, the certificate is not updated. If you pass empty strings for both, the certificate is deleted.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN PRIVATE KEY----- MIIEwA******DmUwVD0M74ECwZw= -----END PRIVATE KEY-----', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mp-23c7c857-****-4512-bab0-3dbf986e7576', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2022-06-17T16:00:00Z', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2022-06-18T16:00:00Z', - ], - 'SpaceUsageDataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Timestamp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2022-06-17T16:00:00Z', - ], - 'FcUsage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Cost' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '35645000', - ], - 'RequestCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12451', - ], - 'TxTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '124521635', - ], - ], - ], - 'DbUsage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2542108', - ], - 'ReadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5685123', - ], - 'WriteCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '241500', - ], - ], - ], - 'CsUsage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4024575081', - ], - 'DownloadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45668113', - ], - 'UploadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2352', - ], - 'CdnTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '94134230', - ], - ], - ], - 'WhUsage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '226230160', - ], - 'CdnTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5644311', - ], - ], - ], - 'EffectiveBillFlag' => [ - 'description' => '标记该数据是否出账。'."\n" - .'- true:正常出账。'."\n" - .'- false:不出账,例如在空间停服的情况下,用量数据不用于出账。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], + 'EnableService' => ['description' => 'Indicates whether the HTTP trigger feature is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CustomDomainCname' => ['description' => 'The CNAME address of the custom domain name bound to the HTTP trigger.', 'type' => 'string', 'example' => '724d************795a2.custom.bspapp.com', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '34C45988-2B24-****-A4DC-4D6C952890D8', 'title' => ''], + 'DefaultEndpoint' => ['description' => 'The default domain name for the HTTP trigger.', 'type' => 'string', 'example' => '724dade5-492f-426b-a5df-ff****0795a2.bspapp.com', 'title' => ''], + 'CustomDomainCertificateInfo' => ['description' => 'The certificate information for the custom domain name bound to the HTTP trigger.', 'type' => 'string', 'example' => '{"notAfter":"2021-09-28T08:21:42Z","notBefore":"2021-06-30T08:21:43Z","subject":"CN=*.example.com"}', 'title' => ''], + 'CustomDomain' => ['description' => 'The custom domain name bound to the HTTP trigger.', 'type' => 'string', 'example' => 'abc.example.com', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A9FB71D5-2C06-5810-A5FA-B88E45FE****\\",\\n \\"SpaceId\\": \\"mp-23c7c857-****-4512-bab0-3dbf986e7576\\",\\n \\"StartTime\\": \\"2022-06-17T16:00:00Z\\",\\n \\"EndTime\\": \\"2022-06-18T16:00:00Z\\",\\n \\"SpaceUsageDataList\\": [\\n {\\n \\"Timestamp\\": \\"2022-06-17T16:00:00Z\\",\\n \\"FcUsage\\": {\\n \\"Cost\\": 35645000,\\n \\"RequestCount\\": 12451,\\n \\"TxTraffic\\": 124521635\\n },\\n \\"DbUsage\\": {\\n \\"StorageSize\\": 2542108,\\n \\"ReadCount\\": 5685123,\\n \\"WriteCount\\": 241500\\n },\\n \\"CsUsage\\": {\\n \\"StorageSize\\": 4024575081,\\n \\"DownloadCount\\": 45668113,\\n \\"UploadCount\\": 2352,\\n \\"CdnTraffic\\": 94134230\\n },\\n \\"WhUsage\\": {\\n \\"StorageSize\\": 226230160,\\n \\"CdnTraffic\\": 5644311\\n },\\n \\"EffectiveBillFlag\\": true\\n }\\n ]\\n}","type":"json"}]', - ], - 'QuerySpaceConsumption' => [ - 'summary' => '查询空间当月用量', - 'methods' => [ - 'post', - 'get', + 'title' => 'Update the HTTP trigger configuration of a cloud function', + 'description' => 'Enable the HTTP trigger feature. The system assigns a default domain name to Spaces that have the HTTP trigger feature enabled. Then, you can set a trigger path for the cloud function using the UpdateFunction API. Afterward, you can trigger function invocation with HTTP requests. To use the HTTP trigger feature with your own domain name, bind a custom domain name. Your custom domain name must have an Alibaba Cloud ICP filing. Also bind an HTTPS certificate to your custom domain name. You can then access the function using the HTTPS protocol and your custom domain name.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:14.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateHttpTriggerConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EnableService\\": true,\\n \\"CustomDomainCname\\": \\"724d************795a2.custom.bspapp.com\\",\\n \\"RequestId\\": \\"34C45988-2B24-****-A4DC-4D6C952890D8\\",\\n \\"DefaultEndpoint\\": \\"724dade5-492f-426b-a5df-ff****0795a2.bspapp.com\\",\\n \\"CustomDomainCertificateInfo\\": \\"{\\\\\\"notAfter\\\\\\":\\\\\\"2021-09-28T08:21:42Z\\\\\\",\\\\\\"notBefore\\\\\\":\\\\\\"2021-06-30T08:21:43Z\\\\\\",\\\\\\"subject\\\\\\":\\\\\\"CN=*.example.com\\\\\\"}\\",\\n \\"CustomDomain\\": \\"abc.example.com\\"\\n}","type":"json"}]', + ], + 'UpdateServicePolicy' => [ + 'summary' => 'Update permissions.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -8906,11 +7592,49 @@ [ 'name' => 'SpaceId', 'in' => 'formData', + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], + ], + [ + 'name' => 'ServiceName', + 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Service Name. Valid values:'."\n" + .' - db'."\n" + .' - file', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'db', + 'enum' => ['db', 'file'], + 'title' => '', + ], + ], + [ + 'name' => 'Policy', + 'in' => 'formData', + 'schema' => ['description' => 'Permission rule. Required when **PolicyName** is **EXTENDED**.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '{\\".write\\":false,\\".read\\":true}', 'title' => ''], + ], + [ + 'name' => 'CollectionName', + 'in' => 'formData', + 'schema' => ['description' => 'Collection Name. Required when **ServiceName** is **db**.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'PolicyName', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Policy Name. Required when **ServiceName** is **db**. Valid values:'."\n" + .'- PUBLICREAD: All users can read; only the creator and administrator can write. Scenarios: user comments, public information, etc.'."\n" + .'- PRIVATE: Only the creator and administrator can read and write. Scenarios: Product information, etc.'."\n" + .'- ADMINWRITEONLY: All users can read; only administrators can write. Scenarios: Product information, etc.'."\n" + .'- ADMINREADWRITEONLY: Only administrators can read and write. Scenarios: Backend data streams, logs, etc.'."\n" + .'- EXTENDED: Custom security rule.', 'type' => 'string', 'required' => false, - 'example' => 'mp-95865273-9b1f-496d-****-cb88fa4d66a2', + 'docRequired' => false, + 'example' => 'EXTENDED', + 'enum' => ['PUBLICREAD', 'PRIVATE', 'ADMINWRITEONLY', 'ADMINREADWRITEONLY', 'EXTENDED'], + 'title' => '', ], ], ], @@ -8919,164 +7643,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F16FEFE8-4E57-5795-BE7B-2D29F0C61B8C', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'SpaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mp-26fe89b6-****-4a90-b332-b424ce9651e6', - ], - 'SpecCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BASE', - ], - 'FcUsage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Cost' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RequestCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'TxTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'DbUsage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ReadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'WriteCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'CsUsage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'DownloadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'UploadCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'CdnTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'WhUsage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StorageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'CdnTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'CycleStartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1664467200', - ], - 'CycleEndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1667059200', - ], + 'SpaceId' => ['description' => 'Service Space ID.', 'type' => 'string', 'example' => '0e16bb12-14af-****-b24c-5ac1a9a7bb9f', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '8932780D-9AF2-4E50-844C-13A1250918EE', 'title' => ''], + 'Policy' => ['description' => 'Policy.', 'type' => 'string', 'example' => '{\\".write\\":false,\\".read\\":true}', 'title' => ''], + 'PolicyName' => ['description' => 'Policy Name.', 'type' => 'string', 'example' => 'EXTENDED', 'title' => ''], + 'ServiceName' => ['description' => 'Service Name.', 'type' => 'string', 'example' => 'db', 'title' => ''], + 'CollectionName' => ['description' => 'Collection Name.', 'type' => 'string', 'example' => 'test', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F16FEFE8-4E57-5795-BE7B-2D29F0C61B8C\\",\\n \\"GmtCreate\\": \\"0\\",\\n \\"SpaceId\\": \\"mp-26fe89b6-****-4a90-b332-b424ce9651e6\\",\\n \\"SpecCode\\": \\"BASE\\",\\n \\"FcUsage\\": {\\n \\"Cost\\": 0,\\n \\"RequestCount\\": 0,\\n \\"TxTraffic\\": 0\\n },\\n \\"DbUsage\\": {\\n \\"StorageSize\\": 0,\\n \\"ReadCount\\": 0,\\n \\"WriteCount\\": 0\\n },\\n \\"CsUsage\\": {\\n \\"StorageSize\\": 0,\\n \\"DownloadCount\\": 0,\\n \\"UploadCount\\": 0,\\n \\"CdnTraffic\\": 0\\n },\\n \\"WhUsage\\": {\\n \\"StorageSize\\": 0,\\n \\"CdnTraffic\\": 0\\n },\\n \\"CycleStartTime\\": 1664467200,\\n \\"CycleEndTime\\": 1667059200\\n}","type":"json"}]', - ], - 'DescribeResourceQuota' => [ - 'summary' => '查询服务空间资源的阈值', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SpaceId\\": \\"0e16bb12-14af-****-b24c-5ac1a9a7bb9f\\",\\n \\"RequestId\\": \\"8932780D-9AF2-4E50-844C-13A1250918EE\\",\\n \\"Policy\\": \\"{\\\\\\\\\\\\\\".write\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\".read\\\\\\\\\\\\\\":true}\\",\\n \\"PolicyName\\": \\"EXTENDED\\",\\n \\"ServiceName\\": \\"db\\",\\n \\"CollectionName\\": \\"test\\"\\n}","type":"json"}]', + 'title' => 'Update permissions', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-02-27T12:18:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateServicePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateSpace' => [ + 'summary' => 'Update a service space.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasY2CCBF'], 'autoTest' => false, 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], @@ -9084,12 +7704,25 @@ [ 'name' => 'SpaceId', 'in' => 'formData', + 'schema' => ['description' => 'Service space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '826061c4-5095-4550-8b74-3bcd9af*****', 'title' => ''], + ], + [ + 'name' => 'Desc', + 'in' => 'formData', + 'schema' => ['description' => 'Description of the service space.', 'type' => 'string', 'required' => false, 'example' => '我的第一个服务空间。', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'formData', 'schema' => [ - 'description' => '', + 'description' => 'Service status. Valid values:'."\n" + .'- IN_SERVICE: in service.'."\n" + .'- PAUSED: pause.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '226e5213-697c-****-b4ff-35a09f8a52de', + 'required' => false, + 'example' => 'IN_SERVICE', + 'enum' => ['IN_SERVICE', 'PAUSED'], + 'title' => '', ], ], ], @@ -9098,113 +7731,79 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', - ], - 'StaticWebDataSizeQuota' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '2', - ], - 'CloudStorageDataSizeQuota' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], + 'RequestId' => ['description' => 'Unique request ID.', 'type' => 'string', 'example' => 'EA770971-A4A0-4555-9E00-C94A2194E150', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"StaticWebDataSizeQuota\\": 2,\\n \\"CloudStorageDataSizeQuota\\": 10\\n}","errorExample":""},{"type":"xml","example":"<DescribeResourceQuotaResponse>\\n <RequestId>C293BB03-B6AD-46C2-80D1-19C8FB573916</RequestId>\\n <StaticWebDataSizeQuota>2</StaticWebDataSizeQuota>\\n <CloudStorageDataSizeQuota>10</CloudStorageDataSizeQuota>\\n</DescribeResourceQuotaResponse>","errorExample":""}]', - 'title' => 'DescribeResourceQuota', - ], - 'DescribeResourceUsage' => [ - 'summary' => '获取指定时间段的资源用量', - 'methods' => [ - 'get', - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EA770971-A4A0-4555-9E00-C94A2194E150\\"\\n}","type":"json"}]', + 'title' => 'Update a service space', + 'description' => 'You can update the description of a service space and also update its service status. When the service status is set to PAUSED (service paused), the data plane—which includes miniapp access to the service space and static website hosting—no longer provides service, while the control plane—accessed via OpenAPI or the console—continues to operate normally.'."\n" + ."\n" + .'> After successfully updating the service space status, it may take some time for the new status to take full effect, with a maximum delay of 10 minutes.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateSpace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'VerifyWebHostingDomainOwner' => [ + 'summary' => 'Authenticate the owner of the web host domain name.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasY2CCBF', - ], + 'abilityTreeNodes' => ['FEATUREemasU3GTV3'], 'autoTest' => false, + 'notSupportAutoTestReason' => '资源无法自动创建,已沟通加白', ], 'parameters' => [ [ 'name' => 'SpaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '226e5213-697c-****-b4ff-35a09f8a52de', - ], + 'schema' => ['description' => 'Service Space ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '226e5213-697c-****-b4ff-35a09f8a52de', 'title' => ''], ], [ - 'name' => 'PageNumber', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'Domain', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '100', - 'default' => '30', - ], + 'schema' => ['description' => 'Domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'VerifyType', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2021-10-01T00:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2021-10-02T00:00:00Z', - ], + 'schema' => ['description' => 'DNS validation method.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dnsCheck', 'title' => ''], ], ], 'responses' => [ @@ -9212,189 +7811,1460 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'success', - ], - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SpaceNotExist', - ], - 'HttpStatusCode' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C293BB03-B6AD-46C2-80D1-19C8FB573916', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2021-10-01T15:00:00Z', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2021-10-01T16:00:00Z', - ], - 'CloudStorage' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DataSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Traffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Upload' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Download' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'CloudDB' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DataSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Write' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Read' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'CloudFunction' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Compute' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Count' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Traffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'StaticWeb' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DataSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Traffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - ], - ], - 'Paginator' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PageCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'PageNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '255', - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '74374923-6536-46EB-8639-409384EAE980', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'AccessDenied', 'errorMessage' => 'You are not authorized to access this space.', 'description' => 'You are not authorized to access the specified workspace.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"74374923-6536-46EB-8639-409384EAE980\\"\\n}","type":"json"}]', + 'title' => 'Authenticate the owner of the web host domain name', + 'changeSet' => [ + ['createdAt' => '2021-12-14T06:46:51.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:VerifyWebHostingDomainOwner', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"SpaceNotExist\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"RequestId\\": \\"C293BB03-B6AD-46C2-80D1-19C8FB573916\\",\\n \\"Success\\": true,\\n \\"DataList\\": [\\n {\\n \\"StartTime\\": \\"2021-10-01T15:00:00Z\\",\\n \\"EndTime\\": \\"2021-10-01T16:00:00Z\\",\\n \\"CloudStorage\\": {\\n \\"DataSize\\": 0,\\n \\"Traffic\\": 0,\\n \\"Upload\\": 0,\\n \\"Download\\": 0\\n },\\n \\"CloudDB\\": {\\n \\"DataSize\\": 0,\\n \\"Write\\": 0,\\n \\"Read\\": 0\\n },\\n \\"CloudFunction\\": {\\n \\"Compute\\": 0,\\n \\"Count\\": 0,\\n \\"Traffic\\": 0\\n },\\n \\"StaticWeb\\": {\\n \\"DataSize\\": 0,\\n \\"Traffic\\": 0\\n }\\n }\\n ],\\n \\"Paginator\\": {\\n \\"PageCount\\": 3,\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 100,\\n \\"Total\\": 255\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeResourceUsageResponse>\\n <Code>success</Code>\\n <Message>SpaceNotExist</Message>\\n <HttpStatusCode>200</HttpStatusCode>\\n <RequestId>C293BB03-B6AD-46C2-80D1-19C8FB573916</RequestId>\\n <Success>true</Success>\\n <DataList>\\n <StartTime>2021-10-01T15:00:00Z</StartTime>\\n <EndTime>2021-10-01T16:00:00Z</EndTime>\\n <CloudStorage>\\n <DataSize>0</DataSize>\\n <Traffic>0</Traffic>\\n <Upload>0</Upload>\\n <Download>0</Download>\\n </CloudStorage>\\n <CloudDB>\\n <DataSize>0</DataSize>\\n <Write>0</Write>\\n <Read>0</Read>\\n </CloudDB>\\n <CloudFunction>\\n <Compute>0</Compute>\\n <Count>0</Count>\\n <Traffic>0</Traffic>\\n </CloudFunction>\\n <StaticWeb>\\n <DataSize>0</DataSize>\\n <Traffic>0</Traffic>\\n </StaticWeb>\\n </DataList>\\n <Paginator>\\n <PageCount>3</PageCount>\\n <PageNum>1</PageNum>\\n <PageSize>100</PageSize>\\n <Total>255</Total>\\n </Paginator>\\n</DescribeResourceUsageResponse>","errorExample":""}]', ], ], 'endpoints' => [ + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'mpserverless.aliyuncs.com', 'endpoint' => 'mpserverless.aliyuncs.com', 'vpc' => 'mpserverless-vpc.cn-shanghai.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'AccessDenied', 'message' => 'You are not authorized to access this space.', 'http_code' => 400, 'description' => 'You are not authorized to access the specified workspace.'], + ['code' => 'AccountDisabled', 'message' => 'Your account does not open Serverless yet.', 'http_code' => 400, 'description' => 'Serverless is not activated for your account.'], + ['code' => 'AccountInDept', 'message' => 'Your account is in dept.', 'http_code' => 400, 'description' => 'Your account has overdue payments.'], + ['code' => 'AccountNotSupported', 'message' => 'Your account is not supported to perform this action.', 'http_code' => 400, 'description' => 'You are not authorized to perform this operation.'], + ['code' => 'AccountProhibited', 'message' => 'Your account is prohibited.', 'http_code' => 400, 'description' => 'Your account is prohibited.'], + ['code' => 'ApiCallTimesLimit', 'message' => 'This API(%s) is only allowed to be called %d times per %s.', 'http_code' => 400, 'description' => 'The limit on the number of called operations is reached.'], + ['code' => 'BadParameter.BadNewCollections', 'message' => 'The specified new collection names are invalid. Please check the naming rule.', 'http_code' => 400, 'description' => 'The specified new collection name is invalid. Please check the naming rules.'], + ['code' => 'BadParameter.BadOriginCollections', 'message' => 'The specified origin collection names are invalid. Please check the naming rule.', 'http_code' => 400, 'description' => 'The specified original collection name is invalid. Please check the naming rules.'], + ['code' => 'BadParameter.BadPolicy', 'message' => 'The specified policy is not valid JSON.', 'http_code' => 400, 'description' => 'The specified JSON policy is invalid.'], + ['code' => 'BadParameter.SizeNotMatch', 'message' => 'The size of origin collections does not match that of new collections', 'http_code' => 400, 'description' => 'The size of the original collection does not match that of the new collection.'], + ['code' => 'CollectionCountLimited', 'message' => 'You have created the maximum number of collections', 'http_code' => 400, 'description' => 'The maximum number of collections that can be created is reached.'], + ['code' => 'DbDataSizeLimited', 'message' => 'The database capacity has reached the upper limit.', 'http_code' => 400, 'description' => 'The maximum database capacity is reached.'], + ['code' => 'DeploymentAccessDenied', 'message' => 'You are not authorized to access this deployment.', 'http_code' => 400, 'description' => 'You are not authorized to access this deployment.'], + ['code' => 'DomainAlreadyExist', 'message' => 'The domain name has already been added.', 'http_code' => 400, 'description' => 'The specified domain name has already been added.'], + ['code' => 'DomainCannotDeleteWhenBusy', 'message' => 'Domain cannot be deleted when configuring.', 'http_code' => 400, 'description' => 'You cannot delete domain names during configuration.'], + ['code' => 'DomainNotFound', 'message' => 'The domain name was not found.', 'http_code' => 400, 'description' => 'The specified domain name is not found.'], + ['code' => 'DomainNotRegistration', 'message' => 'Domain name not registered.', 'http_code' => 400, 'description' => 'The specified domain name is not registered.'], + ['code' => 'DomainOwnerVerifyFail', 'message' => 'Domain attribution verification failed.', 'http_code' => 400, 'description' => 'The domain owner verification failed.'], + ['code' => 'IllegalOperationDomain', 'message' => 'No permission to operate this domain.', 'http_code' => 400, 'description' => 'You are not authorized to manage the specified domain name.'], + ['code' => 'IndexCountLimited', 'message' => 'You have created the maximum number of indexes', 'http_code' => 400, 'description' => 'The maximum number of indexes that can be created is reached.'], + ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => 'An error occurred while processing your request.'], + ['code' => 'InvalidAlipayRSAConfig.NotFound', 'message' => 'The specified space alipay RSA config does not exist.', 'http_code' => 400, 'description' => 'The specified Alipay RSA configuration of the workspace does not exist.'], + ['code' => 'InvalidAllowedIps', 'message' => 'Specified parameter AllowedIps is not valid.', 'http_code' => 400, 'description' => 'The specified AllowedIps parameter is invalid.'], + ['code' => 'InvalidBody', 'message' => 'Specified parameter Body is not valid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'InvalidCollection', 'message' => 'Specified parameter Collection is not valid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'InvalidCollection.AlreadyExists', 'message' => 'The specified collection already exists.', 'http_code' => 400, 'description' => 'The specified collection already exists.'], + ['code' => 'InvalidCollection.NotFound', 'message' => 'The specified collection does not exist.', 'http_code' => 400, 'description' => 'The specified collection does not exist.'], + ['code' => 'InvalidCommand', 'message' => 'Specified parameter Command is not valid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'InvalidCustomDomain', 'message' => 'Specified parameter CustomDomain is not valid.', 'http_code' => 400, 'description' => 'The specified CustomDomain parameter is invalid.'], + ['code' => 'InvalidCustomDomain.Exists', 'message' => 'Specified CustomDomain already exists.', 'http_code' => 400, 'description' => 'The specified CustomDomain parameter already exists.'], + ['code' => 'InvalidCustomDomainCertificate', 'message' => 'Specified parameter CustomDomainCertificate is not valid.', 'http_code' => 400, 'description' => 'The specified CustomDomainCertificate parameter is invalid.'], + ['code' => 'InvalidCustomDomainCertificate.Expired', 'message' => 'Specified CustomDomainCertificate is expired.', 'http_code' => 400, 'description' => 'The specified CustomDomainCertificate parameter already expired.'], + ['code' => 'InvalidCustomDomainCertificate.NotMatch', 'message' => 'Specified CustomDomainCertificate does not match the domain.', 'http_code' => 400, 'description' => 'The specified CustomDomainCertificate parameter does not match the domain.'], + ['code' => 'InvalidCustomDomainNotResolved', 'message' => 'Specified CustomDomain has not been resolved to CustomDomainCname.', 'http_code' => 400, 'description' => 'The specified CustomDomain parameter has not been resolved to CustomDomainCname.'], + ['code' => 'InvalidCustomDomainPrivateKey', 'message' => 'Specified CustomDomainPrivateKey is not valid.', 'http_code' => 400, 'description' => 'The specified CustomDomainPrivateKey parameter is invalid.'], + ['code' => 'InvalidCustomDomainPrivateKey.NotMatch', 'message' => 'Specified CustomDomainPrivateKey does not match the certificate.', 'http_code' => 400, 'description' => 'The specified CustomDomainPrivateKey parameter does not match the certificate.'], + ['code' => 'InvalidDeploymentId.NotFound', 'message' => 'The specified DeploymentId does not exist.', 'http_code' => 400, 'description' => 'The specified DeploymentId parameter is invalid.'], + ['code' => 'InvalidDeploymentId.NotUploaded', 'message' => 'The code package of specified DeploymentId has not been uploaded.', 'http_code' => 400, 'description' => 'The code package specified with the DeploymentId parameter has not been uploaded.'], + ['code' => 'InvalidDingtalkSecretConfig.AlreadyExists', 'message' => 'The specified Dingtalk Secret Config already exists.', 'http_code' => 400, 'description' => 'The specified DingTalk secret configuration of the workspace already exists.'], + ['code' => 'InvalidDingtalkSecretConfig.NotFound', 'message' => 'The specified space dingtalk secret config does not exist.', 'http_code' => 400, 'description' => 'The specified DingTalk secret configuration of the workspace does not exist.'], + ['code' => 'InvalidDomain.AlreadyExists', 'message' => 'The specified cors domain already exists.', 'http_code' => 400, 'description' => 'The specified cors domain already exists. '], + ['code' => 'InvalidDomain.Malformed', 'message' => 'Domain name format error.', 'http_code' => 400, 'description' => 'The specified domain name is invalid.'], + ['code' => 'InvalidDomainId.NotFound', 'message' => 'The specified cors domain does not exist.', 'http_code' => 400, 'description' => 'The specified cors domain does not exist. '], + ['code' => 'InvalidExtensionId.NotFound', 'message' => 'The specified ExtensionId does not exist.', 'http_code' => 400, 'description' => 'The specified ExtensionId parameter does not exist.'], + ['code' => 'InvalidField', 'message' => 'Specified parameter Field is not valid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'InvalidFunctionName.AlreadyExists', 'message' => 'The specified function name already exists.', 'http_code' => 400, 'description' => 'The specified function name already exists.'], + ['code' => 'InvalidFunctionName.ExcessLimit', 'message' => 'The number of function excesses limit of {}', 'http_code' => 400, 'description' => 'The number of functions cannot exceed {}.'], + ['code' => 'InvalidFunctionName.NotFound', 'message' => 'The specified function name does not exist.', 'http_code' => 400, 'description' => 'The specified function name does not exist.'], + ['code' => 'InvalidFunctionNotDeployed', 'message' => 'Specified function has not been deployed.', 'http_code' => 400, 'description' => 'The specified function has not been deployed.'], + ['code' => 'InvalidHistoryModePath', 'message' => 'Specified parameter HistoryModePath must start with /.', 'http_code' => 400, 'description' => 'The specified HistoryModePath parameter must start with /.'], + ['code' => 'InvalidHttpTriggerPath', 'message' => 'Specified parameter HttpTriggerPath is not valid.', 'http_code' => 400, 'description' => 'The specified HttpTriggerPath parameter is invalid.'], + ['code' => 'InvalidHttpTriggerPath.Exists', 'message' => 'Specified HttpTriggerPath already exists.', 'http_code' => 400, 'description' => 'The specified HttpTriggerPath parameter already exists.'], + ['code' => 'InvalidICPLicense', 'message' => 'Specified CustomDomain has not got ICP license, or the ICP license does not belong to Aliyun.', 'http_code' => 400, 'description' => 'The ICP license specified with the CustomDomain parameter is invalid or not found.'], + ['code' => 'InvalidIndex.DuplicateKey', 'message' => 'Invalid Index DuplicateKey', 'http_code' => 400, 'description' => 'The specified primary key is duplicated.'], + ['code' => 'InvalidIndexName', 'message' => 'Specified parameter IndexName is not valid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'InvalidIndexPath', 'message' => 'Specified parameter IndexPath is not valid.', 'http_code' => 400, 'description' => 'The specified IndexPath parameter is invalid.'], + ['code' => 'InvalidLogRequestId', 'message' => 'Specified parameter LogRequestId is not valid.', 'http_code' => 400, 'description' => 'The specified LogRequestId parameter is invalid.'], + ['code' => 'InvalidMemory', 'message' => 'Specified parameter Memory is not valid.', 'http_code' => 400, 'description' => 'The specified Memory parameter is invalid.'], + ['code' => 'InvalidName', 'message' => 'Specified parameter Name is not valid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'InvalidOptions', 'message' => 'Specified parameter Options is not valid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'InvalidParameter.BadFunctionName', 'message' => 'The specified function name is invalid. Please check the naming rule.', 'http_code' => 400, 'description' => 'The specified function name is invalid. Please check the naming rules.'], + ['code' => 'InvalidParameter.BadSpaceName', 'message' => 'The specified space name is invalid. Please check the naming rule.', 'http_code' => 400, 'description' => 'The specified workspace name is invalid.'], + ['code' => 'InvalidSpace.Paused', 'message' => 'The space is not in service.', 'http_code' => 400, 'description' => 'The specified workspace is not in service.'], + ['code' => 'InvalidSpaceId.NotFound', 'message' => 'The specified SpaceId does not exist.', 'http_code' => 400, 'description' => 'The specified SpaceId parameter does not exist.'], + ['code' => 'InvalidStatus', 'message' => 'Specified parameter Status is not valid.', 'http_code' => 400, 'description' => 'The specified Status parameter is invalid.'], + ['code' => 'InvalidTaskId.NotFound', 'message' => 'The specified mongo async task does not exist.', 'http_code' => 400, 'description' => 'The specified mongo asynchronization task does not exist.'], + ['code' => 'InvalidTimingTriggerConfig', 'message' => 'Specified parameter TimingTriggerConfig is not valid.', 'http_code' => 400, 'description' => 'The specified TimingTriggerConfig parameter is invalid.'], + ['code' => 'InvalidUrl', 'message' => 'Specified parameter Url is not valid.', 'http_code' => 400, 'description' => 'The specified Url parameter is invalid.'], + ['code' => 'InvalidWebHosting.AccessDenied', 'message' => 'You are not authorized to access web hosting service.', 'http_code' => 400, 'description' => 'You are not authorized to access the web hosting service.'], + ['code' => 'InvalidWebHosting.NotOpened', 'message' => 'The specified web hosting service is not in service.', 'http_code' => 400, 'description' => 'The specified web hosting service is not in service.'], + ['code' => 'InvalidWechatSecretConfig.NotFound', 'message' => 'The specified space wechat secret config does not exist.', 'http_code' => 400, 'description' => 'The specified WeChat secret configuration of the workspace does not exist.'], + ['code' => 'InvalidWorkspace.ModuleDisabled', 'message' => 'This workspace does not enable serverless module.', 'http_code' => 400, 'description' => 'Serverless modules are disabled for the specified workspace.'], + ['code' => 'InvalidWorkspace.ModuleEnabled', 'message' => 'This workspace has already enable serverless module.', 'http_code' => 400, 'description' => 'Serverless modules have been enabled for the specified workspace.'], + ['code' => 'InvalidWorkspaceId.AccessDenied', 'message' => 'You are not authorized to access this workspace.', 'http_code' => 400, 'description' => 'You are not authorized to access the specified workspace.'], + ['code' => 'InvalidWorkspaceId.NotFound', 'message' => 'The specified WorkspaceId does not exist.', 'http_code' => 400, 'description' => 'The specified WorkspaceId parameter does not exist.'], + ['code' => 'LogConcurrentQueryLimit.15', 'message' => 'The log query concurrency exceeds 15. Please try again later.', 'http_code' => 400, 'description' => 'The number of concurrent log queries cannot exceed 15. Please try again later.'], + ['code' => 'MaxBoundDomainCountExceed', 'message' => 'A single space can only be bound to 1 domain name at most.', 'http_code' => 400, 'description' => 'Only a single domain name can be bound to each workspace.'], + ['code' => 'MissingAppCert', 'message' => 'AppCert is mandatory for this action if you select public key certificate sign mode.', 'http_code' => 400, 'description' => 'You must specify the AppCert parameter if you select the public key certificate signature mode.'], + ['code' => 'MissingCustomDomainPrivateKey', 'message' => 'CustomDomainPrivateKey is mandatory for this action if CustomDomainCertificate is specified.', 'http_code' => 400, 'description' => 'You must specify the CustomDomainPrivateKey parameter if CustomDomainCertificate is specified.'], + ['code' => 'MissingFields', 'message' => 'Fields is mandatory for this action if file type is CSV.', 'http_code' => 400, 'description' => 'You must specify these fields if the file type is CSV.'], + ['code' => 'MissingFunctionArgs', 'message' => 'FunctionArgs is mandatory for this action.', 'http_code' => 400, 'description' => 'You must specify the FunctionArgs parameter.'], + ['code' => 'MissingParameter.WorkspaceIdOrName', 'message' => 'Either WorkspaceId or SpaceName must be specified.', 'http_code' => 400, 'description' => 'You must specify the WorkspaceId or SpaceName parameter.'], + ['code' => 'MissingPolicy', 'message' => 'Policy is mandatory for this action.', 'http_code' => 400, 'description' => 'You must specify the Policy parameter.'], + ['code' => 'MissingPolicyName', 'message' => 'PolicyName is mandatory for this action.', 'http_code' => 400, 'description' => 'You must specify the PolicyName parameter.'], + ['code' => 'MissingPublicCert', 'message' => 'PublicCert is mandatory for this action if you select public key certificate sign mode.', 'http_code' => 400, 'description' => 'You must specify the PublicCert parameter if you select the public key certificate signature mode.'], + ['code' => 'MissingPublicKey', 'message' => 'PublicKey is mandatory for this action if you select public key sign mode.', 'http_code' => 400, 'description' => 'You must specify the PublicKey parameter if you select the public key signature mode.'], + ['code' => 'MissingRootCert', 'message' => 'RootCert is mandatory for this action if you select public key certificate sign mode.', 'http_code' => 400, 'description' => 'You must specify the RootCert parameter if you select the public key certificate signature mode.'], + ['code' => 'MissingSpaceId', 'message' => 'SpaceId is mandatory for this action.', 'http_code' => 400, 'description' => 'You must specify the SpaceID parameter.'], + ['code' => 'NoPermission', 'message' => 'You are not authorized to do this operation. (Action: %s, Resource: %s.)', 'http_code' => 400, 'description' => 'You are not authorized to perform the %s operation on the %s resource.'], + ['code' => 'SetForceRedirectTypeBeforeUploadCert', 'message' => 'The certificate was not uploaded before the mandatory redirect was set.', 'http_code' => 400, 'description' => 'The certificate was not uploaded before forced redirection was set.'], + ['code' => 'SourceFilePathNotFound', 'message' => 'The source file path does not exist.', 'http_code' => 400, 'description' => 'The source file path does not exist. '], + ['code' => 'SpaceAccessDenied', 'message' => 'You are not authorized to access this space.', 'http_code' => 400, 'description' => 'You are not authorized to access the specified workspace.'], + ['code' => 'TaskId.NotFound', 'message' => 'The specified TaskId does not exist.', 'http_code' => 400, 'description' => 'The specified TaskId does not exist.'], + ['code' => 'ThrottlingResetServerSecret', 'message' => 'Request was denied due to request throttling.', 'http_code' => 400, 'description' => 'The request was denied due to request throttling.'], + ['code' => 'UnknownICPLicense', 'message' => 'Check ICP license failed, please try again later.', 'http_code' => 400, 'description' => 'Failed to check the ICP license. Please try again later.'], + ['code' => 'WebHostingUsageExceedLimitation', 'message' => 'Static website hosting uses more storage than quota.', 'http_code' => 400, 'description' => 'Static website hosting uses more storage than the quota.'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFunction'], + ['description' => 'Request parameters changed', 'api' => 'UpdateFunction'], + ], + 'createdAt' => '2024-04-02T09:48:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFunction'], + ['description' => 'Request parameters changed', 'api' => 'UpdateFunction'], + ], + 'createdAt' => '2024-04-02T09:40:01.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AddCorsDomain'], + ['description' => 'Error codes changed', 'api' => 'AddDingtalkOpenPlatformConfig'], + ['description' => 'Error codes changed', 'api' => 'AttachWebHostingCertificate'], + ['description' => 'Error codes changed', 'api' => 'BatchDeleteWebHostingFiles'], + ['description' => 'Error codes changed', 'api' => 'BindWebHostingCustomDomain'], + ['description' => 'Error codes changed', 'api' => 'CheckMpServerlessRoleExists'], + ], + 'createdAt' => '2024-02-27T12:19:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetWebHostingConfig'], + ], + 'createdAt' => '2023-12-19T09:53:26.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFunction'], + ['description' => 'Response parameters changed', 'api' => 'GetWebHostingConfig'], + ['description' => 'Request parameters changed', 'api' => 'ModifyWebHostingConfig'], + ['description' => 'Request parameters changed', 'api' => 'UpdateFunction'], + ], + 'createdAt' => '2023-12-19T09:17:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListFile'], + ], + 'createdAt' => '2023-07-13T09:34:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeFileUploadSignedUrl'], + ['description' => 'Response parameters changed', 'api' => 'ListWebHostingCustomDomains'], + ['description' => 'Request parameters changed', 'api' => 'QuerySpaceUsage'], + ['description' => 'Error codes changed', 'api' => 'RunFunction'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'SaveWebHostingCustomDomainCorsConfig'], + ], + 'createdAt' => '2023-06-01T07:37:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeFileUploadSignedUrl'], + ], + 'createdAt' => '2023-04-20T07:15:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListFile'], + ], + 'createdAt' => '2023-04-20T05:43:38.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'QuerySpaceUsage'], + ['description' => 'Error codes changed', 'api' => 'RunDBCommand'], + ], + 'createdAt' => '2023-03-24T08:22:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeFileUploadSignedUrl'], + ], + 'createdAt' => '2023-01-06T08:55:29.000Z', + 'description' => '无', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'QuerySpaceUsage'], + ], + 'createdAt' => '2022-12-05T03:26:31.000Z', + 'description' => '资源用量查询接口支持查询小时数据,时间跨度不超过一天', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'OpenService'], + ['description' => 'Request parameters changed', 'api' => 'QueryServiceStatus'], + ], + 'createdAt' => '2022-11-08T09:35:07.000Z', + 'description' => '服务查询和开通支持云存储、云函数、静态网站托管', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeFileUploadSignedUrl'], + ['description' => 'Response parameters changed', 'api' => 'QuerySpaceConsumption'], + ], + 'createdAt' => '2022-09-28T08:42:18.000Z', + 'description' => '云存储上传文件优化', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeFunction'], + ['description' => 'OpenAPI offline', 'api' => 'RefreshWebHostingCustomDomainCache'], + ['description' => 'Request parameters changed, Response parameters changed, Error codes changed', 'api' => 'UpdateFunction'], + ], + 'createdAt' => '2022-07-12T05:54:14.000Z', + 'description' => '新增手动刷新CDN缓存的接口', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'QueryActivationStatus'], + ], + 'createdAt' => '2022-06-30T06:59:08.000Z', + 'description' => '新增查询产品是否开通启用的独立接口', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateSpace'], + ['description' => 'Error codes changed', 'api' => 'DescribeSpaceClientConfig'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeSpaces'], + ['description' => 'Error codes changed', 'api' => 'EnableExtension'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListFile'], + ['description' => 'Request parameters changed', 'api' => 'ListSpace'], + ['description' => 'OpenAPI offline', 'api' => 'QuerySpaceConsumption'], + ['description' => 'OpenAPI offline', 'api' => 'QuerySpacePackageRemainingQuota'], + ['description' => 'OpenAPI offline', 'api' => 'QuerySpaceSpecDetail'], + ], + 'createdAt' => '2022-06-10T03:38:00.000Z', + 'description' => '在相关接口增加Legacy参数,为后续迁移商业化版本做准备', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ListExtensions'], + ], + 'createdAt' => '2022-06-10T03:27:34.000Z', + 'description' => '升级ListExtensions接口,添加Legacy参数,为商业化做准备', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed, Error codes changed', 'api' => 'ListSpace'], + ], + 'createdAt' => '2022-04-21T11:31:08.000Z', + 'description' => 'ListSpace 接口新增 gmtLastAccess 字段', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ListFile'], + ], + 'createdAt' => '2022-03-03T12:14:07.000Z', + 'description' => '支持根据fileID查询文件信息', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeFCOpenStatus'], + ['description' => 'Response parameters changed', 'api' => 'VerifyWebHostingDomainOwner'], + ], + 'createdAt' => '2021-12-14T09:29:04.000Z', + 'description' => '移除接口无效参数', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'OpenService'], + ], + 'createdAt' => '2021-12-14T09:27:53.000Z', + 'description' => '移除无效参数', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'QueryServiceStatus'], + ], + 'createdAt' => '2021-12-14T09:27:10.000Z', + 'description' => '移除无效参数', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeResourceQuota'], + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'GetWebHostingConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ModifyWebHostingConfig'], + ], + 'createdAt' => '2021-11-25T12:00:28.000Z', + 'description' => '本次新增pop接口:查询资源阈值', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateFunction'], + ], + 'createdAt' => '2021-11-18T07:15:47.000Z', + 'description' => '云函数创建默认版本为nodejs12', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeResourceUsage'], + ], + 'createdAt' => '2021-11-04T11:13:21.000Z', + 'description' => '新增资源统计接口', + ], [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'mpserverless.aliyuncs.com', + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'ListWebHostingCustomDomains'], + ['description' => 'OpenAPI offline', 'api' => 'SaveWebHostingCustomDomainCorsConfig'], + ], + 'createdAt' => '2021-09-09T12:18:50.000Z', + 'description' => '小程序Serverless静态网站托管支持跨域配置', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '3000', 'countWindow' => 10, 'regionId' => '*', 'api' => 'RunDBCommand'], + ], + ], + 'ram' => [ + 'productCode' => 'MPServerless', + 'productName' => 'Enterprise Mobile Application Studio', + 'ramCodes' => ['mpserverless'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListExtensions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListExtensions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetWebHostingStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFunctionDeployment', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateFunctionDeployment', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateDingtalkOpenPlatformConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateDingtalkOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QuerySpaceConsumption', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QuerySpaceConsumption', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDBCollection', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteDBCollection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeResourceQuota', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeResourceQuota', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddDingtalkOpenPlatformConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:AddDingtalkOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListSpace', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'mpserverless:ListSpace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'Space', 'arn' => 'acs:mpserverless::{#accountId}:space/*'], + ], + ], + ], + [ + 'apiName' => 'SaveCdnDomainConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:SaveCdnDomainConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateFunction', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeHttpTriggerConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeHttpTriggerConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RegisterFile', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:RegisterFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeSpaceClientConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeSpaceClientConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDBRestoreTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateDBRestoreTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RefreshWebHostingCustomDomainCache', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'mpserverless:RefreshWebHostingCustomDomainCache', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteSpace', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteSpace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDBImportTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateDBImportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateServicePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateServicePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListWebHostingCustomDomains', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListWebHostingCustomDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AttachWebHostingCertificate', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:AttachWebHostingCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SaveWebHostingCustomDomainConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:SaveWebHostingCustomDomainConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EnableExtension', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:EnableExtension', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFCOpenStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeFCOpenStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWebHostingFile', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeWebHostingFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BindWebHostingCustomDomain', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:BindWebHostingCustomDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QuerySpaceUsage', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QuerySpaceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSpace', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateSpace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UnbindWebHostingCustomDomain', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:UnbindWebHostingCustomDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SaveAntOpenPlatformConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:SaveAntOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListOpenPlatformConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFunction', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeResourceUsage', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeResourceUsage', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'VerifyWebHostingDomainOwner', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:VerifyWebHostingDomainOwner', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteFunction', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryDBBackupDumpTimes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBBackupDumpTimes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'OpenWebHostingService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:OpenWebHostingService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateHttpTriggerConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateHttpTriggerConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetWebHostingUploadCredential', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingUploadCredential', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BatchDeleteWebHostingFiles', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:BatchDeleteWebHostingFiles', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryDBImportTaskStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBImportTaskStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SaveWebHostingCustomDomainCorsConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:SaveWebHostingCustomDomainCorsConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDBExportTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateDBExportTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateSpace', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateSpace', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'Space', 'arn' => 'acs:mpserverless::{#accountId}:space/*'], + ], + ], + ], + [ + 'apiName' => 'ResetServerSecret', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:ResetServerSecret', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateSpaceWithOrder', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:CreateSpaceWithOrder', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'Space', 'arn' => 'acs:mpserverless::{#accountId}:space/*'], + ], + ], + ], + [ + 'apiName' => 'ListCorsDomains', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListCorsDomains', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetWebHostingCertificateDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingCertificateDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListWebHostingFiles', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListWebHostingFiles', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteCorsDomain', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteCorsDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListFunctionDeployment', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListFunctionDeployment', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryDBRestoreTaskStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBRestoreTaskStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SaveWechatOpenPlatformConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:SaveWechatOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SaveAppAuthToken', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:SaveAppAuthToken', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDingtalkOpenPlatformConfigs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListDingtalkOpenPlatformConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeSpaces', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeSpaces', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateFunction', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:UpdateFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWebHostingFile', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteWebHostingFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CheckMpServerlessRoleExists', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:CheckMpServerlessRoleExists', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RenameDBCollection', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:RenameDBCollection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetWebHostingConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListFile', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddCorsDomain', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:AddCorsDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDingtalkOpenPlatformConfig', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteDingtalkOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWebHostingCertificate', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteWebHostingCertificate', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListFunctionLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListFunctionLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWechatOpenPlatformConfig', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteWechatOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAntOpenPlatformConfig', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteAntOpenPlatformConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetWebHostingDomainVerificationContent', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:GetWebHostingDomainVerificationContent', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QuerySpaceSpecDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QuerySpaceSpecDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryServiceStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryServiceStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListFunction', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:ListFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RunDBCommand', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'mpserverless:RunDBCommand', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'OpenService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:OpenService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RunFunction', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'mpserverless:RunFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryDBExportTaskStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBExportTaskStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeCdnDomain', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeCdnDomain', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebHostingConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:ModifyWebHostingConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeServicePolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeServicePolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeployFunction', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'mpserverless:DeployFunction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryDBBackupCollections', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mpserverless:QueryDBBackupCollections', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeFileUploadSignedUrl', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'mpserverless:DescribeFileUploadSignedUrl', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteFile', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'mpserverless:DeleteFile', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MPServerless', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Space', 'arn' => 'acs:mpserverless::{#accountId}:space/*'], ], ], ]; |
