Create an outpack server, a porcelain object

api(root, validate = NULL, log_level = "info")

Arguments

root

Outpack root

validate

Logical, indicating if validation should be done on responses. This should be FALSE in production environments. See porcelain::porcelain for details

log_level

Logging level to use. Sensible options are "off", "info" and "all".

Value

A porcelain::porcelain object. Notably this does not

start the server