GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves Debian package information from a specified GitLab group using the GitLab API. It is designed to fetch package data for a particular Debian distribution, component, and architecture within a group. This is useful for automating package management and integration workflows in CI/CD pipelines or software distribution systems that rely on GitLab-hosted Debian packages.

Use Case Examples

  1. Fetch Debian packages for the 'main' component and 'binary-amd64' architecture in a specific GitLab group to automate deployment processes.
  2. Retrieve package metadata for a custom Debian distribution to integrate with a package repository management system.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET.
Query Parameters Query parameters for the API request, specifically the Debian distribution codename or suite.
Path Parameters Path parameters for the API request including group ID, Debian component, and architecture.

Output

JSON

  • packageList - List of Debian packages retrieved from the GitLab group for the specified distribution, component, and architecture.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID or path is correct to avoid 404 errors.
  • Verify that the authentication token has sufficient permissions to access the group's packages.
  • Check that the distribution, component, and architecture parameters are correctly specified to get valid package data.

Links

Discussion