GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the participants of a specific merge request in a GitLab project using the GitLab API. It is useful for scenarios where you need to get information about users involved in a merge request, such as reviewers or commenters. For example, it can be used in automation workflows to notify participants or analyze collaboration on merge requests.

Use Case Examples

  1. Get all participants of a merge request to send notifications.
  2. Fetch merge request participants to analyze team collaboration.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, default is GET.
Path Parameters Parameters required in the API path to identify the project and merge request.

Output

JSON

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

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and merge request IID are correctly provided and URL-encoded if necessary.
  • Check that the API authentication token is valid and has sufficient permissions to access the project and merge request.
  • Verify the base URL is correct for self-hosted GitLab instances.
  • Common error messages include 404 Not Found if the project or merge request does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion