GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves Debian package information from a specific GitLab group using the GitLab API. It is designed to fetch package data for a given Debian distribution, component, and architecture within a group's Debian package repository. This is useful for automating package management and integration workflows in CI/CD pipelines or DevOps processes involving Debian packages hosted on GitLab.

Use Case Examples

  1. Fetch Debian package metadata for the 'main' component of the 'binary-amd64' architecture in a specific GitLab group.
  2. Automate retrieval of Debian package lists for a custom distribution codename to integrate with deployment scripts.

Properties

Name Meaning
Skip Authentication Option to skip API authentication, useful for public or unauthenticated access scenarios.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Query Parameters Query parameters for the API request, specifically the Debian distribution codename or suite.
Path Parameters Path parameters for the API request including group ID or path, Debian component, and architecture.

Output

JSON

  • id - The group ID or full group path used in the API request.
  • distribution - The Debian Codename or Suite specified in the query parameters.
  • component - The Debian Component specified in the path parameters.
  • architecture - The Debian Architecture specified in the path parameters.
  • packages - The list of Debian packages retrieved from the GitLab API for the specified parameters.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID or full group path is correct and accessible with the provided API credentials.
  • Verify that the Debian distribution, component, and architecture parameters are correctly specified and exist in the GitLab group repository.
  • Check network connectivity and GitLab API availability if requests fail.
  • If skipping authentication, ensure the repository is public and accessible without credentials.

Links

Discussion