GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves specific files from a Conan package stored in GitLab's package registry using the GitLab API. It is useful for developers or DevOps engineers who need to programmatically access package files such as conanfile.py, conanmanifest.txt, or conaninfo.txt for automation, auditing, or integration purposes.

Use Case Examples

  1. Fetching the 'conaninfo.txt' file of a specific Conan package version to verify package metadata.
  2. Downloading the 'conanfile.py' to inspect or modify the package recipe programmatically.

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 request, default is GET.
Path Parameters Parameters required to specify the exact Conan package file to retrieve.

Output

JSON

  • fileContent - Content of the requested Conan package file.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure all required path parameters are correctly provided and valid to avoid 404 errors.
  • Verify authentication credentials if skipping authentication is not enabled to prevent authorization errors.
  • Check the base URL if using a self-hosted GitLab instance to ensure the API endpoint is reachable.

Links

Discussion