Modify a request using a template for a specified Figma API endpoint.
req_figma_template(
.req,
endpoint = c("file", "file nodes", "images", "image fills", "versions", "users",
"comments", "comment reactions", "comment delete", "projects", "project files",
"team components", "file components", "component", "team component sets",
"file component set", "component set", "team styles", "file styles", "style"),
.perform = FALSE,
...,
call = caller_env()
)
A request.
Figma REST API endpoint to use
Template variables.
The execution environment of a currently
running function, e.g. caller_env()
. The function will be
mentioned in error messages as the source of the error. See the
call
argument of abort()
for more information.