taler-docs

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

commit c9c1c7d3d253bfec2c33cc0fc392fedbc259f694
parent 8284976d287029366874f2b96cb6040ecbb71a22
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  7 Apr 2026 22:29:51 +0200

document ECs in auditor API

Diffstat:
Mcore/auditor/get-monitoring-amount-arithmetic-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-bad-sig-losses.rst | 10++++++++++
Mcore/auditor/get-monitoring-balances.rst | 10++++++++++
Mcore/auditor/get-monitoring-closure-lags.rst | 10++++++++++
Mcore/auditor/get-monitoring-coin-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-denomination-key-validity-withdraw-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-denomination-pending.rst | 10++++++++++
Mcore/auditor/get-monitoring-denominations-without-sigs.rst | 10++++++++++
Mcore/auditor/get-monitoring-deposit-confirmations.rst | 10++++++++++
Mcore/auditor/get-monitoring-early-aggregation.rst | 10++++++++++
Mcore/auditor/get-monitoring-emergency-by-count.rst | 10++++++++++
Mcore/auditor/get-monitoring-emergency.rst | 10++++++++++
Mcore/auditor/get-monitoring-fee-time-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-historic-denomination-revenue.rst | 10++++++++++
Mcore/auditor/get-monitoring-historic-reserve-summary.rst | 10++++++++++
Mcore/auditor/get-monitoring-misattribution-in-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-pending-deposits.rst | 10++++++++++
Mcore/auditor/get-monitoring-progress.rst | 10++++++++++
Mcore/auditor/get-monitoring-purse-not-closed-inconsistencies.rst | 10++++++++++
Mcore/auditor/get-monitoring-purses.rst | 10++++++++++
Mcore/auditor/get-monitoring-reserve-balance-insufficient-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-reserve-balance-summary-wrong-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-reserve-in-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-reserve-not-closed-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-reserves.rst | 10++++++++++
Mcore/auditor/get-monitoring-row-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-row-minor-inconsistencies.rst | 10++++++++++
Mcore/auditor/get-monitoring-wire-format-inconsistency.rst | 10++++++++++
Mcore/auditor/get-monitoring-wire-out-inconsistency.rst | 10++++++++++
Mcore/auditor/patch-monitoring-amount-arithmetic-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-bad-sig-losses-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-closure-lags-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-coin-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-denomination-key-validity-withdraw-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-denominations-without-sigs-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-deposit-confirmations-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-emergency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-emergency-by-count-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-fee-time-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-misattribution-in-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-purse-not-closed-inconsistencies-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-reserve-balance-insufficient-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-reserve-balance-summary-wrong-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-reserve-in-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-reserve-not-closed-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-row-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-row-minor-inconsistencies-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-wire-format-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/patch-monitoring-wire-out-inconsistency-SERIAL_ID.rst | 15+++++++++++++++
Mcore/auditor/put-deposit-confirmation.rst | 23++++++++++++++++++-----
Mdesign-documents/076-paywall-proxy.rst | 4++++
51 files changed, 612 insertions(+), 5 deletions(-)

diff --git a/core/auditor/get-monitoring-amount-arithmetic-inconsistency.rst b/core/auditor/get-monitoring-amount-arithmetic-inconsistency.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`AmountArithmeticInconsistency` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. diff --git a/core/auditor/get-monitoring-bad-sig-losses.rst b/core/auditor/get-monitoring-bad-sig-losses.rst @@ -18,6 +18,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`BadSigLosses` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-balances.rst b/core/auditor/get-monitoring-balances.rst @@ -12,6 +12,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`Balances` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-closure-lags.rst b/core/auditor/get-monitoring-closure-lags.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`ClosureLags` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. diff --git a/core/auditor/get-monitoring-coin-inconsistency.rst b/core/auditor/get-monitoring-coin-inconsistency.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`CoinInconsistency` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-denomination-key-validity-withdraw-inconsistency.rst b/core/auditor/get-monitoring-denomination-key-validity-withdraw-inconsistency.rst @@ -15,6 +15,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`DenominationKeyValidityWithdrawInconsistency` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-denomination-pending.rst b/core/auditor/get-monitoring-denomination-pending.rst @@ -15,6 +15,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`DenominationPending` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-denominations-without-sigs.rst b/core/auditor/get-monitoring-denominations-without-sigs.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`DenominationsWithoutSigs` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. diff --git a/core/auditor/get-monitoring-deposit-confirmations.rst b/core/auditor/get-monitoring-deposit-confirmations.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`DepositConfirmations` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-early-aggregation.rst b/core/auditor/get-monitoring-early-aggregation.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`GetEarlyAggregationResponse` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-emergency-by-count.rst b/core/auditor/get-monitoring-emergency-by-count.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`EmergencyByCount` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-emergency.rst b/core/auditor/get-monitoring-emergency.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`Emergency` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-fee-time-inconsistency.rst b/core/auditor/get-monitoring-fee-time-inconsistency.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`FeeTimeInconsistency` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-historic-denomination-revenue.rst b/core/auditor/get-monitoring-historic-denomination-revenue.rst @@ -15,6 +15,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`HistoricDenominationRevenue` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-historic-reserve-summary.rst b/core/auditor/get-monitoring-historic-reserve-summary.rst @@ -15,6 +15,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`HistoricReserveSummary` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-misattribution-in-inconsistency.rst b/core/auditor/get-monitoring-misattribution-in-inconsistency.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`MisattributionInInconsistency` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. diff --git a/core/auditor/get-monitoring-pending-deposits.rst b/core/auditor/get-monitoring-pending-deposits.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`GetPendingDepositsResponse` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-progress.rst b/core/auditor/get-monitoring-progress.rst @@ -11,6 +11,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`Progress` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-purse-not-closed-inconsistencies.rst b/core/auditor/get-monitoring-purse-not-closed-inconsistencies.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`PurseNotClosedInconsistencies` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. diff --git a/core/auditor/get-monitoring-purses.rst b/core/auditor/get-monitoring-purses.rst @@ -15,6 +15,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`Purses` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-reserve-balance-insufficient-inconsistency.rst b/core/auditor/get-monitoring-reserve-balance-insufficient-inconsistency.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`ReserveBalanceInsufficientInconsistency` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. diff --git a/core/auditor/get-monitoring-reserve-balance-summary-wrong-inconsistency.rst b/core/auditor/get-monitoring-reserve-balance-summary-wrong-inconsistency.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`ReserveBalanceSummaryWrongInconsistency` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-reserve-in-inconsistency.rst b/core/auditor/get-monitoring-reserve-in-inconsistency.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`ReserveInInconsistency` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-reserve-not-closed-inconsistency.rst b/core/auditor/get-monitoring-reserve-not-closed-inconsistency.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`ReserveNotClosedInconsistency` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. diff --git a/core/auditor/get-monitoring-reserves.rst b/core/auditor/get-monitoring-reserves.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`Reserves` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-row-inconsistency.rst b/core/auditor/get-monitoring-row-inconsistency.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`RowInconsistency` objects. + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-row-minor-inconsistencies.rst b/core/auditor/get-monitoring-row-minor-inconsistencies.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`RowMinorInconsistencies` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-wire-format-inconsistency.rst b/core/auditor/get-monitoring-wire-format-inconsistency.rst @@ -16,6 +16,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`WireFormatInconsistency` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/core/auditor/get-monitoring-wire-out-inconsistency.rst b/core/auditor/get-monitoring-wire-out-inconsistency.rst @@ -17,6 +17,16 @@ :http:statuscode:`200 OK`: The auditor responds with a top level array of :ts:type:`WireOutInconsistency` objects. If no elements could be found, an empty array is returned + :http:statuscode:`400 Bad request`: + The request is malformed. Returned with an + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED`` or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. diff --git a/core/auditor/patch-monitoring-amount-arithmetic-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-amount-arithmetic-inconsistency-SERIAL_ID.rst @@ -6,6 +6,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-bad-sig-losses-SERIAL_ID.rst b/core/auditor/patch-monitoring-bad-sig-losses-SERIAL_ID.rst @@ -9,6 +9,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-closure-lags-SERIAL_ID.rst b/core/auditor/patch-monitoring-closure-lags-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-coin-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-coin-inconsistency-SERIAL_ID.rst @@ -9,6 +9,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-denomination-key-validity-withdraw-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-denomination-key-validity-withdraw-inconsistency-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-denominations-without-sigs-SERIAL_ID.rst b/core/auditor/patch-monitoring-denominations-without-sigs-SERIAL_ID.rst @@ -9,6 +9,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-deposit-confirmations-SERIAL_ID.rst b/core/auditor/patch-monitoring-deposit-confirmations-SERIAL_ID.rst @@ -9,6 +9,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-emergency-SERIAL_ID.rst b/core/auditor/patch-monitoring-emergency-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-emergency-by-count-SERIAL_ID.rst b/core/auditor/patch-monitoring-emergency-by-count-SERIAL_ID.rst @@ -13,6 +13,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-fee-time-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-fee-time-inconsistency-SERIAL_ID.rst @@ -12,6 +12,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-misattribution-in-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-misattribution-in-inconsistency-SERIAL_ID.rst @@ -9,6 +9,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-purse-not-closed-inconsistencies-SERIAL_ID.rst b/core/auditor/patch-monitoring-purse-not-closed-inconsistencies-SERIAL_ID.rst @@ -9,6 +9,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-reserve-balance-insufficient-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-reserve-balance-insufficient-inconsistency-SERIAL_ID.rst @@ -9,6 +9,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-reserve-balance-summary-wrong-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-reserve-balance-summary-wrong-inconsistency-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-reserve-in-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-reserve-in-inconsistency-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-reserve-not-closed-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-reserve-not-closed-inconsistency-SERIAL_ID.rst @@ -9,6 +9,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-row-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-row-inconsistency-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-row-minor-inconsistencies-SERIAL_ID.rst b/core/auditor/patch-monitoring-row-minor-inconsistencies-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-wire-format-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-wire-format-inconsistency-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/patch-monitoring-wire-out-inconsistency-SERIAL_ID.rst b/core/auditor/patch-monitoring-wire-out-inconsistency-SERIAL_ID.rst @@ -7,6 +7,21 @@ :http:statuscode:`204 No Content`: The element has been updated. + :http:statuscode:`400 Bad Request`: + The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. + :http:statuscode:`401 Unauthorized`: + The request lacks valid authentication credentials. + The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. + :http:statuscode:`404 Not found`: + The specified row was not found. + The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. .. note:: diff --git a/core/auditor/put-deposit-confirmation.rst b/core/auditor/put-deposit-confirmation.rst @@ -7,13 +7,26 @@ **Response:** :http:statuscode:`200 Ok`: - The auditor responds with a `DepositAudited` object. - This request should virtually always be successful. + The auditor responds with a `DepositAudited` object. + This request should virtually always be successful. + :http:statuscode:`400 Bad Request`: + The request body is malformed or invalid. + The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or + ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. :http:statuscode:`403 Forbidden`: - The signature on the deposit confirmation is invalid. + The signature on the deposit confirmation is invalid. + The response comes with a ``TALER_EC_AUDITOR_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID`` + error code. :http:statuscode:`410 Gone`: - The public key used to sign the deposit confirmation - was revoked. + The public key used to sign the deposit confirmation + was revoked. + The response comes with a ``TALER_EC_AUDITOR_EXCHANGE_SIGNING_KEY_REVOKED`` + error code. + :http:statuscode:`500 Internal Server Error`: + The server experienced an internal error. + The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, + ``TALER_EC_GENERIC_DB_STORE_FAILED``, or + ``TALER_EC_GENERIC_DB_FETCH_FAILED`` error code. **Details:** diff --git a/design-documents/076-paywall-proxy.rst b/design-documents/076-paywall-proxy.rst @@ -50,6 +50,10 @@ Steps: ``cur_time || '-' || H(website || client_ip || paivana_server_secret || cur_time)``. + where ``cur_time`` in the prefix is the current time in seconds + (to keep it short) while in the hash it is usually binary GNUnet + timestamp in network byte order. + * If such a cookie is set and valid, the request is reverse-proxied to upstream. *Stop.* * Otherwise, a static non-cachable paywall page is returned,