GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves Debian package information from a specified GitLab group using the GitLab API. It is useful for automating the management and retrieval of Debian package metadata within GitLab groups, particularly for DevOps and software distribution workflows. For example, it can be used to fetch package details for a specific Debian distribution, component, and architecture within a group.

Use Case Examples

  1. Fetch Debian packages for the 'main' component and 'binary-amd64' architecture in a GitLab group identified by its ID or path.
  2. Automate retrieval of package metadata for a custom Debian distribution in a GitLab group to integrate with CI/CD pipelines.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Parameter Schema Defines the required path and query parameters for the API request, including group ID/path, Debian distribution, component, and architecture.
Request Path The API endpoint path template used to fetch Debian package data from the GitLab group.
Query Parameters Collection of query parameters, specifically the Debian distribution codename or suite.
Path Parameters Collection of path parameters including group ID or path, Debian component, and architecture.

Output

JSON

  • packages - List of Debian packages retrieved from the specified GitLab group and distribution parameters.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the group ID or path is correct and accessible with the provided authentication.
  • Verify that the Debian distribution, component, and architecture parameters are valid and exist in the GitLab group.
  • Check network connectivity and base URL configuration to the GitLab instance.
  • Authentication errors may occur if the API key or token is missing, expired, or lacks necessary permissions.

Links

Discussion