GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation performs a POST request to the GitLab API to obtain upload URLs for a specific Conan package version. It is useful for automating package management workflows in GitLab, particularly for Conan package repositories. For example, it can be used to programmatically retrieve URLs needed to upload package files during CI/CD pipelines or package deployment processes.

Use Case Examples

  1. Automating Conan package uploads in GitLab CI/CD.
  2. Retrieving upload URLs for a specific Conan package version to integrate with custom deployment scripts.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to POST.
Path Parameters Collection of path parameters required to specify the Conan package reference for which upload URLs are requested.

Output

JSON

  • upload_urls - The URLs returned by the API for uploading the Conan package files.

Dependencies

  • GitLab API authentication token or credentials

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 API errors.
  • Authentication errors may occur if the GitLab API token is invalid or missing; verify credentials are correctly configured.
  • Network or base URL misconfiguration can lead to connection failures; confirm the baseUrl is correct and accessible.

Links

Discussion