GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves a specific Debian package file from a GitLab group repository using the GitLab API. It is useful for automating the download or inspection of Debian package files stored in GitLab groups, especially in CI/CD pipelines or package management workflows.

Use Case Examples

  1. Fetch a Debian package file by specifying the group ID, project ID, distribution codename, classification letter, package name, version, and file name to automate package deployment or analysis.
  2. Use it to integrate GitLab-hosted Debian packages into custom software delivery processes.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication to use for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Parameter Schema Defines the required path parameters for the API call, including group ID, project ID, distribution, letter, package name, package version, and file name.
Path Parameters Collection of path parameters values to specify the exact Debian package file to retrieve.

Output

JSON

  • data - The retrieved Debian package file data or metadata from the GitLab API response.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure all required path parameters are correctly provided; missing or incorrect parameters will cause API errors.
  • Authentication errors may occur if the GitLab API key is invalid or missing; verify credentials.
  • Network or base URL issues can cause request failures; confirm the baseUrl is correct and accessible.

Links

Discussion