btcpayserver/BTCPayServer/Controllers/GreenField
Wouter Samaey 6de4f6a3ac
Mention the missing API permission in the response of a Greenfield request (#3195)
* Mention the missing API permission in the response header or body

* Fixes + Added a unit test. 1 TODO remains.

* Added MissingPermissionDescription to the error

* Update BTCPayServer.Tests/GreenfieldAPITests.cs

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>

* Fix tests

* [GreenField]: Make sure we are sending fully typed errors

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-12-16 23:04:06 +09:00
..
ApiKeysController.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00
GreenFieldUtils.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00
HealthController.cs Local Greenfield Client for Plugins (#2410) 2021-07-27 21:11:47 +09:00
InvoiceController.cs Add crypto code for invoice and pull payment payout API response (#3099) 2021-11-15 14:25:59 +09:00
LightningNodeApiController.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00
LightningNodeApiController.Internal.cs Greenfield: Improve error message, do not use internal lightning node on store's lightning API 2021-12-16 14:27:34 +09:00
LightningNodeApiController.Store.cs Greenfield: Improve error message, do not use internal lightning node on store's lightning API 2021-12-16 14:27:34 +09:00
LocalBTCPayServerClient.cs Greenfield: Improve error message, do not use internal lightning node on store's lightning API 2021-12-16 14:27:34 +09:00
NotificationsController.cs Add pagination for API GetNotifications (#3145) 2021-11-26 11:55:59 +09:00
PaymentRequestsController.cs Local Greenfield Client for Plugins (#2410) 2021-07-27 21:11:47 +09:00
PullPaymentController.cs Add crypto code for invoice and pull payment payout API response (#3099) 2021-11-15 14:25:59 +09:00
ServerInfoController.cs Update HWI library, warn users to run newer version (#2544) 2021-06-06 21:02:15 +09:00
StoreLightningNetworkPaymentMethodsController.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00
StoreLNURLPayPaymentMethodsController.cs LNURL Payment Method Support (#2897) 2021-10-25 15:18:02 +09:00
StoreOnChainPaymentMethodsController.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00
StoreOnChainPaymentMethodsController.WalletGeneration.cs Greenfield quality of life improvements from feedback (#2880) 2021-09-25 14:04:34 +09:00
StoreOnChainWalletsController.cs Use NBitcoin's Network.UriScheme rather than our own (#3005) 2021-10-23 14:47:15 +09:00
StorePaymentMethodsController.cs Censor based on permissions 2021-10-04 17:06:11 +02:00
StoresController.cs Improve store/selectlist labeling (#3014) 2021-10-25 13:15:08 +09:00
StoreWebhooksController.cs Local Greenfield Client for Plugins (#2410) 2021-07-27 21:11:47 +09:00
TestApiKeyController.cs Local Greenfield Client for Plugins (#2410) 2021-07-27 21:11:47 +09:00
UsersController.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00