[asterisk-dev] Dynamic server side event type filtering in ARI

Jared Smith jaredsmith at jaredsmith.net
Fri Dec 14 14:59:42 CST 2018


On Fri, Dec 14, 2018 at 12:34 PM Kevin Harwell <kharwell at digium.com> wrote:

> I'm not a REST expert by any means, but I thought POST aligned more with
> create and PUT create/update. But I guess since we are working on the whole
> list then we can get away with just a PUT, and as you say it will add or
> replace/update the entire list.
> <http://lists.digium.com/mailman/listinfo/asterisk-dev>


I don't pretend to be either, but in other REST-like systems I've typically
used POST to create an object, PUT to update a complete object, PATCH to
update just one portion of an object, and DELETE to delete an object.

-Jared
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20181214/f5049321/attachment.html>


More information about the asterisk-dev mailing list