Querying Service Feature Status
Description
Query service feature status.
Constraints
None
API Calling
For details, see Calling APIs.
Authorization Information
Each account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned.
- If you are using role/policy-based authorization, see the required permissions in Permissions Policies and Supported Actions.
URI
GET /v2/manage/projects/{project_id}/feature-gates
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
enable_experience |
Boolean |
Whether the experience center is enabled. |
|
enable_hss_service |
Boolean |
Whether interconnection with HSS is enabled. |
|
enable_image_scan |
Boolean |
Whether image scanning is enabled. |
|
enable_sm3 |
Boolean |
Whether SM algorithms are enabled. |
|
enable_image_sync |
Boolean |
Whether image synchronization is enabled. |
|
enable_cci_service |
Boolean |
Whether interconnection with CCI is enabled. |
|
enable_image_label |
Boolean |
Whether image tagging is enabled. |
|
enable_pipeline |
Boolean |
Whether the pipeline service is enabled. |
Example Request
GET https://{endpoint}/v2/manage/projects/{project_id}/feature-gates
Example Response
Status code: 200
Query service feature status.
{
"enable_experience" : true,
"enable_hss_service" : true,
"enable_image_scan" : true,
"enable_sm3" : true,
"enable_image_sync" : true,
"enable_cci_service" : true,
"enable_image_label" : false,
"enable_pipeline" : false,
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Succeeded. |
|
400 |
Request error. |
|
401 |
Authentication failed. |
|
500 |
Internal error. |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.