From 285fcbc164b9d59bd38ccef3d15bf7b9bd7f55c0 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 27 Dec 2024 00:09:13 +0000 Subject: [PATCH] Syncing API --- .../hcc-insights/automation-hub/content.json | 2 +- .../hcc-insights/repositories/content.json | 80 +++++++++++++++++++ 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/packages/common/config/apis/hcc-insights/automation-hub/content.json b/packages/common/config/apis/hcc-insights/automation-hub/content.json index 3e00588b..41e54c77 100644 --- a/packages/common/config/apis/hcc-insights/automation-hub/content.json +++ b/packages/common/config/apis/hcc-insights/automation-hub/content.json @@ -8220,7 +8220,7 @@ "Purge": { "properties": { "finished_before": { - "default": "2024-11-18", + "default": "2024-11-26", "description": "Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]'", "format": "date-time", "type": "string" diff --git a/packages/common/config/apis/hcc-insights/repositories/content.json b/packages/common/config/apis/hcc-insights/repositories/content.json index 93ea0180..9bec2760 100644 --- a/packages/common/config/apis/hcc-insights/repositories/content.json +++ b/packages/common/config/apis/hcc-insights/repositories/content.json @@ -1485,6 +1485,14 @@ "description": "Environment ID used by subscription-manager and candlepin", "type": "string" }, + "snapshots": { + "description": "The list of snapshots in use by the template", + "items": { + "$ref": "#/components/schemas/api.SnapshotResponse" + }, + "readOnly": true, + "type": "array" + }, "updated_at": { "description": "Datetime template was last updated", "type": "string" @@ -5507,6 +5515,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.",