GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves information about a specific member of a GitLab project by using the project ID and the user ID of the member. It is useful for scenarios where you need to get details about a particular member's role or permissions within a project, such as in project management or access control automation.

Use Case Examples

  1. Fetch details of a member in a GitLab project to verify their access level before performing project updates.
  2. Automate the retrieval of member information to sync with an external user management system.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Select the authentication method, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the request path to identify the project and member.

Output

JSON

  • id - The project ID used in the request path.
  • user_id - The user ID of the member requested.
  • membershipDetails - Details about the member's role and permissions in the project, as returned by the GitLab API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and user ID are correctly provided and exist in the GitLab instance to avoid 404 errors.
  • If authentication is required, verify that the GitLab API key credential is valid and has sufficient permissions.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the URL is correct.

Links

Discussion