Open ronanjs opened 3 years ago
I think this would make the API inconsistent. reset
is really just a short cut way of POSTing to stop
and then start
. The stop
request doesn't return anything and the start
request does. You can always query the result you're stopping, as it won't be deleted unless you explicitly submit a DELETE
request.
I'm guessing you want this just for convenience?
When resetting an analyzer, is it possible to return the current result for the old analyser, before the reset (and not for the new one, after the reset)?