Skip to content

Extend Information Configuration



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

Overview

Configure the default query workspace for a dashboard.

Route Parameters

Parameter Name Type Required Description
dashboard_uuid string Y View UUID

Body Request Parameters

Parameter Name Type Required Description
defaultTargetWorkspaceUUIDs array Y Configure the default query space for the dashboard.
Allow empty: False
targetRegion string Target workspace site regionCode. If not provided, defaults to the current site.
Example: testing
Allow empty: False
Allow empty string: False

Parameter Supplementary Explanation

Request Example

curl 'https://openapi.guance.com/api/v1/dashboards/dsbd_xxxx32/set_extend' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"defaultTargetWorkspaceUUIDs":["wksp_acf2be8b49f9437b85892109bf92089c"],"targetRegion":"testing"}' \
--compressed

Response

{
    "code": 200,
    "content": true,
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-A8696671-1A29-4701-98BA-FCE4988501F6"
}

Feedback

Is this page helpful? ×