GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_packages → getApiV4GroupsIdPackagesDebianDists*distributionComponentBinaryArchitecturePackages

AI-generated

Summary

Retrieve the Debian package index file for a specified group from GitLab's API, filtered by distribution, component, and architecture.

Inputs

  • id (required) — The group ID or full group path identifying the GitLab group.
  • distribution (required) — The Debian Codename or Suite (e.g., 'my-distro') to specify which distribution's packages to retrieve.
  • component (required) — The Debian Component (e.g., 'main') within the distribution.
  • architecture (required) — The Debian Architecture (e.g., 'amd64') to filter the binary packages.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • Skip Authentication — If set to true, the request will not use authentication.
  • method — HTTP method to use; defaults to GET (typically used to retrieve the package file).

Output shape

a Debian 'Packages' index file content associated with the specified distribution, component, and architecture within the group's Debian packages

Returns the raw package list file content as served by GitLab API at the path /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/binary-{architecture}/Packages. Use GET method; other HTTP methods may not apply.

Examples

Example 1: Retrieve amd64 package index for group 'my-group', main component, distribution 'bionic'

Set 'id' to 'my-group', 'distribution' to 'bionic', 'component' to 'main', 'architecture' to 'amd64', use method GET

Links

Discussion