GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves information about a specific Debian distribution associated with a GitLab project by its project ID or URL-encoded path and the Debian codename. It is useful for users who want to access detailed Debian distribution data within a GitLab project, such as package management or deployment automation scenarios.

Use Case Examples

  1. Fetch Debian distribution details for a project with ID '123' and codename 'sid' to automate package deployment.
  2. Retrieve Debian distribution info to integrate with CI/CD pipelines for Debian-based projects.

Properties

Name Meaning
Skip Authentication Option to skip API authentication, useful for public or unauthenticated requests.
Authentication Type of authentication used for the API request, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project and Debian codename for the request.

Output

JSON

  • id - The ID or URL-encoded path of the project used in the request
  • codename - The Debian codename used in the request
  • distributionDetails - Details of the Debian distribution retrieved from the GitLab API

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and Debian codename are correctly specified and URL-encoded if necessary.
  • Verify that the GitLab API key has sufficient permissions to access the project and Debian distribution data.
  • Check the baseUrl is correct and accessible, especially if using a self-hosted GitLab instance.
  • Common error messages include 401 Unauthorized (authentication issues), 404 Not Found (invalid project ID or codename), and 500 Internal Server Error (server issues).

Links

Discussion