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
)
The name of the package to look in, provided as a string or as a namespace
The HTTP method (i.e., verb), such as GET
or
POST
, as a string
The path of the method (e.g., /my/path
)
A list of state to bind into the method, if your endpoint requires any
Logical, indicating if the method should be created with schema validation enabled.
The endpoint, a porcelain_endpoint object