Changes

Umlaut full API

854 bytes added, 16:21, 19 June 2012
no edit summary
=WARNING: This is Outdated Documentation!!!!=
 
'''THIS IS OUTDATED DOCUMENTATION''' See new Umlaut documentation at http://github.com/team-umlaut/umlaut/wiki
---------
 
Umlaut has a complete api for resolve actions, which can be delivered in XML or json. For simple uses of embedding Umlaut content on a page, you may find the [[Umlaut partial html API]] or [[Umlaut partial html API javascript helper]] easier to use.
[[Category:Umlaut]]
br3dgz = Accessing the API = The api can be accessed at the resolve/api action. For instance, if your umlaut is at umlaut.somewhere.edu/, http://tramadolofiumlaut.forum24somewhere.seedu/ tramadol psoriasis resolve/api? Append an OpenURL context object to that URL. POST is also supported,including XML formatted context objects. You can also include the usual umlaut directive parameters.  This is exactly what you'd send to the ordinary Umlaut link resolver base url for link resolver service in html; you are just replacing /resolve? with /resolve/api?  By default, the API returns XML. To return json instead, include:  &umlaut.response_format=json To return jsonp, wrapped in a javascript procedure call:  &umlaut.response_format=jsonp&umlaut.jsonp=desiredJavascriptFunctionName
= API Response =