zaqar/releasenotes/notes/purge-queue-6788a249ee59d55a.yaml
Fei Long Wang 460c345298 Support purge queue -- wsgi
A new endpoint /v2/queues/myqueue/purge is added to support purge
a queue, which accepts a POST body like:
{"resource_types": ["messages", "subscriptions"]} to allow user
purge particular resource of the queue. Test cases are added as
well.

APIImpact
DocImpact

Partially Implements: blueprint purge-queue

Change-Id: Ie82713fce7cb0db6612693cee81be8c3170d292a
2016-12-09 10:58:15 +13:00

5 lines
211 B
YAML

features:
- A new queue action is added so that users can purge a queue
quickly. That means all the messages and subscriptions will be deleted
automatically but the metadata of the queue will be kept.