PUT /katello/api/repositories/841753487/import_uploads { "uploads": [ { "id": "1", "size": "12333", "name": "test" } ], "repository": {} } 400 { "displayMessage": "Checksum is a required parameter.", "errors": [ "Checksum is a required parameter." ] }
Param name | Description |
---|---|
id
required |
Repository id Validations:
|
async
optional |
Do not wait for the ImportUpload action to finish. Default: false Validations:
|
publish_repository
optional |
Whether or not to regenerate the repository on disk. Default: true Validations:
|
sync_capsule
optional |
Whether or not to sync an external capsule after upload. Default: true Validations:
|
content_type
optional |
content type ('deb', 'docker_manifest', 'file', 'ostree_ref', 'rpm', 'srpm') Validations:
|
uploads
optional |
Array of uploads to import Validations:
|
uploads[id]
required |
Validations:
|
uploads[content_unit_id]
optional |
Validations:
|
uploads[size]
optional |
Validations:
|
uploads[checksum]
optional |
Validations:
|
uploads[name]
required |
Needs to only be set for file repositories or docker tags Validations:
|
uploads[digest]
optional |
Needs to only be set for docker tags Validations:
|