GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the digest information of a specific Conan package from the GitLab API. It is useful for users who need to access detailed metadata about a Conan package stored in a GitLab repository, such as package versioning and integrity verification. For example, developers managing C++ package dependencies can use this node to verify package digests before deployment or integration.

Use Case Examples

  1. Retrieve the digest of a Conan package named 'my-package' version '1.0' under the user 'my-group+my-project' and channel 'stable' to verify package integrity.
  2. Use the node to automate fetching package digests for continuous integration pipelines that depend on Conan packages hosted on GitLab.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET.
Path Parameters Parameters required in the API request path to specify the Conan package details.

Output

JSON

  • digest - Digest information of the specified Conan package.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure all required path parameters (package_name, package_version, package_username, package_channel, conan_package_reference) are provided and correctly formatted.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to access the package data.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the API endpoint is reachable.
  • Common error messages include 401 Unauthorized (invalid or missing API key), 404 Not Found (package or reference does not exist), and 400 Bad Request (incorrect path parameters).

Links

Discussion