Updated on 2025-06-20 GMT+08:00

Querying Product Flavors

Function

This API is used to query product flavors.

Call Method

For details, see How to Call an API.

URI

GET /v1.0/products

Table 1 Query parameters

Parameter

Mandatory

Type

Description

instance_id

Yes

String

Instance ID.

product_id

Yes

String

Indicates the product ID.

Request

None.

Response

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

engine

String

Engine type.

versions

Array of strings

Supported versions.

products

Array of ProductEntity objects

Product details list.

Table 3 ProductEntity

Parameter

Type

Description

type

String

Product type, which can be single or cluster.

product_id

String

Indicates the product ID.

ecs_flavor_id

String

ECS flavor ID.

billing_code

String

CBC specification code.

arch_types

Array of strings

Architecture types.

charging_mode

Object

Billing mode.

ios

Object

Supported I/O type.

support_features

Object

Supported features.

properties

Object

Features.

available_zones

Array of strings

Availability zones.

unavailable_zones

Array of strings

Unavailability zones.

qingtian_incompatible

Boolean

Whether the instance is a QingTian instance.

Example Request

GET https://{endpoint}/v1.0/products

Example Response

Status code: 200

Metrics queried successfully.

{
  "engine" : "rocketmq",
  "versions" : [ ],
  "products" : [ ]
}

Status Code

Status Code

Description

200

Metrics queried successfully.

Error Code

See Error Codes.