GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesBulkPublish

AI-generated

Summary

Bulk publish draft notes on a specific merge request within a GitLab project by providing the project ID and merge request internal ID.

Inputs

  • id (required) — The ID of the GitLab project containing the merge request.
  • merge_request_iid (required) — The internal ID of the merge request within the project.
  • skipAuthentication — Optional flag to skip authentication if set to true.

Output shape

a JSON response body confirming the bulk publishing of draft notes or containing error details

The operation uses HTTP POST to the path /api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes/bulk_publish. Authentication is required unless explicitly skipped. The response shape corresponds to the GitLab API's bulk publish draft notes endpoint.

Links

Discussion