module Gitlab::Client::Notes

def create_note(project, body)

Returns:
  • (Gitlab::ObjectifiedHash) - Information about created note.

Parameters:
  • body (String) -- The body of a note.
  • project (Integer, String) -- The ID or name of a project.
def create_note(project, body)
  post("/projects/#{url_encode project}/notes", body: { body: body })
end