Updated on 2025-10-17 GMT+08:00

Querying a Specific Feature

Function

This API is used to query a specified feature supported by CBR.

This API is in the open beta test (OBT) phase and may be unavailable in some regions.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

URI

GET /v3/{project_id}/cbr-features/{feature_key}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

For details about how to obtain the project ID, see Obtaining a Project ID.

feature_key

Yes

String

Feature key. The value can be:

  • replication.enable

  • replication.source_region

  • replication.destination_regions

  • replication.destination_dgw_regions

  • features.backup_double_az

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

limit

No

Integer

Number of records displayed on each page. The value must be a positive integer.

offset

No

Integer

Offset, which is a positive integer.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

{User defined key}

Map<String,Object>

  

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

-

String

  

Example Requests

Query details about the features supported by CBR.

GET https://{endpoint}/v3/{project_id}/cbr-features/replication.enable

Example Responses

Status code: 200

{
  "features.bccrack_enable" : true
}

Status Codes

Status Code

Description

200

  

400

The feature key is not supported.

Error Codes

See Error Codes.