Skip to main content

In our organization, we have a Design System created in Figma and is used to develop applications in Web technologies and also in Microsoft WPF.
The WPF team created a tool that access the API to get variables and create a ResourceDictionarys from them.

Now the DS needed to got through a major restructuring of the variables, thus their names have changed but IDs stayed the same (no variables were deleted, and almost no new variables added) - a process that took about 6 months to complete.
We tried to get the old variables via https://api.figma.com/v1/files/:file_key/variables/local?version=222…. (222. is the old version) in order to compare it with the current version in order to know which variables changed their names and what are the new names.
What we see is that we get the same, current, variables in both calls.
A year ago, or so, providing parameter of version would return the variables at that version.

Was this feature deprecated?
Is there an alternative way to get variables of a specific version?

More about the need: we have hundreds of variables (resources) which are used in several WPF projects and if a resource has changed its name, all places that use that resource need to be updated.
Right now, after getting a new version exported to ResourceDictionary we see a lot of resources that existed in the old version but don’t exist in new version - we need a way to know what is the new name of a missing resource.

Be the first to reply!