taler-docs

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

get-config.rst (926B)


      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       // Release version of the source code.
     20       // The format is MAJOR.MINOR.MICOR[-GITDATA]
     21       // and generally follows the "-v" option of the codebase.
     22       // Since **v1**.
     23       build_version: string;
     24 
     25       // Name of the protocol.
     26       name: "donau";
     27 
     28       // Currency supported by this Donau.
     29       currency: string;
     30 
     31       // Financial domain by this Donau.
     32       legal_domain: string;
     33 
     34     }