taler-docs

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

get-config.rst (814B)


      1 .. http:get:: /config
      2 
      3   Return the protocol version and configuration information about the bank.
      4   This specification corresponds to ``current`` protocol being version **v0**.
      5 
      6   **Response:**
      7 
      8   :http:statuscode:`200 OK`:
      9     Response is a `Config`.
     10 
     11   **Details:**
     12 
     13   .. ts:def:: Config
     14 
     15     interface Config {
     16       // Name of the API.
     17       name: "taler-ebisync";
     18 
     19       // libtool-style representation of the Bank protocol version, see
     20       // https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
     21       // The format is "current:revision:age".
     22       version: string;
     23       
     24       // URN of the implementation (needed to interpret 'revision' in version).
     25       implementation: string;
     26 
     27       // SPA display version to be used in user interfaces.
     28       spa_version: string;
     29     }