taler-docs

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

commit fb606461e18971205fc6e2a3d9bec0dd3a189084
parent db83b526373744c4e652827a45f1d7c97d9235d2
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 26 Jan 2021 21:45:55 +0100

Merge branch 'master' of git+ssh://git.taler.net/docs

Diffstat:
Mlibeufin/api-nexus.rst | 33++++++++++++++++++++++-----------
1 file changed, 22 insertions(+), 11 deletions(-)

diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst @@ -72,6 +72,19 @@ User Management password: string; } +.. http:post:: {nexusBase}/users/password + + Change password of a user. The username is extracted from + the HTTP authentication parameters. + + **Request:** + + .. code-block:: ts + + interface UserChangePassword { + newPassword: string; + } + .. http:post:: {nexusBase}/users Create a new user. Only a superuser can call this API. @@ -619,6 +632,8 @@ to the real bank. **Response** + A JSON object whose ``bankConnections`` element is a list of the following type: + .. ts:def:: BankConnection interface BankConnection { @@ -639,17 +654,13 @@ to the real bank. .. ts:def:: BankConnectionInfo interface BankConnectionInfo { - bankConnectionId: string; - - bankConnectionType: string; - - // Is this bank connection ready, or - // are we waiting for the bank to activate - // the connection? - ready: boolean; - - // Did the user review the bank's keys? - bankKeysReviewed: boolean; + type: string; + owner: string; + // if true, this connection can be used to communicate + // with the bank. + ready: boolean; + // Depends on the type. + details: any; }