π§ [Experimental] Update dashboard
Updates the specified dashboard.
Request
POST
http://<Ρ
ΠΎΡΡ_on-premises>/rpc/updateDashboard
Headers
|
Name |
Description |
|
x-dl-api-version |
Type: string API version header. Const: Example: |
Body
application/json
{
"entry": {
"entryId": "example",
"data": {
"counter": 1,
"salt": "example",
"schemeVersion": 8,
"tabs": [
{
"id": "example",
"title": "example",
"hidden": true,
"items": [
null
],
"layout": [
null
],
"connections": [
null
],
"aliases": {},
"globalItems": [
null
],
"settings": {}
}
],
"settings": {
"autoupdateInterval": 30,
"maxConcurrentRequests": 1,
"loadPriority": "charts",
"silentLoading": true,
"dependentSelectors": true,
"globalParams": {},
"signedGlobalParams": {},
"hideTabs": true,
"hideDashTitle": true,
"expandTOC": true,
"backgroundSettings": {
"color": null
},
"widgetsSettings": {
"borderRadius": 0.5,
"backgroundSettings": {}
},
"loadOnlyVisibleCharts": true,
"margins": [
null
],
"enableAssistant": true
},
"supportDescription": "example",
"accessDescription": "example",
"description": "example"
},
"meta": {},
"revId": "example",
"annotation": {
"description": "example"
}
},
"mode": "save",
"lockToken": "example"
}
|
Name |
Description |
||||||||||
|
entry |
Type: object
Example
|
||||||||||
|
mode |
Type: EntryUpdateMode Entry update mode. Enum: |
||||||||||
|
lockToken |
Type: string Example: |
DashboardData
|
Name |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
counter |
Type: integer Counter used to generate item identifiers. Min value: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
salt |
Type: string Salt used to generate item identifiers. Min length: Example: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
schemeVersion |
Type: number Dashboard schema version. Const: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
settings |
Type: object
Dashboard settings. Example
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
tabs |
Type: object[]
Dashboard tabs. Example
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
accessDescription |
Type: string Custom message shown when access is denied. Example: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
description |
Type: string Deprecated. Use Example: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
supportDescription |
Type: string Custom message shown when contacting support. Example: |
Example
{
"counter": 1,
"salt": "example",
"schemeVersion": 8,
"tabs": [
{
"id": "example",
"title": "example",
"hidden": true,
"items": [
{}
],
"layout": [
{
"i": "example",
"h": 0.5,
"w": 0.5,
"x": 0.5,
"y": 0.5,
"parent": "example"
}
],
"connections": [
{
"from": "example",
"to": "example",
"kind": "ignore"
}
],
"aliases": {
"default": [
[
null,
null
]
]
},
"globalItems": [
{}
],
"settings": {
"fixedHeaderCollapsedDefault": true,
"isGoldenset": true
}
}
],
"settings": {
"autoupdateInterval": 30,
"maxConcurrentRequests": 1,
"loadPriority": "charts",
"silentLoading": true,
"dependentSelectors": true,
"globalParams": {},
"signedGlobalParams": {},
"hideTabs": true,
"hideDashTitle": true,
"expandTOC": true,
"backgroundSettings": {
"color": {
"light": "example",
"dark": "example"
}
},
"widgetsSettings": {
"borderRadius": 0.5,
"backgroundSettings": {
"color": {}
}
},
"loadOnlyVisibleCharts": true,
"margins": [
null
],
"enableAssistant": true
},
"supportDescription": "example",
"accessDescription": "example",
"description": "example"
}
DashboardMeta
Type: object | null
Example
{}
EntryAnnotationArg
|
Name |
Description |
|
description |
Type: string Description of the entry. Example: |
Example
{
"description": "example"
}
EntryUpdateMode
Entry update mode.
Type: string
Enum: save, publish
Responses
200 OK
Response
Body
application/json
{
"entry": {
"annotation": {
"description": "example"
},
"createdAt": "example",
"createdBy": "example",
"data": {
"counter": 1,
"salt": "example",
"schemeVersion": 8,
"tabs": [
{
"id": "example",
"title": "example",
"hidden": true,
"items": [
null
],
"layout": [
null
],
"connections": [
null
],
"aliases": {},
"globalItems": [
null
],
"settings": {}
}
],
"settings": {
"autoupdateInterval": 30,
"maxConcurrentRequests": 1,
"loadPriority": "charts",
"silentLoading": true,
"dependentSelectors": true,
"globalParams": {},
"signedGlobalParams": {},
"hideTabs": true,
"hideDashTitle": true,
"expandTOC": true,
"backgroundSettings": {
"color": null
},
"widgetsSettings": {
"borderRadius": 0.5,
"backgroundSettings": {}
},
"loadOnlyVisibleCharts": true,
"margins": [
null
],
"enableAssistant": true
},
"supportDescription": "example",
"accessDescription": "example",
"description": "example"
},
"entryId": "example",
"hidden": true,
"key": "example",
"links": {},
"meta": {},
"public": true,
"publishedId": "example",
"revId": "example",
"savedId": "example",
"scope": "dash",
"tenantId": "example",
"type": "",
"updatedAt": "example",
"updatedBy": "example",
"revUpdatedAt": "example",
"revUpdatedBy": "example",
"version": 1,
"workbookId": null
}
}
|
Name |
Description |
|
entry |
Type: DashboardV1 Example
|
EntryAnnotation
Type: object | null
Example
{
"description": "example"
}
DashboardV1
|
Name |
Description |
|
createdAt |
Type: string Example: |
|
createdBy |
Type: string Example: |
|
data |
Type: DashboardData Example
|
|
entryId |
Type: string Example: |
|
hidden |
Type: boolean |
|
key |
Type: string | null Example: |
|
meta |
Type: DashboardMeta Example
|
|
public |
Type: boolean |
|
publishedId |
Type: string | null Example: |
|
revId |
Type: string Example: |
|
savedId |
Type: string Example: |
|
scope |
Type: string Const: Example: |
|
tenantId |
Type: string Example: |
|
type |
Type: string Const: `` Example: |
|
updatedAt |
Type: string Example: |
|
updatedBy |
Type: string Example: |
|
version |
Type: number Const: |
|
workbookId |
Any of 3 types
Example: |
|
annotation |
Type: EntryAnnotation Example
|
|
links |
Type: object | null Example
|
|
revUpdatedAt |
Type: string Date and time when the current revision was last updated. Example: |
|
revUpdatedBy |
Type: string ID of the user who last updated the current revision. Example: |
Example
{
"annotation": {
"description": "example"
},
"createdAt": "example",
"createdBy": "example",
"data": {
"counter": 1,
"salt": "example",
"schemeVersion": 8,
"tabs": [
{
"id": "example",
"title": "example",
"hidden": true,
"items": [
null
],
"layout": [
{}
],
"connections": [
{}
],
"aliases": {
"default": [
null
]
},
"globalItems": [
null
],
"settings": {
"fixedHeaderCollapsedDefault": true,
"isGoldenset": true
}
}
],
"settings": {
"autoupdateInterval": 30,
"maxConcurrentRequests": 1,
"loadPriority": "charts",
"silentLoading": true,
"dependentSelectors": true,
"globalParams": {},
"signedGlobalParams": {},
"hideTabs": true,
"hideDashTitle": true,
"expandTOC": true,
"backgroundSettings": {
"color": {}
},
"widgetsSettings": {
"borderRadius": 0.5,
"backgroundSettings": {
"color": null
}
},
"loadOnlyVisibleCharts": true,
"margins": [
null
],
"enableAssistant": true
},
"supportDescription": "example",
"accessDescription": "example",
"description": "example"
},
"entryId": "example",
"hidden": true,
"key": "example",
"links": {},
"meta": {},
"public": true,
"publishedId": "example",
"revId": "example",
"savedId": "example",
"scope": "dash",
"tenantId": "example",
"type": "",
"updatedAt": "example",
"updatedBy": "example",
"revUpdatedAt": "example",
"revUpdatedBy": "example",
"version": 1,
"workbookId": null
}