仪表板
保存我的仪表板
POST
/api/dashboard使用提供的名称、描述和配置创建或更新当前用户的个人仪表板。
Headers
| Name | Type | Description |
|---|---|---|
| Authorizationrequired | string | Authentication credentials, e.g. Bearer <token>. |
Request body
| Name | Type | Description |
|---|---|---|
| description | string | Description of the dashboard. |
| name | string | Display name of the dashboard. |
| parameters | object | Dashboard configuration, including components, layout, and saved reports. |
Example request
Responses
200The operation completed successfully.
| Name | Type | Description |
|---|---|---|
| createdAtrequired | string | Date and time the record was created. |
| descriptionrequired | string | Description of the dashboard. |
| idrequired | string | Dashboard board ID, equal to the owning user ID. |
| namerequired | string | Display name of the dashboard. |
| parametersrequired | anyOf | Dashboard configuration, including components, layout, and saved reports. |
| teamIdrequired | string | ID of the associated team, if any. |
| typerequired | string | Board type used for the dashboard. |
| updatedAtrequired | string | Date and time the record was last updated. |
| userIdrequired | string | ID of the user who owns the dashboard. |
200 example
400Bad request.
| Name | Type | Description |
|---|---|---|
| errorrequired | object | Error details returned when the operation fails. |
400 example
401Unauthorized.
| Name | Type | Description |
|---|---|---|
| errorrequired | object | Error details returned when the operation fails. |
401 example
Code samples
cURL