| plumb_api | R Documentation |
So that packages can ship multiple plumber routers, users should store their Plumber APIs
in the inst subfolder plumber (./inst/plumber/API_1/plumber.R).
plumb_api(package = NULL, name = NULL, edit = FALSE)
available_apis(package = NULL)
package |
Package to inspect |
name |
Name of the package folder to |
edit |
Whether or not to open the API source code for viewing / editing |
To view all available Plumber APIs across all packages, please call available_apis().
A package value may be provided to only display a particular package's Plumber APIs.
A Plumber object. If either package or name is null, the appropriate available_apis() will be returned.
plumb_api(): plumb()s a package's Plumber API. Returns a Plumber router object
available_apis(): Displays all available package Plumber APIs. Returns a data.frame of package, name, and source_directory information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.