Updated on 2025-11-24 GMT+08:00

Querying the Feature Switch List

Function

This API is used to query the feature switch list.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.

URI

GET /v2/config/features

Request Parameters

None

Response Parameters

Status code: 200

Table 1 Response body parameters

Parameter

Type

Description

features

Array of ListConfigFeatures objects

Definition

Feature list.

totalRecord

Integer

Definition

Total number of features.

Range

N/A

Table 2 ListConfigFeatures

Parameter

Type

Description

featureId

String

Definition

Feature ID.

Range

N/A

status

Integer

Definition

Status.

Range

  • 0: disabled

  • 1: enabled

description

String

Definition

Feature description.

Range

N/A

Example Requests

GET https://{endpoint}/v2/config/features

Example Responses

Status code: 200

Feature switch list queried.

{
  "features" : [ {
    "featureId" : "rabbitmq_run_log_enable",
    "statue" : 1,
    "description" : "run log task feature switch"
  }, {
    "featureId" : "pdp5_auth_enable",
    "statue" : 1,
    "description" : "pdp5 check permission enable"
  } ]
}

Status Codes

Status Code

Description

200

Feature switch list queried.

Error Codes

See Error Codes.