콘텐츠로 이동

수정



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

개요

경로 매개변수

매개변수명 유형 필수 설명
carousel_uuid string Y 슬라이드쇼 UUID

본문 요청 매개변수

매개변수명 유형 필수 설명
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"
} 

문서 평가

이 페이지가 도움이 되었나요?