文档

ListConfigTemplates - 获取配置模板列表

调用ListConfigTemplates接口获取配置模板列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET /pop/v5/config_template

请求参数

名称类型必填描述示例值
CurrentPagelong

页码,从 1 开始计数。

1
PageSizelong

页大小。

10
Idlong

配置模板 ID。

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

配置模板名称。

config-tmpl-1

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求 ID。

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

接口状态或 POP 错误码。

200
Messagestring

附加信息。

success
Dataobject

查询结果。

CurrentPageinteger

当前分页号。

1
PageSizeinteger

分页大小。

10
TotalSizelong

配置模板总数。

100
Resultobject []

配置模板列表。

Idstring

配置模板 ID。

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

配置模板名称。

config-tmpl-1
Formatstring

模板数据格式。

JSON
Descriptionstring

模板描述。

测试配置模板
Contentstring

模板内容。

{"name":"William"}
GmtCreatelong

创建时间。

1638171689626
GmtModifiedlong

更新时间。

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错误码错误信息
500Edas.errorcode.PermissionDenied.message You are not authorized to perform the operation.

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2022-01-13新增 OpenAPI看变更集
  • 本页导读 (1)
文档反馈