POST /katello/api/repositories/367202338/content_uploads { "size": 100, "checksum": "test_checksum", "content_type": "python_package", "repository": { "id": 16447009, "pulp_id": "Default_Organization-Cabinet-pulp3_Python_1", "library_instance_id": null, "content_view_version_id": 840492357, "relative_path": "Default_Organization/library/pulp3_Python_1", "environment_id": 562075838, "saved_checksum_type": null, "distribution_version": null, "distribution_arch": null, "distribution_bootable": null, "distribution_family": null, "distribution_variant": null, "container_repository_name": null, "root_id": 129517803, "remote_href": null, "publication_href": null, "version_href": null, "last_contents_changed": "1970-01-01T00:00:00.000Z", "last_applicability_regen": "1970-01-01T00:00:00.000Z", "last_indexed": "1970-01-01T00:00:00.000Z" }, "content_upload": { "size": 100, "checksum": "test_checksum", "content_type": "python_package", "repository": { "id": 16447009, "pulp_id": "Default_Organization-Cabinet-pulp3_Python_1", "library_instance_id": null, "content_view_version_id": 840492357, "relative_path": "Default_Organization/library/pulp3_Python_1", "environment_id": 562075838, "saved_checksum_type": null, "distribution_version": null, "distribution_arch": null, "distribution_bootable": null, "distribution_family": null, "distribution_variant": null, "container_repository_name": null, "root_id": 129517803, "remote_href": null, "publication_href": null, "version_href": null, "last_contents_changed": "1970-01-01T00:00:00.000Z", "last_applicability_regen": "1970-01-01T00:00:00.000Z", "last_indexed": "1970-01-01T00:00:00.000Z" } } } 200 [ ]
Param name | Description |
---|---|
repository_id required |
repository id Validations:
|
size required |
Size of file to upload Validations:
|
checksum optional |
Checksum of file to upload Validations:
|
content_type optional |
content type ('deb', 'docker_manifest', 'file', 'ostree_ref', 'rpm', 'srpm') Validations:
|
PUT /katello/api/repositories/367202338/content_uploads/1 { "offset": "0", "content": "/tmp/my_file.rpm", "content_upload": { "offset": "0", "content": "/tmp/my_file.rpm" } } 204
Param name | Description |
---|---|
repository_id required |
Repository id Validations:
|
id required |
Upload request id Validations:
|
size required |
Size of file to upload Validations:
|
offset required |
The offset in the file where the content starts Validations:
|
content required |
The actual file contents Validations:
|
DELETE /katello/api/repositories/367202338/content_uploads/1 { "content_upload": {} } 204
Param name | Description |
---|---|
repository_id required |
Repository id Validations:
|
id required |
Upload request id Validations:
|