GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_packages → getApiV4ProjectsIdPackagesDebianDists*distributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256

AI-generated

Summary

Retrieve Debian package information by SHA256 file hash for a specific project and Debian distribution component in GitLab.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project.
  • distribution (required) — The Debian Codename or Suite to specify the distribution.
  • component (required) — The Debian Component (e.g., 'main').
  • architecture (required) — The Debian Architecture (e.g., 'binary-amd64').
  • file_sha256 (required) — The SHA256 hash of the Debian installer binary file.
  • baseUrl — Base URL of the GitLab instance, defaults to https://gitlab.com.
  • skipAuthentication — Optionally skip authentication for the request.
  • method — HTTP method to use, default is GET.

Output shape

a single record representing the Debian package matching the given SHA256 hash within the specified project and Debian distribution component.

The output corresponds to the response from the GitLab API endpoint at /api/v4/projects/{id}/packages/debian/dists/*distribution/{component}/debian-installer/binary-{architecture}/by-hash/SHA256/{file_sha256} using GET method. Authentication is required unless explicitly skipped. The request must specify all path parameters and the distribution query parameter accurately.

Examples

Example 1: Fetch Debian package by SHA256 in project

Provide project id, distribution codename, component, architecture, and file sha256 to get the matching Debian package info from GitLab.

Links

Discussion