GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the email addresses associated with a specific GitLab user by their user ID. It is useful for scenarios where you need to access or verify user email information within GitLab, such as managing user contacts or integrating user data into other systems.

Use Case Examples

  1. Fetch all email addresses for a GitLab user by providing their user ID.
  2. Paginate through a user's email addresses by specifying page number and items per page.

Properties

Name Meaning
Skip Authentication If true, the node skips authentication for the request.
Authentication The authentication method used for the API request, defaulting to GitLab API key.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, default is GET.
Query Parameters Optional query parameters for pagination, including page number and items per page.
Path Parameters Path parameters specifying the user ID whose emails are being retrieved.

Output

JSON

  • emails - List of email addresses associated with the specified user ID
  • pagination
    • page - Current page number of the results
    • per_page - Number of items per page in the results
    • total - Total number of email items available

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the user ID provided in the path parameters is valid and exists in the GitLab instance.
  • Check that the API key credential has sufficient permissions to access user email information.
  • Verify the base URL is correct for the GitLab instance being accessed.
  • If pagination parameters are used, ensure they are valid integers to avoid request errors.

Links

Discussion