GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize

AI-generated

Summary

Authorize access to a specific file within a Conan package stored in a GitLab project by sending a PUT request to the corresponding GitLab 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.
  • package_version (required) — The version of the Conan package.
  • package_username (required) — The username or namespace associated with the Conan package.
  • package_channel (required) — The channel of the Conan package.
  • recipe_revision (required) — The revision number of the Conan package recipe.
  • conan_package_reference (required) — The unique reference ID of the Conan package.
  • package_revision (required) — The revision number of the Conan package.
  • file_name (required) — The file name within the Conan package to authorize, which must be one of the following: conanfile.py, conanmanifest.txt, conan_sources.tgz, conan_export.tgz, conaninfo.txt, or conan_package.tgz.
  • skipAuthentication — Boolean flag to skip the default authentication if set to true.
  • baseUrl — The base URL for the GitLab API, defaulting to https://gitlab.com.

Output shape

a JSON response object confirming the authorization status or details

The PUT request targets the GitLab API endpoint responsible for authorizing a file in a Conan package, returning JSON data. Authentication is handled by default via the GitlabApi credential unless skipped. No pagination applies.

Links

Discussion