Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
14 KiB
Querying Service Feature Status
Description
Query service feature status.
Constraints
None
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.