Various wiki api cleanups #716

wants to merge 5 commits into


None yet

1 participant


Most issues were brought up by bboe. Mainly changes to make the api consistent with the rest of the site and makes clients like PRAW less hackish for these endpoints.

  • Page listing content should be a list inside of a key, not just a straight up list. WILL BREAK EXISTING CLIENTS.
  • Subreddit name is added to various endpoints for easy access from responses.
  • Current revision ID should be included in page json. Currently no real way to retrieve it.
  • Last commit removes c.wiki_id, code cleanup, seem to recall it being in this pull request for a good was 3 months ago.

Fixes #704


I am going to do a commit to rip out the c.wiki_id global


💇 Removed the wiki_id global, it was just a shorthand used in two places. Replaced where needed.


💇 rebased

@andre-d andre-d closed this Feb 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment