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