Skip to content

Download a Debian package file

GET
/api/v4/projects/{id}/packages/debian/pool/{distribution}/{letter}/{package_name}/{package_version}/{file_name}

Downloads a specified Debian package file for a project.

id
required
One of:
string

The ID or URL-encoded path of the project

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

The Debian Codename or Suite

Example
my-distro
letter
required
string

The Debian Classification (first-letter or lib-first-letter)

Example
a
package_name
required
string
/^[a-z0-9][\-+.a-z0-9]+$/

The Debian Source Package Name

Example
my-pkg
package_version
required
string
/(?:^(?:(?:([0-9]{1,9}):)?([0-9][+.0-9A-Za-z~\u017F\u212A]*)(-[+.0-9A-Za-z~\u017F\u212A]+){0,14}(?<!-))$)/

The Debian Source Package Version

Example
1.0.0
file_name
required
string

The Debian File Name

Example
example_1.0.0~alpha2_amd64.deb

OK

Bad Request

Unauthorized

Forbidden

Not Found