From 6a6d05514267cd04fdd10bc1414a327f7aa273e8 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 19 May 2020 19:45:06 +0530 Subject: facades docs --- libeufin/api-nexus.rst | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'libeufin/api-nexus.rst') diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst index 4b721eea..b0ea56c1 100644 --- a/libeufin/api-nexus.rst +++ b/libeufin/api-nexus.rst @@ -333,6 +333,47 @@ to the real bank. LibEuFin accounts they are connected to. +Facades +------- + +.. http:get:: /facades + + List available facades. + +.. http:get:: /facade/${fcid} + + Get details about a facade. + + .. ts:def:: FacadeInfo + + interface FacadeInfo { + // Name of the facade, same as the "fcid" parameter. + name: string; + + // Type of the facade. + // For example, "taler-wire-gateway". + type: string; + + // Name of the user that created the facade. + // Whenever the facade accesses a resource it is allowed to + // access, the creator must *also* have access to that resource. + creator: string; + + // Bank accounts that the facade has read/write + // access to. + bankAccountsRead: string[]; + bankAccountsWrite: string[]; + + // Bank connections that the facade has read/write + // access to. + bankConnectionsRead: string[]; + bankConnectionsWrite: string[]; + + // Facade-specific configuration details. + config: any; + } + + EBICS-specific APIs ------------------- -- cgit v1.2.3