GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to check user credentials specifically for Conan packages via the endpoint `/api/v4/packages/conan/v1/users/check_credentials`. It is useful for validating authentication status or permissions of users in the context of Conan package management within GitLab. Typical use cases include automated workflows that need to verify user access before performing package operations.

Use Case Examples

  1. A CI/CD pipeline step that verifies if the current user has valid credentials to access Conan packages in a GitLab repository.
  2. An automation that checks user authentication status before allowing package uploads or downloads.

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 connect to, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET.
Parameter Schema Hidden property for the parameter schema of the request, specific to the operation.
Request Body Schema Hidden property for the request body schema, specific to the operation.
Request Path Hidden property specifying the API endpoint path for checking user credentials.

Output

JSON

  • response - The JSON response from the GitLab API indicating the result of the credentials check.

Dependencies

  • GitLab API key credential

Troubleshooting

  • If authentication fails, ensure the GitLab API key is valid and has the necessary permissions to access the Conan packages API.
  • Verify the baseUrl is correct and accessible from the environment where the node runs.
  • Check that the HTTP method is appropriate for the operation, typically GET for this credentials check endpoint.

Links

Discussion