taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 958474b1ad8b4e13ce932c20956a7bf51a4921a0
parent 68da03e44733e10c5402b152fe242d7ec8cd97bc
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  2 Apr 2026 22:57:36 +0200

more exchange EC documentation fixes

Diffstat:
Mcore/exchange/get-aml-OFFICER_PUB-accounts.rst | 17+++++++++++++++--
Mcore/exchange/post-aml-OFFICER_PUB-decision.rst | 3++-
2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/core/exchange/get-aml-OFFICER_PUB-accounts.rst b/core/exchange/get-aml-OFFICER_PUB-accounts.rst @@ -48,16 +48,29 @@ may differ in the exact returned data and format. :http:statuscode:`204 No content`: There are no accounts at all (within the specified constraints). + :http:statuscode:`400 Bad request`: + The client's request is malformed. + This response comes with a standard `ErrorDetail` response with + a code of ``TALER_EC_GENERIC_RESERVE_PUB_MALFORMED``, + ``TALER_EC_EXCHANGE_GENERIC_PURSE_PUB_MALFORMED``, + ``TALER_EC_GENERIC_PARAMETER_MALFORMED``, + ``TALER_EC_EXCHANGE_GENERIC_COINS_INVALID_COIN_PUB``, or + ``TALER_EC_EXCHANGE_GENERIC_AML_OFFICER_PUB_MALFORMED``. :http:statuscode:`403 Forbidden`: The signature is invalid. + Returned with a standard `ErrorDetail` response with + a code of ``TALER_EC_EXCHANGE_GENERIC_AML_OFFICER_ACCESS_DENIED``. :http:statuscode:`404 Not found`: The designated AML account is not known. :http:statuscode:`406 Not Acceptable`: The requested MIME type for the response is not supported. This response comes with a standard `ErrorDetail` response with a code of ``TALER_EC_GENERIC_PARAMETER_MALFORMED``. - :http:statuscode:`409 Conflict`: - The designated AML account is not enabled. + :http:statuscode:`500 Internal server error`: + The server failed to process the request due to an internal error. + This response comes with a standard `ErrorDetail` response with + a code of ``TALER_EC_GENERIC_DB_FETCH_FAILED``. + **Details:** diff --git a/core/exchange/post-aml-OFFICER_PUB-decision.rst b/core/exchange/post-aml-OFFICER_PUB-decision.rst @@ -16,7 +16,8 @@ :http:statuscode:`403 Forbidden`: The signature is invalid (or the AML officer not known). Returned with an error code of - ``TALER_EC_EXCHANGE_AML_DECISION_ADD_SIGNATURE_INVALID`` + ``TALER_EC_EXCHANGE_AML_DECISION_ADD_SIGNATURE_INVALID`` or + ``TALER_EC_EXCHANGE_GENERIC_AML_OFFICER_ACCESS_DENIED``. :http:statuscode:`404 Not found`: The normalized payto-address the decision was made for is unknown to the exchange. Returned with an error code of: