擷取模板列表,包括模板名稱、架構圖地址、架構圖序列化檔案地址等。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
bpstudio:ListTemplate |
get |
*BPStudioVirtual
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| NextToken |
integer |
是 |
頁碼 |
1 |
| MaxResults |
integer |
是 |
分頁大小 |
10 |
| OrderType |
integer |
否 |
排序欄位:
|
1 |
| Keyword |
string |
否 |
搜尋模板名稱關鍵字 |
“CADT” |
| Type |
string |
是 |
“public”代表開放模板,“private”代表私人模板。 |
private |
TagList
deprecated
|
integer |
否 |
模板的標籤 |
2 |
| ResourceGroupId |
string |
否 |
資源群組 ID |
rg-acfmyjt3c5om3hi |
| Tag |
array<object> |
否 |
標籤列表。 |
|
|
object |
否 |
標籤資訊 |
||
| Key |
string |
否 |
標籤鍵 |
tag |
| Value |
string |
否 |
標籤值 |
value |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| TotalCount |
integer |
總數量 |
100 |
| Message |
string |
錯誤資訊 |
Success |
| NextToken |
integer |
頁碼 |
1 |
| RequestId |
string |
請求 ID |
A07FFDF2-78FA-1B48-9E38-88E833A93187 |
| Data |
array<object> |
模板列表 |
|
|
array<object> |
|||
| ImageURL |
string |
模板的圖片連結 |
bp-studio-template/sr-U37UD2YQCRJ75X5V.png |
TagId
deprecated
|
integer |
模板的標籤的 ID |
1 |
TagName
deprecated
|
string |
模板標籤的名稱 |
TagName |
| Name |
string |
模板的名稱 |
cadt-name |
| TemplateId |
string |
模板的 ID |
CJQ6H0XUEQ20IYJQ |
| CreateTime |
string |
建立時間 |
2021-03-18 16:41:31 |
| ResourceGroupId |
string |
資源群組 ID |
rg-acfmyjt3c5om3hi |
| Tag |
array<object> |
標籤列表 |
|
|
object |
標籤資訊 |
||
| Key |
string |
標籤鍵 |
tag1 |
| Value |
string |
標籤值 |
value1 |
| Description |
string |
模版描述資訊 |
|
| DocumentUrl |
string |
情境詳情 |
|
| Code |
string |
狀態代碼 |
200 |
樣本
正常返回樣本
JSON格式
{
"TotalCount": 100,
"Message": "Success",
"NextToken": 1,
"RequestId": "A07FFDF2-78FA-1B48-9E38-88E833A93187",
"Data": [
{
"ImageURL": "bp-studio-template/sr-U37UD2YQCRJ75X5V.png",
"TagId": 1,
"TagName": "TagName",
"Name": "cadt-name",
"TemplateId": "CJQ6H0XUEQ20IYJQ",
"CreateTime": "2021-03-18 16:41:31",
"ResourceGroupId": "rg-acfmyjt3c5om3hi",
"Tag": [
{
"Key": "tag1",
"Value": "value1"
}
],
"Description": "",
"DocumentUrl": ""
}
],
"Code": "200"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 200 | Success | The transaction is successful. | |
| 400 | ParameterEmpty | You must specify the request parameter. | 您必須指定請求參數。 |
| 500 | ServiceError | A server error occurred. Please try again later. | 伺服器異常,請稍後再試 |
| 404 | EntityNotExist.ResourceId | The resource does not exist. | 資源不存在 |
| 404 | EntityNotExist.ResourceGroup | The resource group does not exist. | 資源群組不存在 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。