Restore a Figma file via the API

Dear Figma community,

Our team would like to build a backup & restore app for Figma. We’re currently investigating the API if it offers the necessary functionality.

We found that we can download the properties of the file nodes via Figma. However it seems not (yet) possible to restore data in the REST API (see [forum topic])

Would it possible to use the body received from [GET] /file/:key/:title as the payload for API calls done via Figma plugins (e.g. Editing Properties · Figma Plugins ) to do the restore? Or do the 2 systems use completely different syntax to describe/update the attributes of the nodes?