Skip to main content
Version: 1.0.0

Knowledge Base OpenAPI

Feature Overview

This section provides the Knowledge Base OpenAPIs.

Access Guide

Invoking the following APIs requires either an AccessToken or an API key using the header Authorization: Bearer <token> or Authorization: Bearer <ApiKey>. For instructions on obtaining an AccessToken, see https://docs.cloudbase.net/http-api/basic/access-token.

For instructions on obtaining an API key, see https://docs.cloudbase.net/http-api/basic/api-key.

HTTP Status Codes

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

Error Codes

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

Error CodeDescription
INVALID_PARAMETERInvalid request parameters
MISSING_PARAMETERRequired parameters are missing
RESOURCE_NOTFOUNDThe requested resource was not found
INVALID_PARAMETER_VALUEInvalid parameter value
REQUEST_LIMIT_EXCEEDEDThe request exceeded the rate limit
SYS_ERRInternal system error
FAILED_OPERATIONThe operation failed

Authentication

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

Security Scheme Type:http
HTTP Authorization Scheme:bearer