GitLab API

GitlabTool

Actions1095

Conan_packages → getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest

AI-generated

Summary

Retrieves the digest for a specific Conan package within a GitLab project.

Inputs

  • id (required) — The ID or URL-encoded path of the project.
  • package_name (required) — The name of the Conan package.
  • package_version (required) — The version of the Conan package.
  • package_username (required) — The username of the Conan package.
  • package_channel (required) — The channel of the Conan package (e.g., stable, testing).
  • baseUrl — The base URL for the GitLab instance (default: https://gitlab.com).
  • authentication — Authentication method to use. Defaults to 'gitlabApi'.
  • skipAuthentication — If true, skips authentication. Only available when 'authentication' is not 'gitlabApi'.
  • method — HTTP method to use. Defaults to 'get'.

Output shape

a single record

The record contains the Conan package digest information.

Examples

Example 1: Get the digest for a specific Conan package version.

Set id to the project path, package_name, package_version, package_username, and package_channel.

Example 2: Query a custom GitLab instance.

Set baseUrl to the custom GitLab instance URL.

Links

Discussion