Manage assets on your data source
For use with Netlify Visual Editor only.
When a user uploads assets using the visual editor, Netlify will call the create
function that you define with connector.assets()
on your connector.
With this API, you need to specify how to upload assets to your data source. Note that you don’t need to define separate logic to get assets because assets are included in data syncs.
For details on what parameters the function has access to, refer to the connector.assets()
reference doc.
For example: