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 Code | Meaning |
FUNCTION_NOT_FOUND | Specified function not found |
FUNCTION_QUALIFIER_NOT_FOUND | Specified version of the function not found |
FUNCTION_INVOCATION_FAILED | Function execution failed; need to check the function code |
FUNCTION_PARAM_INVALID | Invalid function invocation parameters |
FUNCTION_EXCEED_RESOURCE_LIMIT | Requested resources exceed the provisioned concurrency |
FUNCTION_STATUS_ABNORMAL | Function status abnormal |
FUNCTION_TIME_LIMIT_EXCEEDED | Function execution timeout |
FUNCTION_MEMORY_LIMIT_EXCEEDED | Function execution memory limit exceeded |
Authentication
- HTTP: Bearer Auth
- API Key: APIKey
The token corresponding to the environment ID, obtained using login authentication (v2).
Security Scheme Type: | http |
---|---|
HTTP Authorization Scheme: | bearer |
The Tencent Cloud version 3.0 signature starting with TC3-HMAC-SHA256 appends Timestamp and Token to the end of the signature.
Security Scheme Type: | apiKey |
---|---|
Header parameter name: | Authorization |