REST API - deleting multiple items

rak

Joined: 2010-08-09
Posts: 44
Posted: Thu, 2010-09-09 10:15

As far as I can work out its only possible to delete a single item per request, is this correct?

(Its not a problem, I just don't want to be sending multiple requests if one will do)

edit:

Saying that, after watching a few hundred items get deleted one at a time, it would be nice if we could do it with a single request.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Fri, 2010-09-10 03:00

Not sure how that works in a RESTful world, but it's worth considering. Please file a ticket for this against the 3.1 release.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
rak

Joined: 2010-08-09
Posts: 44
Posted: Fri, 2010-09-10 08:59

I filed the ticket, but after thinking about it some more I have realized how rare a case it actually is (most of the time you would just delete the containing album).