GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

AI-generated

Summary

Uploads or retrieves a specific export file for a Conan package recipe revision in the GitLab Conan Package Registry.

Inputs

  • skipAuthentication — Whether to skip sending credentials with the API request.
  • baseUrl — Base URL of the target GitLab instance. Defaults to https://gitlab.com.
  • method — HTTP method to execute against the endpoint (e.g. GET, PUT, DELETE). Defaults to GET.
  • pathParameters — Collection of path variables including package_name, package_version, package_username, package_channel, recipe_revision, and file_name (such as conanfile.py, conanmanifest.txt, conan_sources.tgz, conan_export.tgz, conaninfo.txt, or conan_package.tgz).

Output shape

a single record

Returns the API response payload or file details from the GitLab Conan Package Registry for the specified export file.

Examples

Example 1: Get a conanfile.py export file for a specific Conan package recipe revision

Set method to 'GET' and set pathParameters to package_name='my-package', package_version='1.0', package_username='my-group+my-project', package_channel='stable', recipe_revision='0', file_name='conanfile.py'.

Links

Discussion