GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_packages → getApiV4ProjectsIdPackagesDebianDists*distributionComponentSourceByHashSha256FileSha256

AI-generated

Summary

Retrieve the SHA256 checksum for a specific Debian package source file within a given distribution, component, and project on GitLab.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the Debian packages.
  • distribution (required) — The Debian codename or suite representing the distribution to query.
  • component (required) — The Debian component within the distribution (e.g., 'main').
  • file_sha256 (required) — The SHA256 checksum of the Debian package source file to retrieve.
  • baseUrl — The base URL for the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use; defaults to GET.
  • skipAuthentication — Optionally skip authentication; defaults to false.

Output shape

a single record containing data about the Debian package source file identified by its SHA256 hash

The operation returns data from the GitLab API endpoint /api/v4/projects/{id}/packages/debian/dists/*distribution/{component}/source/by-hash/SHA256/{file_sha256}. Authentication is required unless skipAuthentication is set to true. The exact structure of the response depends on GitLab's API.

Links

Discussion