Skip to content

Commit a896a71

Browse files
OAS Update
1 parent 57752d1 commit a896a71

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

services/edge/v1beta1/edge.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,27 @@
122122
"description": "The kubeconfig for the instance.",
123123
"type": "object"
124124
},
125+
"kubernetesReleaseList": {
126+
"description": "A list of compatible Kubernetes releases.",
127+
"properties": {
128+
"k8s_releases": {
129+
"description": "Array of Kubernetes version strings.",
130+
"example": [
131+
"v1.33.0",
132+
"v1.33.1"
133+
],
134+
"items": {
135+
"example": "v1.33.0",
136+
"type": "string"
137+
},
138+
"type": "array"
139+
}
140+
},
141+
"required": [
142+
"k8s_releases"
143+
],
144+
"type": "object"
145+
},
125146
"plan": {
126147
"properties": {
127148
"description": {
@@ -249,6 +270,53 @@
249270
},
250271
"openapi": "3.0.3",
251272
"paths": {
273+
"/v1beta1/listcompatiblekubernetesreleases": {
274+
"get": {
275+
"operationId": "list-compatible-kubernetes-releases",
276+
"responses": {
277+
"200": {
278+
"content": {
279+
"application/json": {
280+
"schema": {
281+
"$ref": "#/components/schemas/kubernetesReleaseList"
282+
}
283+
}
284+
},
285+
"description": "Successful response with all compatible kubernetes releases."
286+
},
287+
"400": {
288+
"content": {
289+
"application/json": {
290+
"schema": {
291+
"$ref": "#/components/schemas/badRequest"
292+
}
293+
}
294+
},
295+
"description": "Bad request"
296+
},
297+
"404": {
298+
"description": "The given Talos release was not found."
299+
},
300+
"500": {
301+
"description": "Internal server error. The application experienced some unexpected situation."
302+
}
303+
},
304+
"x-stackit-authorization": {
305+
"disabled": true
306+
}
307+
},
308+
"parameters": [
309+
{
310+
"description": "The name of the Talos release.",
311+
"in": "query",
312+
"name": "talosVersion",
313+
"required": true,
314+
"schema": {
315+
"type": "string"
316+
}
317+
}
318+
]
319+
},
252320
"/v1beta1/projects/{projectId}/plans": {
253321
"get": {
254322
"description": "List all possible plans for the project.",

0 commit comments

Comments
 (0)