GitLab API

GitlabTool

Actions1000

Overview

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

Use Case Examples

  1. Automatically fetch reviewers of a merge request to notify them via a messaging platform.
  2. Integrate with project management tools to display merge request reviewers for better visibility.

Properties

Name Meaning
Skip Authentication Option to skip API authentication, useful for public or unauthenticated requests.
Authentication Specifies the authentication method to use, 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 API path to specify the project and merge request.

Output

JSON

  • reviewers - List of reviewers assigned to the specified merge request.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and merge request IID are correctly specified; incorrect values will result in API errors.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to access the merge request data.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct and accessible.

Links

Discussion