GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_packages → getApiV4ProjectsIdPackagesDebianPoolDistributionLetterPackageNamePackageVersionFileName

AI-generated

Summary

Retrieve a specific Debian package file from a GitLab project's Debian package pool using defined path parameters.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project.
  • distribution (required) — The Debian Codename or Suite representing the distribution.
  • letter (required) — The Debian Classification letter (e.g., first-letter or lib-first-letter).
  • package_name (required) — The Debian Source Package Name to identify the package.
  • package_version (required) — The version string of the Debian Source Package.
  • file_name (required) — The exact Debian File Name to retrieve.
  • skipAuthentication — Optionally skip authentication for this request (default is false).
  • baseUrl — Base URL of the GitLab instance, defaulting to https://gitlab.com.
  • method — HTTP method to use; defaults to GET.

Output shape

binary file content of the specified Debian package file

Returns the raw file data of the requested Debian package file from the project. Authentication is required unless explicitly skipped. Parameters must be provided to correctly build the API path. No pagination or envelope wrapping applies as this returns a file stream or binary.

Examples

Example 1: Download a Debian package file named example_1.0.0~alpha2_amd64.deb for project ID 123 with distribution "my-distro", classification letter "a", package name "my-pkg", and version "1.0.0".

Set project ID to "123", distribution to "my-distro", letter to "a", package_name to "my-pkg", package_version to "1.0.0", and file_name to "example_1.0.0~alpha2_amd64.deb."

Links

Discussion