POST /katello/api/repositories/841753487/upload_content { "content": [ "#<ActionDispatch::Http::UploadedFile:0x00005654cb04ce48>" ] } 200 { "status": "success", "filenames": [ "puppet_module.tar.gz" ] }
Param name | Description |
---|---|
id required |
repository ID Validations:
|
content required |
Content files to upload. Can be a single file or array of files. Validations:
|
content_type optional |
The type of content to upload (srpm, file, etc.). Check uploadable types here: /katello/api/repositories/repository_types Validations:
|