GitLab API

GitlabTool

Actions1095

Conan_packages → getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference

AI-generated

Summary

Retrieves the specified Conan package reference from the GitLab Packages API using the configured HTTP method and base URL. Provide the package name, version, username, channel, and Conan package ID as path parameters.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication.
  • Authentication — GitLab API credentials are used unless authentication is skipped.
  • Base URL — GitLab instance URL; defaults to https://gitlab.com. The node source indicates the effective base URL is defined by the GitLab API credential.
  • Method — HTTP method for the request; defaults to GET. Options are GET, POST, PUT, DELETE, HEAD, and PATCH.
  • Package_name (required) — Package name used in the request path.
  • Package_version (required) — Package version used in the request path.
  • Package_username (required) — Package username used in the request path.
  • Package_channel (required) — Package channel used in the request path.
  • Conan_package_reference (required) — Conan package ID used in the request path.

Output shape

A response from the GitLab API.

The operation targets /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}. The supplied properties and source do not specify the response schema.

Examples

Example 1: Fetch a package reference

Use the default GET method and provide the package coordinates and Conan package ID as path parameters.

Links

Discussion