{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-mpserverless/add-cors-domain":{"post":{"operationId":"cloud_aliyun_mpserverless_add_cors_domain","summary":"Adds a CORS domain to a service space","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Domain","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Domain":{"type":"string","description":"The domain name. Wildcards are supported for the prefix and port"},"SpaceId":{"type":"string","description":"The ID of the service space"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/add-dingtalk-open-platform-config":{"post":{"operationId":"cloud_aliyun_mpserverless_add_dingtalk_open_platform_config","summary":"Add DingTalk Open Platform configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AppId","AppSecret","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"AppId":{"type":"string","description":"DingTalk miniapp ID"},"AppSecret":{"type":"string","description":"DingTalk miniapp key"},"SpaceId":{"type":"string","description":"Service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/attach-web-hosting-certificate":{"post":{"operationId":"cloud_aliyun_mpserverless_attach_web_hosting_certificate","summary":"Call the AttachWebHostingCertificate operation to attach a certificate","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Domain","CertType","ServerCertificate","PrivateKey"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The workspace ID"},"Domain":{"type":"string","description":"The custom domain name"},"CertType":{"type":"string","enum":["upload"],"description":"The certificate type. Valid values: upload: Upload a certificate. cas: Use an existing certificate"},"CertName":{"type":"string","description":"The name of the certificate"},"ServerCertificate":{"type":"string","description":"The content of the certificate"},"PrivateKey":{"type":"string","description":"The private key of the certificate"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/batch-delete-web-hosting-files":{"post":{"operationId":"cloud_aliyun_mpserverless_batch_delete_web_hosting_files","summary":"Deletes files from static website hosting in bulk","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","FilePaths"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"ID of the service space"},"FilePaths":{"type":"string","description":"Paths of the files to delete (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/bind-web-hosting-custom-domain":{"post":{"operationId":"cloud_aliyun_mpserverless_bind_web_hosting_custom_domain","summary":"Binds a custom domain name","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","CustomDomain"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The service space ID"},"CustomDomain":{"type":"string","description":"The custom domain name that has an ICP filing"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/check-mp-serverless-role-exists":{"post":{"operationId":"cloud_aliyun_mpserverless_check_mp_serverless_role_exists","summary":"Checks whether an Alibaba Cloud user has the required permission","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RoleName"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"RoleName":{"type":"string","description":"Required parameter. Set to AliyunServiceRoleForMPServerless"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/create-dbexport-task":{"post":{"operationId":"cloud_aliyun_mpserverless_create_dbexport_task","summary":"Creates a database export task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the workspace"},"Collection":{"type":"string","description":"The name of the collection"},"FileType":{"type":"string","enum":["JSON","CSV"],"description":"The type of the exported file. Valid values: JSON CSV"},"Fields":{"type":"string","description":"The list of fields to export, separated by commas (,). This parameter is required when the file type is CSV"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/create-dbimport-task":{"post":{"operationId":"cloud_aliyun_mpserverless_create_dbimport_task","summary":"Create a database import job.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Collection","FileType"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The service space ID."},"Collection":{"type":"string","description":"Collection name."},"FileType":{"type":"string","enum":["JSON","CSV"],"description":"The type of the import file. Valid values: JSON CSV"},"Mode":{"type":"string","enum":["INSERT","UPSERT"],"description":"The conflict handling mode. Valid values: INSERT (default): Ignore the record if a conflict occurs during import. UPSERT: Update the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/create-dbrestore-task":{"post":{"operationId":"cloud_aliyun_mpserverless_create_dbrestore_task","summary":"Creates a collection rollback task. After the task is created, the task ID is returned","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","BackupId","OriginCollections"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the service space"},"BackupId":{"type":"string","description":"The ID of the backup file"},"OriginCollections":{"type":"string","description":"The names of the collections to roll back. Separate multiple collection names with commas (,), such as `coll1,coll2`"},"NewCollections":{"type":"string","description":"The names of the collections after the rollback. The names cannot be the same as existing document names in the database. The names…"},"Mode":{"type":"string","enum":["RESTORE","DOWNLOAD"],"description":"The task mode. The value is case-sensitive. Valid values: RESTORE: Creates a collection rollback task. You must specify OriginCollections…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/create-function":{"post":{"operationId":"cloud_aliyun_mpserverless_create_function","summary":"Create a cloud function","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Name":{"type":"string","description":"The function name. The name must be 1 to 30 characters long and can contain only letters, digits, underscores (_), and hyphens (-). It…"},"Desc":{"type":"string","description":"Description of the cloud function"},"SpaceId":{"type":"string","description":"The ID of the service space to which the cloud function belongs"},"Runtime":{"type":"string","enum":["nodejs8","nodejs12","nodejs14","nodejs16","nodejs18","nodejs20"],"description":"Execution runtime of the cloud function. The default value is nodejs14. Valid values include nodejs12, nodejs14, and others. For more…"},"Memory":{"type":"integer","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"},"Timeout":{"type":"integer","description":"The function timeout, in seconds. Default value is 5. Valid values range from 1 to 7200"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/create-function-deployment":{"post":{"operationId":"cloud_aliyun_mpserverless_create_function_deployment","summary":"Creates a function deployment","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Name":{"type":"string","description":"The name of the deployment"},"SpaceId":{"type":"string","description":"The ID of the space where the function is located"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/create-space":{"post":{"operationId":"cloud_aliyun_mpserverless_create_space","summary":"Create a miniapp Serverless service space","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Name":{"type":"string","description":"Service Space Name. It must start with a letter and can only contain letters, digits, and characters"},"Desc":{"type":"string","description":"Description of the service space"},"WorkspaceId":{"type":"integer","description":"Workspace ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/create-space-with-order":{"post":{"operationId":"cloud_aliyun_mpserverless_create_space_with_order","summary":"Creates a service space and places an order","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name","SubscriptionType"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Name":{"type":"string","description":"The name of the service space"},"Desc":{"type":"string","description":"The description of the service space"},"SubscriptionType":{"type":"string","enum":["Subscription","PayAsYouGo"],"description":"The billing method. Valid values: Subscription: Subscription. PayAsYouGo: Pay-as-you-go"},"Period":{"type":"integer","enum":["1","2","3","6","12"],"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"},"PackageVersion":{"type":"string","enum":["free","base","standard","professional","enterprise","ultimate"],"description":"The specification of the subscription package. This parameter is required when the billing method is subscription"},"UseCoupon":{"type":"string","description":"Specifies whether to use a cash coupon. Valid values: true: Use a cash coupon. false: Do not use a cash coupon. The default value is false"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-ant-open-platform-config":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_ant_open_platform_config","summary":"Delete Alipay Open Platform configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","AppId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"AppId":{"type":"string","description":"Miniapp ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-cors-domain":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_cors_domain","summary":"Deletes a CORS domain","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DomainId","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"DomainId":{"type":"string","description":"Domain ID"},"SpaceId":{"type":"string","description":"Service space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-dbcollection":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_dbcollection","summary":"Delete a database collection via the API","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Body"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"Body":{"type":"string","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…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-dingtalk-open-platform-config":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_dingtalk_open_platform_config","summary":"Delete the DingTalk Open Platform configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AppId","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"AppId":{"type":"string","description":"DingTalk miniapp ID"},"SpaceId":{"type":"string","description":"Service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-file":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_file","summary":"Delete a file","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Id","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Id":{"type":"string","description":"Delete a single file by its UUID, for example: ef69b85f-****-4942-8a0f-211a82b48ec7 Delete files by folder structure by providing a prefix…"},"SpaceId":{"type":"string","description":"Service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-function":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_function","summary":"Delete a cloud function","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Name":{"type":"string","description":"Function Name"},"SpaceId":{"type":"string","description":"Service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-space":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_space","summary":"Deletes a service space","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the service space"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-web-hosting-certificate":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_web_hosting_certificate","summary":"Detaches the certificate and disables HTTPS access","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Domain"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the service space"},"Domain":{"type":"string","description":"The domain name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-web-hosting-file":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_web_hosting_file","summary":"Delete a file from static website hosting","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","FilePath"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Space ID"},"FilePath":{"type":"string","description":"File Path"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/delete-wechat-open-platform-config":{"post":{"operationId":"cloud_aliyun_mpserverless_delete_wechat_open_platform_config","summary":"Delete the WeChat Open Platform configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","AppId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"AppId":{"type":"string","description":"WeChat mini program ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/deploy-function":{"post":{"operationId":"cloud_aliyun_mpserverless_deploy_function","summary":"Trigger function deployment","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DeploymentId","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"DeploymentId":{"type":"string","description":"Deployment ID"},"SpaceId":{"type":"string","description":"Service Space ID to which the function belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-cdn-domain":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_cdn_domain","summary":"Query an Alibaba Cloud CDN accelerated domain name.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Type"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"TenantId":{"type":"string","description":"Tenant ID."},"SpaceId":{"type":"string","description":"Service space ID"},"Type":{"type":"string","enum":["FILE","WEB"],"description":"Supports management of custom domain names for cloud storage and static websites: FILE: Alibaba Cloud CDN for cloud storage WEB: Alibaba…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-fcopen-status":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_fcopen_status","summary":"View whether the Alibaba Cloud Function Compute service has been enabled","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-file-upload-signed-url":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_file_upload_signed_url","summary":"Retrieves the signed URL required to upload a file","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Filename","Size","SpaceId","ContentType"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Filename":{"type":"string","description":"The original file name. If the name ends with a forward slash (/), an empty folder is created. Subfolders are supported. When you create a…"},"Size":{"type":"integer","description":"The file size in bytes"},"SpaceId":{"type":"string","description":"The service space ID"},"ContentType":{"type":"string","description":"The file type. Examples: .pdf, .xls, .xlsx, .doc, .docx, .ppt, .pptx, and .txt"},"FileId":{"type":"string","description":"The custom path to upload the file. Subfolders are supported. The path can contain letters, digits, Chinese characters, hyphens (-),…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-function":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_function","summary":"Queries the details of a cloud function","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Name":{"type":"string","description":"The name of the cloud function"},"SpaceId":{"type":"string","description":"The ID of the service space to which the cloud function belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-http-trigger-config":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_http_trigger_config","summary":"Queries the HTTP trigger configuration of a cloud function","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the service space"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-resource-quota":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_resource_quota","summary":"Queries the resource thresholds for a service space","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the service space"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-resource-usage":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_resource_usage","summary":"Query resource usage","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID."},"PageNumber":{"type":"integer","description":"Page number. Valid values: any integer greater than 1."},"PageSize":{"type":"integer","description":"Page size. The default value is 30, and the maximum value is 1000. Valid values: 1 to 1000."},"StartTime":{"type":"string","description":"The start time for retrieving resource usage. The date format follows the ISO 8601 notation and uses UTC+8, in the format…"},"EndTime":{"type":"string","description":"The end time for retrieving resource usage. The date format follows the ISO8601 notation and uses UTC+8. The format is…"},"Format":{"type":"string","description":"The Format"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-service-policy":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_service_policy","summary":"Query permission rules","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","ServiceName"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Space ID"},"ServiceName":{"type":"string","enum":["db","file"],"description":"Service Name. Valid values: db file"},"CollectionName":{"type":"string","description":"Collection name. This parameter is optional and is meaningful only when serviceName is db"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-space-client-config":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_space_client_config","summary":"Query the details of a service space.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID."},"Detail":{"type":"string","description":"Whether to return detailed information. The default value is false."},"WorkspaceId":{"type":"integer","description":"Workspace ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-spaces":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_spaces","summary":"Query space instance information by spaceId, tenant ID, EMAS project space, or Package Tier.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"PageNum":{"type":"integer","description":"Page number, starting from 0."},"PageSize":{"type":"integer","description":"Page size. Default value is 10."},"SpaceIds":{"type":"string","description":"List of service space IDs. (JSON-encoded)"},"TenantId":{"type":"string","description":"Tenant ID."},"EmasWorkspaceId":{"type":"integer","description":"EMAS project Space ID."},"SpecCode":{"type":"string","description":"Package Tier"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/describe-web-hosting-file":{"post":{"operationId":"cloud_aliyun_mpserverless_describe_web_hosting_file","summary":"Query the details of a file under static website hosting","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","FilePath"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"FilePath":{"type":"string","description":"File Path, a required parameter"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/enable-extension":{"post":{"operationId":"cloud_aliyun_mpserverless_enable_extension","summary":"Enable an extension capability","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ExtensionId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"ExtensionId":{"type":"string","description":"UUID of the extension capability"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/get-web-hosting-certificate-detail":{"post":{"operationId":"cloud_aliyun_mpserverless_get_web_hosting_certificate_detail","summary":"Queries the certificate details for a custom domain name","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","CustomDomain"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID"},"CustomDomain":{"type":"string","description":"Custom domain name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/get-web-hosting-config":{"post":{"operationId":"cloud_aliyun_mpserverless_get_web_hosting_config","summary":"Query the static website hosting configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the service space"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/get-web-hosting-domain-verification-content":{"post":{"operationId":"cloud_aliyun_mpserverless_get_web_hosting_domain_verification_content","summary":"Obtain the domain ownership validation content","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Domain"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"Domain":{"type":"string","description":"Domain name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/get-web-hosting-status":{"post":{"operationId":"cloud_aliyun_mpserverless_get_web_hosting_status","summary":"Query the activation status of the static website hosting feature","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/get-web-hosting-upload-credential":{"post":{"operationId":"cloud_aliyun_mpserverless_get_web_hosting_upload_credential","summary":"Obtain upload credentials for static website hosting.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","FilePath"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The Space ID"},"FilePath":{"type":"string","description":"File Path"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-cors-domains":{"post":{"operationId":"cloud_aliyun_mpserverless_list_cors_domains","summary":"Query CORS domain names","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-dingtalk-open-platform-configs":{"post":{"operationId":"cloud_aliyun_mpserverless_list_dingtalk_open_platform_configs","summary":"Query DingTalk Open Platform configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-extensions":{"post":{"operationId":"cloud_aliyun_mpserverless_list_extensions","summary":"Query extension capabilities","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"PageNumber":{"type":"integer","description":"Page number. Default value is 1"},"PageSize":{"type":"integer","description":"Page size. Default value is 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-file":{"post":{"operationId":"cloud_aliyun_mpserverless_list_file","summary":"Query the file list.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Space ID"},"PageSize":{"type":"integer","description":"Number of entries per page. Default Value is 10"},"Keyword":{"type":"string","description":"Keyword"},"FileId":{"type":"string","description":"ID or URL of the file(s) to query. You can query multiple files simultaneously by separating their IDs or URLs with commas (,). You can…"},"NextToken":{"type":"string","description":"Used to mark the position from which reading starts. An empty value indicates reading from the beginning. This feature is supported only…"},"Mode":{"type":"string","enum":["DEFAULT","DIRECTORY"],"description":"File list pattern. Valid values: DEFAULT (default): Default pattern. All files are displayed in descending order by upload time.…"},"Prefix":{"type":"string","description":"Path prefix. By default, queries the root directory"},"AuthDelta":{"type":"integer","description":"Authentication validity duration, in seconds. This parameter takes effect only when you have enabled the authentication feature in Alibaba…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-function":{"post":{"operationId":"cloud_aliyun_mpserverless_list_function","summary":"Retrieve a list of created cloud functions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"PageNum":{"type":"integer","description":"The page number. Starts from page 1"},"PageSize":{"type":"integer","description":"The number of rows displayed per page. Default is 10"},"FilterBy":{"type":"string","description":"Query conditions"},"SpaceId":{"type":"string","description":"The service space ID to which the cloud function belongs"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-function-deployment":{"post":{"operationId":"cloud_aliyun_mpserverless_list_function_deployment","summary":"Queries a list of function deployments","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"PageNum":{"type":"integer","description":"The page number of the list. The value starts from 1. The default value is 1"},"PageSize":{"type":"integer","description":"The number of entries per page. The maximum value is 100. The default value is 10"},"Name":{"type":"string","description":"The name of the deployment"},"SpaceId":{"type":"string","description":"The ID of the workspace"},"Status":{"type":"string","description":"The status of the deployment. Valid values: DEPLOY_SUCCESS: Queries successful deployments. DEPLOY_FAILED: Queries failed deployments. If…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-function-log":{"post":{"operationId":"cloud_aliyun_mpserverless_list_function_log","summary":"Query the execution logs of aggregation functions.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"PageNum":{"type":"integer","description":"Page number. Default value is 1"},"PageSize":{"type":"integer","description":"Page size. Default value is 10"},"Name":{"type":"string","description":"Function Name"},"SpaceId":{"type":"string","description":"Space ID of the service space"},"LogRequestId":{"type":"string","description":"Request ID during function runtime"},"FromDate":{"type":"integer","description":"Start Time"},"ToDate":{"type":"integer","description":"End Time"},"Status":{"type":"string","description":"Status. Valid values: SUCCESS: Succeeded FAIL: Failed If empty, all statuses are returned"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-open-platform-config":{"post":{"operationId":"cloud_aliyun_mpserverless_list_open_platform_config","summary":"Query the Alipay and WeChat Open Platform configuration.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Platform"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID."},"Platform":{"type":"string","enum":["wechat","Wechat","alipay","Alipay"],"description":"Platform. Valid values: Alipay WeChat"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-space":{"post":{"operationId":"cloud_aliyun_mpserverless_list_space","summary":"Queries the list of service workspaces","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"PageNum":{"type":"integer","description":"The page number, starting from 0"},"PageSize":{"type":"integer","description":"The number of entries per page. Default value: 10"},"SpaceIds":{"type":"string","description":"The list of service workspace IDs (JSON-encoded)"},"EmasWorkspaceId":{"type":"string","description":"The ID of the EMAS project workspace"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-web-hosting-custom-domains":{"post":{"operationId":"cloud_aliyun_mpserverless_list_web_hosting_custom_domains","summary":"Query the custom domain names attached to the current static website.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/list-web-hosting-files":{"post":{"operationId":"cloud_aliyun_mpserverless_list_web_hosting_files","summary":"Retrieve static website files with paging","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Prefix"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"Prefix":{"type":"string","description":"Path prefix"},"Marker":{"type":"string","description":"Pagination cursor. Set this to the value of NextMarker returned from the previous page. For the first page, use an empty string"},"PageSize":{"type":"integer","description":"Page size. Default is 50, maximum is 500"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/modify-web-hosting-config":{"post":{"operationId":"cloud_aliyun_mpserverless_modify_web_hosting_config","summary":"Update the static website configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","IndexPath"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"IndexPath":{"type":"string","description":"Home page path"},"ErrorPath":{"type":"string","description":"404 error page path"},"AllowedIps":{"type":"string","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…"},"ErrorHttpStatus":{"type":"string","enum":["200","404"],"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"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/open-service":{"post":{"operationId":"cloud_aliyun_mpserverless_open_service","summary":"Activate a Serverless product","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","ServiceName"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The service space ID to which the cloud function belongs"},"ServiceName":{"type":"string","enum":["CLOUD_STORAGE","WEB_HOSTING","CLOUD_FUNCTION"],"description":"Serverless product. Product categories include cloud function, cloud storage, and static website hosting. Valid values are CLOUD_FUNCTION,…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/open-web-hosting-service":{"post":{"operationId":"cloud_aliyun_mpserverless_open_web_hosting_service","summary":"Enables the static website hosting feature","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-dbbackup-collections":{"post":{"operationId":"cloud_aliyun_mpserverless_query_dbbackup_collections","summary":"Query a backup collection by backup ID","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","BackupId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID"},"BackupId":{"type":"string","description":"Backup file ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-dbbackup-dump-times":{"post":{"operationId":"cloud_aliyun_mpserverless_query_dbbackup_dump_times","summary":"Queries the backup time and backup ID. By default, backup records from the last 7 days are retained.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-dbexport-task-status":{"post":{"operationId":"cloud_aliyun_mpserverless_query_dbexport_task_status","summary":"Queries the status of a database export task. If the task succeeds, the file download URL is returned. If…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The workspace ID"},"TaskId":{"type":"string","description":"The task ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-dbimport-task-status":{"post":{"operationId":"cloud_aliyun_mpserverless_query_dbimport_task_status","summary":"Query the database import status","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"TaskId":{"type":"string","description":"Job ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-dbrestore-task-status":{"post":{"operationId":"cloud_aliyun_mpserverless_query_dbrestore_task_status","summary":"Queries the status of a collection rollback task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the service space"},"TaskId":{"type":"string","description":"The task ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-service-status":{"post":{"operationId":"cloud_aliyun_mpserverless_query_service_status","summary":"Query the status of a Serverless product service.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","ServiceName"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID."},"ServiceName":{"type":"string","enum":["CLOUD_FUNCTION","CLOUD_STORAGE","WEB_HOSTING"],"description":"Serverless product. Product categories include Cloud Function, Cloud Storage, and Static Website Hosting. Valid values are CLOUD_FUNCTION,…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-space-consumption":{"post":{"operationId":"cloud_aliyun_mpserverless_query_space_consumption","summary":"Query the current month's usage and consumption of the service space.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-space-spec-detail":{"post":{"operationId":"cloud_aliyun_mpserverless_query_space_spec_detail","summary":"Queries the details of a plan based on the plan specifications","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpecCode"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpecCode":{"type":"string","description":"Valid values: FREE: Developer Edition. BASE: Basic Edition. STANDARD: Standard Edition. PROFESSIONAL: Professional Edition. ENTERPRISE:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/query-space-usage":{"post":{"operationId":"cloud_aliyun_mpserverless_query_space_usage","summary":"Retrieves details about service space resource usage","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The service space ID"},"StartTime":{"type":"string","description":"The start time in UTC"},"EndTime":{"type":"string","description":"The end time in UTC. The end time must be later than the start time. If the time range is within one day, hourly metering data is returned…"},"Interval":{"type":"integer","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…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/refresh-web-hosting-custom-domain-cache":{"post":{"operationId":"cloud_aliyun_mpserverless_refresh_web_hosting_custom_domain_cache","summary":"Purges the Alibaba Cloud CDN cache for a custom accelerated domain name used in static website hosting, so…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","DomainName"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"DomainName":{"type":"string","description":"Custom domain name for static website hosting"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/register-file":{"post":{"operationId":"cloud_aliyun_mpserverless_register_file","summary":"Register a file","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Id","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Id":{"type":"string","description":"The UUID. The value is the ID returned by the DescribeFileUploadSignedUrl API"},"SpaceId":{"type":"string","description":"The service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/rename-dbcollection":{"post":{"operationId":"cloud_aliyun_mpserverless_rename_dbcollection","summary":"Rename a collection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","OriginCollection","NewCollection"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The service Space ID"},"OriginCollection":{"type":"string","description":"The name of the existing collection to be renamed. You must specify the name of a collection that already exists"},"NewCollection":{"type":"string","description":"The new collection name. The new name must not be the same as any existing collection name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/reset-server-secret":{"post":{"operationId":"cloud_aliyun_mpserverless_reset_server_secret","summary":"Reset the server key for the API","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/run-dbcommand":{"post":{"operationId":"cloud_aliyun_mpserverless_run_dbcommand","summary":"Execute a database command","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Body"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID"},"Body":{"type":"string","description":"The command for the database request, formatted as a JSON string. It contains two required fields: command: includes collection…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/run-function":{"post":{"operationId":"cloud_aliyun_mpserverless_run_function","summary":"Execute a function. Synchronous execution supports a maximum duration of 60 seconds.","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Body"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID."},"Body":{"type":"string","description":"Formatted as a JSON string. The functionTarget field specifies the function name, and functionArgs contains the parameters passed to the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/save-ant-open-platform-config":{"post":{"operationId":"cloud_aliyun_mpserverless_save_ant_open_platform_config","summary":"Save the Alipay Open Platform configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","AppId","PrivateKey","SignMode"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"AppId":{"type":"string","description":"Miniapp ID"},"PublicKey":{"type":"string","description":"Public key"},"PrivateKey":{"type":"string","description":"Private key"},"SignMode":{"type":"string","enum":["PUBLIC_KEY","CERT"],"description":"Signature mode. Valid values are as follows: PUBLIC_KEY: public key. CERT: public key certificate"},"AppCert":{"type":"string","description":"Application public key certificate"},"PublicCert":{"type":"string","description":"Alipay public key certificate"},"RootCert":{"type":"string","description":"Alipay root certificate"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/save-app-auth-token":{"post":{"operationId":"cloud_aliyun_mpserverless_save_app_auth_token","summary":"Authorizes access in ISV mode","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","IsvAppId","AppId","AppAuthToken"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"ID of the service space"},"IsvAppId":{"type":"string","description":"App ID of the ISV"},"AppId":{"type":"string","description":"App ID of the miniapp"},"AppAuthToken":{"type":"string","description":"Authorization token for the miniapp"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/save-cdn-domain-config":{"post":{"operationId":"cloud_aliyun_mpserverless_save_cdn_domain_config","summary":"Configure a CDN domain","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Type"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"TenantId":{"type":"string","description":"The tenant ID"},"SpaceId":{"type":"string","description":"The service space ID"},"Type":{"type":"string","enum":["FILE","WEB"],"description":"FILE: Configures cloud storage CDN. WEB: Configures static website hosting CDN"},"CorsConfig":{"type":"string","description":"Set cross-domain: \\`{\"allowOrigin\":\"https\\://\\*.example.com\", \"accessOriginControl\": true}\\`. Delete cross-domain: Method 1:…"},"RefererConfig":{"type":"string","description":"Set whitelist: \\`{\"type\":\"white\", \"referList\":\"example.com\", \"allowEmpty\":\"off\", \"disableAst\":\"off\"}\\` Set blacklist: \\`{\"type\":\"black\",…"},"IpConfig":{"type":"string","description":"Set whitelist: \\`{\"type\":\"white\", \"ipList\":\"192.168.2.0/24\"}\\` Set blacklist: \\`{\"type\":\"black\", \"ipList\":\"192.168.2.0/24\"}\\` Delete…"},"UaConfig":{"type":"string","description":"Set whitelist: \\`{\"type\":\"white\", \"uaList\":\"\\*IE\\*|\\*firefox\\*\"}\\` Set blacklist: \\`{\"type\":\"black\", \"uaList\":\"\\*IE\\*|\\*firefox\\*\"}\\`…"},"AuthConfig":{"type":"string","description":"Configure the authentication pattern. This is only valid in FILE pattern. After enabling authentication, complete URL signature…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/save-web-hosting-custom-domain-config":{"post":{"operationId":"cloud_aliyun_mpserverless_save_web_hosting_custom_domain_config","summary":"Save domain configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","ForceRedirectType","DomainName"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"ForceRedirectType":{"type":"string","enum":["HTTPS_FORCE","OFF"],"description":"Force redirect options. HTTPS_FORCE: Force redirect. OFF: Do not redirect (default)"},"DomainName":{"type":"string","description":"Domain name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/save-web-hosting-custom-domain-cors-config":{"post":{"operationId":"cloud_aliyun_mpserverless_save_web_hosting_custom_domain_cors_config","summary":"Configure cross-origin settings for a static website","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","DomainName","EnableCors"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID"},"DomainName":{"type":"string","description":"Domain name"},"EnableCors":{"type":"string","description":"Specifies whether to enable the cross-domain feature. Valid values: true: Enables the cross-domain feature. false: Disables the…"},"AccessControlAllowOrigin":{"type":"string","description":"Specifies the cross-origin validation rule. The default value is \"*\". The cross-origin validation rules are as follows: If set to \"*\", the…"},"AccessOriginControl":{"type":"string","description":"When cross-origin verification is enabled, specifies whether to validate the Origin field. true: Returns cross-origin headers only after…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/save-wechat-open-platform-config":{"post":{"operationId":"cloud_aliyun_mpserverless_save_wechat_open_platform_config","summary":"Save the WeChat Open Platform configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","AppId","AppSecret"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"AppId":{"type":"string","description":"WeChat mini program ID"},"AppSecret":{"type":"string","description":"WeChat mini program key"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/unbind-web-hosting-custom-domain":{"post":{"operationId":"cloud_aliyun_mpserverless_unbind_web_hosting_custom_domain","summary":"Deletes a custom domain name","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","CustomDomain"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"The ID of the service space"},"CustomDomain":{"type":"string","description":"The custom domain name"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/update-dingtalk-open-platform-config":{"post":{"operationId":"cloud_aliyun_mpserverless_update_dingtalk_open_platform_config","summary":"Update the DingTalk Open Platform configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AppId","AppSecret","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"AppId":{"type":"string","description":"DingTalk miniapp ID"},"AppSecret":{"type":"string","description":"DingTalk miniapp key"},"SpaceId":{"type":"string","description":"Service Space ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/update-function":{"post":{"operationId":"cloud_aliyun_mpserverless_update_function","summary":"Update a function","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"Desc":{"type":"string","description":"Function description"},"Name":{"type":"string","description":"Function name"},"SpaceId":{"type":"string","description":"Service space ID"},"Memory":{"type":"integer","description":"Function memory size. Must be a multiple of 64 MB. Minimum is 128 MB. Maximum is 2048 MB"},"Timeout":{"type":"integer","description":"Function timeout period in seconds. Default is 5. Valid range is 1 to 7200"},"HttpTriggerPath":{"type":"string","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 /.…"},"TimingTriggerConfig":{"type":"string","description":"Scheduled trigger configuration. To disable this feature, set this parameter to an empty string. For configuration rules, see Use…"},"TimingTriggerUserPayload":{"type":"string","description":"Custom input parameter for scheduled tasks. This feature is supported only in the commercial edition"},"InstanceConcurrency":{"type":"integer","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…"},"Runtime":{"type":"string","enum":["nodejs8","nodejs12","nodejs14","nodejs16","nodejs18","nodejs20"],"description":"Function runtime environment. Supported values include nodejs12 and nodejs14. For the full list, see Supported runtimes…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/update-http-trigger-config":{"post":{"operationId":"cloud_aliyun_mpserverless_update_http_trigger_config","summary":"Updates the HTTP trigger configuration for a cloud function","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["EnableService","SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"EnableService":{"type":"string","description":"Sets whether to enable the HTTP trigger feature. Values: true: Enables the HTTP trigger feature. false: Disables the HTTP trigger feature"},"SpaceId":{"type":"string","description":"Service Space ID"},"CustomDomain":{"type":"string","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…"},"CustomDomainCertificate":{"type":"string","description":"The HTTPS certificate for the custom domain name. Use this with CustomDomainPrivateKey. If you do not pass these two fields, the…"},"CustomDomainPrivateKey":{"type":"string","description":"The private key for the custom domain name's HTTPS certificate. Use this with CustomDomainCertificate. If you do not pass these two…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/update-service-policy":{"post":{"operationId":"cloud_aliyun_mpserverless_update_service_policy","summary":"Update permissions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","ServiceName"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"ServiceName":{"type":"string","enum":["db","file"],"description":"Service Name. Valid values: db file"},"Policy":{"type":"string","description":"Permission rule. Required when PolicyName is EXTENDED"},"CollectionName":{"type":"string","description":"Collection Name. Required when ServiceName is db"},"PolicyName":{"type":"string","enum":["PUBLICREAD","PRIVATE","ADMINWRITEONLY","ADMINREADWRITEONLY","EXTENDED"],"description":"Policy Name. Required when ServiceName is db. Valid values: PUBLICREAD: All users can read; only the creator and administrator can write.…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/update-space":{"post":{"operationId":"cloud_aliyun_mpserverless_update_space","summary":"Update a service space","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service space ID"},"Desc":{"type":"string","description":"Description of the service space"},"Status":{"type":"string","enum":["IN_SERVICE","PAUSED"],"description":"Service status. Valid values: IN_SERVICE: in service. PAUSED: pause"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/verify-web-hosting-domain-owner":{"post":{"operationId":"cloud_aliyun_mpserverless_verify_web_hosting_domain_owner","summary":"Authenticate the owner of the web host domain name","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SpaceId","Domain","VerifyType"],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"},"SpaceId":{"type":"string","description":"Service Space ID"},"Domain":{"type":"string","description":"Domain name"},"VerifyType":{"type":"string","description":"DNS validation method"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-mpserverless/version":{"post":{"operationId":"cloud_aliyun_mpserverless_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mpserverless.aliyuncs.com"],"default":"https://mpserverless.aliyuncs.com","description":"Regional endpoint, for example https://mpserverless.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}