Ticket #433 (closed task: fixed)
alternative output formats
|Reported by:||MC-arjen||Owned by:||forgacs|
|Component:||Open APi & Atom issue||Version:|
|MoSCoW:||Must Have||Estimated time after impact analysis:|
|Related to project:||none||Tested:||no|
Description (last modified by Frans) (diff)
MediaMosa uses a REST XML the output format. We would like to support the formats Atom, RSS, JSON.
All restcalls must support a new parameter called "alt" (google API standard, "format" could be an alternative). Possible values:
'mediamosa' => Mediamosa (REST XML) (default)
'atom' => Atom
'rss' => RSS
'json' => JSON
Atom and RSS output is very strict and doesn't allow user elements, we need a mapping of current MediaMosa output fields to atom/rss.
json should be supported for all existing restcalls, for atom and rss we start with: