title: Query Gerrit using REST API's?
body: <p>First I have some gerrit understanding in bit and pieces.</p>
  
  <p>What I want is by using <strong><em>gerrit change url</em></strong> : -
  <strong><em><a href="http://review.xx.yy.com/gerrit/#/c/240262/" rel="nofollow">http://review.xx.yy.com/gerrit/#/c/240262/</a></em></strong> </p>
  
  <p>I want to get URL of the gerrit server and gerrit refspec (refs/changes/..) by using REST API's (using curl) or any other git commands.</p>
  
  <p>Is it possible ?</p>
  
  <p>Please comment/edit if question is not clear.</p>
  
  <p>Thanks.</p>