get-monitoring-purse-not-closed-inconsistencies.rst (1523B)
1 .. http:get:: /monitoring/purse-not-closed-inconsistencies 2 3 Get a list of purse not closed inconsistencies stored by the auditor. 4 5 The following query parameters are optional, and can be used to customise the response: 6 7 **Request:** 8 9 :query limit: A signed integer, indicating how many elements relative to the offset query parameter should be returned. The default value is -20. 10 :query offset: An unsigned integer, indicating from which row onward to return elements. The default value is INT_MAX. 11 :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. 12 13 With the default settings, the endpoint returns at most the 20 latest elements that are not suppressed. 14 15 **Response:** 16 17 :http:statuscode:`200 OK`: 18 The auditor responds with a top level array of :ts:type:`PurseNotClosedInconsistencies` objects. 19 20 21 22 **Details:** 23 24 .. ts:def:: PurseNotClosedInconsistencies 25 26 interface PurseNotClosedInconsistencies { 27 28 // Unique row identifier. 29 row_id : Integer; 30 31 // Public key of the affected purse 32 purse_pub : EddsaPublicKey; 33 34 // Amount still in the purse, which should have been refunded 35 amount : Amount; 36 37 // When the purse expired 38 expiration_date : Timestamp; 39 40 // True if this diagnostic was suppressed. 41 suppressed : boolean; 42 43 } 44 45 .. note:: 46 47 This endpoint is still experimental. The endpoint will be further developed as needed.