GitLab API

GitlabTool

Actions1000

Overview

This node interacts with the GitLab API to retrieve Debian distribution information for a specific project. It is useful for users who want to fetch details about Debian distributions associated with a GitLab project, such as codename, suite, origin, label, version, description, and other metadata. Practical examples include automating the retrieval of Debian package distribution data for CI/CD pipelines or monitoring project package repositories.

Use Case Examples

  1. Fetch Debian distributions for a project by project ID to automate package management workflows.
  2. Retrieve Debian distribution metadata to integrate with deployment scripts or monitoring tools.

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, defaulting to GitLab API key authentication.
baseUrl 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 Optional query parameters to filter or paginate the Debian distributions data, including page, per_page, codename, suite, origin, label, version, description, valid_time_duration_seconds, components, and architectures.
Path Parameters Path parameter specifying the project ID or URL-encoded path to identify the GitLab project.

Output

JSON

  • id - The ID or URL-encoded path of the project used in the request
  • page - Current page number of the results
  • per_page - Number of items per page in the results
  • codename - The Debian Codename filter used in the query
  • suite - The Debian Suite filter used in the query
  • origin - The Debian Origin filter used in the query
  • label - The Debian Label filter used in the query
  • version - The Debian Version filter used in the query
  • description - The Debian Description filter used in the query
  • valid_time_duration_seconds - Duration before the Release file is considered expired by the client
  • components - List of Debian Components filter used in the query
  • architectures - List of Debian Architectures filter used in the query

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID or URL-encoded path is correctly specified in the path parameters to avoid 404 errors.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access the project's Debian distributions.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the API endpoint is reachable.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to the Debian distributions endpoint.

Links

Discussion