Top Banner
MediaMosa and Webservices easy access to MediaMosa content & Connect Communicate SURFnet relatiedagen – 8 & 9 december 2010 - Herman van Dompseler
17

MediaMosa and Open Webservices - SURFnet Relatiedagen 2010

Jul 01, 2015

Download

Documents

MediaMosa

MediaMosa and Open Webservices - SURFnet Relatiedagen 2010.
Presentation by Herman van Dompseler at the SURFnet Relatiedagen, December 9, 2010
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

MediaMosa and Webservices

easy access to MediaMosa content

&Connect Communicate

SURFnet relatiedagen – 8 & 9 december 2010 - Herman van Dompseler

Page 2: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

Big role for webservices

Webservices are the only means of communication between MediaMosa and End User Applications

That’s a good thing, seperation of concerns◦ Frontend: presentation◦ Backend: data

Page 3: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

How do they connect?

Trust relation

End User Applications apply for a key to use MediaMosa.

End User Applications authenticate using this key and DBUS authentication

End User Applications have access to their part of MediaMosa data

Page 4: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

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

Page 5: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

MediaMosa XML

Example: /asset

Page 6: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

and it works

Page 7: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

And it works NOT like this

But…

1. End users do not communicate directly with MediaMosa

◦ All communications is done using End User Applications

2. There is no public entrance to MediaMosa (entrance is based on the trust relation)

3. There is no standard XML response format

Page 8: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

Technology scouting

‘Open Webservices’

Goal:1. “to provide an open interface for sharing data stored

in an MediaMosa environment”2. “to consume data from other open platforms and to

integrate this in MediaMosa”

Side effects:◦New target audience: end users◦Public entrance with easy access ◦Standard XML response

Page 9: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

What is needed?

Open API

Page 10: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

How to connect to Open API?

Public Access

The Open API is public with an url like:◦api.mediamosa.org

Page 11: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

How to communicate with Open API?

Webservice request◦REST url

GET /search with standaard parameters like query, limit, order.

Webservice response◦Standard XML format

RSS Atom Json

Page 12: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

Atom

Example: /search

Page 13: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

demo’sfor end users & developers

http://api.mediamosa.surfnet.nl/

Page 14: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

A couple of examples

Have you noticed this?

The difference in XML response◦ MediaMosa XML: http://api.mediamosa.surfnet.nl/displayXML

◦ Atom XML: http://api.mediamosa.surfnet.nl/search?query=html5

Compare with YouTube XML◦ http://gdata.youtube.com/feeds/api/videos?q=html5&max-results=10&v=2

End users◦ Use Atom feed in iGoogle◦ http://www.google.nl/ig

Developers◦ Create mashups◦ http://api.mediamosa.surfnet.nl/cockpit?query=html5

Page 15: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

Wrap up

The current status

Open Webservices give new functionality to MediaMosa◦ Public entrance◦ Standard XML response

Open webservices introduce new audiences:◦ End users◦ (Mashup) developers

The Proof Of Concept shows that it can be done.

It’s not here yet, but we keep you posted.

Page 16: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

Easy access to MediaMosa Content

What’s in it for me?

End user◦direct access to

MediaMosa content

Developer◦easy integration of

MediaMosa contentin SURFnet conext,website, ELO, etc.

Page 17: MediaMosa and Open Webservices  - SURFnet Relatiedagen 2010

Questions ?

Ask now.

Or ask later.◦Herman van Dompseler◦[email protected]