Skip to content

Commit a138163

Browse files
OAS Update
1 parent ddfe100 commit a138163

File tree

1 file changed

+104
-1
lines changed

1 file changed

+104
-1
lines changed

services/git/v1beta/git.json

Lines changed: 104 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"type": "object"
210210
},
211211
"ListFlavors": {
212-
"description": "A list of STACKIT Git flavors.",
212+
"description": "A list of STACKIT Git Flavors.",
213213
"properties": {
214214
"flavors": {
215215
"items": {
@@ -237,6 +237,20 @@
237237
"instances"
238238
]
239239
},
240+
"ListRunnerLabels": {
241+
"description": "A list of STACKIT Git RunnerLabels.",
242+
"properties": {
243+
"runner-labels": {
244+
"items": {
245+
"$ref": "#/components/schemas/RunnerLabel"
246+
},
247+
"type": "array"
248+
}
249+
},
250+
"required": [
251+
"runner-labels"
252+
]
253+
},
240254
"PatchOperation": {
241255
"description": "Request a STACKIT Git instance to be patch with these properties.",
242256
"properties": {
@@ -265,6 +279,30 @@
265279
],
266280
"type": "object"
267281
},
282+
"RunnerLabel": {
283+
"description": "Describes a STACKIT Git RunnerLabel.",
284+
"properties": {
285+
"description": {
286+
"description": "RunnerLabel description.",
287+
"type": "string"
288+
},
289+
"id": {
290+
"description": "RunnerLabel id.",
291+
"maxLength": 36,
292+
"type": "string"
293+
},
294+
"label": {
295+
"description": "RunnerLabel label.",
296+
"maxLength": 64,
297+
"type": "string"
298+
}
299+
},
300+
"required": [
301+
"id",
302+
"label",
303+
"description"
304+
]
305+
},
268306
"UUID": {
269307
"description": "Universally Unique Identifier (UUID).",
270308
"example": "d61a8564-c8dd-4ffb-bc15-143e7d0c85ed",
@@ -706,6 +744,71 @@
706744
"resource-type": "project"
707745
}
708746
}
747+
},
748+
"/v1beta/projects/{projectId}/runner-labels": {
749+
"get": {
750+
"description": "Type of runners we can use for running jobs.\n",
751+
"operationId": "ListRunnerLabels",
752+
"responses": {
753+
"200": {
754+
"content": {
755+
"application/json": {
756+
"schema": {
757+
"$ref": "#/components/schemas/ListRunnerLabels"
758+
}
759+
}
760+
},
761+
"description": "Git RunnerLabels."
762+
},
763+
"400": {
764+
"content": {
765+
"application/json": {
766+
"schema": {
767+
"$ref": "#/components/schemas/GenericErrorResponse"
768+
}
769+
}
770+
},
771+
"description": "Bad Request."
772+
},
773+
"401": {
774+
"content": {
775+
"application/json": {
776+
"schema": {
777+
"$ref": "#/components/schemas/UnauthorizedResponse"
778+
}
779+
}
780+
},
781+
"description": "Unauthorized."
782+
},
783+
"404": {
784+
"description": "Not found."
785+
},
786+
"500": {
787+
"content": {
788+
"application/json": {
789+
"schema": {
790+
"$ref": "#/components/schemas/GenericErrorResponse"
791+
}
792+
}
793+
},
794+
"description": "Internal server error."
795+
}
796+
},
797+
"summary": "Returns the details for the given STACKIT Git RunnerLabels.",
798+
"x-stackit-authorization": {
799+
"actions": [
800+
"git.flavor.list"
801+
],
802+
"resource-id": "projectId",
803+
"resource-id-type": "dynamic",
804+
"resource-type": "project"
805+
}
806+
},
807+
"parameters": [
808+
{
809+
"$ref": "#/components/parameters/ProjectId"
810+
}
811+
]
709812
}
710813
},
711814
"security": [

0 commit comments

Comments
 (0)