GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves download URLs for a specific Conan package version from a GitLab project using the GitLab API. It is useful for automating the retrieval of package download links in CI/CD pipelines or package management workflows, especially when working with Conan packages hosted on GitLab.

Use Case Examples

  1. Fetch download URLs for a Conan package version in a GitLab project to automate package deployment or integration.
  2. Retrieve package download links to verify package availability or for auditing purposes.

Properties

Name Meaning
Skip Authentication If true, the node will skip using authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the API request, default is GET.
Path Parameters Parameters required in the API path to specify the project and Conan package details.

Output

JSON

  • download_urls - Array of URLs to download the specified Conan package version from the GitLab project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure all required path parameters (project ID, package name, version, username, channel, and package reference) are correctly provided; missing or incorrect values will cause API errors.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to access the project and packages.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct and accessible.
  • Common error messages include 404 Not Found if the project or package does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion