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

OpenSocial RESTful API

  • 971 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
971
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
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
    • <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>...         
  • 6. Authentication + Authorization:  OAuth
  • 7. Data Types: People, Activities, AppData, Groups
  • 8. Data Formats: JSON, Atom XML
  • 9. 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;
    •      }
    • }
  • 10. 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>
  • 11. Messaging
  • 12. Concurrency
  • 13. Batching
  • 14. Next!
  • 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