GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize

AI-generated

Summary

Authorize access to export a specific Conan package file in a GitLab project using a PUT request to the matching API endpoint.

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 authorize export for.
  • package_version (required) — The version of the Conan package.
  • package_username (required) — The username or group/project associated with the package.
  • package_channel (required) — The channel of the Conan package (e.g., 'stable').
  • recipe_revision (required) — The Conan recipe revision for the package.
  • file_name (required) — The name of the package file to authorize for export. Must be one of 'conanfile.py', 'conanmanifest.txt', 'conan_sources.tgz', 'conan_export.tgz', 'conaninfo.txt', or 'conan_package.tgz'.
  • skipAuthentication — Boolean option to skip authentication (default is false).
  • baseUrl — Base URL for the GitLab instance (default is 'https://gitlab.com').
  • method — HTTP method to use; for this operation, should be 'PUT'.

Output shape

a JSON response containing authorization details for exporting the specified Conan package file within the project

The request path requires all path parameters to be specified correctly. The operation requires authentication unless 'Skip Authentication' is enabled. The method defaults to GET in the node UI but should be set to PUT as per the operation definition. The node uses the GitLab API credentials for authentication. No pagination involved.

Links

Discussion