GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

AI-generated

Summary

Retrieve a specific Conan package file from a GitLab project's Conan package repository using specified project and package details.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project from which to retrieve the Conan package file.
  • 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 within which the Conan package is published.
  • recipe_revision (required) — The revision of the Conan recipe to target.
  • file_name (required) — The specific file name of the Conan package file to retrieve. Must be one of: conanfile.py, conanmanifest.txt, conan_sources.tgz, conan_export.tgz, conaninfo.txt, or conan_package.tgz.
  • skipAuthentication — Optionally skip authentication for this request; defaults to false.
  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use for the request; defaults to GET.

Output shape

binary file

Returns the content of the specified Conan package file as a binary download. No pagination applies. Authentication is required unless explicitly skipped.

Links

Discussion