gristlabs_grist-core/app
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
..
client (core) Removing translation from reported answeres on welcome screen 2023-03-30 18:33:00 +02:00
common (core) Adds endpoint to update webhook 2023-03-31 19:26:02 +02:00
gen-server (core) Adds endpoint to update webhook 2023-03-31 19:26:02 +02:00
plugin Use relative imports only in plugin folder (#328) 2022-10-26 10:41:38 -04:00
server (core) Adds endpoint to update webhook 2023-03-31 19:26:02 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00