GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference

AI-generated

Summary

Retrieve detailed information about a specific Conan package version from GitLab's Conan package registry using the package name, version, username, channel, and Conan package reference.

Inputs

  • package_name (required) — The name of the Conan package to retrieve.
  • package_version (required) — The version of the Conan package to retrieve.
  • package_username (required) — The package username or namespace, usually in the format group+project.
  • package_channel (required) — The channel of the Conan package (e.g., 'stable').
  • conan_package_reference (required) — The unique Conan package ID reference.
  • skipAuthentication — If set to true, skips applying authentication credentials; defaults to false.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • method — HTTP method to use for the request; defaults to GET but typically remains GET for this operation.

Output shape

a single JSON object representing the specific Conan package details returned by the GitLab API

The response returns details about the Conan package identified by the provided path parameters. Authentication is required unless 'Skip Authentication' is enabled. The request uses the path '/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}' with HTTP GET by default.

Examples

Example 1: Retrieve a Conan package version details

Provide all required path parameters to specify the package and its unique reference; authentication via GitLab API credentials is used by default

Links

Discussion