GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves detailed information about a specific Conan package stored in a GitLab project. It is useful for developers and DevOps teams who manage Conan packages within GitLab's package registry, allowing them to fetch metadata or details about a particular package version, user, and channel.

Use Case Examples

  1. Fetch details of a Conan package version '1.0' named 'my-package' for user 'my-group+my-project' on the 'stable' channel within a specific GitLab project.
  2. Use this operation to automate package management workflows by integrating package data retrieval into CI/CD pipelines.

Properties

Name Meaning
Skip Authentication Option to bypass authentication when making the API request.
Authentication Type of authentication used for the API request, typically a GitLab API key.
baseUrl Base URL of the GitLab instance to which the request is sent.
Method HTTP method used for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Path Parameters Parameters required in the API request path to identify the specific Conan package.

Output

JSON

  • id - The ID of the GitLab project.
  • package_name - Name of the Conan package.
  • package_version - Version of the Conan package.
  • package_username - Username or group/project associated with the package.
  • package_channel - Channel of the Conan package.
  • conan_package_reference - Unique reference ID of the Conan package.
  • package_details - Detailed metadata and information about the Conan package retrieved from GitLab.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the provided project ID and package parameters are correct and URL-encoded if necessary to avoid 404 errors.
  • Verify that the GitLab API key has sufficient permissions to access the project's package registry to prevent authorization errors.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion