From: Dannes W. <di...@ex...> - 2009-11-18 16:27:57
|
I like the RESTfull idea.... On 18 Nov 2009, at 16:52 , Adam Retter wrote: > Well I think we should make use of Restful URI's - > > i.e. HTTP PUT /exist/rest/db/col1 > i.e. HTTP DELETE /exist/rest/db/col2 > > That functionality probably already exists to be honest... > > Other things which cannot be expressed directly via HTTP could be done > via a script - > > i.e. HTTP GET /exist/rest/db/system/webclient/collection/move?source=/db/col1&destination=/db/col2 > i.e. HTTP GET /exist/rest/db/system/webclient/collection/copy?source=/db/col1&destination=/db/col2 > > or maybe you want something more like - > > HTTP GET /exist/rest/db/col1?move&destination=/db/col2 > HTTP GET /exist/rest/db/col1?copy&destination=/db/col2 > > > If we are doing this in a Restful manner, it is very very important to > think about the URI scheme from the start before we think about > anything else. Kind regards Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |