Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

As a Developer, I'd like to be able to retrieve data from the site through a JSON API #29

Open
robyurkowski opened this issue Feb 13, 2013 · 3 comments

Comments

@robyurkowski
Copy link
Contributor

So I'd like to be able to hit the blog with a GET, for example, and get the content of a blog post. Or I'd like to be able to hit images, and get a list of images to insert.

@parndt
Copy link
Member

parndt commented Feb 13, 2013

Yes, everything that is available as HTML should be available as JSON. That's the dream!

@knewter
Copy link
Member

knewter commented Feb 18, 2013

This is a big deal, because for instance we have our latest blog posts in our dashboard and we get them from the json feed Just Because It's There. We obviously could also get from RSS or whatever, but it was really convenient and we likely just wouldn't have bothered if it had taken more than 2 minutes to code up.

@robyurkowski
Copy link
Contributor Author

It's actually a pretty big deal, too, in that it makes WYSIWYG implementation a matter of just hitting up the right json stream (i.e. getting a list of the first N images).

Of course, this is also something that will have added complexity in that we'll have to check permissions. So you might have access to the 'Pages' module, but not the 'Images' module, in which cases Images in your editor might not work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants