What version of MarkLogic are you using? ML8 supports multiple uris, but ML7 
does not.

--
Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>
Technical Community Manager
MarkLogic Corporation<http://www.marklogic.com/>
http://developer.marklogic.com/


From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Gilles Lenfant 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Thursday, August 6, 2015 at 8:14 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] REST v1/documents/ DELETE Documentation issue 
(?)

Hi,

The REST developer documentation at
http://docs.marklogic.com/REST/DELETE/v1/documents says that I can
delete any number of documents ("uri+"), but when I try to delete 2 or
more documents in one request, I get the following error :

----
DELETE 
/v1/documents?uri=python_demo%2Fsample1%2Fdoc1.xml&uri=python_demo%2Fsample1%2Fdoc2.json
HTTP/1.1" 400 221

HTTP code 400 (REST-REPEATEDPARAM): REST-REPEATEDPARAM:
(rest:REPEATEDPARAM) Endpoint does not support repeated parameter: uri
can only appear once
----

I did not find (or search correctly) where I did something wrong.

BTW, deletinig one document per request works as expected.

Best regards
--
Gilles Lenfant
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to