title: GitLab API to post inline comment to Merge Request
body: <p>Using GitLab API it is possible to post a comment to a commit "on a particular line of a particular file" (see <a href="https://docs.gitlab.com/ce/api/commits.html#post-comment-to-commit" rel="noreferrer">here</a>).</p>
  
  <p>On Merge Request in order to add comments it's required to use the <em>notes</em> resource (see <a href="https://docs.gitlab.com/ce/api/notes.html#create-new-merge-request-note" rel="noreferrer">here</a>) but the <em>note</em> object does not seem to contain any parameter to comment on a particular line.</p>
  
  <p>However from the GitLab UI I'm able to add inline comments to a Merge Request in the Changes tab but when I call the API and look at the corresponding <em>note</em> object created from my inline comment there is nothing about the inline, it is only a regular <em>note</em> object without any line or line_type parameter...</p>
  
  <p><strong>Anyone knows how to use the GitLab API to add inline comments to a Merge Request ?</strong></p>