GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves Debian distribution information for a specific project from the GitLab API. It is useful for users who want to query Debian package distribution details associated with a GitLab project, such as codename, suite, origin, version, and other metadata. For example, a developer or DevOps engineer might use this to automate fetching Debian distribution data for project packaging or deployment workflows.

Use Case Examples

  1. Fetch Debian distributions for a project with ID '123' to automate package management.
  2. Query Debian distribution details filtered by codename or version for a specific GitLab project.

Properties

Name Meaning
Skip Authentication Option to skip API authentication for the request.
baseUrl Base URL of the GitLab instance to send the request to.
Method HTTP method to use for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Optional query parameters to filter or paginate the Debian distributions data.
Path Parameters Path parameter specifying the project ID or URL-encoded path.

Output

JSON

  • id - The project ID or identifier.
  • codename - The Debian Codename of the distribution.
  • suite - The Debian Suite of the distribution.
  • origin - The Debian Origin of the distribution.
  • label - The Debian Label of the distribution.
  • version - The Debian Version of the distribution.
  • description - The Debian Description of the distribution.
  • valid_time_duration_seconds - Duration before the Release file is considered expired.
  • components - List of Components in the distribution.
  • architectures - List of Architectures supported by the distribution.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID or path is correctly URL-encoded and valid to avoid 404 errors.
  • Verify that the GitLab API credentials are correctly configured and have sufficient permissions to access project Debian distributions.
  • Check network connectivity and base URL configuration if requests fail to reach the GitLab instance.
  • If pagination parameters are used, ensure they are valid integers to avoid request errors.

Links

Discussion