GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node interacts with the GitLab API to authenticate users for Conan packages via the endpoint `/api/v4/packages/conan/v1/users/authenticate`. It supports making HTTP requests with various methods (GET, POST, PUT, DELETE, HEAD, PATCH) to this specific API path. This node is useful for automating user authentication processes in GitLab's Conan package registry, enabling workflows that require verifying user credentials or session validation.

Use Case Examples

  1. Automate user authentication for Conan package access in GitLab.
  2. Integrate GitLab Conan package user authentication into CI/CD pipelines.
  3. Validate user credentials programmatically before allowing package operations.

Properties

Name Meaning
Skip Authentication Option to skip the authentication process for the request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Parameter Schema Schema for parameters to be sent with the request, hidden and specific to the operation.
Request Body Schema Schema for the request body, hidden and specific to the operation.
Request Path The API endpoint path for user authentication in Conan packages, fixed to `/api/v4/packages/conan/v1/users/authenticate`.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has the necessary permissions to access the Conan package authentication endpoint.
  • Verify the baseUrl is correct and accessible from the environment where the node runs.
  • Check that the HTTP method used is appropriate for the authentication endpoint; typically, POST or GET might be expected.
  • If skipping authentication, ensure the downstream processes do not require authenticated requests, or they will fail.

Links

Discussion