POST /katello/api/repositories/:repository_id/content_uploads
Create an upload request

Params

Param name Description
repository_id
required

repository id

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..


PUT /katello/api/repositories/:repository_id/content_uploads/:id
Upload a chunk of the file's content

Params

Param name Description
repository_id
required

Repository id

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..

id
required

Upload request id

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..

offset
required

The offset in the file where the content starts

Validations:

  • number.

content
required

The actual file contents

Validations:

  • File


DELETE /katello/api/repositories/:repository_id/content_uploads/:id
Delete an upload request

Params

Param name Description
repository_id
required

Repository id

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..

id
required

Upload request id

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..