GitLab API

GitlabTool

Actions1095

Debian_packages → getApiV4ProjectsIdPackagesDebianDists*distributionComponentBinary-ArchitecturePackages

AI-generated

Summary

Retrieve Debian package metadata for a specific GitLab project, distribution, component, and architecture from the project's Debian packages repository.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project.
  • distribution (required) — The Debian Codename or Suite identifying the distribution.
  • component (required) — The Debian component (e.g., 'main').
  • architecture (required) — The Debian architecture in binary form (e.g., 'amd64').
  • skipAuthentication — Optionally skip API authentication (default is false).
  • baseUrl — The base URL of the GitLab instance, defaulting to 'https://gitlab.com'.
  • method — HTTP method to use; defaults to 'GET'.

Output shape

The raw package list data as returned by the GitLab API for the specified Debian packages endpoint.

The response shape depends on the GitLab API endpoint '/api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/binary-{architecture}/Packages'. The operation requires all path parameters to be provided and uses authentication unless explicitly skipped. No pagination is indicated.

Examples

Example 1: Get Debian packages for project '123', distribution 'bionic', component 'main', architecture 'amd64'.

Set id to '123', distribution to 'bionic', component to 'main', and architecture to 'amd64'. Use default GET method and authentication.

Links

Discussion