GitLab API

GitlabTool

Actions1095

Debian_packages → getApiV4ProjectsIdPackagesDebianDists*distributionComponentBinaryArchitectureByHashSha256FileSha256

AI-generated

Summary

Retrieve a specific Debian package file from a GitLab project's Debian distribution by its SHA256 file hash.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the Debian package.
  • distribution (required) — The Debian codename or suite name (e.g., 'my-distro') representing the distribution.
  • component (required) — The Debian component within the distribution (e.g., 'main').
  • architecture (required) — The Debian architecture for the package binary (e.g., 'binary-amd64').
  • file_sha256 (required) — The SHA256 hash of the Debian package file to retrieve.
  • method — The HTTP method to use for the request; defaults to GET.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • skipAuthentication — Boolean flag to skip authentication; defaults to false.

Output shape

the raw binary content of the Debian package file identified by the SHA256 hash

The response returns the package file content directly; handle accordingly in the workflow. Authentication is applied unless explicitly skipped. This operation corresponds to an exact file retrieval using the given path parameters.

Links

Discussion