Skip to main content
Version: 1.0.0

云函数

Feature Introduction​

This series of open APIs provides the ability to interface with Cloud Functions (CloudBase - Cloud Functions). You can call these APIs to invoke cloud functions in your environment.

Access Guide​

Calling the following APIs requires an AccessToken in the format Authorization: Bearer <token>. For how to obtain the Access token, refer to the documentation.

HTTP Status Codes​

Depending on the response result, status codes 2xx, 4xx, or 5xx may appear.

Error Codes​

The following table lists the error codes specific to this series of APIs. For the complete list, refer to the documentation.

Error CodeDescription
FUNCTIONS_NOT_FOUNDThe specified function was not found
FUNCTIONS_QUALIFIER_NOT_FOUNDThe specified function version was not found
FUNCTIONS_INVOCATION_FAILEDFunction execution failed. Check the function code.
FUNCTIONS_PARAM_INVALIDInvalid parameters were provided when calling the function
FUNCTIONS_EXCEED_RESOURCE_LIMITThe request exceeded the preconfigured concurrency
FUNCTIONS_STATUS_ABNORMALThe function status is abnormal
FUNCTIONS_TIME_LIMIT_EXCEEDEDThe function execution timed out
FUNCTIONS_MEMORY_LIMIT_EXCEEDEDThe function execution exceeded the memory limit

Authentication​

Token corresponding to the environment ID, obtained using login authentication (v2)

Security Scheme Type:

http

HTTP Authorization Scheme:

bearer

License

Apache 2.0