Blogging Roller
Dave Johnson on open web technologies, social software and Java
Dave Johnson on open web technologies, social software and Java
Roy Fielding: I am getting frustrated by the number of people calling any HTTP-based interface a REST API. Today's example is the SocialSite REST API. That is RPC. It screams RPC. There is so much coupling on display that it should be given an X rating.
Ouch! As the author of the torrid (and pretty rough) Project SocialSite Proposal: Finalize Web Services APIs proposal that Roy calls out to sharply, I'd like to point of that, as I explained in a recent post, Project SocialSite is simply implementing and extending the OpenSocial API. OpenSocial includes both a JSON-RPC API and a REST API. SocialSite implements and extends them both. I never meant to imply that the JSON-RPC API is RESTful (and neither did the authors of the OpenSocial specifications). In fact, I renamed the proposal from "Finalize REST APIs" to "Finalize Web Services APIs" after I realized that OpenSocial would come in both flavors.
The proposal that I wrote outlined a way for Project SocialSite to hook into Apache Shindig (incubating), the Reference Implementation of OpenSocial,implement a couple of Shindig interfaces and thus gain support for both the OpenSocial REST API and the OpenSocial JSON-RPC API. The OpenSocial REST API does claim to be RESTful and I believe it is; it's based on AtomPub but includes some extensions for providing generic XML and JSON representations in addition to Atom format. The Project SocialSite REST API will extend that and will also be RESTful.
Tags: rest socialsite
Posted by Dare Obasanjo on October 20, 2008 at 11:34 AM EDT #
you are correct. In his most recent comment, Roy writes specifically that that the OpenSocial REST API is not RESTful and gives specifics. Since our REST API is simply extending that API then we are also not truly RESTful.
- DavePosted by Dave Johnson on October 20, 2008 at 12:36 PM EDT #
Posted by Dave Johnson on October 21, 2008 at 10:15 AM EDT #
With al due respect, the REST inventor seems to have some issues communicating [0] with people ( and the same goes with communicating what REST *is* and what *is not* ):
For example see [0].
Marcelo
[0]
Posted by Marcelo KTobias on February 01, 2011 at 06:02 PM EST #