Skip to main content
Version: 1.0.0

Cloud Functions

Feature Introduction

This series of Open APIs provides the capability to integrate with Cloud Functions (CloudBase - Cloud Functions), enabling the invocation of Cloud Functions in the environment by calling Open APIs.

Access Guide

To call the following interfaces, you need to pass an AccessToken in the format Authorization: Bearer <token>. For token acquisition methods, refer to: https://docs.cloudbase.net/http-api/basic/access-token

HTTP Status Code

Depending on the returned results, status codes such as 2xx, 4xx, and 5xx may occur.

Error Codes

The following lists the error codes specific to this series of APIs. For the complete list, refer to: https://docs.cloudbase.net/error-code/service

Error CodeMeaning
FUNCTION_NOT_FOUNDSpecified function not found
FUNCTION_QUALIFIER_NOT_FOUNDSpecified version of the function not found
FUNCTION_INVOCATION_FAILEDFunction execution failed; need to check the function code
FUNCTION_PARAM_INVALIDInvalid function invocation parameters
FUNCTION_EXCEED_RESOURCE_LIMITRequested resources exceed the provisioned concurrency
FUNCTION_STATUS_ABNORMALFunction status abnormal
FUNCTION_TIME_LIMIT_EXCEEDEDFunction execution timeout
FUNCTION_MEMORY_LIMIT_EXCEEDEDFunction execution memory limit exceeded

Authentication

The token corresponding to the environment ID, obtained using login authentication (v2).

Security Scheme Type:http
HTTP Authorization Scheme:bearer

License

Apache 2.0