GitLab API icon

GitLab API

Gitlab

Actions917

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. Get approval information for a merge request to verify if it meets the required approvals before merging.
  2. Fetch approval details to display in a dashboard or report about merge request statuses.

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 for the approval details.

Output

JSON

  • approvals - Details about the approvals of the specified merge request.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and merge request IID are correct and exist in the GitLab instance.
  • Check that the API key has sufficient permissions to access merge request approval details.
  • Verify the base URL is correct for the GitLab instance being accessed.

Links

Discussion