GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves download URLs for a specific Conan package from the GitLab API. It is useful for users who need to programmatically access package download links for Conan packages hosted on GitLab, enabling automation in package management workflows.

Use Case Examples

  1. Automating retrieval of download URLs for a Conan package to integrate with CI/CD pipelines.
  2. Fetching package download links for deployment scripts or package distribution systems.

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 send the request to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters required to specify the Conan package uniquely, including package name, version, username, channel, and Conan package reference.

Output

JSON

  • download_urls - Array of URLs to download the specified Conan package.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure all required path parameters (package_name, package_version, package_username, package_channel, conan_package_reference) are correctly provided; missing or incorrect values will cause request failures.
  • Authentication errors may occur if the API key or token is invalid or missing; verify credentials are correctly configured.
  • Network or base URL issues can cause connection failures; confirm the baseUrl is correct and accessible.

Links

Discussion