GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the approval details of a specific merge request within a GitLab project. It is useful for scenarios where you need to check the approval status or details of a merge request, such as in automated workflows for code review or deployment pipelines.

Use Case Examples

  1. Automatically fetch merge request approvals to determine if a merge can proceed.
  2. Integrate with project management tools to display merge request approval status.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
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 to specify the project ID and merge request IID for the API call.

Output

JSON

  • approvals - Details about the approvals of the specified merge request, including approval status and related information.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and merge request IID are correctly provided and exist in the GitLab instance.
  • Verify that the authentication credentials are valid and have sufficient permissions to access merge request approvals.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion