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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
The ID of a project
merge_request_iid
required
integer
The ID of a merge request
Request Body
Section titled “Request Body”Media typeapplication/json
object
reviewer_state
Set reviewer review state after publishing. Does not record a formal approval
string
note
Summary note body to post on the merge request
string
internal
If true, the summary note is internal
boolean
Responses
Section titled “Responses”No Content
Bad Request
Unauthorized
Not found