Skip to main content
Solved

Did the name property get change recently in the REST API?

  • February 16, 2021
  • 1 reply
  • 475 views

Brandon

I have some scripts that occasionally pull data out of my Figma files via their names, e.g. “WidgetName”. Recently, I noticed that the REST API says the name I need to search for is “Widget-name” and I’m wondering why it is formatted that way? The component in my file is named “WidgetName” and I haven’t changed it in a long time, so what gives?

Best answer by Brandon

Ah, I feel dumb. I had two components with the same name. Sorry!

Pro tip: Make sure it’s not user error 🙂

View original

1 reply

Brandon
  • Author
  • 1 reply
  • Answer
  • February 16, 2021

Ah, I feel dumb. I had two components with the same name. Sorry!

Pro tip: Make sure it’s not user error 🙂


Reply


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