GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls

AI-generated

Summary

Retrieve download URLs for a specific Conan package version from a GitLab project.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the Conan package.
  • package_name (required) — The name of the Conan package.
  • package_version (required) — The version of the Conan package.
  • package_username (required) — The username or group name associated with the Conan package.
  • package_channel (required) — The channel of the Conan package (e.g., stable).
  • conan_package_reference (required) — The Conan package reference identifier.
  • skipAuthentication — Optionally skip using authentication for the request (defaults to false).
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.
  • method — HTTP method for the request, default is GET.

Output shape

a JSON object containing the download URLs for the specified Conan package version in the GitLab project

The output shape corresponds to the API response from the GitLab endpoint. Authentication is applied unless 'Skip Authentication' is enabled. If the package or version is not found, the API will respond with an error status.

Examples

Example 1: Retrieve download URLs for package 'my-package' version '1.0' hosted in project with ID '1234'.

Set 'id' to '1234', 'package_name' to 'my-package', 'package_version' to '1.0', 'package_username' to the associated username, 'package_channel' to 'stable', and provide the correct 'conan_package_reference'.

Links

Discussion