Write document updates to your data source
For use with Netlify Visual Editor only.
When a user makes updates to documents in the visual editor, Netlify will call the appropriate function that you define with connector.documents()
on your connector.
With this API, you need to specify how to handle create, delete, publish, and update actions on your data source.
For details on what parameters each function has access to, refer to the connector.documents()
reference doc.
For example: