Skip to content

Publish all pending draft notes

POST
/api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes/bulk_publish

Publishes all pending draft notes for the current user on the specified merge request. Optionally sets the reviewer state and posts a summary note.

id
required
string

The ID of a project

merge_request_iid
required
integer

The ID of a merge request

Media type application/json
object
reviewer_state

Set reviewer review state after publishing. Does not record a formal approval

string
nullable
Allowed values: requested_changes reviewed
note

Summary note body to post on the merge request

string
nullable
internal

If true, the summary note is internal

boolean
nullable

No Content

Bad Request

Unauthorized

Not found