GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves Debian package information from a specific project in GitLab using the GitLab API. It is useful for users who want to access Debian package distributions, components, and architectures associated with a GitLab project. For example, it can be used to fetch package metadata for a given Debian distribution and architecture within a project.

Use Case Examples

  1. Fetching Debian package details for a project with ID '123' for distribution 'my-distro', component 'main', and architecture 'binary-amd64'.
  2. Automating retrieval of Debian package lists for continuous integration or deployment pipelines.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
method HTTP method to use for the request, default is GET.
queryParameters.distribution The Debian Codename or Suite to filter the packages.
pathParameters.id The ID or URL-encoded path of the GitLab project.
pathParameters.component The Debian Component within the distribution, e.g., 'main'.
pathParameters.architecture The Debian Architecture, e.g., 'binary-amd64'.

Output

JSON

  • id - The ID or URL-encoded path of the project.
  • distribution - The Debian Codename or Suite.
  • component - The Debian Component.
  • architecture - The Debian Architecture.
  • packages - The list of Debian packages retrieved for the specified distribution, component, and architecture.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and path parameters are correctly URL-encoded and valid.
  • Verify that the authentication token has sufficient permissions to access the project's Debian packages.
  • Check that the distribution, component, and architecture parameters match existing Debian package metadata in the project.
  • Common error messages may include 404 Not Found if the project or packages do not exist, or 401 Unauthorized if authentication fails.

Links

Discussion