GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves a specific Debian package file from a GitLab project's Debian package pool. It is useful for automating the download or inspection of Debian package files stored in GitLab repositories, especially in CI/CD pipelines or package management workflows.

Use Case Examples

  1. Downloading a specific Debian package file for deployment or testing.
  2. Automating retrieval of package files for auditing or backup purposes.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
baseUrl The 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 project ID, distribution, letter, package name, package version, and file name.

Output

JSON

  • id - The ID or URL-encoded path of the project.
  • 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 correctly provided; missing or incorrect parameters will cause request failures.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions to access the project and package.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct and reachable.

Links

Discussion