GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel

AI-generated

Summary

Retrieve detailed information about a specific Conan package version stored in a GitLab project's Conan repository by specifying the project ID and package identifiers.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to access.
  • package_name (required) — The name of the Conan package to retrieve.
  • package_version (required) — The version of the Conan package.
  • package_username (required) — The username or namespace associated with the package, typically combining group and project names.
  • package_channel (required) — The channel of the Conan package, e.g., 'stable'.
  • skipAuthentication — Whether to bypass authentication; defaults to false.
  • baseUrl — The base URL for the GitLab instance; defaults to 'https://gitlab.com'.
  • method — HTTP method to use; typically 'GET' for retrieving package details.

Output shape

a single JSON object containing metadata and details of the specified Conan package version in the GitLab project.

The operation maps to a GET request on the endpoint /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}. Authentication via the configured 'gitlabApi' credentials is applied by default unless skipped. The response contains detailed package information as provided by the GitLab API.

Links

Discussion