GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve a specific Debian package file from a group's package pool. It is useful for automating the retrieval of Debian package files hosted in GitLab groups, particularly when managing software distribution or CI/CD pipelines that depend on specific package versions.

Use Case Examples

  1. Fetch a Debian package file for a project within a GitLab group by specifying the group ID, project ID, distribution codename, classification letter, package name, version, and file name.
  2. Automate downloading of Debian packages from GitLab for deployment or testing purposes.

Properties

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

Output

JSON

  • id - The group ID or full group path.
  • project_id - The Project ID.
  • distribution - The Debian Codename or Suite.
  • letter - The Debian Classification (first-letter or lib-first-letter).
  • package_name - The Debian Source Package Name.
  • package_version - The Debian Source Package Version.
  • file_name - The Debian File Name.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure all required path parameters are provided and correctly formatted, as missing or incorrect parameters will cause the API request to fail.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions to access the group's packages.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion