gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: specify /config API for bank (#6066)


From: gnunet
Subject: [taler-docs] branch master updated: specify /config API for bank (#6066)
Date: Tue, 04 Feb 2020 21:45:34 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 0ec8831  specify /config API for bank (#6066)
0ec8831 is described below

commit 0ec883104a3908049763c25c8b3873d137f65a43
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 4 21:45:32 2020 +0100

    specify /config API for bank (#6066)
---
 core/api-bank.rst | 32 +++++++++++++++++++++++++++++---
 1 file changed, 29 insertions(+), 3 deletions(-)

diff --git a/core/api-bank.rst b/core/api-bank.rst
index 7fc1255..0b7b971 100644
--- a/core/api-bank.rst
+++ b/core/api-bank.rst
@@ -1,7 +1,7 @@
 ..
   This file is part of GNU TALER.
 
-  Copyright (C) 2014, 2015, 2016, 2017 Taler Systems SA
+  Copyright (C) 2014-2020 Taler Systems SA
 
   TALER is free software; you can redistribute it and/or modify it under the
   terms of the GNU General Public License as published by the Free Software
@@ -26,6 +26,34 @@ to tightly integrate with GNU Taler.
 
 .. contents:: Table of Contents
 
+.. http:get:: /config
+
+  Get a configuration information about the bank.
+
+  **Request:**
+
+  **Response:**
+
+  :status 200 OK:
+    The exchange responds with a `BankVersion` object. This request should
+    virtually always be successful.
+
+  **Details:**
+
+  .. ts:def:: BankVersion
+
+    interface BankVersion {
+      // libtool-style representation of the Bank protocol version, see
+      // 
https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
+      // The format is "current:revision:age".
+      version: string;
+
+      // currency used by this bank
+      currency: string;
+
+    }
+
+
 -----------
 Withdrawing
 -----------
@@ -145,5 +173,3 @@ of the wallet's integration tests.
 .. http:post:: ${BANK_API_BASE_URL}/testing/withdraw
 
 .. http:post:: ${BANK_API_BASE_URL}/testing/withdraw-uri
-
-  

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]