Skip to main content
Solved

Nodes don't have "visible" property

  • August 3, 2023
  • 1 reply
  • 395 views

Why the nodes I get from REST API didnt have “visible” property? The example from documetation show otherwise.

I retrieved the nodes using axios from “/v1/files/key” endpoint with read-only file content scope access token.

Best answer by James_Yang

Thanks for bringing this up – the current behavior of the API is that the “visible” property is only present when it is false. Otherwise, you should assume that visible = true if you don’t see the property in a node.

We’ll update the documentation to fix this discrepancy.

View original
This topic has been closed for replies.

1 reply

James_Yang
Figmate
  • Figmate
  • 82 replies
  • Answer
  • August 7, 2023

Thanks for bringing this up – the current behavior of the API is that the “visible” property is only present when it is false. Otherwise, you should assume that visible = true if you don’t see the property in a node.

We’ll update the documentation to fix this discrepancy.


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