GitLab API

GitlabTool

Actions1000

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 need to verify or inspect the integrity and metadata of Conan packages stored in GitLab's package registry. For example, a developer or DevOps engineer can use this node to programmatically fetch package digest details to ensure the correct package version is being used in their CI/CD pipelines.

Use Case Examples

  1. Fetching the digest of a Conan package version to verify its integrity before deployment.
  2. Automating package metadata retrieval for auditing or compliance purposes.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Path Parameters Collection of parameters required in the API request path to identify the specific Conan package digest.

Output

JSON

  • digest - The digest information of the specified Conan package version.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure all required path parameters (id, package_name, package_version, package_username, package_channel, conan_package_reference) are correctly provided and URL-encoded if necessary.
  • Verify that the GitLab API credentials are valid and have sufficient permissions to access the project and package registry.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to the package digest endpoint.
  • Common error messages may include 401 Unauthorized (invalid or missing credentials), 404 Not Found (incorrect project ID or package details), and 400 Bad Request (malformed request parameters).

Links

Discussion