in TMF630_REST_API_Design_Guidelines_3.0_Part_1 _R17.5.1.pdf ch 7. Delete Resource Pattern
Is it applicable to implement
deleting resource
by criteria defined in filter (filtering described in "Query Resources with attribute filtering and Iterators")
for example:
Request:DELETE /api/car?car_number=ARF487
will find auto by car_number and delete it.
I understand that I can use:
GET /api/car?car_number=ARF487
find id in responce and after it
DELETE /api/auto/<id>
But DELETE with filter - is shorter and faster.