Skip to content

A Serverless function that can manage backups and restoration of records through its API.

Notifications You must be signed in to change notification settings

signifly/datocms-record-bin-lambda-function

 
 

Repository files navigation

Record bin lambda function

A Serverless function that can manage backups and restoration of records through its API.

The lambda function can be deployed on Vercel in one click by using this link

It is intended to be used with the record bin DatoCMS plugin

Usage

After deploying the project on Vercel, and adding the API Token from your DatoCMS project the API will be available to interact with the plugin.

Then, insert the deployed URL on the plugin installation process. The plugin will send a call to that URL that will make the plugin create a webhook, on your DatoCMS project that will manage and create a "Bin record" for every deleted record on that project. The function also makes available a "restore" call, that is used by the plugin to restore "Bin records" through the button directly on the dashboard.

For more detailed information on usage refer to the record bin documentation page

About

A Serverless function that can manage backups and restoration of records through its API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%