(endpoint endpoint-names & {:keys [trailing-slash] :or {trailing-slash false}})
Create an endpoint.
Create an endpoint.
(not-found-handler)
(route endpoint-names
route-data
&
{:keys [trailing-slash] :or {trailing-slash true}})
Create route.
Create route.
(simple-router &
{:keys [name description lookup-field options list create
retrieve update delete others]
:or {options {}
description ""
lookup-field :id
create (not-found-handler)
retrieve (not-found-handler)
name ""
update (not-found-handler)
delete (not-found-handler)
list (not-found-handler)
others []}})
Simple router that create routes for: list, create, retrieve, update, delete.
Simple router that create routes for: list, create, retrieve, update, delete.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close