GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves the participants of a specific merge request in a GitLab project using the GitLab API v4. It is useful for scenarios where you need to get information about users involved in a merge request, such as reviewers or commenters, to automate project management or reporting tasks.

Use Case Examples

  1. Get all participants of a merge request to notify them about updates.
  2. Fetch merge request participants to analyze collaboration patterns in a project.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method used for the API request, default is GET.
Path Parameters Parameters required in the API path to specify the project and merge request.

Output

JSON

  • participants - List of participants involved in the specified merge request.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and merge request IID are correctly specified and URL-encoded if necessary.
  • Verify that the GitLab API key has sufficient permissions to access the project and merge request data.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion