Queries products as a user.
Operation description
Make sure that you are granted the permissions to manage relevant products as a user by an administrator. For more information, see Manage access permissions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Filters | object [] | No | The filter conditions. | |
Key | string | No | The name of the filter condition. Valid values:
| ProductName |
Value | string | No | The value of the filter condition. | DEMO-Create an ECS instance |
SortBy | string | No | The field that is used to sort data. The default value is CreateTime, which specifies the time when the product was created. | CreateTime |
SortOrder | string | No | The method that is used to sort the returned entries. Valid values:
| Desc |
PageNumber | integer | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Valid values: 1 to 100. Default value: 10. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"ProductSummaries": [
{
"Description": "The description of the product.\n",
"CreateTime": "2022-04-12T06:10:37Z",
"ProductId": "prod-bp18r7q127****",
"ProductArn": "acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****",
"ProductName": "DEMO-Create an ECS instance\n",
"ProviderName": "IT team\n",
"ProductType": "Ros",
"HasDefaultLaunchOption": true,
"TemplateType": "RosTerraformTemplate"
}
],
"TotalCount": 100,
"PageNumber": 1,
"PageSize": 10
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
500 | InternalError | A system error occurred. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||
---|---|---|---|---|
2024-02-27 | The response structure of the API has changed | see changesets | ||
|