taler-docs

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

testing-get-flight-records.rst (860B)


      1 .. ts:op:: testingGetFlightRecords
      2   :read-only:
      3 
      4   Get the wallet's flight records: records of exceptional events
      5   observed while communicating with an exchange (such as a coin
      6   reported as gone during a refresh melt, or a withdrawal requiring
      7   redenomination), kept for post-mortem debugging.
      8 
      9   **Request:**
     10 
     11     This operation takes no arguments (an empty object).
     12 
     13   **Response:**
     14 
     15     On success, the result is a `TestingGetFlightRecordsResponse`
     16     object.
     17 
     18 .. ts:def:: TestingGetFlightRecordsResponse
     19 
     20   interface TestingGetFlightRecordsResponse {
     21     flightRecords: FlightRecordEntry[];
     22   }
     23 
     24 .. ts:def:: FlightRecordEntry
     25 
     26   interface FlightRecordEntry {
     27     timestamp: TalerPreciseTimestamp;
     28     target: string;
     29     event: FlightRecordEvent;
     30   }
     31 
     32 .. ts:def:: FlightRecordEvent
     33 
     34   type FlightRecordEvent = "melt-gone" | "withdrawal-redenominate";