HTTP API for Crux.
The optional SPARQL handler requires juxt.crux/rdf.
HTTP API for Crux. The optional SPARQL handler requires juxt.crux/rdf.
(data-browser-query crux-node
options
{{:strs [valid-time transaction-time q]} :query-params
:as request})
(html-request? request)
(latest-completed-tx crux-node)
(latest-submitted-tx crux-node)
(link-all-entities db path result)
(link-top-level-entities db path results)
(query->html links {headers :find} results)
(resolve-entity-map linked-entities entity-map)
(resolve-prev-next-offset query-params prev-offset next-offset)
(start-http-server crux-node)
(start-http-server crux-node
{:keys [server-port cors-access-control]
:or {server-port default-server-port cors-access-control []}
:as options})
Starts a HTTP server listening to the specified server-port, serving the Crux HTTP API. Takes a either a crux.api.ICruxAPI or its dependencies explicitly as arguments (internal use).
Starts a HTTP server listening to the specified server-port, serving the Crux HTTP API. Takes a either a crux.api.ICruxAPI or its dependencies explicitly as arguments (internal use).
(valid-jwt? jwt jwks)
Return true if the given JWS is valid with respect to the given signing key.
Return true if the given JWS is valid with respect to the given signing key.
(vt-tt-entity-box vt tt)
(wrap-jwt handler jwks)
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |