GitLab API icon

GitLab API

Gitlab

Actions1062

Merge_requests → postApiV4ProjectsIdMergeRequests

AI-generated

Summary

Create a new merge request in a specified GitLab project by providing the project ID and the required merge request details in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the project where the merge request will be created.
  • postApiV4ProjectsIdMergeRequests (required) — The request body containing all necessary details for the new merge request, structured per GitLab's API schema.

Output shape

a single record representing the newly created merge request

Returns the JSON response from GitLab's API containing details of the created merge request. Requires authentication via GitLab API credentials unless 'Skip Authentication' is enabled.

Links

Discussion