Get dashboard version
GET/v1/grafana/api/dashboards/id/:dashboardId/versions/:id
Get the dashboard version with the given id, for the dashboard with the given id. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
dashboardId integerrequired
id integerrequired
Responses
- 200
success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id integer
ID.
dashboardId integer
Dashboard ID.
parentVersion integer
Parent version.
restoredFrom integer
Restored from.
version integer
Version.
created string
Creation date.
message string
Message.
data object
Data.
annotations object
Annotations.
list undefined[]
editable boolean
Whether the data is editable.
gnetId string
Gnet Id.
graphTooltip integer
Graph tooltip.
hideControls boolean
Whether to hide controls.
id integer
ID.
links undefined[]
Links.
rows object[]
Rows.
collapse boolean
Whether to collapse items.
height string
Height.
panels undefined[]
Panels.
repeat string
Repeat.
repeatIteration string
Repeat iteration.
repeatRowId string
Repeat row id.
showTitle boolean
Whether to show title.
title string
Title.
titleSize string
Title size.
schemaVersion integer
Schema version.
style string
Style.
tags undefined[]
Tags.
templating object
Templating.
list undefined[]
time object
Time.
from string
From.
to string
To.
timepicker object
Time picker.
refresh_intervals string[]
Refresh intervals.
time_options string[]
Time options.
timezone string
Time zone.
title string
Title.
version integer
Version.
createdBy string
Created by.
{
"id": 1,
"dashboardId": 1,
"parentVersion": 0,
"restoredFrom": 0,
"version": 1,
"created": "2017-04-26T17:18:38-04:00",
"message": "Initial save",
"data": {
"annotations": {
"list": [
null
]
},
"editable": true,
"gnetId": "string",
"graphTooltip": 0,
"hideControls": true,
"id": 1,
"links": [
null
],
"rows": [
{
"collapse": true,
"height": "250px",
"panels": [
null
],
"repeat": "string",
"repeatIteration": "string",
"repeatRowId": "string",
"showTitle": true,
"title": "Dashboard Row",
"titleSize": "h6"
}
],
"schemaVersion": "14",
"style": "dark",
"tags": [
null
],
"templating": {
"list": [
null
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s"
],
"time_options": [
"5m"
]
},
"timezone": "browser",
"title": "test",
"version": 1
},
"createdBy": "admin"
}
Loading...