GitLab API

GitlabTool

Actions1000

Overview

This node performs an authentication request to the GitLab API for Conan package users. It is useful in scenarios where you need to authenticate users against GitLab's Conan package registry, such as in CI/CD pipelines or package management automation.

Use Case Examples

  1. Authenticate a user to access Conan packages hosted on GitLab.
  2. Verify user credentials before allowing package upload or download operations.

Properties

Name Meaning
Skip Authentication If set to true, the node skips the authentication process.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method HTTP method used for the request, defaulting to GET.
Parameter Schema Hidden property for the parameter schema of the request, not user-configurable.
Request Body Schema Hidden property for the request body schema, not user-configurable.
Request Path The API endpoint path for the authentication request, fixed to /api/v4/packages/conan/v1/users/authenticate.

Output

JSON

  • statusCode - HTTP status code returned by the authentication request.
  • body - Response body containing authentication details or error messages.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has the necessary permissions to authenticate Conan package users.
  • Verify the baseUrl is correct and accessible from the n8n environment.
  • If skipping authentication, ensure subsequent nodes do not require authentication or handle unauthenticated requests properly.

Links

Discussion