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 deployment or integration processes.
  2. Retrieve package download links to verify package availability or for auditing purposes.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method used for the API request, defaulting to GET.
Path Parameters Parameters required in the API request path to specify the project and Conan package details.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and package parameters are correctly URL-encoded to avoid 404 errors.
  • Verify that the GitLab API key has sufficient permissions to access the project's packages.
  • If authentication is skipped, ensure the GitLab instance allows unauthenticated access to the package data.

Links

Discussion