GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a specific Debian package file from a GitLab group repository using detailed parameters such as group ID or path, Debian distribution codename, component, architecture, and the SHA256 hash of the file. It is useful for automating the retrieval of Debian package files hosted in GitLab groups, especially when precise package identification is required by hash verification.

Use Case Examples

  1. Automate downloading a Debian package file for a specific distribution and architecture from a GitLab group.
  2. Verify and fetch a Debian package by its SHA256 hash to ensure integrity before deployment.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication The authentication method used for the API request, typically a GitLab API key credential.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, default is GET.
Query Parameters Query parameters for the request, specifically the Debian distribution codename or suite.
Path Parameters Path parameters required to identify the package file uniquely.

Output

JSON

  • response - The JSON response containing the Debian package file details retrieved from the GitLab API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure all required path parameters (id, component, architecture, file_sha256) and query parameter (distribution) are correctly provided; missing or incorrect values will cause request failures.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to access the group and package data.
  • Check the baseUrl if connecting to a self-hosted GitLab instance to ensure it is correct and reachable.
  • Common error messages include 404 Not Found if the package or group does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion