diff options
author | MS <ms@taler.net> | 2021-01-13 11:01:24 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2021-01-13 11:01:24 +0100 |
commit | c1f3909466600345488557e2cee9ac638a4a2a31 (patch) | |
tree | 455b7fb6b57abb226397b40cd39b13fc60ce3d77 | |
parent | 263037c68a87dac8d208487ca338be7283aa294f (diff) | |
download | docs-c1f3909466600345488557e2cee9ac638a4a2a31.tar.gz docs-c1f3909466600345488557e2cee9ac638a4a2a31.tar.bz2 docs-c1f3909466600345488557e2cee9ac638a4a2a31.zip |
use Any on unknown types
-rw-r--r-- | libeufin/api-nexus.rst | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst index 64fc48e5..0fd08743 100644 --- a/libeufin/api-nexus.rst +++ b/libeufin/api-nexus.rst @@ -675,13 +675,18 @@ to the real bank. Facades ------- +.. http:get:: <nexus>/facades/{fcid} + + **Response:** A `FacadeShowInfo` pointed to by ``fcid``. + + .. http:get:: <nexus>/facades List available facades that belong to the requesting user. **Response:** A list of the following elements: - .. code-block:: ts +.. ts:def:: FacadeShowInfo interface FacadeShowInfo { @@ -694,17 +699,18 @@ Facades // Bas URL of the facade. baseUrl: string; + + // details depending on the facade type. + config: any; } .. http:post:: {nexus}/facades - Create a new facade; it requires a `FacadeInfo` as the request's body. - -.. http:get:: {nexus}/facades/${fcid} + Create a new facade. - Get details about a facade. + **Request:** - .. ts:def:: FacadeInfo + .. code-block:: ts interface FacadeInfo { // Name of the facade, same as the "fcid" parameter. |