GitLab API icon

GitLab API

Gitlab

Actions1062

Merge_requests → getApiV4GroupsIdMergeRequests

AI-generated

Summary

Retrieve merge requests for a specified GitLab group with optional filters and pagination.

Inputs

  • id (required) — The ID or URL-encoded path of the group owned by the authenticated user to retrieve merge requests from.
  • queryParameters — Optional filters and pagination parameters such as author, assignee, reviewer, labels, milestone, creation date, state, sort order, and more to refine the list of merge requests returned.

Output shape

a list of merge request objects from the specified GitLab group

Supports extensive filtering through query parameters as per GitLab API v4 specifications. Pagination is supported via 'page' and 'per_page' parameters. The response may include detailed label information if requested. Authentication is required unless explicitly skipped.

Examples

Example 1: Retrieve all merge requests for a group with ID '123' created by user ID 456 and that are currently opened.

Set 'id' to '123', and in 'queryParameters' set 'author_id' to '456' and 'state' to 'opened'.

Links

Discussion