taler-docs

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

patch-monitoring-coin-inconsistency-SERIAL_ID.rst (1349B)


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