 
 (def media-types ["application/json" "application/transit+json"
                   "application/edn"])
+
+(defn decode-etag [etag]
+  (subs etag 1 (dec (count etag))))
 
 ;; ---- Routes ----------------------------------------------------------------
 

     :id (:workbook/id workbook)})

  :handle-not-found
  {:links {:up {:href (path-for :service-document-handler)}}
   :error "Workbook not found."})

;; ---- Create Workbook -------------------------------------------------------


  (fnk [branch] (branch-path branch))

  :handle-not-found
  (error-body "Workbook not found.")

  :handle-unprocessable-entity
  (error-body "Branch name is missing."))

;; ---- Add Query -------------------------------------------------------------

