GitLab API

GitlabTool

Actions1095

Debian_packages → getApiV4ProjectsIdPackagesDebianPoolDistributionLetterPackageNamePackageVersionFileName

AI-generated

Summary

Retrieve a specific Debian package file from a GitLab project by specifying project ID, distribution, letter classification, package name, package version, and file name.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project.
  • distribution (required) — The Debian Codename or Suite (e.g., 'my-distro').
  • letter (required) — The Debian Classification, such as the first letter or lib-first-letter (e.g., 'a').
  • package_name (required) — The Debian Source Package Name (e.g., 'my-pkg').
  • package_version (required) — The Debian Source Package Version (e.g., '1.0.0').
  • file_name (required) — The Debian File Name to retrieve (e.g., 'example_1.0.0~alpha2_amd64.deb').
  • skipAuthentication — Optional boolean to skip authentication (default is false).
  • baseUrl — Optional base URL for GitLab API requests (default is 'https://gitlab.com').
  • method — HTTP method to use for the request (default is 'GET').

Output shape

a binary file representing the Debian package file requested

The output is the raw contents of the Debian package file. Authentication is used by default unless explicitly skipped. The request uses the specified HTTP method, typically GET, to retrieve the package file from the GitLab API endpoint.

Links

Discussion