GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes

AI-generated

Summary

Retrieve all draft notes associated with a specific merge request in a given GitLab project.

Inputs

  • id (required) — The ID of the GitLab project from which to fetch merge request draft notes.
  • merge_request_iid (required) — The internal ID of the merge request in the project whose draft notes are to be retrieved.
  • skipAuthentication — Set to true to bypass authentication (default is false).
  • baseUrl — Custom GitLab instance base URL (defaults to https://gitlab.com).
  • method — HTTP method to use (default is GET).

Output shape

a JSON array of draft note objects tied to the specified merge request

Returns all draft notes for the specified merge request identified by project ID and merge request IID. Requires authentication unless disabled via 'skipAuthentication'. No pagination is indicated, so all draft notes are returned in one response.

Links

Discussion