GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves Debian distributions associated with a specific GitLab group by calling the GitLab API. It is useful for users who want to programmatically access Debian distribution details such as codename, suite, origin, label, version, description, and other metadata related to a group's Debian packages. For example, it can be used to automate the management or monitoring of Debian package distributions within GitLab groups.

Use Case Examples

  1. Fetch Debian distributions for a GitLab group to display or process distribution metadata in an automated workflow.
  2. Filter Debian distributions by codename or version to integrate with deployment pipelines or reporting tools.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, default is GET.
Parameter Schema Defines the parameters accepted by the API endpoint, including path and query parameters such as group 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 group ID or URL-encoded path identifying the GitLab group.

Output

JSON

  • id - The unique identifier of the Debian distribution.
  • codename - The Debian codename of the distribution.
  • suite - The suite name of the Debian distribution.
  • origin - The origin of the Debian distribution.
  • label - The label associated with the Debian distribution.
  • version - The version number of the Debian distribution.
  • description - A description of the Debian distribution.
  • valid_time_duration_seconds - Duration in seconds 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 key credential for authentication

Troubleshooting

  • Ensure the group ID path parameter is correctly provided and URL-encoded if necessary, as an invalid or missing ID will cause the API request to fail.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access group Debian distributions.
  • Check network connectivity and the base URL configuration to ensure the API endpoint is reachable.
  • If pagination parameters (page, per_page) are used, ensure they are valid integers to avoid request errors.

Links

Discussion