Examples

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

Params

Param name Description
repository_id
required

Repository id

Validations:

  • Must be a number.

id
required

Upload request id

Validations:

  • String

size
required

Size of file to upload

Validations:

  • Must be a number.

offset
required

The offset in the file where the content starts

Validations:

  • Must be a number.

content
required

The actual file contents

Validations:

  • File