OpenSocial RESTful API
Upcoming SlideShare
Loading in...5
×
 

OpenSocial RESTful API

on

  • 1,214 views

 

Statistics

Views

Total Views
1,214
Views on SlideShare
1,008
Embed Views
206

Actions

Likes
0
Downloads
1
Comments
0

1 Embed 206

http://rohitghatol.com 206

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

OpenSocial RESTful API OpenSocial RESTful API Presentation Transcript

  • OpenSocial 0.8 RESTful API (yes, finally) May 14, 2008.  (images under Createive Commons by-nc license .)
  • Gadgets environment is comfortable but limited
  • The RESTful API opens up new possibilities
  • Discovery: Finding Endpoints .
  • XRDS-Simple Discovery Document
    • <XRDS xmlns=&quot;xri://$xrds&quot;> <XRD xmlns:...> <Type>xri://$xrds*simple</Type> <Service> <Type> http://ns.opensocial.org/people/0.8 </Type> <os:URI-Template> http://api.example.org/people/{guid}/{selector}{-prefix|/|pid} </os:URI-Template>...         
  • Authentication + Authorization:  OAuth
  • Data Types: People, Activities, AppData, Groups
  • Data Formats: JSON, Atom XML
  • Person (JSON)
    • {
    •   &quot;id&quot; :&quot; example.org: 34KJDCSKJH20394 &quot;,
    •   &quot;name&quot; : 
    •      {&quot;unstructured&quot; : &quot; Jane Doe &quot;},
    •   &quot;gender&quot; : 
    •      {&quot;displayvalue&quot; : &quot; 女性 &quot;, 
    •      &quot;key&quot; : &quot; FEMALE &quot;
    •      }
    • }
  • Person (Atom)
    • <entry xmlns=&quot;http://www.w3.org/2005/Atom&quot;>   <content type=&quot;application/xml&quot;>     <person xmlns=...>       <name>         <unstructured> Jane Doe </unstructured>       </name>       <gender key=&quot; FEMALE &quot;> 女性 </gender>     </person>   </content>   <title/>   <updated>2003-12-13T18:30:02Z</updated>   <author/>    <id> urn:guid: example.org:34KJDCSKJN2HHF0DW20394 </id> </entry>
  • Messaging
  • Concurrency
  • Batching
  • Next!
  • More Info http://docs.google.com/Doc?docid=dc43mmng_2g6k9qzfb&hl=en Questions?  Contact me: John Panzer [email_address] http://abstractioneer.org =john.panzer