跳转到主要内容
监控与采集相关接口/Grafana 集成

查询仪表盘模板列表

列表可用Grafana仪表盘模板组织分类。

GET/api/v1/monitoring/grafana/dashboard-templates

操作 ID

ListDashboardTemplates

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

调用该 API 时需要在请求头中携带以下认证信息。

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

此接口无需请求参数。

响应状态

200 OK
200 OK

该 API 成功时返回以下响应结构。

  • items
    List

    条目列表。

    示例: (nested array)

    • id
      String

      资源ID。

      示例: tpl-vm-overview

    • name
      String

      资源名称。

      示例: VM Overview Dashboard

    • category
      String

      类型分类。

      示例: compute

    • description
      String

      资源的详细描述。

      示例: Provides CPU, memory, and disk panels for all VMs in a cluster

    • version
      String

      版本号。

      示例: 1.2.0

  • total
    Integer

    返回结果总数。

    示例: 10

  • limit
    Integer

    最大返回条目数。

    示例: 20

  • offset
    Integer

    查询起始偏移量。

    示例: 20