gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-api] branch master updated: specing out /admin/add/i


From: gnunet
Subject: [GNUnet-SVN] [taler-api] branch master updated: specing out /admin/add/incoming from the bank
Date: Thu, 30 Mar 2017 18:28:05 +0200

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

marcello pushed a commit to branch master
in repository api.

The following commit(s) were added to refs/heads/master by this push:
     new c57e9c4  specing out /admin/add/incoming from the bank
c57e9c4 is described below

commit c57e9c42118c2eda10a6d768f6dd5fdbe399a20d
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Mar 30 18:28:05 2017 +0200

    specing out /admin/add/incoming from the bank
---
 api/api-bank.rst | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/api/api-bank.rst b/api/api-bank.rst
index a4382a2..1d5e2f1 100644
--- a/api/api-bank.rst
+++ b/api/api-bank.rst
@@ -25,8 +25,9 @@ needs to give real money to the merchant.
 Administrative API
 ------------------
 
-This is `local` API, meant to make the bank communicate with trusted entities,
-namely exchanges.
+This API allows one user to send money to another user, withing the same "test"
+bank.  The user calling it has to authenticate by including his credentials in 
the
+request.
 
 .. _bank-deposit:
 .. http:post:: /admin/add/incoming
@@ -46,6 +47,12 @@ namely exchanges.
 
   interface BankDepositRequest {
 
+    // The username of the user calling this API.
+    username: string;
+
+    // Password of the user calling this API.
+    password: string;
+
     // JSON 'amount' object. The amount the caller wants to transfer
     // to the recipient's count
     amount: Amount;

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



reply via email to

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