[wp-hackers] GSoC Proposal: JSON REST API
lists at rotorised.com
Fri Apr 12 04:14:18 UTC 2013
Mike Schinkel wrote:
> A lot of what I'm bringing up here I've learned from both experience and by following lists like rest-discuss and api-craft. If this GSOC project gets greenlit I would really hope that Ryan and his mentor(s) would join the api-craft list at least and run architecture decisions by them. Collectively the people on that list have learned many lessoned about web API architecture and it would be a shame for the WordPress community to be saddled with the issues associated with learning web API best practices via trial and error when there's so much about web API architecture that is already known. To be clear, I count myself as still having a lot I can learn from them too which is why I monitor the API Craft list daily.
One important part to keep in mind is that this API needs to balance the
theoretically "best" way to do things with pragmatic concerns. For
example, the Range header would be a great way to specify how many posts
you want back from a collection (list of posts, e.g.). However, this is
problematic due to problems with misbehaving proxies in addition to
These types of concerns will certainly be taken into consideration and
I'll endeavour to discuss any large architectural decisions to ensure
that we come up with something that everyone is satisfied with.
More information about the wp-hackers