Attach Dev Resource to Node
A 3-step recipe with Figma. We can help you get access.
Recipe · 3 steps
Attach Dev Resource to Node
with Figma · Software Design Management
Validate a file node and attach an external dev resource link to it.
- Open the file to confirm it is accessible before attaching a dev resource to one of its nodes.
- Fetch the target node to confirm it exists in the document before linking a resource to it.
- Bulk-create a dev resource that attaches the supplied URL to the target node in the file.
What you'll need to have ready
- fileKey: The key of the Figma file that contains the target node.
- nodeId: The ID of the node to attach the dev resource to.
- resourceName: The display name of the dev resource.
- resourceUrl: The external URL of the dev resource.
For your developer
Arazzo workflow figma:attach-dev-resource-to-node, 3 operations: getFile → getFileNodes → postDevResources. Specs on APIs.io.