GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

AI-generated

Summary

Retrieve a specific Conan package file from a GitLab project using detailed path parameters including project ID, package details, and exact file name.

Inputs

  • id (required) — The ID or URL-encoded path of the project from which to fetch 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 associated with the Conan package.
  • package_channel (required) — The channel of the Conan package (e.g., stable).
  • recipe_revision (required) — The revision identifier of the Conan recipe.
  • conan_package_reference (required) — The Conan Package ID referencing the specific package.
  • package_revision (required) — The revision of the Conan package.
  • file_name (required) — The file name of the Conan package to retrieve (one of: conanfile.py, conanmanifest.txt, conan_sources.tgz, conan_export.tgz, conaninfo.txt, conan_package.tgz).
  • skipAuthentication — Optionally skip using authentication when making the request (defaults to false).
  • baseUrl — The base URL of the GitLab instance (default https://gitlab.com).
  • method — HTTP method to use, default is GET (other methods allowed but typical usage is GET).

Output shape

binary file content of the specified Conan package file

Returns the raw contents of the Conan package file specified by the path parameters. Authentication depends on the node credentials unless skipAuthentication is set. The operation constructs the request path as per the parameter values and sends a request to the GitLab API.

Links

Discussion