POST /v1/dev_resources
Bulk create dev resources across multiple files. Dev resources that are successfully created will show up in the links_created array in the response.
If there are any dev resources that cannot be created, you may still get a 200 response. These resources will show up in the errors array. Some reasons a dev resource cannot be created include:
- Resource points to a
file_keythat cannot be found. - The node already has the maximum of 10 dev resources.
- Another dev resource for the node has the same url.
Servers
- https://api.figma.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
dev_resources[] |
Array | Yes |
An array of dev resources. |
dev_resources[].name |
String | Yes |
The name of the dev resource. |
dev_resources[].url |
String | Yes |
The URL of the dev resource. |
dev_resources[].node_id |
String | Yes |
The target node to attach the dev resource to. |
dev_resources[].file_key |
String | Yes |
The file key where the dev resource belongs. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.