Closed adamfowleruk closed 11 years ago
In progress as of 0.6. Works for errors, get(), search results (content only, not metadata). Need work for facets, etc.
I should clarify - this only applies to the data being passed in and out of MLDB. The calls themselves can still be in JSON for the most part. I will not support XML only requests. E.g. a search will be carried out in JSON, but the results could return a set of document content which includes XML documents and/or JSON documents.
Known methods to test:- get() save() saveAll() saveAll2() merge() (should throw exception on XML) search() collection() list() do() (providing content as XML document for PUT, for example) keyvalue() (not sure if this does) metadata() (not sure if this should) searchCollection() structuredSearch()
Complete and tested for JSON, XML, and snippeting. Default renderer supports any XML, JSON and SVG. Text also supported but a bug in the REST API means this doesn't work currently.
Support XML and JSON from every method in JavaScript API