List available widgets
GET/api/v1/widgets/available
Returns the single panels (boxes) available from the configured Kibana and Grafana dashboards, grouped by source so the user can see where each panel comes from.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
builtin
object[]
required
Built-in UI panels the workspace ships with (download, notifications, deploy status)
Possible values: [kibana, grafana, builtin]
Possible values: [kibana, grafana, text, builtin]
Dashboard id (Kibana) or uid (Grafana)
Built-in panel key (for built-in widgets)
Grafana panel id
Kibana visualization id
Kibana panel reference name
Panel title
Panel type (timeseries, table, visualization, ...)
Suggested initial width, as a percentage of the dashboard width
Suggested initial height, as a percentage of the visible dashboard height
Public base url of the source service
Full url the UI can embed to render the single panel
kibana
object[]
required
Panels available from Kibana dashboards
Possible values: [kibana, grafana, builtin]
Possible values: [kibana, grafana, text, builtin]
Dashboard id (Kibana) or uid (Grafana)
Built-in panel key (for built-in widgets)
Grafana panel id
Kibana visualization id
Kibana panel reference name
Panel title
Panel type (timeseries, table, visualization, ...)
Suggested initial width, as a percentage of the dashboard width
Suggested initial height, as a percentage of the visible dashboard height
Public base url of the source service
Full url the UI can embed to render the single panel
grafana
object[]
required
Panels available from Grafana dashboards
Possible values: [kibana, grafana, builtin]
Possible values: [kibana, grafana, text, builtin]
Dashboard id (Kibana) or uid (Grafana)
Built-in panel key (for built-in widgets)
Grafana panel id
Kibana visualization id
Kibana panel reference name
Panel title
Panel type (timeseries, table, visualization, ...)
Suggested initial width, as a percentage of the dashboard width
Suggested initial height, as a percentage of the visible dashboard height
Public base url of the source service
Full url the UI can embed to render the single panel
{
"builtin": [
{
"source": "kibana",
"type": "kibana",
"dashboardId": "string",
"dashboardTitle": "string",
"builtinKey": "string",
"panelId": {},
"visualizationId": "string",
"panelRefName": "string",
"title": "string",
"panelType": "string",
"defaultWidthPercent": 0,
"defaultHeightPercent": 0,
"baseUrl": "string",
"embedUrl": "string"
}
],
"kibana": [
{
"source": "kibana",
"type": "kibana",
"dashboardId": "string",
"dashboardTitle": "string",
"builtinKey": "string",
"panelId": {},
"visualizationId": "string",
"panelRefName": "string",
"title": "string",
"panelType": "string",
"defaultWidthPercent": 0,
"defaultHeightPercent": 0,
"baseUrl": "string",
"embedUrl": "string"
}
],
"grafana": [
{
"source": "kibana",
"type": "kibana",
"dashboardId": "string",
"dashboardTitle": "string",
"builtinKey": "string",
"panelId": {},
"visualizationId": "string",
"panelRefName": "string",
"title": "string",
"panelType": "string",
"defaultWidthPercent": 0,
"defaultHeightPercent": 0,
"baseUrl": "string",
"embedUrl": "string"
}
]
}