I want to save some data from Figma documents using REST API, but I don’t want to load it every time i make a request. Versioning looks like a good way to avoid making too many long requests.
But I can’t really understand, when Figma creates a new version of a file? After saving document, after saving document but with debounce, after adding or removing items in the document etc.
In REST API docs I see some info about Webhooks. Webhooks have two different types: FILE_UPDATE and FILE_VERSION_UPDATE, so I can conclude that the version does not change every time the document is saved.