#976: Allow for raw POST/PUTing of MARCXML via robotupload
-------------------------+-------------------------------------------------
Reporter: skaplun | Owner: skaplun
Type: enhancement | Status: new
Priority: major | Component: BibUpload
Version: | Keywords: robotupload API oracle PL/SQL REST
| EDMS
-------------------------+-------------------------------------------------
Currently robotupload API is optimize for request generated via a browser,
i.e. using the multipart/form-data encoding.
It is not obvious to generate such requests with languages such as PL/SQL.
Moreover the API can be made more elegant.
So this is to propose an additional flavor where all the parameters are
specified as part of the URL either in the path or on query argument, and
the whole MARCXML becomes the body of the request.
E.g. to allow for this PATH
{{{
/batchuploader/robotupload/insert
/batchuploader/robotupload/correct
/batchuploader/robotupload/append
/batchuploader/robotupload/replace
/batchuploader/robotupload/insertorreplace
}}}
that would accept via PUT/POST (both allowed. PUT would be the best but
maybe the client code does not allow to specify the HTTP method).
=callback_url= can be specified as query argument.
This is urgently needed at CERN to allow connection between EDMS (based on
Oracle PL/SQL) to CDS.
--
Ticket URL: <http://invenio-software.org/ticket/976>
Invenio <http://invenio-software.org>