|
|
|
@ -23,12 +23,12 @@
|
|
|
|
|
:body (domain-schema/accessible-schemas! (-> req :session :uuid))})
|
|
|
|
|
|
|
|
|
|
(defroutes routes
|
|
|
|
|
(GET (register! :vis-index "/visualisation/index")
|
|
|
|
|
(GET (register! :vis-explore "/vis/explore/:instance-uuid")
|
|
|
|
|
[:as req]
|
|
|
|
|
(vis-view/index req))
|
|
|
|
|
(GET (register! :vis-all-instances "/visualisation/all-instances")
|
|
|
|
|
(GET (register! :vis-all-instances "/vis/all-instances")
|
|
|
|
|
[:as req]
|
|
|
|
|
(all-instances req))
|
|
|
|
|
(GET (register! :vis-all-schemas "/api/visualisation/schemas")
|
|
|
|
|
(GET (register! :vis-all-schemas "/api/vis/schemas")
|
|
|
|
|
[:as req]
|
|
|
|
|
(all-schemas req)))
|
|
|
|
|