Learn R Programming

Rigma (version 0.3.0)

req_figma_template: Set the API URL template based on the specified endpoint

Description

Modify a request using a template for a specified Figma API endpoint.

Usage

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()
)

Arguments

.req

A request.

endpoint

Figma REST API endpoint to use

...

Template variables.

call

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.