GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation authenticates a user for Conan packages in a specific GitLab project using the GitLab API. It is useful for scenarios where you need to verify user credentials or permissions related to Conan package management within a GitLab project. For example, it can be used in CI/CD pipelines to ensure that only authenticated users can access or publish Conan packages.

Use Case Examples

  1. Authenticate a user to access Conan packages in a GitLab project before performing package upload or download operations.
  2. Verify user credentials for Conan package management in a GitLab project to enforce security policies.

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).
Path Parameters Parameters to be included in the request path, specifically the project ID or URL-encoded path.

Output

JSON

  • id - The ID or URL-encoded path of the GitLab project for which the Conan package user authentication is performed.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the provided authentication.
  • If authentication fails, verify that the GitLab API credentials are valid and have the necessary permissions for Conan package operations.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion