GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves download URLs for a specific Conan package version hosted on GitLab. It is useful for users who want to programmatically access package download links for automation or integration purposes. For example, a developer can use this node to fetch download URLs for a package named 'my-package' version '1.0' under a specific user and channel to automate deployment or dependency management workflows.

Use Case Examples

  1. Fetch download URLs for a Conan package 'my-package' version '1.0' under user 'my-group+my-project' and channel 'stable' from GitLab.
  2. Automate retrieval of package download links for integration into CI/CD pipelines.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the Conan package details including package name, version, username, and channel.

Output

JSON

  • download_urls - List of download URLs for the specified Conan package version.

Dependencies

  • GitLab API authentication token (unless Skip Authentication is enabled)

Troubleshooting

  • Ensure all path parameters (package_name, package_version, package_username, package_channel) are correctly provided and non-empty.
  • If authentication is required, verify that the GitLab API credentials are correctly configured and valid.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is reachable.
  • Common error messages may include 404 Not Found if the package details are incorrect or 401 Unauthorized if authentication fails.

Links

Discussion