|
209 | 209 | "type": "object" |
210 | 210 | }, |
211 | 211 | "ListFlavors": { |
212 | | - "description": "A list of STACKIT Git Flavors.", |
| 212 | + "description": "A list of STACKIT Git flavors.", |
213 | 213 | "properties": { |
214 | 214 | "flavors": { |
215 | 215 | "items": { |
|
237 | 237 | "instances" |
238 | 238 | ] |
239 | 239 | }, |
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 | | - }, |
254 | 240 | "PatchOperation": { |
255 | 241 | "description": "Request a STACKIT Git instance to be patch with these properties.", |
256 | 242 | "properties": { |
|
279 | 265 | ], |
280 | 266 | "type": "object" |
281 | 267 | }, |
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 | | - }, |
306 | 268 | "UUID": { |
307 | 269 | "description": "Universally Unique Identifier (UUID).", |
308 | 270 | "example": "d61a8564-c8dd-4ffb-bc15-143e7d0c85ed", |
|
744 | 706 | "resource-type": "project" |
745 | 707 | } |
746 | 708 | } |
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 | | - ] |
812 | 709 | } |
813 | 710 | }, |
814 | 711 | "security": [ |
|
0 commit comments