GitLab API icon

GitLab API

Gitlab

Actions1062

Merge_requests → getApiV4ProjectsIdMergeRequests

AI-generated

Summary

Retrieve detailed information about merge requests from a specified GitLab project using various filter criteria and options to customize the returned data.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to fetch merge requests from.
  • method — HTTP method to use (GET by default).
  • queryParameters — Optional filter and query parameters including author, assignee, state, labels, branches, dates, approval status, pagination, and more to refine the merge requests returned.
  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Option to skip authentication if true; otherwise uses configured GitLab API credentials.

Output shape

An array of merge request objects detailing merge requests in the specified project that match provided filters.

Supports extensive filtering via query parameters as per GitLab's API v4 specification. The response may be paginated using the 'page' and 'per_page' parameters. Returned fields and details can be adjusted with the 'view' and 'with_labels_details' options.

Links

Discussion