GitLab API icon

GitLab API

Gitlab

Actions880

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. Automate fetching a Debian package file for deployment or testing.
  2. Integrate with GitLab to monitor or audit Debian packages in a group repository.

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 in the API path to specify the exact Debian package file to retrieve.

Output

JSON

  • id - The group ID or full group path used in the request.
  • project_id - The Project ID within the group.
  • 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.
  • response - The API response containing the Debian package file data or metadata.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure all required path parameters are correctly provided; missing or incorrect parameters will cause the API request to fail.
  • If authentication is skipped, the request may fail due to lack of permissions; verify credentials if needed.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the package file does not exist, or 401 Unauthorized if authentication fails.

Links

Discussion