GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve Debian package information for a specific project. It is particularly useful for users who want to automate the retrieval of Debian package metadata from GitLab projects, such as for continuous integration or package management workflows. For example, it can fetch package details for a given Debian distribution, component, and architecture within a GitLab project.

Use Case Examples

  1. Retrieve Debian package metadata for a project to automate deployment scripts.
  2. Fetch package details for a specific Debian distribution and architecture to integrate with a package repository management system.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Parameter Schema Defines the required parameters for the API call, including project ID, Debian distribution, component, and architecture.
Query Parameters Additional query parameters for the API request, specifically the Debian distribution name.
Path Parameters Path parameters required for the API endpoint, including project ID, Debian component, and architecture.

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 key credential for authentication

Troubleshooting

  • Ensure the project ID and other path parameters are correctly URL-encoded and valid.
  • Verify that the GitLab API key credential has sufficient permissions to access the project's Debian packages.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common errors include authentication failures, 404 not found if the project or packages do not exist, and 400 bad request if parameters are missing or malformed.

Links

Discussion