From 011cf07476926d8491bd5a0b157d73bf1caaeba8 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 8 Jan 2025 00:09:10 +0000 Subject: [PATCH] Syncing API --- .../hcc-insights/image-builder/content.json | 4 +++ .../hcc-insights/repositories/content.json | 29 +++++++++++++++++++ .../accounts-management-service/content.json | 6 ---- 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/packages/common/config/apis/hcc-insights/image-builder/content.json b/packages/common/config/apis/hcc-insights/image-builder/content.json index 0db8a7b3..be4e8f09 100644 --- a/packages/common/config/apis/hcc-insights/image-builder/content.json +++ b/packages/common/config/apis/hcc-insights/image-builder/content.json @@ -208,6 +208,10 @@ }, "name": { "type": "string" + }, + "snapshot_date": { + "description": "Importing the snapshot date will not yet be supported. It is exported for informative reasons.\nThe format is YYYY-MM-DD.\n", + "type": "string" } }, "required": [ diff --git a/packages/common/config/apis/hcc-insights/repositories/content.json b/packages/common/config/apis/hcc-insights/repositories/content.json index 9bec2760..7bcd1677 100644 --- a/packages/common/config/apis/hcc-insights/repositories/content.json +++ b/packages/common/config/apis/hcc-insights/repositories/content.json @@ -74,12 +74,22 @@ }, "api.CreateUploadRequest": { "properties": { + "chunk_size": { + "description": "Size of the chunk", + "type": "integer" + }, + "sha256": { + "description": "SHA-256 checksum of the file", + "type": "string" + }, "size": { "description": "Size of the upload in bytes", "type": "integer" } }, "required": [ + "chunk_size", + "sha256", "size" ], "type": "object" @@ -1493,6 +1503,14 @@ "readOnly": true, "type": "array" }, + "to_be_deleted_snapshots": { + "description": "List of snapshots used by this template which are going to be deleted soon", + "items": { + "$ref": "#/components/schemas/api.SnapshotResponse" + }, + "readOnly": true, + "type": "array" + }, "updated_at": { "description": "Datetime template was last updated", "type": "string" @@ -1573,10 +1591,21 @@ }, "api.UploadResponse": { "properties": { + "artifact_href": { + "description": "Artifact href if one exists (on create only)", + "type": "string" + }, "completed": { "description": "Timestamp when upload is committed", "type": "string" }, + "completed_checksums": { + "description": "A list of already completed checksums", + "items": { + "type": "string" + }, + "type": "array" + }, "created": { "description": "Timestamp of creation", "type": "string" diff --git a/packages/common/config/apis/openshift/accounts-management-service/content.json b/packages/common/config/apis/openshift/accounts-management-service/content.json index 94f5a524..f5785dc8 100644 --- a/packages/common/config/apis/openshift/accounts-management-service/content.json +++ b/packages/common/config/apis/openshift/accounts-management-service/content.json @@ -1236,9 +1236,6 @@ }, "scope": { "type": "string" - }, - "xcm_id": { - "type": "string" } }, "required": [ @@ -4149,9 +4146,6 @@ "Academic" ], "type": "string" - }, - "xcm_id": { - "type": "string" } }, "required": [