跳转至

修改单个仪表板轮播配置



POST /api/v1/dashboard/carousel/{carousel_uuid}/modify

概述

路由参数

参数名 类型 必选 说明
carousel_uuid string Y 轮播UUID

Body 请求参数

参数名 类型 必选 说明
dashboardUUIDs array Y 仪表板轮播列表名称
允许为空: False
name string Y 仪表板轮播名称
允许为空: False
最大长度: 256
intervalTime string Y 轮播频率
允许为空: False

参数补充说明

请求例子

curl 'https://openapi.guance.com/api/v1/dashboard/carousel/csel_xxxx32/modify' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh' \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data-raw '{"name":"test2","dashboardUUIDs":["dsbd_xxxx32", "dsbd_xxxx32"],"intervalTime":"40s"}' \
--compressed

响应

{
    "code": 200,
    "content": {
        "accountUUID": "wsak_xxxxx",
        "createAt": 1698663545,
        "creator": "wsak_xxxxx",
        "dashboardUUIDs": [
            "dsbd_xxxx32",
            "dsbd_xxxx32"
        ],
        "deleteAt": -1,
        "id": 30,
        "intervalTime": "40s",
        "name": "test2",
        "status": 0,
        "updateAt": 1698664410,
        "updator": "wsak_xxxxx",
        "uuid": "csel_xxxx32",
        "workspaceUUID": "wksp_xxxx32"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-1D046084-B570-4955-B84B-CE5E226E7668"
} 

文档评价

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