Monitoring & Collection/Grafana Dashboards
POSTGrafanaSince 1.0SynchronousAuth Required
CheckDashboardVersion
Check whether the client's expected version matches the current dashboard version to prevent stale writes
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
dashboardIdStringRequiredUUID of the dashboard to check the version of
Body Fields
expectedVersionIntegerRequiredVersion number the client expects the dashboard to be at
Example: 5
Responses
Endpoint
POST/api/v1/monitoring/dashboards/{dashboardId}/version-check
/api/v1/monitoring/dashboards/{dashboardId}/version-check
Request Example
curl -X POST '{host}/api/v1/monitoring/dashboards/{dashboardId}/version-check' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"expectedVersion":5}'
Response Example
200{
"match": true,
"currentVersion": 5,
"requestVersion": 5,
"diffSummary": "2 panels added, 1 removed",
"errorCode": "INVALID_CONFIG"
}Change History
This API has no change history records yet.
