GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves download URLs for a specific Conan package version hosted in a GitLab project. It is useful for automating the retrieval of package download links in CI/CD pipelines or package management workflows within GitLab projects. For example, a user can fetch the download URLs for a Conan package version to integrate with deployment scripts or package distribution systems.

Use Case Examples

  1. Fetch download URLs for a Conan package version '1.0' named 'my-package' in a GitLab project identified by its ID or URL-encoded path.
  2. Automate retrieval of package download URLs for a specific user and channel to streamline package deployment processes.

Properties

Name Meaning
Skip Authentication Whether to skip authentication when making the API request.
baseUrl The 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 required in the API path to specify the project and package details.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure all required path parameters (id, package_name, package_version, package_username, package_channel) are provided and correctly formatted.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions to access the project and package.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion