GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_distribution → getApiV4ProjectsIdDebianDistributions

AI-generated

Summary

Retrieve a list of Debian distributions for a specified GitLab project via GET request to the GitLab API.

Inputs

  • id (required) — The ID or URL-encoded path of the project.
  • page — Current page number for paginated results.
  • per_page — Number of items per page in the response.
  • codename — Filter by the Debian Codename.
  • suite — Filter by the Debian Suite.
  • origin — Filter by the Debian Origin.
  • label — Filter by the Debian Label.
  • version — Filter by the Debian Version.
  • description — Filter by the Debian Description.
  • valid_time_duration_seconds — Filter by the duration in seconds before the Release file should be considered expired.
  • components — Filter by a list of Debian Components.
  • architectures — Filter by a list of Debian Architectures.

Output shape

a list of Debian distribution objects associated with the specified GitLab project

Supports pagination through 'page' and 'per_page' query parameters. Optional query filters allow narrowing results by Debian package attributes. Authentication is required unless explicitly skipped.

Examples

Example 1: Retrieve first page of Debian distributions for project with ID '123'

Set 'id' to '123', use default pagination and no filters.

Example 2: Filter Debian distributions by codename 'sid' and architecture 'amd64'

Set 'id' to the project ID, 'codename' query parameter to 'sid', and 'architectures' to 'amd64'.

Links

Discussion