GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves custom attributes for a specific user from the GitLab API (version 4). It is useful in scenarios where you need to access or manage user-specific metadata stored as custom attributes in GitLab, such as for user profiling, auditing, or integration purposes.

Use Case Examples

  1. Fetch custom attributes of a user by their user ID to display or process in an automation workflow.
  2. Use the retrieved custom attributes to synchronize user metadata with another system or database.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication step for the API request.
Authentication Specifies the authentication method to use for the API request, hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Path Parameters The path parameters for the API request, specifically the user ID in this operation.

Output

JSON

  • custom_attributes - The custom attributes of the specified user retrieved from the GitLab API.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the user ID provided in the path parameters is valid and exists in the GitLab instance to avoid 404 errors.
  • If authentication is enabled, verify that the GitLab API credential is correctly configured and has sufficient permissions to access user custom attributes.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion