GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves Debian package information from a specific GitLab project using the GitLab API. It is designed to fetch package data for a given project ID, Debian distribution codename or suite, component, and architecture. This is useful for automating the management and retrieval of Debian packages hosted in GitLab repositories, especially in CI/CD pipelines or package distribution workflows.

Use Case Examples

  1. Fetch Debian packages for project ID '123' with distribution 'my-distro', component 'main', and architecture 'binary-amd64'.
  2. Automate retrieval of Debian installer binary packages for a specific GitLab project to integrate with deployment scripts.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method used for the API request, default is GET.
Parameter Schema Defines the required path and query parameters for the API call, including project ID, distribution, component, and architecture.
Request Path The API endpoint path template used to fetch Debian packages from the GitLab project.
Query Parameters Collection of query parameters, specifically the Debian distribution codename or suite.
Path Parameters Collection of path parameters including project ID, Debian component, and architecture.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID is correct and accessible with the provided authentication token.
  • Verify that the distribution, component, and architecture parameters match the Debian packages available in the GitLab project.
  • Check network connectivity and base URL configuration if the API request fails.
  • Authentication errors may occur if the API key is missing, invalid, or lacks necessary permissions.

Links

Discussion