taler-docs

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

patch-monitoring-amount-arithmetic-inconsistency-SERIAL_ID.rst (1379B)


      1 .. http:patch:: /monitoring/amount-arithmetic-inconsistency/$SERIAL_ID
      2 
      3   This endpoint is used to suppress select elements of amount arithmetic inconsistencies. Update the 'suppressed' field of an amount arithmetic inconsistency element with row_id $SERIAL_ID, according to :ts:type:`GenericAuditorMonitorPatchRequest`, stored by the auditor.
      4 
      5   **Response:**
      6 
      7   :http:statuscode:`204 No Content`:
      8     The element has been updated.
      9   :http:statuscode:`400 Bad Request`:
     10     The request body is invalid or the ``$SERIAL_ID`` is not a valid row identifier.
     11     The response comes with a ``TALER_EC_GENERIC_JSON_INVALID`` or
     12     ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code.
     13   :http:statuscode:`401 Unauthorized`:
     14     The request lacks valid authentication credentials.
     15     The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``.
     16   :http:statuscode:`404 Not found`:
     17     The specified row was not found.
     18     The response comes with a ``TALER_EC_AUDITOR_RESOURCE_NOT_FOUND`` error code.
     19   :http:statuscode:`500 Internal Server Error`:
     20     The server experienced an internal error.
     21     The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``,
     22     ``TALER_EC_GENERIC_DB_STORE_FAILED``, or
     23     ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code.
     24 
     25   .. note::
     26 
     27     This endpoint is still experimental. The endpoint will be further developed as needed.