patch-monitoring-emergency-by-count-SERIAL_ID.rst (1425B)
1 .. http:patch:: /monitoring/emergency-by-count/$SERIAL_ID 2 3 This endpoint is used to suppress select elements of emergencies by count. 4 Update the 'suppressed' field of an emergency by count element with row ID 5 ``$SERIAL_ID``, according to :ts:type:`GenericAuditorMonitorPatchRequest`, 6 stored by the auditor. 7 8 **Request:** 9 10 The body must be a `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.