Updated on 2026-09-23 GMT+08:00

Querying Service Feature Gates

Function

Query service feature gates.

Constraints

None

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/manage/projects/{project_id}/feature-gates

Table 1 Path Parameters

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.

You can obtain it by calling the IAM API for obtaining a user token. The token is the 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 scans are 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, you 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.

enable_image_quota

Boolean

Whether image quotas are enabled.

enable_cosign_signature

Boolean

Whether to display the image signature file on the console.

enable_enterprise_edition_link

Boolean

Whether to display the link for switching to SWR Enterprise Edition on the console.

enable_customize_validity_period

Boolean

Whether to display the validity period of each custom temporary login command on the console.

enable_image_config

Boolean

Whether the config information of an image can be queried

Example Requests

GET https://{endpoint}/v2/manage/projects/{project_id}/feature-gates

Example Responses

Status code: 200

{
  "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,
  "enable_image_quota" : false,
  "enable_cosign_signature" : true,
  "enable_enterprise_edition_link" : false,
  "enable_customize_validity_period" : true,
  "enable_image_config" : true
}

Status Codes

Status Code

Description

200

Feature gates are queried successfully.

400

Request error.

401

Authorization failed.

500

Internal error.

Error Codes

See Error Codes.