SURFacademy Webinar2011 - Maak kennis met MediaMosa - 11 november 2011
MediaMosa and Open Webservices - SURFnet Relatiedagen 2010
1. MediaMosa and Webservices easy access to MediaMosa content SURFnet relatiedagen – 8 & 9december 2010 - Herman van Dompseler & Connect Communicate
2. Big roleforwebservices Webservices are the onlymeans of communicationbetweenMediaMosa and End User Applications That’s a goodthing, seperation of concerns Frontend: presentation Backend: data
3. How do theyconnect? Trust relation End User Applicationsapplyfor a key to useMediaMosa. End User Applicationsauthenticateusingthiskey and DBUS authentication End User Applications have access to their part of MediaMosa data
4. How do theycommunicate? Webservice request REST url GET /asset (with a lot of parameters) http://www.mediamosa.org/node/218114 Webservice response MediaMosa XML format
7. And itworks NOT likethis But… End usersdo notcommunicatedirectlywithMediaMosa All communications is doneusing End User Applications There is nopublic entranceto MediaMosa (entrance is basedon the trust relation) There is nostandard XML response format
8. Technology scouting ‘Open Webservices’ Goal: “to provide an open interface forsharing data stored in anMediaMosa environment” “to consume data from other open platforms and to integratethis in MediaMosa” Side effects: New target audience: end users Public entrancewith easy access Standard XML response
10. How to connectto Open API? Public Access The Open API is public withanurllike: api.mediamosa.org
11. How to communicatewith Open API? Webservice request REST url GET /search with standaard parameters like query, limit, order. Webservice response Standard XML format RSS Atom Json
13. demo’s for end users & developers http://api.mediamosa.surfnet.nl/
14. A couple of examples Have younoticedthis? The difference in XML response MediaMosa XML: http://api.mediamosa.surfnet.nl/displayXML Atom XML: http://api.mediamosa.surfnet.nl/search?query=html5 ComparewithYouTube XML http://gdata.youtube.com/feeds/api/videos?q=html5&max-results=10&v=2 End users UseAtomfeed in iGoogle http://www.google.nl/ig Developers Createmashups http://api.mediamosa.surfnet.nl/cockpit?query=html5
15. Wrap up The current status Open Webservices givenewfunctionality to MediaMosa Public entrance Standard XML response Open webservices introducenewaudiences: End users (Mashup) developers The Proof Of Concept shows thatitcanbedone. It’s nothereyet, but we keep youposted.
16. Easy access to MediaMosa Content What’s in itfor me? End user direct access to MediaMosa content Developer easy integration of MediaMosa content in SURFnetconext, website, ELO, etc.