GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves download URLs for a specific Conan package version 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 version to integrate with CI/CD pipelines.
  2. Fetching package download URLs to verify package availability or to trigger downstream deployment processes.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Path Parameters Parameters used to specify the Conan package details in the API path.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure that the path parameters (package_name, package_version, package_username, package_channel) are correctly set and match the package details in GitLab.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions to access the package.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages may include 404 Not Found if the package details are incorrect or the package does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion