Skip to content

Upload a Debian package file

PUT
/api/v4/projects/{id}/packages/debian/{file_name}

Uploads a Debian package file for a specified project.

id
required
One of:
string

The ID or URL-encoded path of the project

file_name
required
string
/^(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\n\uD800-\uDFFF])*\.(deb|udeb|ddeb)$/

The filename

Example
example_1.0.0~alpha2_amd64.deb
Media type multipart/form-data
object
file
required

The package file to be published (generated by Multipart middleware)

string format: binary
nullable
distribution

The Debian Codename or Suite

string
nullable /(?:^(?:[0-9A-Za-z\u017F\u212A][\x2D.0-9A-Za-z\u017F\u212A]*)$)/
component
required

The Debian Component

string
nullable /^(?:[0-9A-Za-z\u017F\u212A][\x2D.0-9A-Za-z\u017F\u212A]*)$/

Created

Bad Request

Unauthorized

Forbidden

Not Found