GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation interacts with the GitLab API to retrieve Debian package source information for a specific project. It is useful for developers or DevOps engineers who need to access Debian package distributions, components, and source details within a GitLab project. For example, it can be used to automate the retrieval of Debian package metadata for continuous integration or deployment pipelines.

Use Case Examples

  1. Retrieve Debian source package information for a project by specifying the project ID, distribution codename, and component.
  2. Automate monitoring of Debian package sources in GitLab projects to trigger updates or alerts.

Properties

Name Meaning
Skip Authentication Option to skip API authentication, useful for public or unauthenticated access scenarios.
Authentication Type of authentication to use 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 Query parameters for the API request, specifically the Debian distribution codename or suite.
Path Parameters Path parameters for the API request, including the project ID and Debian component.

Output

JSON

  • id - The ID or URL-encoded path of the project.
  • distribution - The Debian Codename or Suite.
  • component - The Debian Component.
  • source - The source information of the Debian package retrieved from the API.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and component path parameters are correctly URL-encoded and valid.
  • Verify that the Debian distribution and component exist in the specified GitLab project.
  • Check that the GitLab API key credential is valid and has sufficient permissions to access the project's package information.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to the requested resource.

Links

Discussion