GitLab API

GitlabTool

Actions1095

Debian_packages → getApiV4ProjectsIdPackagesDebianDists*distributionInrelease

AI-generated

Summary

Retrieve the InRelease file for a specific Debian distribution within a GitLab project's Debian packages by providing the project ID and Debian distribution name.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to retrieve the Debian InRelease file from.
  • distribution (required) — The Debian Codename or Suite (distribution) whose InRelease file you want to get.
  • skipAuthentication — Optionally skip authentication to access public projects without credentials.
  • baseUrl — Base URL of the GitLab instance, defaults to 'https://gitlab.com' if not provided.
  • method — HTTP method to use for the request, defaulting to GET.

Output shape

a single HTTP response containing the InRelease file content for the specified Debian distribution, typically as plain text or signed metadata

The operation targets the endpoint '/api/v4/projects/{id}/packages/debian/dists/*distribution/InRelease' using the GET method by default. Authentication is required unless explicitly skipped. The response contains Debian repository metadata for the specified distribution within the project.

Examples

Example 1: Get InRelease file for 'buster' distribution in project with ID '123'

Set 'id' to '123' and 'distribution' to 'buster', use default GET method, ensure authentication unless skipped.

Links

Discussion