Dashboards: Add apiVersion to dashboard table (#100845)

This commit is contained in:
Ryan McKinley
2025-03-04 07:47:45 +03:00
committed by GitHub
parent 8a341ebcce
commit c1b48cc488
84 changed files with 1074 additions and 2392 deletions
@@ -1058,22 +1058,6 @@
"type": "string",
"uniqueItems": true
}
},
{
"name": "path",
"in": "query",
"schema": {
"type": "string",
"uniqueItems": true
}
},
{
"name": "version",
"in": "query",
"schema": {
"type": "integer",
"uniqueItems": true
}
}
]
},
@@ -1652,6 +1636,20 @@
}
}
},
"com.github.grafana.grafana.pkg.apis.dashboard.v0alpha1.ConversionStatus": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"failed": {
"type": "boolean"
},
"storedVersion": {
"type": "string"
}
}
},
"com.github.grafana.grafana.pkg.apis.dashboard.v0alpha1.Dashboard": {
"type": "object",
"required": [
@@ -1682,6 +1680,14 @@
"$ref": "#/components/schemas/com.github.grafana.grafana.pkg.apimachinery.apis.common.v0alpha1.Unstructured"
}
]
},
"status": {
"description": "Optional dashboard status",
"allOf": [
{
"$ref": "#/components/schemas/com.github.grafana.grafana.pkg.apis.dashboard.v0alpha1.DashboardStatus"
}
]
}
},
"x-kubernetes-group-version-kind": [
@@ -1776,6 +1782,14 @@
}
]
},
"com.github.grafana.grafana.pkg.apis.dashboard.v0alpha1.DashboardStatus": {
"type": "object",
"properties": {
"conversion": {
"$ref": "#/components/schemas/com.github.grafana.grafana.pkg.apis.dashboard.v0alpha1.ConversionStatus"
}
}
},
"com.github.grafana.grafana.pkg.apis.dashboard.v0alpha1.DashboardWithAccessInfo": {
"description": "This is like the legacy DTO where access and metadata are all returned in a single call",
"type": "object",
@@ -1816,6 +1830,14 @@
"$ref": "#/components/schemas/com.github.grafana.grafana.pkg.apimachinery.apis.common.v0alpha1.Unstructured"
}
]
},
"status": {
"description": "Optional dashboard status",
"allOf": [
{
"$ref": "#/components/schemas/com.github.grafana.grafana.pkg.apis.dashboard.v0alpha1.DashboardStatus"
}
]
}
},
"x-kubernetes-group-version-kind": [