Skip to main content

When using the nodes endpoint form the REST files API, setting the depth to 0 seems to have no effect.

Response comes with all children, as if the depth was not set.


Is this the desired behaviour?


I was expecting just the node I called.


Ofc, I can set depth to 1, but in this use case I could avoid getting a lot of children.


Here is the actual url I query:


> https://api.figma.com/v1/files/mquoV4EwJmfRiTf61u3JsV/nodes?ids=911:73249&plugin_data=shared&depth=0

Be the first to reply!

Reply