You can add parameters with URL query strings.
For more information look here:
http://en.wikipedia.org/wiki/Query_string
On Thursday 22 May 2008 19:19:31 nego ady wrote:
> 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-u
>i-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
--
Mihai-Alexandru DURBACA
Software Engineer
Business & Decision
E-mail: [EMAIL PROTECTED]
Phone: +40723580694, +40746494309
Yahoo! IM: [EMAIL PROTECTED]
MSN IM: [EMAIL PROTECTED]
AOL IM: mdurbaca
Skype: mitzud
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm