GitLab API

GitlabTool

Actions1095

Debian_packages → getApiV4GroupsIdPackagesDebianDists*distributionComponentBinaryArchitecturePackages

AI-generated

Summary

Retrieve the Debian Packages file for a specified group and Debian distribution component and architecture from the GitLab API.

Inputs

  • id (required) — The group ID or full group path to identify which GitLab group to query.
  • distribution (required) — The Debian Codename or Suite indicating the distribution of the packages requested.
  • component (required) — The Debian component, such as 'main', specifying the segment of the distribution.
  • architecture (required) — The Debian architecture, like 'amd64', indicating the binary architecture of the packages.
  • skipAuthentication — Option to skip authentication; defaults to false.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • method — HTTP method to use; defaults to 'GET'.

Output shape

The operation returns the raw Debian Packages file as received from the GitLab API for the given distribution, component, and architecture under the specified group.

The operation performs an HTTP GET request to the endpoint '/api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/binary-{architecture}/Packages'. Authentication is required unless 'skipAuthentication' is set to true. The data returned is typically a plain text Packages file listing Debian packages metadata.

Examples

Example 1: Retrieve Packages file for group 'my-group', distribution 'buster', component 'main', architecture 'amd64'

Set 'id' to 'my-group', 'distribution' to 'buster', 'component' to 'main', 'architecture' to 'amd64', and ensure authentication is configured.

Links

Discussion