3413: update for code review
[arvados.git] / services / keepstore / handlers.go
index 038e812c4fd09f2556174bf05a53d098b38bf194..289b0c8c743d9afeb0fc3afad2332a3f3d7d18f1 100644 (file)
@@ -60,9 +60,14 @@ func MakeRESTRouter() *mux.Router {
        rest.HandleFunc(`/status.json`, StatusHandler).Methods("GET", "HEAD")
 
        // The PullHandler and TrashHandler process "PUT /pull" and "PUT
-       // /trash" requests from Data Manager.  Each handler parses the
-       // JSON list of block management requests in the message body, and
-       // delivers them to the pull queue or trash queue, respectively.
+       // /trash" requests from Data Manager.  These requests instruct
+       // Keep to replicate or delete blocks; see
+       // https://arvados.org/projects/orvos-private/wiki/Keep_Design_Doc
+       // for more details.
+       //
+       // Each handler parses the JSON list of block management requests
+       // in the message body, and delivers them to the pull queue or
+       // trash queue, respectively.
        rest.HandleFunc(`/pull`, PullHandler).Methods("PUT")
        rest.HandleFunc(`/trash`, TrashHandler).Methods("PUT")