GitLab API

GitlabTool

Actions1095

Conan_packages → getApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

AI-generated

Summary

Fetches a Conan package file from a GitLab project using the package coordinates and filename in the path. Configure the GitLab base URL and authentication, then provide all required path parameters.

Inputs

  • Skip Authentication — When enabled, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • Base URL — GitLab instance URL; defaults to https://gitlab.com. The source notes that the base URL is defined in the GitLab API credential.
  • Method — HTTP method; defaults to GET.
  • Path Parameters (required) — Project ID or URL-encoded path (id), package name and version, package username and channel, Conan recipe revision, Conan package ID, package revision, and file name. The file name is one of conanfile.py, conanmanifest.txt, conan_sources.tgz, conan_export.tgz, conaninfo.txt, or conan_package.tgz.

Output shape

A single HTTP response from the GitLab API.

The operation calls /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}. The source pack does not specify how the response body is shaped.

Links

Discussion