GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the digest information of a specific Conan package version from a GitLab project using the GitLab API. It is useful for users who want to programmatically access metadata about Conan packages stored in GitLab's package registry, such as verifying package integrity or managing package versions.

Use Case Examples

  1. A DevOps engineer automates the retrieval of Conan package digests to verify package integrity before deployment.
  2. A developer queries the digest of a specific Conan package version to ensure the correct package is used in a build pipeline.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically a GitLab API key credential.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, default is GET.
Path Parameters Collection of parameters required in the API path to identify the specific Conan package.

Output

JSON

  • digest - The digest information of the specified Conan package version retrieved from the GitLab API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure all required path parameters (id, package_name, package_version, package_username, package_channel) are correctly provided; missing or incorrect values will cause API request failures.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to access the project and package registry.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the API endpoint is reachable.

Links

Discussion