GitLab API

GitlabTool

Actions1095

Debian_packages → getApiV4GroupsIdPackagesDebianDists*distributionComponentSourceSources

AI-generated

Summary

Retrieve the Debian source package index file ('Sources') for a specified group, distribution, and component from GitLab's Debian packages API.

Inputs

  • id (required) — The group ID or full group path to identify the target group.
  • distribution (required) — The Debian codename or suite for which to retrieve source package information.
  • component (required) — The Debian component (e.g., 'main') corresponding to the source packages.
  • skipAuthentication — Boolean flag to skip authentication for this request; defaults to false.
  • baseUrl — Base URL for the GitLab instance; defaults to 'https://gitlab.com'.
  • method — HTTP method to use for the request; defaults to GET.

Output shape

a JSON response containing the Debian source package index ('Sources') for the specified group, distribution, and component.

The operation uses the REST path '/api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/source/Sources'. Authentication is used by default via the provided GitLab API credentials unless skipAuthentication is set to true.

Links

Discussion