 
 (defn-validated reports-for-node :- (s/maybe (s/pred seq? 'seq?))
   "Given a node name, retrieves the reports for the node."
-  ([host port node] (reports-for-node host port :v4 node))
+  ([host port node] (reports-for-node host port api-version node))
   ([host :- s/Str
     port :- s/Int
     version


(defn-validated catalog-for-node :- (s/maybe s/Str)
  "Given a node name, retrieve the catalog for the node."
  ([host port node] (catalog-for-node host port :v4 node))
  ([host :- s/Str
    port :- s/Int
    version

   port :- s/Int]
  (parse-response
   (client/get
    (format "http://%s:%s/%s/nodes" host port (name api-version))
    {:accept :json})))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
