title: Is there a way to shorten a link to a shared OneDrive file programatically?
body: <p>When you share a file on OneDrive programatically, you get the long link, something like that:</p>
  
  <p><a href="https://onedrive.live.com/redir.aspx" rel="nofollow">https://onedrive.live.com/redir.aspx</a>? cid=02b2003892980058&amp;resid=2B200389298**!371&amp;parId=2B2003892980058!303&amp;authkey=!AA4PmQJeIl6O-Ks&amp;v=3&amp;ithint=photo%2c.jpg</p>
  
  <p>If you do this through the OneDrive site, you first get the long link, but after that you are given the opportunity to shorten it. However, I do not see a functionality to shorted the shared link being available in OneDrive's API. Is it possible to shorted the link programatically?</p>