commit 8adf148a388d595c4b964c4d14abfe8975805d3e
parent b8e656ca832da0ade6d465269185440b91370796
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Wed, 22 Nov 2017 17:09:30 +0100
optional "direction" /history argument
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api-bank.rst b/api-bank.rst
@@ -131,7 +131,7 @@ User API
:query auth: authentication method used. At this stage of development, only value `basic` is accepted. Note that username and password need to be given as request's headers. The dedicated headers are: `X-Taler-Bank-Username` and `X-Taler-Bank-Password`.
:query delta: returns the first `N` records younger (older) than `start` if `+N` (`-N`) is specified.
:query start: according to `delta`, only those records with row id strictly greater (lesser) than `start` will be returned. This argument is optional; if not given, `delta` youngest records will be returned.
- :query direction: optional argument taking values `debit` or `credit`, according to the caller willing to receive both incoming and outgoing, only outgoing, or only incoming records.
+ :query direction: optional argument taking values `debit` or `credit`, according to the caller willing to receive both incoming and outgoing, only outgoing, or only incoming records. Takes `credit` by default.
:query account_number: optional argument indicating the bank account number whose history is to be returned. If not given, then the history of the calling user will be returned.
**Response**