REST server
Consolidates our disparate REST endpoints into a single Ring application.
REST server Consolidates our disparate REST endpoints into a single Ring application.
(build-app get-shared-globals)Generates a Ring application that handles PuppetDB requests. If get-authorizer is nil or false, all requests will be accepted. Otherwise it must accept no arguments and return an authorize function that accepts a request. The request will be allowed only if authorize returns :authorized. Otherwise, the return value should be a message describing the reason that access was denied.
Generates a Ring application that handles PuppetDB requests. If get-authorizer is nil or false, all requests will be accepted. Otherwise it must accept no arguments and return an authorize function that accepts a request. The request will be allowed only if authorize returns :authorized. Otherwise, the return value should be a message describing the reason that access was denied.
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 |