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 projects, such as in CI/CD pipelines or package monitoring workflows.

Use Case Examples

  1. Fetch Debian packages for project ID '123', distribution 'buster', component 'main', and architecture 'binary-amd64'.
  2. Automate retrieval of Debian package metadata 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, defaulting to GitLab API key authentication.
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 required path and query parameters for the API call, including project ID, distribution, component, and architecture.
Request Path API endpoint path template for the request.
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

  • id - The ID or URL-encoded path of the project.
  • distribution - The Debian Codename or Suite.
  • component - The Debian Component.
  • architecture - The Debian Architecture.
  • packages - The list of Debian packages retrieved from the specified project and distribution.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID is correct and accessible with the provided authentication.
  • Verify that the distribution, component, and architecture parameters are valid Debian values.
  • Check network connectivity to the GitLab instance specified by the baseUrl.
  • Authentication errors may occur if the API key is missing or invalid; ensure proper credentials are configured.

Links

Discussion