In this case, it is pretty obvious that I have to use DELETE, but this only works with one element at a time. In addition, I do not want to delete them, but saving them in another folder, which may mean using PATCH, but again, the PATCH method only allows one item.
You must REPEAT the collection (or part of it), not the item. For example, by moving items you can use PATCH /collection/?filter=x {location: newDir}. DELETE is a tricky question. You can use PATCH or an alternative to use DELETE /collection/?filter=x, but that means that you want to delete the collection resource and not remove the element resources from it. When creating the package, I think the use POST /collection/ [item1, item2, ...]is ok.
Ofc. URI-, PATCH /books/1+2+3/ {price: 20, currency: "EUR"}. PATCH, , PATCH /collection/?filter=x {op: "update", location: newDir}. , PATCH URI, . , . POST /transactions/ HTTP-.
, , , , , - . , , , .