GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a list of users associated with a specific GitLab project by its ID or URL-encoded path. It supports filtering users by search criteria, excluding specific user IDs, and paginating the results. This is useful for managing project collaborators, auditing user access, or integrating user data from GitLab projects into workflows.

Use Case Examples

  1. Fetch all users of a GitLab project to synchronize with an internal user management system.
  2. Filter project users by a search term to find specific collaborators.
  3. Paginate through project users to process large teams in batches.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public projects or testing.
Authentication Type of authentication used for the request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters to filter and paginate the user list.
Path Parameters Path parameter specifying the project ID or URL-encoded path to identify the project.

Output

JSON

  • users - Array of user objects associated with the specified project, including user details as returned by the GitLab API.

Dependencies

  • GitLab API key credential for authentication unless skipping authentication is enabled.

Troubleshooting

  • Ensure the project ID or URL-encoded path is correct to avoid 404 Not Found errors.
  • Verify authentication credentials if not skipping authentication to prevent 401 Unauthorized errors.
  • Check query parameter formats, especially for arrays like skip_users, to avoid request errors.
  • Pagination parameters should be valid integers to ensure proper response handling.

Links

Discussion