Lists the templates visible to the current user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
composer:ListTemplates |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. The value starts from 1. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. The maximum value is 100 and the default value is 10. |
10 |
| Name |
string |
No |
The keyword used to search for templates. This parameter does not take effect if the Tag parameter is specified. |
test |
| Tag |
string |
No |
The tag used to filter templates. |
财务管理 |
| Lang |
string |
No |
The language of the template. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of templates. |
10 |
| RequestId |
string |
The ID of the request. |
ADB97A33-50E7-48A5-963D-ACBAE36D0BEC |
| Templates |
array<object> |
The list of templates. |
|
|
object |
The information about the template. |
||
| UpdateTime |
string |
The time when the template was last updated. |
2020-08-19T03:31:32.415Z |
| TemplateOverview |
string |
An overview of the template, which is a JSON string. |
[] |
| TemplateConnector |
string |
A list of connectors that are used in the template. Multiple connectors are separated by commas (,). |
oss,rds |
| CreateTime |
string |
The time when the template was created. |
2020-08-19T03:31:32.415Z |
| TemplateSummaryEn |
string |
The English summary of the template. |
This is a test template |
| TemplateName |
string |
The name of the template. |
测试模板 |
| TemplateVersion |
integer |
The version of the template. The value is a number that increments from 0. |
0 |
| TemplateLocale |
string |
The language of the template. Chinese (zh) and English (en) are supported. |
zh |
| TemplateCreator |
string |
The publisher of the template. |
逻辑编排 |
| TemplateDescription |
string |
The description of the template. |
这是一个测试用的模板 |
| TemplateTag |
string |
The tag of the template. |
finance |
| TemplateSummary |
string |
A brief introduction to the template. |
测试模板的简介 |
| TemplateId |
string |
The ID of the template. |
tp-uf6tbvhheciyxl |
Examples
Success response
JSON format
{
"TotalCount": 10,
"RequestId": "ADB97A33-50E7-48A5-963D-ACBAE36D0BEC",
"Templates": [
{
"UpdateTime": "2020-08-19T03:31:32.415Z",
"TemplateOverview": "[]",
"TemplateConnector": "oss,rds",
"CreateTime": "2020-08-19T03:31:32.415Z",
"TemplateSummaryEn": "This is a test template",
"TemplateName": "测试模板",
"TemplateVersion": 0,
"TemplateLocale": "zh",
"TemplateCreator": "逻辑编排",
"TemplateDescription": "这是一个测试用的模板",
"TemplateTag": "finance",
"TemplateSummary": "测试模板的简介",
"TemplateId": "tp-uf6tbvhheciyxl"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.