get-monitoring-denomination-key-validity-withdraw-inconsistency.rst (2587B)
1 .. http:get:: /monitoring/denomination-key-validity-withdraw-inconsistencies 2 3 Get a list of denomination key validity withdraw inconsistencies stored by the auditor. 4 The following query parameters are optional, and can be used to customise the response: 5 6 **Request:** 7 8 Pagination follows the :ref:`row-id-pagination` convention. The non-zero signed 9 ``limit`` defaults to ``-20``. 10 11 :query limit: Optional non-zero signed number of records; negative values request descending row IDs. 12 :query offset: Optional :ts:type:`SafeUint64` row ID from which to begin. 13 :query return_suppressed: A boolean. If true, returns all eligible rows, otherwise only returns eligible rows that are not suppressed. The default value is false. 14 15 With the default settings, the endpoint returns at most the 20 latest elements that are not suppressed. 16 17 **Response:** 18 19 :http:statuscode:`200 OK`: 20 The auditor responds with a :ts:type:`DenominationKeyValidityWithdrawInconsistencyResponse` object. Its ``records`` field is empty if no matching elements were found. 21 :http:statuscode:`400 Bad request`: 22 The request is malformed. Returned with an 23 ``TALER_EC_GENERIC_PARAMETER_MALFORMED`` error code. 24 :http:statuscode:`401 Unauthorized`: 25 The request lacks valid authentication credentials. 26 The response comes with a ``TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED``. 27 :http:statuscode:`500 Internal Server Error`: 28 The server experienced an internal error. 29 The response comes with a ``TALER_EC_GENERIC_DB_SETUP_FAILED``, 30 ``TALER_EC_GENERIC_DB_FETCH_FAILED``, or 31 ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE`` error code. 32 33 34 **Details:** 35 36 .. ts:def:: DenominationKeyValidityWithdrawInconsistencyResponse 37 38 interface DenominationKeyValidityWithdrawInconsistencyResponse { 39 40 records: DenominationKeyValidityWithdrawInconsistency[]; 41 42 } 43 44 .. ts:def:: DenominationKeyValidityWithdrawInconsistency 45 46 interface DenominationKeyValidityWithdrawInconsistency { 47 48 // Unique row identifier 49 row_id : SafeUint64; 50 51 // Row identifier of the withdrawal involved. 52 problem_row_id : SafeUint64; 53 54 // When the withdrawal took place 55 execution_date : Timestamp; 56 57 // Public key of the reserve affected 58 reserve_pub : EddsaPublicKey; 59 60 // Hash of the denomination public key involved in the withdrawal 61 h_denom_pub : HashCode; 62 63 // True if this diagnostic was suppressed. 64 suppressed : boolean; 65 66 } 67 68 .. note:: 69 70 This endpoint is still experimental. The endpoint will be further developed as needed.