GitLab API

GitlabTool

Actions1095

Conan_packages → putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize

AI-generated

Summary

Authorize access to a Conan package file in a GitLab project using the configured HTTP method. Supply the project, package, revision, and file path parameters; the node builds the request path and uses the GitLab API credential unless authentication is skipped.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API credential; otherwise the node uses the required GitLab API credential.
  • Base URL — Defaults to https://gitlab.com. The source says the actual base URL is defined in the GitLab API credential.
  • Method — HTTP method for the request: GET, POST, PUT, DELETE, HEAD, or PATCH. Defaults to GET.
  • Path Parameters (required) — Provide id (project ID or URL-encoded path), package_name, package_version, package_username, package_channel, recipe_revision, conan_package_reference, package_revision, and file_name. The file name must be one of conanfile.py, conanmanifest.txt, conan_sources.tgz, conan_export.tgz, conaninfo.txt, or conan_package.tgz.

Output shape

A single API response item.

The operation’s request path targets /api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}/authorize. The provided source does not show the response schema or whether the response contains authorization details.

Links

Discussion