GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_packages → getApiV4GroupsIdPackagesDebianDists*distributionComponentSourceSources

AI-generated

Summary

Retrieve the Debian source package listing for a specified distribution and component within a given GitLab group.

Inputs

  • id (required) — The group ID or full group path to identify the GitLab group.
  • distribution (required) — The Debian distribution codename or suite (e.g., 'my-distro').
  • component (required) — The Debian component (e.g., 'main').
  • skipAuthentication — Optionally skip authentication for this request (default is false).
  • baseUrl — The base URL of the GitLab instance (default is 'https://gitlab.com').

Output shape

a JSON list of source package entries for the specified Debian distribution and component within the GitLab group.

The operation performs an HTTP GET request to the GitLab API endpoint /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/source/Sources. Authentication is required unless 'Skip Authentication' is set to true. The output structure corresponds to the Debian source package listing returned by this endpoint.

Examples

Example 1: Retrieve source packages for a Debian distribution 'buster' and component 'main' for a group with id 'my-group'.

Set 'id' to 'my-group', 'distribution' to 'buster', and 'component' to 'main'. Ensure authentication credentials are set or enable 'Skip Authentication' if not authenticating.

Links

Discussion