title: Get shared link through Google Drive API
body: <p>I am working on an app using Google Drive. I want the user to be able to share files by link, setting the permissions to <code>anyone</code> and <code>withLink</code> as described in the <a href="https://developers.google.com/drive/v2/reference/permissions/insert" rel="noreferrer">Google Developers documentation</a>.</p>
  
  <p>However, I cannot figure out what link to share. When I share a file in the Google Drive browser interface, I see the <code>Link to share</code> in the format:</p>
  
  <p><a href="https://docs.google.com/presentation/d/[...]/edit?usp=sharing" rel="noreferrer">https://docs.google.com/presentation/d/[...]/edit?usp=sharing</a></p>
  
  <p>A link in this format is not part of the file resource object, nor it is returned from the http call setting the permissions. I hope someone can explain to me how to get this link through the REST api?</p>