Updated on 2025-08-07 GMT+08:00

Querying Service Feature Status

Description

Query service feature status.

Constraints

None

API Calling

For details, see Calling APIs.

URI

GET /v2/manage/projects/{project_id}/feature-gates

Table 1 Path parameter

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

Request Parameters

Table 2 Request header 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

Table 3 Response body parameters

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.

enable_authorization_token

Boolean

Whether enhanced temporary login commands are supported. If the value is set to true, users can obtain enhanced login commands on the console.

enable_resource

Boolean

Whether image resources are supported. If the value is set to true, the Image Resources tab is displayed on the console, where you can view the image center.

enable_list_v3

Boolean

Whether the list V3 APIs are supported.

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,
  "enable_authorization_token" : false,
  "enable_resource" : false,
  "enable_list_v3" : false
}

Status Codes

Status Code

Description

200

Succeeded.

400

Request error.

401

Authentication failed.

500

Internal error.

Error Codes

For details, see Error Codes.