GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_packages → getApiV4GroupsIdPackagesDebianDists*distributionComponentSourceByHashSha256FileSha256

AI-generated

Summary

Retrieve the Debian source package identified by a SHA256 file hash within a specific distribution and component for a given GitLab group.

Inputs

  • id (required) — The GitLab group ID or full group path.
  • distribution (required) — The Debian Codename or Suite (distribution name).
  • component (required) — The Debian Component (e.g., 'main').
  • file_sha256 (required) — The SHA256 hash of the Debian source package file to retrieve.
  • method (required) — The HTTP method to use, defaults to GET.
  • skipAuthentication — Whether to skip authentication; defaults to false (authentication used).

Output shape

a JSON object representing the Debian source package retrieved by the specified SHA256 file hash from the GitLab group's Debian distribution component.

The operation requires authentication unless 'Skip Authentication' is set to true. The returned data corresponds to the resource accessed via the API path /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/source/by-hash/SHA256/{file_sha256}. The method can typically be GET for retrieval.

Links

Discussion