Skip to main content
Solved

How will I get component data?


How will I get component data? Currently getting an empty array.
{
“error”: false,
“status”: 200,
“meta”: {
“components”:
},
“i18n”: null
}
getting empty components array.

Best answer by tank666

Figma Help Center
View original
This topic has been closed for replies.

6 replies

tank666
  • 4873 replies
  • July 24, 2023

What endpoint are you using? Have you tried adding a depth parameter or node ids?



GET/v1/files/:file_key/components

I need files components So, I’m using this endpoint


tank666
  • 4873 replies
  • July 24, 2023

Does this file have published components?


No, But can I know how to add components to a file?


tank666
  • 4873 replies
  • Answer
  • July 24, 2023

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