GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves Debian package information from a specified GitLab group using the GitLab API. It is useful for automating the fetching of Debian package metadata for a given distribution, component, and architecture within a GitLab group. For example, it can be used in CI/CD pipelines to verify package availability or to integrate package data into other systems.

Use Case Examples

  1. Fetch Debian package metadata for the 'main' component and 'binary-amd64' architecture of a specific distribution in a GitLab group.
  2. Automate retrieval of Debian package lists for deployment or monitoring purposes.

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 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 request.
  • distribution - The Debian Codename or Suite specified in the query.
  • component - The Debian Component specified in the path.
  • architecture - The Debian Architecture specified in the path.
  • packages - The list of Debian packages retrieved from the GitLab API for the specified parameters.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the group ID or full group path is correct and accessible with the provided credentials.
  • Verify that the Debian distribution, component, and architecture parameters are correctly specified and exist in the GitLab group.
  • Check network connectivity and base URL correctness if the API request fails.
  • Authentication errors may occur if the API token is missing, expired, or lacks necessary permissions.

Links

Discussion