GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel

AI-generated

Summary

Retrieve details of a specific Conan package from GitLab's API v4 by providing the package's name, version, username, and channel.

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 username or group/project path associated with the package.
  • package_channel (required) — The channel of the Conan package, such as 'stable'.
  • skipAuthentication — Whether to skip authentication for the request (default is false).
  • baseUrl — The base URL for the GitLab instance; defaults to 'https://gitlab.com' if not set.
  • method — HTTP method to use for the request; defaults to GET.

Output shape

a single JSON object representing the requested Conan package details from GitLab.

All path parameters are required. The operation performs a GET request to the endpoint /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}. Authentication is required unless skipped explicitly.

Examples

Example 1: Retrieve package details

Provide valid 'package_name', 'package_version', 'package_username', and 'package_channel' values to fetch the Conan package's details.

Links

Discussion