更新时间:2021-12-17 GMT+08:00
分享

查询TOP公共模板

功能介绍

查询TOP使用的公共模板。

URI

  • URI格式
    GET /softcomai/datalake/dataplan/v1.0/static/template/top
  • 参数说明

    无。

请求

  • 请求样例
    GET https://ipaddr:port/softcomai/datalake/dataplan/v1.0/static/template/top?topn=5
  • 参数说明

    参数

    是否必选

    类型

    说明

    topn

    int

    前N个公共模板。

响应

  • 响应样例
    {
    "success":true,
    "returnData":[
    {
    "id":"P_20191203190155_1948853236",
    "name":"数据生成V1",
    "cnt":17
    },
    {
    "id":"P_20191203093003_211071265",
    "name":"数据生成20191203",
    "cnt":14
    },
    {
    "id":"P_20191212150338_288412832",
    "name":"数据生成20191212",
    "cnt":12
    },
    {
    "id":"P_20191218091313_6312821",
    "name":"Dcpue1218",
    "cnt":6
    },
    {
    "id":"P_20191217130025_1959795240",
    "name":"KPI异常检测模板",
    "cnt":6
    }
    ]
    }
  • 要素说明

    参数名

    参数类型

    备注

    success

    String

    请求是否成功,取值包括true和false。

    returnData

    JSON

    返回值。

    id

    String

    模板ID。

    name

    String

    模板名称。

    cnt

    int

    模板数量。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品