commit 8e2819799061f48a5f54ac4a51ea7db62cd10704
parent b32fbfdf32921909e8ccc4eadb5a0c7cc911bdc0
Author: MS <ms@taler.net>
Date: Fri, 13 Nov 2020 13:41:23 +0100
nexus /service-config API
Diffstat:
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst
@@ -9,6 +9,23 @@ HTTP API
Configuration
-------------
+Returns configuration values currently used by the Nexus process.
+This API is mostly used by testing jobs.
+
+.. http:get:: {nexusBase}/service-config
+
+ **Response:**
+
+ .. ts:def:: ServiceConfigResponse
+
+ interface ConfigResponse {
+
+ // Connection string to the database.
+ dbConn: string;
+ }
+
+
+
Returns configuration values currently used by Nexus.
.. http:get:: {nexusBase}/config
@@ -23,12 +40,6 @@ Returns configuration values currently used by Nexus.
// nexus version, X.Y.Z format.
version: string;
-
- // Database name
- databaseName: string;
-
- // Database type: "postgres", "sqlite", ..
- databaseType: string;
}