commit 145788c384c7417815fd632a5aaac973c67d3136 parent e3454a99d5fc07f26220aab4de77391be3b43884 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 16 May 2021 14:26:20 +0200 add missing configuration endpoints Diffstat:
| M | core/api-exchange.rst | | | 38 | ++++++++++++++++++++++++++++++++++++++ |
1 file changed, 38 insertions(+), 0 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst @@ -926,6 +926,44 @@ Management operations authorized by master key } +.. http:post:: /management/p2pfees + + Provides fee configuration for purses. + + **Request:** + + The request must be a `P2PFees` message. + + **Response** + + :http:statuscode:`204 No content`: + The configuration update has been processed successfully. The body is empty. + :http:statuscode:`403 Forbidden`: + The signature is invalid. + :http:statuscode:`409 Conflict`: + The exchange has previously received a conflicting configuration message or the currency does not match. + + +.. http:post:: /management/partners + + Enables a partner exchange for wad transfers. + + **Request:** + + The request must be an `ExchangePartner` message. + + **Response** + + :http:statuscode:`204 No content`: + The partner has been added successfully. + :http:statuscode:`403 Forbidden`: + The signature is invalid. + :http:statuscode:`409 Conflict`: + The exchange has previously received a conflicting configuration message or the currency does not match. + + + + --------------- Auditor actions ---------------