GitLab API icon

GitLab API

Gitlab

Actions1062

Conan_packages → postApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls

AI-generated

Summary

Generate upload URLs for a specific Conan package version in a GitLab project to facilitate package uploads.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the Conan package.
  • package_name (required) — The name of the Conan package.
  • package_version (required) — The version of the Conan package.
  • package_username (required) — The username or group+project identifier associated with the package.
  • package_channel (required) — The channel of the Conan package (e.g., stable).
  • baseUrl — An override for the GitLab instance base URL; defaults to https://gitlab.com.
  • skipAuthentication — Option to skip authentication when making the API request; default is false, meaning authentication is used.

Output shape

A JSON object containing the upload URLs for each component of the specified Conan package version.

The operation makes a POST request to the GitLab API endpoint /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/upload_urls. Authentication is required unless explicitly skipped. The response includes signed upload URLs used to upload package files to GitLab's Conan repository.

Links

Discussion