GitLab API

GitlabTool

Actions1095

Conan_packages → getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName

AI-generated

Summary

Retrieves a named file from a GitLab Conan package recipe revision using the configured HTTP method and GitLab API base URL.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication; otherwise the node uses its GitLab API credential.
  • Base URL — API base URL, defaulting to https://gitlab.com. The source indicates the GitLab API credential defines the actual base URL.
  • Method — HTTP method for the request; defaults to GET. Available methods are GET, POST, PUT, DELETE, HEAD, and PATCH.
  • Path Parameters (required) — Provide the project ID or URL-encoded path, package name and version, package username and channel, recipe 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

The response from the GitLab API request for the selected package file.

The operation schema does not specify a response format. The node is an OpenAPI tool node; the file may be returned as response data according to the API and request method.

Examples

Example 1: Fetch the package recipe file

Use GET with a project ID or URL-encoded path, package identity and channel, recipe revision, and file_name set to conanfile.py.

Links

Discussion