gristlabs_grist-core/app/gen-server
Cyprien P d8a063284a (core) Adds endpoint to update webhook
Summary:
Adds a new endpoint to update webhook.

Perform some refactoring to allow code reuse from endpoint allowing to _subscribe and _unsubscribe webhooks.

One aspect of webhook is that url are stored in the home db while the rest of the fields (tableRef, isReadyColRef, ...) are stored in sqlite. So care must be taken when updating fields, to properly rollback if anything should fail.

Follow up diff will bring UI to edit webhook list

Test Plan: Updated doc api server tests

Reviewers: jarek

Reviewed By: jarek

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D3821
2023-03-31 19:26:02 +02:00
..
entity (core) Add initial tutorials implementation 2023-03-22 10:09:02 -04:00
lib (core) Adds endpoint to update webhook 2023-03-31 19:26:02 +02:00
migration (core) Add initial tutorials implementation 2023-03-22 10:09:02 -04:00
ApiServer.ts (core) User language switcher 2023-01-26 09:47:14 +01:00
sqlUtils.ts (core) fix bug where sharing doc with everyone@ as viewer made it unlisted for site viewers 2021-10-28 12:48:31 -04:00