I'd like to suggest a generic REST call that could be easily added to
allow calls to container API's that are outside the scope of OpenSocial.
For example, MySpace allows you to update your status by making a REST
call to http://api.myspace.com/v1/users/<userId>/status
So in osapi, we could make a call similar to this:
$osapi->rest_call->('http://api.myspace.com/v1/users/'.$userId.'/status',
array('status' => 'This is my brand new status'), 'PUT');
Note: MySpace requires this to be sent as a 'PUT'. Other functions should
use a 'GET' or 'POST', so we allow that to be specified in our call.
Original issue reported on code.google.com by timrnich...@gmail.com on 17 Jun 2009 at 1:17
Original issue reported on code.google.com by
timrnich...@gmail.com
on 17 Jun 2009 at 1:17