取得¶
GET /api/v1/dashboard/{dashboard_uuid}/get
概要¶
ルートパラメータ¶
| パラメータ名 | タイプ | 必須 | 説明 |
|---|---|---|---|
| dashboard_uuid | string | Y | ダッシュボード UUID |
パラメータ補足説明¶
レスポンスボディの構造説明
| パラメータ名 | type | 説明 |
|---|---|---|
| chartGroupPos | list | チャートグループの位置情報 |
| chartPos | list | チャートの位置情報 |
| createdWay | string | 組み込みダッシュボードの作成方法。手動作成:manual、インポート作成:import |
| dashboardBidding | dict | ダッシュボードのバインド情報 |
| name | string | ダッシュボード名 |
リクエスト例¶
curl 'https://openapi.guance.com/api/v1/dashboard/dsbd_xxxx32/get' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed
レスポンス¶
{
"code": 200,
"content": {
"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",
"dashboardBidding": {
"container_name": [
{
"op": "in",
"value": [
"worker-0"
]
}
],
"host": [
{
"op": "in",
"value": [
"izbp152ke14timzud0du15z"
]
}
]
},
"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,
"isPublic": 1,
"mapping": [],
"name": "Mysql Activity Monitor View111111",
"ownerType": "inner",
"status": 0,
"tag_info": {},
"type": "CUSTOM",
"updateAt": 1697626939,
"updator": "acnt_xxxx32",
"uuid": "dsbd_xxxx32",
"workspaceUUID": "wksp_xxxx32"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-45F426E9-FB47-46E9-A231-534835ECEDCB"
}