Create a Single Dashboard Carousel Configuration¶
POST /api/v1/dashboard/carousel/add
Overview¶
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
dashboardUUIDs | array | Y | List of dashboard UUIDs for carousel Allow empty: False |
name | string | Y | Name of the dashboard carousel Allow empty: False Maximum length: 256 |
intervalTime | string | Y | Carousel interval time Allow empty: False |
Additional Parameter Explanation¶
Request Example¶
curl 'https://openapi.guance.com/api/v1/dashboard/carousel/add' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: en' \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data-raw '{"name":"test1","dashboardUUIDs":["dsbd_xxxx32"],"intervalTime":"30s"}' \
--compressed
Response¶
{
"code": 200,
"content": {
"accountUUID": "wsak_xxxxx",
"createAt": 1698663461,
"creator": "wsak_xxxxx",
"dashboardUUIDs": [
"dsbd_xxxx32"
],
"deleteAt": -1,
"id": 29,
"intervalTime": "30s",
"name": "test1",
"status": 0,
"updateAt": 1698663461,
"updator": "wsak_xxxxx",
"uuid": "csel_xxxx32",
"workspaceUUID": "wksp_xxxx32"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-F7A6DEEE-80B5-4815-AA58-670F75428CD4"
}