From 3966549e4ae209598ed56839dae9154f4615d2dc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 1 Aug 2011 13:49:43 -0700 Subject: watcher: add POST /reset/$LISTENER endpoint rdoc This was always supported via the HTML (browser) interface but there was no documented way of hitting it without a browser, before. --- lib/raindrops/watcher.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index 6d965a5..66bc7b6 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -58,6 +58,10 @@ require "aggregate" # # e.g.: curl http://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html # +# === POST /reset/$LISTENER +# +# Resets the active and queued statistics for the given listener. +# # === GET /tail/$LISTENER.txt?active_min=1&queued_min=1 # # Streams chunked a response to the client. -- cgit v1.2.3-24-ge0c7