nicolas.dorier
23a96c07ae
Rename GreenField -> Greenfield
2022-01-14 13:46:04 +09:00
nicolas.dorier
8bea3dd21e
[Greenfield] if some json property are invalid, throw nice error instead of an exception ( fix #2795 )
2022-01-10 22:11:04 +09:00
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
nicolas.dorier
4f7eeea14e
Greenfield: Improve error message, do not use internal lightning node on store's lightning API
2021-12-16 14:27:34 +09:00
nicolas.dorier
dcc4214dcb
Make sure model binder error are returning error 422, use DateTimeOffsetModelBinder
2021-04-26 12:37:56 +09:00
nicolas.dorier
94bcbeb604
Add Greenfield API
2020-11-13 14:15:03 +09:00
Kukks
6a8dbf49da
clean and remove hack
2020-08-28 09:15:08 +02:00
Kukks
0e07fcc706
fixes and adapt
2020-08-28 09:00:14 +02:00
nicolas.dorier
51514252b6
Run dotnet format
2020-06-28 17:55:27 +09:00
Nicolas Dorier
dbb2924ccc
Fix: Create store could be called with a scoped store's modify apikey ( #1696 )
2020-06-27 15:34:03 +09:00
nicolas.dorier
8dd6ecc0b8
Fix lightning implementation, docs and tests
2020-06-09 17:24:34 +09:00
Kukks
e009c1a25a
Fixing CheckNoDeadLink test now that btse blocks our call from circleci
2020-04-22 15:05:13 +02:00
Kukks
f8f358ebdb
add to client, fix tests and doc
2020-03-20 17:14:47 +01:00
nicolas.dorier
53e7c84e73
Fix tests
2020-03-20 18:56:30 +09:00
nicolas.dorier
fb36ed2cae
Fix tests
2020-03-20 14:07:42 +09:00
nicolas.dorier
a0e638d500
Switch from System.Text.Json to Newtonsoft, typify the BTCPayServer.Client
2020-03-20 14:01:51 +09:00
nicolas.dorier
e50e3f662d
Can create user without authentication if there is no admin
2020-03-18 23:10:15 +09:00
Kukks
e99767c7e2
Greenfield API: Create User
...
Slightly big PR because I started refactoring to reduce code duplication between the UI based business logic and the api one.
2020-03-17 08:21:27 +01:00
nicolas.dorier
348934488d
Refactor tests for greenfield
2020-03-16 16:36:55 +09:00
Kukks
233fa8a4a1
BTCPayServer.Client library + Revoke API Key
2020-03-11 16:54:53 +01:00