|
|
@ -47,30 +47,33 @@ HTTP/1.1 200 OK |
|
|
|
Content-Type: application/json; charset=UTF-8 |
|
|
|
Content-Type: application/json; charset=UTF-8 |
|
|
|
Content-Length: 428 |
|
|
|
Content-Length: 428 |
|
|
|
|
|
|
|
|
|
|
|
[ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"continueToken": "", |
|
|
|
"id": 2, |
|
|
|
"versions": [ |
|
|
|
"dashboardId": 1, |
|
|
|
{ |
|
|
|
"uid": "QA7wKklGz", |
|
|
|
"id": 2, |
|
|
|
"parentVersion": 1, |
|
|
|
"dashboardId": 1, |
|
|
|
"restoredFrom": 0, |
|
|
|
"uid": "QA7wKklGz", |
|
|
|
"version": 2, |
|
|
|
"parentVersion": 1, |
|
|
|
"created": "2017-06-08T17:24:33-04:00", |
|
|
|
"restoredFrom": 0, |
|
|
|
"createdBy": "admin", |
|
|
|
"version": 2, |
|
|
|
"message": "Updated panel title" |
|
|
|
"created": "2017-06-08T17:24:33-04:00", |
|
|
|
}, |
|
|
|
"createdBy": "admin", |
|
|
|
{ |
|
|
|
"message": "Updated panel title" |
|
|
|
"id": 1, |
|
|
|
}, |
|
|
|
"dashboardId": 1, |
|
|
|
{ |
|
|
|
"uid": "QA7wKklGz", |
|
|
|
"id": 1, |
|
|
|
"parentVersion": 0, |
|
|
|
"dashboardId": 1, |
|
|
|
"restoredFrom": 0, |
|
|
|
"uid": "QA7wKklGz", |
|
|
|
"version": 1, |
|
|
|
"parentVersion": 0, |
|
|
|
"created": "2017-06-08T17:23:33-04:00", |
|
|
|
"restoredFrom": 0, |
|
|
|
"createdBy": "admin", |
|
|
|
"version": 1, |
|
|
|
"message": "Initial save" |
|
|
|
"created": "2017-06-08T17:23:33-04:00", |
|
|
|
} |
|
|
|
"createdBy": "admin", |
|
|
|
] |
|
|
|
"message": "Initial save" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
} |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Status Codes: |
|
|
|
Status Codes: |
|
|
@ -89,7 +92,7 @@ Get the dashboard version with the given version, for the dashboard with the giv |
|
|
|
**Example request for getting a dashboard version**: |
|
|
|
**Example request for getting a dashboard version**: |
|
|
|
|
|
|
|
|
|
|
|
```http |
|
|
|
```http |
|
|
|
GET /api/dashboards/id/1/versions/1 HTTP/1.1 |
|
|
|
GET /api/dashboards/uid/QA7wKklGz/versions/1 HTTP/1.1 |
|
|
|
Accept: application/json |
|
|
|
Accept: application/json |
|
|
|
Content-Type: application/json |
|
|
|
Content-Type: application/json |
|
|
|
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk |
|
|
|
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk |
|
|
|