Skip to main content
Question

Can I edit a specific history via Plugin API?


Hello community 👋
I’m developing a Figma plugin and I managed to get the list of version histories of the file via the Figma API
https://api.figma.com/v1/files/${fileKey}/versions?page_size=20.
I managed to create a history thanks to figma.saveVersionHistoryAsync() but I can’t find a way to edit a version history, I have the version id but how can it be edited, is there an API?

This topic has been closed for comments

3 replies

y_toku
Figmate
  • Community Support
  • 2478 replies
  • November 13, 2023

Hi there,

Thanks for posting. Unfortunately, we are not offering an API to edit a historical version of a file today using the Plugin API. If you’d be open to sharing more about the scenario/functionality you’re trying to build, could you share with us? I’d like to pass it along to our internal team for future improvements.

Thanks,
Toku


  • Author
  • 1 reply
  • November 13, 2023

Hi Toku, thank you very much for the reply. 🙏
The functionality consists of an internal management of the version histories so it would be really useful to have the possibility of modifying the version info via API as you can do directly from the right button inside the histories panel. At the moment I have managed to do this without going through the API but I would really like to do it in a “clean and legal” way.
Another very useful thing would be to add the ability to publish a library to the Figma API.
Thanks for your attention
Gaetano


y_toku
Figmate
  • Community Support
  • 2478 replies
  • November 14, 2023

Hi Gaetano,

Thanks for the details! I passed it on to our internal team for future improvements. We really appreciate your feedback!

Thanks,
Toku


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings