forked from docs/doc-exports
Reviewed-by: Ziuzko, Stanislav <stanislav.ziuzko@t-systems.com> Co-authored-by: chenjunjie <chenjunjie@huawei.com> Co-committed-by: chenjunjie <chenjunjie@huawei.com>
5.7 KiB
5.7 KiB
Obtaining the Feature Switch List
Function
This API is used to obtain the feature switch list.
URI
GET /v2/config/features
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
features |
Array of ListConfigFeatures objects |
Definition Feature list. |
totalRecord |
Integer |
Definition Total number of features. Range N/A |
Example Requests
GET https://{endpoint}/v2/config/features
Example Responses
Status code: 200
Queried.
{
"features" : [ {
"featureId" : "rocketmq_cross_vpc",
"status" : 0,
"description" : "rocketmq cross vpc switch"
}, {
"featureId" : "pdp5_auth_enable",
"status" : 1,
"description" : "pdp5 check permission enable"
} ],
"totalRecord" : 2
}
Status Codes
Status Code |
Description |
|---|---|
200 |
Queried. |
Error Codes
See Error Codes.
Parent topic: Other APIs