GitLab API

GitlabTool

Actions1095

Deployments → getApiV4ProjectsIdDeploymentsDeploymentIdMergeRequests

AI-generated

Summary

Lists merge requests associated with a specified GitLab deployment in a project. Use the project ID or URL-encoded path and deployment ID to select the deployment, then optionally filter, sort, or paginate the results with query parameters.

Inputs

  • id (required) — Project ID or URL-encoded path.
  • deployment_id (required) — ID of the deployment whose merge requests to retrieve.
  • queryParameters — Optional filters and controls, including page and per_page; author, assignee, or reviewer; labels, milestone, state, and approval; date ranges and environment; branch and text search; sort order and response view. The schema also exposes negated author, assignee, reviewer, label, milestone, and reaction filters. GitLab documents some filter pairs as mutually exclusive.
  • authentication — Uses the GitLab API credential by default; Skip Authentication can disable credential use.
  • baseUrl — GitLab base URL, declared with a default of https://gitlab.com; the node source says the URL is defined by the gitlabApi credential.
  • method — HTTP method selector, defaulting to GET.

Output shape

A list of merge request records returned by the GitLab API.

The operation calls /api/v4/projects/{id}/deployments/{deployment_id}/merge_requests. Pagination is controlled by page and per_page. The supplied source pack shows the node delegates request execution to OpenApiToolNode but does not include its response transformation; exact output wrapping is not shown.

Links

Discussion