GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve Debian package distribution information for a specific project. It is useful for automating the retrieval of Debian package metadata, such as the InRelease file for a given distribution codename or suite within a GitLab project. Practical applications include CI/CD pipelines, package management automation, and integration with Debian package repositories hosted on GitLab.

Use Case Examples

  1. Retrieve the InRelease file for the 'buster' distribution of Debian packages in a GitLab project with ID '12345'.
  2. Automate monitoring of Debian package distributions in GitLab projects to trigger downstream deployment workflows.

Properties

Name Meaning
Skip Authentication Option to bypass authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance to which the API requests are sent.
Method HTTP method used for the API request, default is GET.
Query Parameters Query parameters for the API request, specifically the 'distribution' parameter representing the Debian Codename or Suite.
Path Parameters Path parameters for the API request, specifically the 'id' parameter representing the ID or URL-encoded path of the GitLab project.

Output

JSON

  • id - The ID or URL-encoded path of the GitLab project.
  • distribution - The Debian Codename or Suite used in the query.
  • inReleaseContent - Content of the InRelease file for the specified Debian distribution in the project.

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' query parameter matches a valid Debian Codename or Suite in the project.
  • Check network connectivity and baseUrl configuration if the API request fails.
  • Authentication errors may occur if the API key is missing, expired, or lacks necessary permissions.

Links

Discussion