GitLab API

GitlabTool

Actions1095

Merge_requests → getApiV4MergeRequests

AI-generated

Summary

Retrieve merge requests from GitLab using flexible query parameters to filter by author, assignee, reviewer, labels, state, dates, and other attributes.

Inputs

  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use for the request, default is GET.
  • queryParameters — Collection of optional query parameters to filter and control the merge requests returned. Includes filters such as author_id, author_username, assignee_id, labels, milestone, state, scope, created_before/after, updated_before/after, approved status, pagination (page, per_page), and others as per GitLab API v4 specifications.
  • skipAuthentication — Boolean to skip authentication; defaults to false meaning authentication is used.

Output shape

a JSON array of merge request objects matching the specified filters

The response shape corresponds to the GitLab API v4 merge requests listing endpoint and may include paginated results controlled by the page and per_page query parameters. The node forwards query parameters directly to the GitLab API, so all documented filters and options are supported as listed in parameters. Authentication is handled via configured GitLab API credentials unless skipped.

Links

Discussion