获取用户视图列表¶
GET /api/v1/dashboard/inner_list
概述¶
Query 请求参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
search | string | 视图名称搜索 允许为空: False |
参数补充说明¶
响应主体结构说明
参数名 | type | 说明 |
---|---|---|
chartGroupPos | list | 图表组的位置信息 |
chartPos | list | 图表位置信息 |
createdWay | string | 该内置视图创建方式, 手动创建:manual,导入创建:import |
dashboardBidding | dict | 仪表板绑定的信息 |
name | string | 仪表板名称 |
请求例子¶
curl 'https://openapi.guance.com/api/v1/dashboard/inner_list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed
响应¶
{
"code": 200,
"content": {
"data": [
{
"chartGroupPos": [],
"chartPos": [],
"createAt": 1698723059,
"createdWay": "manual",
"creator": "acnt_xxxx32",
"dashboardBindSet": [],
"deleteAt": -1,
"extend": {},
"iconSet": {},
"id": 4602,
"innerTemplate": null,
"isPublic": 1,
"mapping": [],
"name": "test2",
"ownerType": "inner",
"status": 0,
"type": "CUSTOM",
"updateAt": 1698723059,
"updator": "acnt_xxxx32",
"uuid": "dsbd_xxxx32",
"workspaceUUID": "wksp_xxxx32"
},
{
"chartGroupPos": [],
"chartPos": [
{
"chartUUID": "chrt_xxxx32",
"pos": {
"h": 8,
"w": 6,
"x": 0,
"y": 0
}
},
{
"chartUUID": "chrt_xxxx32",
"pos": {
"h": 17,
"w": 12,
"x": 12,
"y": 16
}
},
{
"chartUUID": "chrt_xxxx32",
"pos": {
"h": 17,
"w": 12,
"x": 0,
"y": 16
}
},
{
"chartUUID": "chrt_xxxx32",
"pos": {
"h": 16,
"w": 6,
"x": 6,
"y": 0
}
},
{
"chartUUID": "chrt_xxxx32",
"pos": {
"h": 16,
"w": 6,
"x": 12,
"y": 0
}
},
{
"chartUUID": "chrt_xxxx32",
"pos": {
"h": 29,
"w": 24,
"x": 0,
"y": 33
}
},
{
"chartUUID": "chrt_xxxx32",
"pos": {
"h": 16,
"w": 6,
"x": 18,
"y": 0
}
},
{
"chartUUID": "chrt_xxxx32",
"pos": {
"h": 8,
"w": 6,
"x": 0,
"y": 8
}
}
],
"createAt": 1695633499,
"createdWay": "manual",
"creator": "acnt_xxxx32",
"dashboardBindSet": [],
"deleteAt": -1,
"extend": {},
"iconSet": {
"icon": "http://testing-static-res.dataflux.cn/dataflux-template/dashboard/zh/mysql_activity/icon.svg",
"url": "http://testing-static-res.dataflux.cn/dataflux-template/dashboard/zh/mysql_activity/mysql_activity.png"
},
"id": 4490,
"innerTemplate": null,
"isPublic": 1,
"mapping": [],
"name": "Mysql Activity 监控视图111111",
"ownerType": "inner",
"status": 0,
"type": "CUSTOM",
"updateAt": 1697626939,
"updator": "acnt_xxxx32",
"uuid": "dsbd_xxxx32",
"workspaceUUID": "wksp_xxxx32"
}
]
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-90E8A4C6-D20C-4597-AC65-748991DC45F5"
}