Knowledge Base OpenAPI
Feature Introduction
Here are the Knowledge Base-related openapis.
Access Guide
To call the following interfaces, you need to pass an AccessToken or ApiKey in the format Authorization: Bearer <token> or Authorization: Bearer <ApiKey>. For token acquisition methods, refer to: https://docs.cloudbase.net/http-api/basic/access-token;
For how to obtain an ApiKey, refer to: https://docs.cloudbase.net/http-api/basic/api-key
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 |
| INVALID_PARAMETER | Parameter Error |
| MISSING_PARAMETER | Missing Parameter Error |
| RESOURCE_NOTFOUND | Resource Not Found |
| INVALID_PARAMETER_VALUE | Parameter Value Error |
| REQUEST_LIMIT_EXCEEDED | The number of requests exceeds the frequency limit |
| SYS_ERR | Internal Error |
| FAILED_OPERATION | Operation Failed |
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 |