taler-docs

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

get-config.rst (707B)


      1 .. http:get:: /config
      2 
      3   Return the protocol version, financial domain and currency supported by this
      4   Donau backend.
      5 
      6   **Response:**
      7 
      8   :http:statuscode:`200 OK`:
      9     The body is a `DonauVersionResponse`.
     10 
     11   .. ts:def:: DonauVersionResponse
     12 
     13     interface DonauVersionResponse {
     14       // libtool-style representation of the Donau protocol version, see
     15       // https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
     16       // The format is "current:revision:age".
     17       version: string;
     18 
     19       // Name of the protocol.
     20       name: "donau";
     21 
     22       // Currency supported by this Donau.
     23       currency: string;
     24 
     25       // Financial domain by this Donau.
     26       domain: string;
     27 
     28     }