GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically targeting the Conan package repository user authentication endpoint. It is designed to authenticate users against the GitLab Conan package registry using the API v4 endpoint. This node is useful in scenarios where automated workflows require verifying user credentials or managing access to Conan packages hosted on GitLab.

Use Case Examples

  1. Automating user authentication for Conan package access in CI/CD pipelines.
  2. Verifying user credentials before allowing package upload or download operations.

Properties

Name Meaning
Skip Authentication Option to bypass the authentication process.
Authentication Type of authentication method used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method HTTP method to use for the request, such as GET, POST, PUT, DELETE, HEAD, or PATCH.

Output

JSON

  • response - The JSON response from the GitLab API for the user authentication request.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has the necessary permissions to access the Conan package registry.
  • Verify the baseUrl is correct and accessible from the n8n environment.
  • Check that the HTTP method matches the expected method for the authentication endpoint (typically GET or POST).
  • If skipping authentication, ensure that subsequent requests do not require authentication or handle the lack of credentials gracefully.

Links

Discussion