Get metadata on a component by key.
Get metadata on a component set by key.
Delete a comment from the file
Returns the document refered to by :key as a JSON object. The file key can be parsed from any Figma file url: https://www.figma.com/file/:key/:title. The "document" attribute contains a Node of type DOCUMENT.
Get a list of published component sets within a file
Get a list of published components within a file
Returns download links for all images present in image fills in a document. Image fills are how Figma represents any user supplied images. When you drag an image into Figma, we create a rectangle with a single fill that represents the image, and the user is able to transform the rectangle (and properties on the fill) as they wish.
This endpoint returns a mapping from image references to the URLs at which the images may be download. Image URLs will expire after no more than 14 days. Image references are located in the output of the GET files endpoint under the imageRef attribute in a Paint.
If no error occurs, "images" will be populated with a map from node IDs to URLs of the rendered images, and "status" will be omitted. Important: the image map may contain values that are null. This indicates that rendering of that specific node has failed. This may be due to the node id not existing, or other reasons such has the node having no renderable components. It is guaranteed that any node that was requested for rendering will be represented in this map whether or not the render succeeded.
Returns the nodes referenced to by :ids as a JSON object. The nodes are retrieved from the Figma file referenced to by :key. The node Id and file key can be parsed from any Figma node url: https://www.figma.com/file/:key/:title?node-id=:id.
Get a list of published styles within a file
Returns a list of the versions of a file. The file key can be parsed from any Figma node url: https://www.figma.com/file/:key/:title.
Get user information for the authenticated user.
Posts a new comment on the file.
List the files in a given project.
Get metadata on a style by key.
Get a paginated list of published component sets within a team library
Get a paginated list of published components within a team library
Lists the projects for a specified team. Note that this will only return projects visible to the authenticated user or owner of the developer token.
Get a paginated list of published styles within a team library
Generated using TypeDoc
A list of comments left on the file
File to get comments from
https://www.figma.com/developers/api#get-comments-endpoint