From 145788c384c7417815fd632a5aaac973c67d3136 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 16 May 2021 14:26:20 +0200 Subject: add missing configuration endpoints --- core/api-exchange.rst | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/core/api-exchange.rst b/core/api-exchange.rst index 089890af..9b8b2d12 100644 --- 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 --------------- -- cgit v1.2.3