Remove all documented references to time_options (#92657)

This commit is contained in:
Jack Baldry
2024-08-29 13:47:26 +01:00
committed by GitHub
parent 6ddb96ada2
commit 5e89a9060b
3 changed files with 3 additions and 67 deletions

View File

@ -217,31 +217,7 @@ Content-Length: 1300
Content-Length: 46
```
JSON response body schema:
- **message** - Message explaining the reason for the request failure.
## Restore dashboard by dashboard UID
`POST /api/dashboards/uid/:uid/restore`
Restores a dashboard to a given dashboard version using `uid`.
**Example request for restoring a dashboard version**:
```http
POST /api/dashboards/uid/QA7wKklGz/restore
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
{
"version": 1
}
```
JSON body schema:
JSON response body schema:
- **message** - Message explaining the reason for the request failure.
@ -328,31 +304,7 @@ Content-Length: 1300
**Example response (JSON diff)**:
Status Codes:
- **200** - OK
- **400** - Bad request (invalid JSON sent)
- **401** - Unauthorized
- **404** - Not found
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
```http
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8