btcpayserver/BTCPayServer/Controllers/GreenField
Andrew Camilleri 0652e30c30
GreenField: Notifications API (#2055)
* GreenField: Notifications API

This refactors notifications so that we dont have a bunch of duplicated direct access to db contexts in controllers and then introduces new endpoints to fetch/toggle seen/remove  notifications of the current user.

* add tests + docs

* fix test

* pr changes

* fix permission json
2020-12-11 23:11:08 +09:00
..
ApiKeysController.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
GreenFieldUtils.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
HealthController.cs Enable CORS and fix small doc error 2020-06-30 08:26:19 +02:00
InvoiceController.cs Add checkoutLink and defaultLanguage to GreenField invoice 2020-12-11 12:04:18 +09:00
LightningNodeApiController.cs remove hack #2070 2020-11-23 19:39:53 +09:00
LightningNodeApiController.Internal.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
LightningNodeApiController.Store.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
NotificationsController.cs GreenField: Notifications API (#2055) 2020-12-11 23:11:08 +09:00
PaymentRequestsController.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
PullPaymentController.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
ServerInfoController.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
StoresController.cs GreenField: Notifications API (#2055) 2020-12-11 23:11:08 +09:00
StoreWebhooksController.cs Fix build 2020-11-19 12:40:07 +09:00
TestApiKeyController.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
UsersController.cs GreenField: Notifications API (#2055) 2020-12-11 23:11:08 +09:00