跳转至

修改一个仪表板



POST /api/v1/dashboards/{dashboard_uuid}/modify

概述

修改仪表板的属性信息,

路由参数

参数名 类型 必选 说明
dashboard_uuid string Y 视图UUID

Body 请求参数

参数名 类型 必选 说明
name string 视图名称
例子: 测试视图1号
允许为空: False
extend json 视图额外信息
例子: {}
允许为空: False
mapping array mapping, 默认为[]
例子: []
允许为空: False
tagNames array tag的name,注意此字段为全量更新
允许为空: False

参数补充说明

响应

{
    "code": 200,
    "content": {
        "chartGroupPos": [],
        "chartPos": [
            {
                "chartUUID": "chrt_1cbdbf10c1494c80b36b91b4e0e1ab90",
                "pos": {
                    "h": 11,
                    "i": "chrt_2e650ef84b1a4eb389011fd95f7db11e",
                    "w": 11,
                    "x": 0,
                    "y": 0
                }
            }
        ],
        "createAt": 1642587228,
        "createdWay": "import",
        "creator": "acnt_5fc5bb139e474911b6d3d300863f0c8b",
        "dashboardBidding": {},
        "dashboardBindSet": [],
        "deleteAt": -1,
        "extend": {},
        "iconSet": {},
        "id": 2494,
        "mapping": [],
        "name": "testt",
        "old_name": "openapi",
        "ownerType": "node",
        "status": 0,
        "tag_info": {
            "sceneInfo": [],
            "tagInfo": []
        },
        "type": "CUSTOM",
        "updateAt": 1642587908.306098,
        "updator": "wsak_xxxxx",
        "updatorInfo": {
            "iconUrl": "",
            "name": "第一个key",
            "username": "AK(wsak_xxxxx)"
        },
        "uuid": "dsbd_541083cc19ec4d27ad597839a0477a97",
        "workspaceUUID": "wksp_c4201f4ef30c4a86b01a998e7544f822"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-5F0F4D27-0A77-41B3-9E05-227648467853"
} 

文档评价

文档内容是否对您有帮助? ×