GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the digest information of a specific Conan package from a GitLab project using the GitLab API. It is useful for users who need to access detailed metadata about a Conan package version hosted in a GitLab project, such as package integrity verification or package management automation.

Use Case Examples

  1. A developer wants to verify the digest of a Conan package version before deployment.
  2. A CI/CD pipeline fetches the Conan package digest to ensure the correct package version is used in the build process.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Path Parameters 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.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure all required path parameters 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 data.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages may include 401 Unauthorized (invalid credentials), 404 Not Found (incorrect project ID or package reference), and 400 Bad Request (missing or malformed parameters).

Links

Discussion