GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes

AI-generated

Summary

Retrieve the draft notes (comments not yet published) on a specific merge request within a GitLab project by specifying the project ID and the merge request IID.

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 for which to fetch draft notes.
  • Skip Authentication — Optional boolean to skip authentication; defaults to false (authentication used).
  • baseUrl — Optional base URL for the GitLab instance; defaults to https://gitlab.com.
  • Method — HTTP method to use; defaults to GET.

Output shape

a list of draft notes objects for the specified merge request

Returns the draft notes associated with the given merge request IID in the specified project. The response format matches the GitLab API v4 structure. Authentication is required unless explicitly skipped.

Links

Discussion