deployAPI: Deploy a Plumber API

Description Usage Arguments Details See Also

View source: R/deployAPI.R

Description

Deploys an application consisting of plumber API routes. The given directory must contain a script returning a plumb object or a plumber API definition.

Usage

1
deployAPI(api, ...)

Arguments

api

Path to the API project directory. Must contain either entrypoint.R or plumber.R

...

Additional arguments to deployApp().

Details

Deploy a plumber API definition by either supplying a directory containing plumber.R (an API definition) or entrypoint.R that returns a plumb object created by plumber::plumb(). See the plumber documentation for more information.

See Also

Other Deployment functions: applications, deployApp, deployDoc, deploySite, deployTFModel


rstudio/rsconnect documentation built on Jan. 15, 2019, 5:29 a.m.