GET /api/recommend/sr/{} → endpoint removal
Deprecated, no date
Reddit has deprecated GET /api/recommend/sr/{} without specifying a shutdown date. The endpoint is intended to return subreddits recommended for given communities. Following this change, calls to this endpoint fail.
Calls it hits
GET /api/recommend/sr/{}
What to use instead of these calls
Reddit documents no replacement for subreddit recommendations. You must drop the call or find related subreddits another way, such as GET /subreddits/search, which requires more than a direct parameter update.
Reddit documents no replacement for subreddit recommendations.
In Reddit API's words
DEPRECATED: Return subreddits recommended for the given subreddit(s).
Facts
- API
- Reddit API
oauth.reddit.com - Kind
- Endpoint removal
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Reddit API's own pages
Questions
When does this change take effect?
Reddit API deprecated GET /api/recommend/sr/{} without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: Reddit API has not given a shutdown date yet.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.