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