Skip to content

Get



GET /api/v1/dashboard/{dashboard_uuid}/get

Overview

Retrieve the configuration, chart layout, and binding conditions of a specified built-in view.

Prerequisites and Usage Steps

First obtain the UUID using Built-in View List. When you need to modify and preserve bindings, read and save content.dashboardBidding first. If you need portable template content, call Export Built-in View.

Route Parameters

Parameter Type Required Description
dashboard_uuid string Y UUID of the built-in view in the current workspace.
Example: dsbd_inner_example
How to obtain or fill in: Obtain from content.data[].uuid in Built-in View List, or use content.uuid from the create response.

Request Headers

Parameter Type Required Description
DF-API-KEY string Y OpenAPI authentication credential of the workspace.
Example: <DF-API-KEY>
How to obtain or fill in: Obtain an OpenAPI Key with the required permission from API Key management in the target workspace.

Additional Parameter Notes

The layout in the details contains chart identifiers and positions. Obtain the complete chart configuration through export.

Request Example

curl --get 'https://openapi.guance.com/api/v1/dashboard/dsbd_inner_example/get' \
  -H 'DF-API-KEY: <DF-API-KEY>'

Response

HTTP 200, application/json. The example below shows the main fields that can be read directly.

Field Type Description
content.id integer Built-in view record ID.
content.uuid string Built-in view UUID.
content.workspaceUUID string Workspace the view belongs to.
content.name string Built-in view name.
content.desc string Built-in view description.
content.identifier string Custom identifier; can be empty.
content.ownerType string Resource ownership of the built-in view; for built-in views this is inner.
content.type string Built-in view type, for example CUSTOM.
content.isPublic integer Details access scope. 1 is public; 0 means only the creator identity can access.
content.chartPos array<object> Chart layout array, containing chartUUID and the layout object pos.
content.chartPos[].chartUUID string UUID of the referenced chart.
content.chartPos[].pos object Position and size of the layout, such as x, y, w, h.
content.chartGroupPos array<string> Order of chart groups.
content.iconSet object Icon configuration.
content.extend object Extended information of the built-in view.
content.mapping array<object> Variable field mapping information.
content.dashboardBindSet array View binding configuration.
content.createdWay string Resource creation source.
content.openPermissionSet boolean Permission configuration switch for entity records.
content.permissionSet array<string> UUIDs of operation permission principals in the record.
content.readPermissionSet array<string> UUIDs of read permission principals in the record.
content.status integer Record status.
content.creator string Creator identity ID.
content.updator string Most recent updater identity ID; can be empty.
content.createAt number Creation time, in Unix seconds.
content.updateAt number Update time, in Unix seconds. Can be -1 when not updated.
content.deleteAt number Deletion time, in Unix seconds. -1 when not deleted.
content.creatorInfo object Creator identity information; an empty object when not found.
content.updatorInfo object Most recent updater identity information; an empty object when not found.
content.creatorInfo.uuid string May be provided when the corresponding identity is found. Identity identifier.
content.creatorInfo.status integer May be provided when the corresponding identity is found. Account status.
content.creatorInfo.wsAccountStatus integer May be provided when the corresponding identity is found. Workspace member status.
content.creatorInfo.username string May be provided when the corresponding identity is found. Login name.
content.creatorInfo.name string May be provided when the corresponding identity is found. Display name.
content.creatorInfo.iconUrl string May be provided when the corresponding identity is found. Avatar URL.
content.creatorInfo.email string May be provided when the corresponding identity is found. Account email. API Key identities may return their identifier.
content.creatorInfo.mobile string May be provided when the corresponding identity is found. Contact information.
content.creatorInfo.countryCode string May be provided when the corresponding identity is found. Country or region code of the phone number.
content.creatorInfo.acntWsNickname string May be provided when the corresponding identity is found. Nickname within the workspace.
content.updatorInfo.uuid string May be provided when the corresponding identity is found. Identity identifier.
content.updatorInfo.status integer May be provided when the corresponding identity is found. Account status.
content.updatorInfo.wsAccountStatus integer May be provided when the corresponding identity is found. Workspace member status.
content.updatorInfo.username string May be provided when the corresponding identity is found. Login name.
content.updatorInfo.name string May be provided when the corresponding identity is found. Display name.
content.updatorInfo.iconUrl string May be provided when the corresponding identity is found. Avatar URL.
content.updatorInfo.email string May be provided when the corresponding identity is found. Account email. API Key identities may return their identifier.
content.updatorInfo.mobile string May be provided when the corresponding identity is found. Contact information.
content.updatorInfo.countryCode string May be provided when the corresponding identity is found. Country or region code of the phone number.
content.updatorInfo.acntWsNickname string May be provided when the corresponding identity is found. Nickname within the workspace.
content.isIndexDashboard boolean Whether this is the workspace home page view returned for the current identity.
content.refCheckerUUIDs array<string> UUIDs of Monitors associated with this view.
content.dashboardBidding object Binding condition object. An empty object when there are no bindings.
content.dashboardBidding.* array<object> Array of matching conditions organized by actual source field.
content.dashboardBidding.*[].op string Match operator.
content.dashboardBidding.*[].value array<string> Array of match values.
content.tagInfo array<object> Built-in views currently return an empty array.
content.declaration object or null Public declaration of the workspace.
{
  "code": 200,
  "content": {
    "id": 72,
    "uuid": "dsbd_inner_example",
    "name": "Host details built-in view",
    "desc": "View running status by host",
    "workspaceUUID": "wksp_example",
    "identifier": "host-overview",
    "ownerType": "inner",
    "type": "CUSTOM",
    "isPublic": 1,
    "chartPos": [],
    "chartGroupPos": [],
    "iconSet": {},
    "extend": {},
    "mapping": [],
    "dashboardBindSet": [],
    "createdWay": "manual",
    "openPermissionSet": false,
    "permissionSet": [],
    "readPermissionSet": [],
    "status": 0,
    "creator": "wsak_example",
    "updator": "",
    "createAt": 1785427200,
    "updateAt": -1,
    "deleteAt": -1,
    "dashboardBidding": {
      "host": [
        {
          "op": "in",
          "value": [
            "web-01"
          ]
        }
      ]
    },
    "tagInfo": [],
    "isIndexDashboard": false,
    "refCheckerUUIDs": [],
    "creatorInfo": {},
    "updatorInfo": {},
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Response

For authentication, rate limiting, and common request errors, see Common Error Definitions.

HTTP Status errorCode Trigger Condition Message or Response Description Resolution
404 ft.NotFoundView The target does not exist, has been deleted, or does not belong to this workspace Specified view not found Obtain a still-valid UUID from the built-in view list in the same workspace.
403 ft.ForbiddenOperationResource The API Key does not have valid operation permission on the target view No operation permission Confirm workspace ownership and API Key permissions, or contact the resource creator.
403 ft.ForbiddenAccessResourceNoPublic The identity accessing the private view differs from the view creator identity No resource access permission, the current page is not public Perform the operation with the creator identity that has access, and confirm you are using an API Key from the same workspace.

Feedback

Is this page helpful?