Skip to main content
Solved

Determining Jam vs Design file from the REST API


Mitko

Is there a way to determine if a file is a FigJam or Figma Design file from the API. I tried several things and without success.
Seems like both of them are using the same structure under the hood, just opened with a different figma “editor”, i.e. “design” vs “whiteboard”.

Best answer by tank666

Now, with a get file, the editor type will be indicated at the end of the object. For example, "editorType":"figma" or "editorType":"figjam".

View original
This topic has been closed for comments

3 replies

Martin_Bavio

I have a similar need, is there a way to determine this via the REST API?


tank666
  • 4863 replies
  • August 27, 2021

It seems at the moment it is impossible to get the editor type via the Rest API, but it is already available for the Figma Plugins API: Version 1, Update 31 · Figma Developers


tank666
  • 4863 replies
  • Answer
  • September 16, 2021

Now, with a get file, the editor type will be indicated at the end of the object. For example, "editorType":"figma" or "editorType":"figjam".


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