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.",