GitLab API icon

GitLab API

Gitlab

Actions1062

Deployments → getApiV4ProjectsIdDeploymentsDeploymentIdMergeRequests

AI-generated

Summary

List the merge requests associated with a GitLab deployment.

Inputs

  • id (required) — Project ID or URL-encoded path of the project. Required path parameter.
  • deployment_id (required) — ID of the deployment whose merge requests are being listed. Required path parameter.
  • baseUrl — Base URL for the GitLab API. Defaults to https://gitlab.com; usually supplied by the gitlabApi credential.
  • skipAuthentication — Whether to skip using the gitlabApi credential.
  • method — HTTP method; this operation is fixed to GET.
  • queryParameters — Query parameters to filter the returned merge requests. Available filters include pagination, state, author, assignee, reviewer, labels, milestone, source/target branch, search, date ranges, environment, approved status, merge user, negated filters, and more.
  • pathParameters — Path parameters for the request; used to set id and deployment_id.

Output shape

Array of merge request objects

Returns the GitLab API response for this endpoint, normally an array of merge request objects.

Links

Discussion