Your SlideShare is downloading. ×
0
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
OpenSocial RESTful API
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

OpenSocial RESTful API

1,060

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,060
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×