All Products
Search
Document Center

Cloud Control API:ListProducts

Last Updated:Mar 06, 2025

Calls this operation to list the supported services.

Operation description

GET /api/v1/providers/{provider}/products.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /api/v1/providers/{provider}/products HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
x-acs-accept-languagestringNo

Select the language in which the response is returned.

zh_CH: Chinese (default).

en_US: English.

zh_CH
providerstringYes

The Cloud service provider. Only Aliyun is supported.

Aliyun
nextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.

ECS
maxResultsintegerNo

The number of entries per page. Maximum value: 100.

10

Response parameters

ParameterTypeDescriptionExample
object

The returned data.

maxResultsinteger

The maximum number of entries returned.

10
nextTokenstring

A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.

Redis
productsarray<object>

The cloud services.

productobject

The service information.

productCodestring

The code of the service.

ECS
productNamestring

The service name.

Elastic Compute Service
requestIdstring

The ID of a request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
totalCountinteger

The total number of entries returned.

20

Examples

Sample success responses

JSONformat

{
  "maxResults": 10,
  "nextToken": "Redis",
  "products": [
    {
      "productCode": "ECS",
      "productName": "Elastic Compute Service"
    }
  ],
  "requestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "totalCount": 20
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history