I have looked at that file the only thing that I have found is this :
<documentation>
126 GET /nuxeo/restAPI/{repo}/{parentdocid}/createDocument
127 or equivalently with optional query paramaters:
128 GET /nuxeo/restAPI/{repo}/{parentdocid}/createDocument?docType=File
129 or
130 POST /nuxeo/restAPI/{repo}/{parentdocid}/createDocument
131 with arguments with initial values of the documents fields as
string valued properties
132 </documentation>
The one with the POST method I think I need but I still don't understand how i
can add the parameters to the createDocument restlet call URL.
Mihai Durbaca <[EMAIL PROTECTED]> wrote: Take a look here:
http://hg.nuxeo.org/nuxeo/nuxeo-platform/file/4dd732a3d467/nuxeo-platform-ui-web/src/main/resources/OSGI-INF/restAPI-contrib.xml
There you can see the url pattern for calling the restlet.
Hope it helps.
--
Mihai Durbaca
On Thursday 22 May 2008 16:25:57 nego ady wrote:
> I want to know a typical call for createDocument restlet (with parameters)
> . I have found how to specify the docType but I want also to specify the
> name of the created document in the call of the restlet.
>
> thanks
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm