From 68ce04d8790606debeca7a6318cfca184b0945ea Mon Sep 17 00:00:00 2001 From: schutzbot Date: Mon, 16 Dec 2024 06:24:14 +0000 Subject: [PATCH] internal: update api specs --- .../content_sources/content-sources.v1.json | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/internal/clients/content_sources/content-sources.v1.json b/internal/clients/content_sources/content-sources.v1.json index e45e308d1..531c40836 100644 --- a/internal/clients/content_sources/content-sources.v1.json +++ b/internal/clients/content_sources/content-sources.v1.json @@ -5513,6 +5513,78 @@ ] } }, + "/templates/{template_uuid}/config.repo": { + "get": { + "operationId": "getTemplateRepoConfigurationFile", + "parameters": [ + { + "description": "Identifier of the template", + "in": "path", + "name": "template_uuid", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + }, + "description": "OK" + }, + "400": { + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/errors.ErrorResponse" + } + } + }, + "description": "Bad Request" + }, + "401": { + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/errors.ErrorResponse" + } + } + }, + "description": "Unauthorized" + }, + "404": { + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/errors.ErrorResponse" + } + } + }, + "description": "Not Found" + }, + "500": { + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/errors.ErrorResponse" + } + } + }, + "description": "Internal Server Error" + } + }, + "summary": "Get configuration file for all repositories in a template", + "tags": [ + "templates" + ] + } + }, "/templates/{uuid}": { "delete": { "description": "This enables deleting a specific template.",