HI All,
I was trying to use the rest api from Figma in order to get data/document of a design file. I am able to successfully get the entire document.
However, since my design file can have multiple frames, i wanted to know, how i can get the node id from desktop app itself to make use of api
https://api.figma.com/v1/files/<file_id>/nodes?ids=<node_id>
getting file_id is easy from the url, but i wanted a specific node_id of the frame.
Also, i have also been working on a codegen plugin. I was interested to know if there is a way to get the output of the plugin over the node_id data via a rest api request/response.
Thank you.