diff --git a/r2/r2/controllers/api.py b/r2/r2/controllers/api.py index 508589e48..dfc708eb7 100755 --- a/r2/r2/controllers/api.py +++ b/r2/r2/controllers/api.py @@ -145,7 +145,7 @@ class ApiController(RedditController, OAuth2ResourceController): @validate(link1 = VUrl(['url']), link2 = VByName('id'), count = VLimit('limit')) - @api_doc(api_section.links_and_comments) + @api_doc(api_section.links_and_comments, uses_site=True) def GET_info(self, link1, link2, count): """Get a link by fullname or a list of links by URL. @@ -155,6 +155,9 @@ class ApiController(RedditController, OAuth2ResourceController): If both `url` and `id` are provided, `id` will take precedence. + If a subreddit is provided, only links in that subreddit will be + returned. + """ c.update_last_visit = False