porcelain_package_endpoint | R Documentation |
Find an endpoint defined implicitly through roxygen comments (rather than explicitly via writing porcelain_endpoint.
porcelain_package_endpoint(
package,
method,
path,
state = NULL,
validate = NULL
)
package |
The name of the package to look in, provided as a string or as a namespace |
method |
The HTTP method (i.e., verb), such as |
path |
The path of the method (e.g., |
state |
A list of state to bind into the method, if your endpoint requires any |
validate |
Logical, indicating if the method should be created with schema validation enabled. |
The endpoint, a porcelain_endpoint object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.