 
 (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 port node] (catalog-for-node host port api-version node))
   ([host :- s/Str
     port :- s/Int
     version

  :- {s/Keyword s/Any}
  "Supplying host, port, and optionally version,
   retrieve the factset for a given certname `node`"
  ([host port node] (facts-for-node host port :v4 node))
  ([host :- String
    port :- s/Int
    version :- s/Keyword

            [clj-time.core :refer [now]]
            [clj-http.util :refer [url-encode]]))

(def ^:private api-version :v4)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Internal Schemas

