[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: registration API
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: registration API |
Date: |
Mon, 17 Feb 2020 20:49:59 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 5d1aa42 registration API
5d1aa42 is described below
commit 5d1aa42f0a6b48b6e1c2ac8cbefeb3e0b99c1fa2
Author: Florian Dold <address@hidden>
AuthorDate: Mon Feb 17 20:49:57 2020 +0100
registration API
---
core/api-bank-access.rst | 37 ++++++++++++++++++++++++++++++++++---
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst
index 757a2e3..79d866c 100644
--- a/core/api-bank-access.rst
+++ b/core/api-bank-access.rst
@@ -16,9 +16,9 @@
@author Florian Dold
-=============================
-Taler Bank Account Access API
-=============================
+=====================
+Taler Bank Access API
+=====================
This chapter describes the API that the GNU Taler demonstrator bank offers to
access accounts.
@@ -26,6 +26,11 @@ This API differes from the "Bank Integration API" in that it
provides advanced A
to enabling wallets to withdraw with an better user experience ("tight
integration").
+------------------------
+Accounts and Withdrawals
+------------------------
+
+
.. http:get:: ${BANK_API_BASE_URL}/accounts/${account_name}/balance
Request the current balance of an account.
@@ -141,3 +146,29 @@ to enabling wallets to withdraw with an better user
experience ("tight integrati
:status 409 Conflict: The reserve operation has been aborted previously and
can't be confirmed.
+
+
+----------------------
+Registration (Testing)
+----------------------
+
+
+.. http:POST:: ${BANK_API_BASE_URL}/testing/register
+
+ Create a new bank account. This endpoint should be disabled for most
deployments, but is useful
+ for automated testing / integration tests.
+
+ **Request**
+
+ .. ts:def:: BankRegistrationRequest
+
+ interface BankRegistrationRequest {
+ username: string;
+
+ password: string;
+ }
+
+
+ **Response**
+
+ :status 200 OK: Registration was successful
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: registration API,
gnunet <=