GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a specific custom attribute of a user from the GitLab API. It is useful for scenarios where you need to access detailed user metadata stored as custom attributes, such as fetching user-specific settings or additional profile information that is not part of the standard user data.

Use Case Examples

  1. Fetch a custom attribute 'department' for a user with ID 123 to display their department in a workflow.
  2. Retrieve a custom attribute 'employeeId' to verify user identity in an automated process.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
baseUrl The base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method HTTP method used for the request, default is GET.
Path Parameters Parameters used in the request path to specify the user ID and the key of the custom attribute to retrieve.

Output

JSON

  • id - The ID of the user.
  • key - The key of the custom attribute.
  • value - The value of the custom attribute.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the user ID and custom attribute key are correctly specified; otherwise, the API may return a 404 Not Found error.
  • If authentication is required and skipped, the request will fail with an authentication error.
  • Verify the base URL is correct for your GitLab instance to avoid connection errors.

Links

Discussion