跳转到主要内容
PATCH
/
base
/
{baseId}
/
dashboard
/
{id}
/
layout
cURL
curl --request PATCH \
  --url http://127.0.0.1:3000/api/base/{baseId}/dashboard/{id}/layout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "layout": [
    {
      "pluginInstallId": "<string>",
      "x": 123,
      "y": 123,
      "w": 123,
      "h": 123
    }
  ]
}
'
{
  "id": "<string>",
  "layout": [
    {
      "pluginInstallId": "<string>",
      "x": 123,
      "y": 123,
      "w": 123,
      "h": 123
    }
  ]
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

baseId
string
必填
id
string
必填

请求体

application/json
layout
object[]
必填

响应

200 - application/json

Returns data about the updated dashboard layout.

id
string
必填
layout
object[]
必填
Last modified on December 10, 2025