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 verify or inspect the digest of a Conan package version hosted on GitLab, which can help in package management, validation, and automation workflows involving Conan packages.

Use Case Examples

  1. A developer wants to automate the verification of Conan package digests before deployment.
  2. A DevOps engineer needs to fetch package digest details to ensure package integrity in a CI/CD pipeline.

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.
Path Parameters Parameters used to specify the Conan package details in the API path.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure that the path parameters (package_name, package_version, package_username, package_channel) are correctly set and valid, as incorrect values will result in API errors.
  • If authentication is enabled, verify that the GitLab API credentials are correctly configured and have the necessary permissions to access package information.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the API endpoint is reachable.
  • Common error messages may include 401 Unauthorized (authentication issues), 404 Not Found (package or path parameters incorrect), and 500 Internal Server Error (server issues). Resolving these involves verifying credentials, parameters, and GitLab server status.

Links

Discussion