GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls

AI-generated

Summary

Retrieve the download URLs for a specific Conan package version in a GitLab project repository.

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 namespace associated with the Conan package.
  • package_channel (required) — The channel of the Conan package, e.g., 'stable'.
  • skipAuthentication — Set to true to skip authenticating the request (defaults to false).
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • method — HTTP method to use; defaults to GET.

Output shape

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

The response shape follows the GitLab API's /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/download_urls endpoint. Authentication is required unless explicitly skipped.

Examples

Example 1: Get download URLs for package 'my-package', version '1.0', username 'my-group+my-project', channel 'stable' in project with ID '123'.

Set 'id' to '123', 'package_name' to 'my-package', 'package_version' to '1.0', 'package_username' to 'my-group+my-project', 'package_channel' to 'stable', and use default method GET.

Links

Discussion