Sanjay Dalal a écrit :
Hi,
Due to classloading problems described in thread, "using Nuxeo Java
APIs ", I have temporarily moved to using the RESTful apis (I will get
back to Java APIs soon).
ok
I am following the documentation at
http://doc.nuxeo.org/5.2/books/nuxeo-book/html-single/#d1801e6206 to
write my client. While I can browse the repository by calling the
Browse APIs, I am looking for URL and parameter mappings for CREATE
(or POST) and UPDATE (or PUT) operations on a document. I can see
corresponding Restlets in the source tree, however, I cannot find any
documentation at
http://doc.nuxeo.org/5.2/books/nuxeo-book/html-single/#d1801e6206.
Needless to say that with some effort, I can determine the URL and the
parameter mappings from the source code, but APIs should have been
documented
This project is opensource : please feel free to submit documentation
update, since indeed some new restlets have not been documented.
unless Nuxeo does not support these operations using RESTful APIs in
5.2. Let me know.
Restlet was mainly used in 5.1 as a simple way to expose the RestAPIs we
neeed.
It is still available in 5.2 for compatibility reasons.
The furtur of RestAPI in 5.2 is based on JAX-RS and WebEngine.
While, webEngine default app, by definition, expose a RestAPI on top of
Nuxeo, this is not the target API.
We are working on implemented CMIS Rest API on top of Nuxeo.
This will become the default REST API.
Since CMIS spec is not final, this API is not exposed by default on Nuxeo.
Second question, the pattern |"/{repo}/{docid}/{filename}/{verb}" does
not seem to follow "RESTful" URI pattern. Thoughts?|
In reality, when the client (like a browser plugin) needs to issue REST
calls to the server, the http request has to go through a http proxy
that usually only supports HEAD/GET/POST.
=> we provide a way to define action not based on HTTP verb
thanks,
sanjay
------------------------------------------------------------------------
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm