title: getting shorturl with yourls api
body: <p>Is there a way using javascript/jquery to have a short url returned with the yourls API, where if I send a URL, if there is already a shorturl created it just returns the ShortURL if not, it creates a random one and then returns that newly created one?</p>
  
  <p>I've read all the API I can, but it is not indepth enough to figure that out, so I'm wondering if anyone who has done this knows where I can find that specific documentation.</p>
  
  <p>I want to allow people that have a long url to click a link and get a short url returned, which if it already exists, I don't want it created again.</p>
  
  <p>I would appreciate your tips/advice if you have the know how.</p>
  
  <p>Thank you kindly,
  -Richard</p>