Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

API: Add support for JSON responses from /api/subreddit_stylesheet #1269

Closed

Conversation

empyrical
Copy link
Contributor

Previously, the only response one could get from reddit when submitting a stylesheet is the difficult-to-parse one intended for reddit's jQuery pseudo-eval library.

This commit also adds "modhash" to the response from /api/upload_sr_img.json, and adds "url" to the response from /about/stylesheet.json; Additionally, the .json variants of /api/subreddit_stylesheet and /api/upload_sr_img.json have been added to the docs as they're the only way to use these methods while in a browser userscript. (that I've found, at least)

Also add "modhash" to the response from /api/upload_sr_img.json, and
add "url" to /about/stylesheet.json
@empyrical
Copy link
Contributor Author

Going to close this - and then redo this in a new pull request

@empyrical empyrical closed this May 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants