GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest

AI-generated

Summary

Retrieve the digest metadata of a specific Conan package version hosted on GitLab Packages Conan repository.

Inputs

  • 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 (such as group/project) associated with the Conan package.
  • package_channel (required) — The channel of the Conan package, e.g., 'stable'.
  • skipAuthentication — Optionally skip authentication for the request (default is false).
  • baseUrl — Base URL for GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use for the request; fixed to GET by default for this operation.

Output shape

a JSON object representing the Conan package digest metadata for the specified package version

Returns the package digest in the body of the HTTP GET response. Requires specifying all path parameters: package_name, package_version, package_username, package_channel. Error handling depends on the GitLab API's response.

Examples

Example 1: Get the digest of Conan package 'my-package' version '1.0' under user/group 'my-group+my-project' with channel 'stable'

Set Path Parameters: package_name='my-package', package_version='1.0', package_username='my-group+my-project', package_channel='stable'; Use default GET method; Ensure authentication via configured GitLab API credentials; Optionally set baseUrl if using self-hosted GitLab instance.

Links

Discussion