GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves Debian distribution information for a specific project from the GitLab API (v4). It is useful for users who want to query Debian package distribution metadata associated with a GitLab project, such as codename, suite, origin, label, version, description, and other Debian-specific attributes. Practical examples include automating the retrieval of Debian package distribution details for CI/CD pipelines or project monitoring.

Use Case Examples

  1. Retrieve Debian distributions for a project by project ID to monitor package versions and metadata.
  2. Filter Debian distributions by codename or suite to get specific package release information.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method to use for the API request (hidden unless Skip Authentication is false).
baseUrl The base URL of the GitLab instance to send the API request to.
Method The HTTP method to use for the API request.
Parameter Schema Defines the parameters accepted by the API endpoint, including path and query parameters such as project ID, pagination, and Debian distribution filters like codename, suite, origin, label, version, description, valid time duration, components, and architectures.
Query Parameters Collection of optional query parameters to filter and paginate the Debian distributions returned by the API.
Path Parameters Collection of path parameters, specifically the project ID or URL-encoded path identifying the project.

Output

JSON

  • id - The unique identifier of the Debian distribution.
  • codename - The Debian codename of the distribution.
  • suite - The Debian suite of the distribution.
  • origin - The origin of the Debian distribution.
  • label - The label associated with the Debian distribution.
  • version - The version of the Debian distribution.
  • description - Description of the Debian distribution.
  • valid_time_duration_seconds - Duration before the Release file is considered expired by the client.
  • components - List of components included in the Debian distribution.
  • architectures - List of architectures supported by the Debian distribution.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID path parameter is correctly provided and URL-encoded if necessary.
  • Verify that the GitLab API base URL is correct and accessible.
  • Check that the authentication credentials are valid and have sufficient permissions to access the project's Debian distributions.
  • If pagination parameters (page, per_page) are used, ensure they are valid integers.
  • If filtering parameters (codename, suite, origin, etc.) are used, verify they match expected values to avoid empty results.

Links

Discussion