GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the list of reviewers for a specific merge request in a GitLab project using the GitLab API v4. It is useful for scenarios where you need to programmatically access or manage the reviewers assigned to a merge request, such as in automated workflows for code review or project management.

Use Case Examples

  1. Fetch reviewers of a merge request to notify them via another system.
  2. Check if a merge request has assigned reviewers before merging.

Properties

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

Output

JSON

  • reviewers - List of reviewers for the specified merge request.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and merge request IID are correct and accessible with the provided authentication.
  • Check that the GitLab API base URL is correct if using a self-hosted instance.
  • Authentication errors may occur if the API key is missing or invalid.

Links

Discussion