GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to check user credentials for Conan packages within a specific project. It is useful for verifying if a user has the necessary permissions to access or manage Conan packages in a GitLab project. For example, it can be used in CI/CD pipelines or automation workflows to validate user credentials before performing package operations.

Use Case Examples

  1. Check if a user has valid credentials for Conan packages in a GitLab project before allowing package upload or download.
  2. Automate credential verification in a DevOps pipeline to ensure secure access to project packages.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request.
Path Parameters Parameters to be included in the request path, specifically the project ID or URL-encoded path.

Output

JSON

  • status - HTTP response status indicating the result of the credential check
  • data - Response data from the GitLab API regarding user credential validation

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible.
  • Verify that the GitLab API key has sufficient permissions to check user credentials for the project.
  • If authentication is skipped, the request may fail due to lack of authorization.
  • Common error messages include 401 Unauthorized (invalid or missing API key) and 404 Not Found (incorrect project ID).

Links

Discussion