全部產品
Search
文件中心

Enterprise Distributed Application Service:ListConfigTemplates - 擷取配置模板列表

更新時間:Dec 22, 2025

調用ListConfigTemplates介面擷取配置模板列表。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

GET /pop/v5/config_template HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

CurrentPage

integer

頁碼,從 1 開始計數。

1

PageSize

integer

頁大小。

10

Id

integer

配置模板 ID。

3d84efaf-37d9-49fb-a3a8-b38d5c******

Name

string

配置模板名稱。

config-tmpl-1

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

請求 ID。

4D9F-DR94-FD****************

Code

integer

介面狀態或 POP 錯誤碼。

200

Message

string

附加資訊。

success

Data

object

查詢結果。

CurrentPage

integer

當前分頁號。

1

PageSize

integer

分頁大小。

10

TotalSize

integer

配置模板總數。

100

Result

array<object>

配置模板列表。

object

Id

string

配置模板 ID。

3d84efaf-37d9-49fb-a3a8-b38d5c2b460c

Name

string

配置模板名稱。

config-tmpl-1

Format

string

模板資料格式。

JSON

Description

string

模板描述。

測試組態模板

Content

string

模板內容。

{"name":"William"}

GmtCreate

integer

建立時間。

1638171689626

GmtModified

integer

更新時間。

1638171689626

樣本

正常返回樣本

JSON格式

{
  "RequestId": "4D9F-DR94-FD****************",
  "Code": 200,
  "Message": "success",
  "Data": {
    "CurrentPage": 1,
    "PageSize": 10,
    "TotalSize": 100,
    "Result": [
      {
        "Id": "3d84efaf-37d9-49fb-a3a8-b38d5c2b460c",
        "Name": "config-tmpl-1",
        "Format": "JSON",
        "Description": "測試組態模板",
        "Content": "{\"name\":\"William\"}",
        "GmtCreate": 1638171689626,
        "GmtModified": 1638171689626
      }
    ]
  }
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

500 Edas.errorcode.PermissionDenied.message You are not authorized to perform the operation.

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情