GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName

AI-generated

Summary

Download a specific Conan package file from a GitLab project by providing detailed package and revision identifiers.

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 to retrieve.
  • package_version (required) — The version of the Conan package.
  • package_username (required) — The package username, typically the namespace or group owning the package.
  • package_channel (required) — The channel of the package, such as 'stable' or 'testing'.
  • recipe_revision (required) — The specific revision hash of the package recipe.
  • file_name (required) — The exact name of the package file to fetch. Must be one of the authorized Conan package files: 'conanfile.py', 'conanmanifest.txt', 'conan_sources.tgz', 'conan_export.tgz', 'conaninfo.txt', or 'conan_package.tgz'.
  • skipAuthentication — Optionally skip authentication if set to true.
  • method — HTTP method to use; defaults to GET.
  • baseUrl — Override the GitLab base URL; defaults to 'https://gitlab.com'.

Output shape

binary file download

Returns the binary contents of the specified Conan package file. Suitable for files such as source archives or metadata. Handles only one file per execution. Authentication is required by default unless 'Skip Authentication' is enabled.

Links

Discussion