Sign in

Create merge request

documented

Create a new merge request in the project.

POST /projects/:id/merge_requestsProjectsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://gitlab.com/api/v4/projects/{{$project_id}}/merge_requests" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"source_branch": "{{$source_branch}}", "target_branch": "{{$target_branch}}", "title": "{{$title}}", "description": "{{$description}}", "assignee_id": {{$assignee_id}}, "assignee_ids": [{{$assignee_ids}}], "reviewer_ids": [{{$reviewer_ids}}], "labels": "{{$labels}}", "milestone_id": {{$milestone_id}}, "remove_source_branch": {{$remove_source_branch}}, "merge_after": "{{$merge_after}}"}'