'Return a list of links with the given URL.
If a subreddit is provided, only links in that subreddit will be
returned.'

@require_oauth2_scope('read')
@validate(url=VUrl('url'), count=VLimit('limit'), things=VByName('id', multiple=True, limit=100))
def GET_url_info(self, url, count, things):

    if (things and (not url)):
        return self.GET_info()
    c.update_last_visit = False
    if url:
        listing = hot_links_by_url_listing(url, sr=c.site, num=count)
    else:
        listing = None
    return BoringPage(_('API'), content=listing).render()
