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
|
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
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot