GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the authenticated user's email addresses from the GitLab API (v4). It is useful for scenarios where you need to access or manage the user's email information programmatically, such as syncing user data or verifying email addresses.

Use Case Examples

  1. Fetching the current user's email addresses to display in a user profile interface.
  2. Automating email verification processes by retrieving all associated emails of a user.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication process for the API request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Optional query parameters to control pagination of the email list.

Output

JSON

  • emails - List of user email objects retrieved from the GitLab API.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and valid to avoid authentication errors.
  • Verify the baseUrl is correct and accessible to prevent connection issues.
  • Check that the query parameters (page, per_page) are valid integers to avoid request errors.

Links

Discussion