Your SlideShare is downloading. ×
0
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 <ul><li><XRDS xmlns=&quot;xri://$xrds&quot;> <XRD xmlns:...> <Type>xri://$xrds*simple</Type...
Authentication + Authorization:  OAuth
Data Types: People, Activities, AppData, Groups
Data Formats: JSON, Atom XML
Person (JSON) <ul><li>{ </li></ul><ul><li>   &quot;id&quot; :&quot; example.org: 34KJDCSKJH20394 &quot;, </li></ul><ul><li...
Person (Atom) <ul><li><entry xmlns=&quot;http://www.w3.org/2005/Atom&quot;>   <content type=&quot;application/xml&quot;>  ...
Messaging
Concurrency
Batching
Next!
More Info http://docs.google.com/Doc?docid=dc43mmng_2g6k9qzfb&hl=en Questions?  Contact me: John Panzer [email_address] ht...
Upcoming SlideShare
Loading in...5
×

OpenSocial RESTful API

1,066

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,066
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "OpenSocial RESTful API"

  1. 1. OpenSocial 0.8 RESTful API (yes, finally) May 14, 2008.  (images under Createive Commons by-nc license .)
  2. 2. Gadgets environment is comfortable but limited
  3. 3. The RESTful API opens up new possibilities
  4. 4. Discovery: Finding Endpoints .
  5. 5. XRDS-Simple Discovery Document <ul><li><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>...          </li></ul>
  6. 6. Authentication + Authorization:  OAuth
  7. 7. Data Types: People, Activities, AppData, Groups
  8. 8. Data Formats: JSON, Atom XML
  9. 9. Person (JSON) <ul><li>{ </li></ul><ul><li>  &quot;id&quot; :&quot; example.org: 34KJDCSKJH20394 &quot;, </li></ul><ul><li>  &quot;name&quot; :  </li></ul><ul><li>     {&quot;unstructured&quot; : &quot; Jane Doe &quot;}, </li></ul><ul><li>  &quot;gender&quot; :  </li></ul><ul><li>     {&quot;displayvalue&quot; : &quot; 女性 &quot;,  </li></ul><ul><li>     &quot;key&quot; : &quot; FEMALE &quot; </li></ul><ul><li>     } </li></ul><ul><li>} </li></ul>
  10. 10. Person (Atom) <ul><li><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> </li></ul>
  11. 11. Messaging
  12. 12. Concurrency
  13. 13. Batching
  14. 14. Next!
  15. 15. More Info http://docs.google.com/Doc?docid=dc43mmng_2g6k9qzfb&hl=en Questions?  Contact me: John Panzer [email_address] http://abstractioneer.org =john.panzer
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×