Skip to content

Commit

Permalink
Merge pull request #440 from RedHatInsights/create-pull-request/patch
Browse files Browse the repository at this point in the history
Syncing API
  • Loading branch information
fhlavac authored Jan 8, 2025
2 parents 3c74884 + 011cf07 commit 9b55b29
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
29 changes: 29 additions & 0 deletions packages/common/config/apis/hcc-insights/repositories/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1236,9 +1236,6 @@
},
"scope": {
"type": "string"
},
"xcm_id": {
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -4149,9 +4146,6 @@
"Academic"
],
"type": "string"
},
"xcm_id": {
"type": "string"
}
},
"required": [
Expand Down

0 comments on commit 9b55b29

Please sign in to comment.