GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve the count of associations for a specific user by their user ID. It is useful for scenarios where you need to programmatically access user-related association metrics from GitLab, such as in automation workflows for user management or reporting.

Use Case Examples

  1. Get the number of associations for a GitLab user by specifying their user ID.
  2. Automate monitoring of user associations in GitLab projects or groups.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Parameter Schema Schema defining the path parameter 'id' which is the user ID to query.
Request Body Schema Schema for the request body, null for this operation.
Request Path API endpoint path template for the request.
Path Parameters Collection of path parameters, specifically the user ID to query.

Output

JSON

  • associations_count - The count of associations for the specified user.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the user ID provided in the path parameters is valid and exists in GitLab.
  • Check that the GitLab API key credential is correctly configured and has sufficient permissions to access user data.
  • Verify the baseUrl is correct if using a self-hosted GitLab instance instead of gitlab.com.
  • Common error messages may include 404 Not Found if the user ID does not exist, or 401 Unauthorized if authentication fails.

Links

Discussion