GitLab API

GitlabTool

Actions1095

Projects → putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteIdPublish

AI-generated

Summary

Publish a draft note on a specific merge request within a project in GitLab by sending a PUT request to the corresponding API endpoint.

Inputs

  • Id (required) — The ID of the GitLab project containing the merge request.
  • Merge_request_iid (required) — The internal ID of the merge request where the draft note resides.
  • Draft_note_id (required) — The ID of the draft note to be published.
  • Skip Authentication — Whether to skip authentication for the API request; defaults to false.
  • baseUrl — The base URL of the GitLab server; defaults to https://gitlab.com.

Output shape

a single published note record returned by the GitLab API

The operation returns the updated note object after publishing the draft note. Authentication is required unless explicitly skipped. All path parameters must be specified.

Links

Discussion