Description
I am not sure if this is a bug, but it seems weird. When you issue a rest call to change auditing settings, upon success you get nothing returned. Normally a change of settings would return the list of settings and their new values. When you do a call that tries invalid settings an error is properly thrown.
Success:
couchbases-MacBook-Pro:~ ajay.bhullar$ curl -u Administrator:password -X POST -d 'auditdEnabled=true;disabled=28672,28673' http://192.168.10.12:8091/settings/audit
couchbases-MacBook-Pro:~ ajay.bhullar$
Error(works as expected):
couchbases-MacBook-Pro:~ ajay.bhullar$ curl -u Administrator:password -X POST -d 'auditdEnabled=true;disabled=28672,28673asd' http://192.168.10.12:8091/settings/audit
{"errors":{"disabled":"All event id's must be integers"}}couchbases-MacBook-Pro:~ ajay.bhullar$