GitLab API icon

GitLab API

Gitlab

Actions880

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 fetch detailed information about Debian package distributions managed within a GitLab group, such as for package management or automation workflows involving Debian repositories.

Use Case Examples

  1. Fetch Debian distributions for a GitLab group by specifying the group ID and optional filters like codename or version.
  2. Paginate through Debian distributions of a group to process or analyze them in batches.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to send the API request to.
Method The HTTP method to use for the API request, default is GET.
Query Parameters Optional filters and pagination parameters for the API request, such as page number, items per page, Debian codename, suite, origin, label, version, description, valid time duration, components, and architectures.
Path Parameters Path parameters for the API request, specifically the group ID or URL-encoded path identifying the GitLab group.

Output

JSON

  • id - The ID or URL-encoded path of the GitLab group.
  • page - Current page number of the results.
  • per_page - Number of items per page in the results.
  • codename - The Debian codename filter applied to the distributions.
  • suite - The Debian suite filter applied to the distributions.
  • origin - The Debian origin filter applied to the distributions.
  • label - The Debian label filter applied to the distributions.
  • version - The Debian version filter applied to the distributions.
  • description - The Debian description filter applied to the distributions.
  • valid_time_duration_seconds - Duration before the Release file is considered expired by the client.
  • components - List of Debian components filtered in the distributions.
  • architectures - List of Debian architectures filtered in the distributions.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the group ID path parameter is correctly URL-encoded and valid to avoid 404 errors.
  • Verify that the API token or authentication credentials have sufficient permissions to access group Debian distributions.
  • Check that the base URL is correctly set to the GitLab instance you intend to query.
  • If pagination parameters are used, ensure they are valid integers to avoid request errors.

Links

Discussion