View source: R/get_image_fills.R
get_image_fills | R Documentation |
This API endpoint provides download URLs for all of the images that are present in a document's image fills. Figma represents any user-supplied images using image fills. When you drag a picture into Figma, it builds a rectangle with a single fill to represent it. The user can then modify the attributes of the fill and change the rectangle as they see fit.
get_image_fills(file_key)
file_key |
string. The key that a Figma file is referred by. |
This API provides a mapping from image references to download URLs for the images. Image URLs have a 14-day maximum lifespan. Image references are located in the output of the GET files endpoint under the 'imageRef' attribute in a Paint.
## Not run: #navigate to file and get key from url file_key <- "sFHgQh9dL6369o5wrZHmdR" get_image_fills(file_key) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.