GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest

AI-generated

Summary

Retrieve the digest of a specific Conan package by specifying its package name, version, username, channel, and Conan package reference.

Inputs

  • skipAuthentication — Boolean to bypass authentication if set to true; defaults to false.
  • baseUrl — Base URL for the GitLab instance; defaults to 'https://gitlab.com'.
  • method (required) — HTTP method to use, defaults to GET and typically should remain GET for this operation.
  • pathParameters (required) — Collection of path parameters including 'package_name', 'package_version', 'package_username', 'package_channel', and 'conan_package_reference', all required strings to identify the Conan package digest.

Output shape

a single JSON object representing the digest details of the specified Conan package

The output corresponds to the response from the GET request to the API endpoint '/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/digest'. Authentication is required unless 'skipAuthentication' is set to true.

Examples

Example 1: Retrieve Conan package digest

Set method to GET and provide all required path parameters (package_name, package_version, package_username, package_channel, conan_package_reference), optionally override baseUrl if using self-hosted GitLab, and ensure authentication unless skipping it is intended.

Links

Discussion