Skip to main content
kevin_protopie
Aug 3, 2024 12:20 AM UTC

Provide data about the prototype device via Plugin API

The REST API provides information on the current prototype device, as seen here.

However, the Plugin API has no such equivalent way to access this data.

2 replies

tank666
Aug 3, 2024 10:53 AM UTC

You can export the page node in JSON_REST_V1 format to get this data.

figma.com
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Gleb
Power Member
Aug 3, 2024 12:24 PM UTC

🤯🤯 woah this is cool