PUT /katello/api/repositories/84409059/import_uploads
{
"uploads": [
{
"id": "1",
"size": "12333",
"checksum": "asf23421324",
"name": "test"
}
],
"content_type": "docker_manifest",
"repository": {
"content_type": "docker_manifest"
}
}
202
{
"id": null,
"label": null,
"pending": null,
"username": null,
"started_at": null,
"ended_at": null,
"state": null,
"result": null,
"progress": null,
"input": null,
"output": {},
"humanized": null,
"cli_example": null,
"available_actions": {
"cancellable": null,
"resumable": null
}
}
| 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:
|
|
ostree_ref optional |
OSTree ref branch that holds the reference to the last commit Validations:
|
|
ostree_repository_name optional |
Name of the repository in the ostree archive Validations:
|