[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: template for new restore-backup API en
From: |
gnunet |
Subject: |
[libeufin] branch master updated: template for new restore-backup API endpoint |
Date: |
Tue, 28 Jan 2020 15:36:08 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 2152dd2 template for new restore-backup API endpoint
2152dd2 is described below
commit 2152dd260b5e0e188ca806c67858fe5b3f304ec7
Author: Florian Dold <address@hidden>
AuthorDate: Tue Jan 28 15:36:02 2020 +0100
template for new restore-backup API endpoint
---
nexus/src/main/kotlin/Main.kt | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/nexus/src/main/kotlin/Main.kt b/nexus/src/main/kotlin/Main.kt
index e0094fb..6ec477b 100644
--- a/nexus/src/main/kotlin/Main.kt
+++ b/nexus/src/main/kotlin/Main.kt
@@ -227,6 +227,13 @@ fun main() {
return@post
}
+ post("/ebics/subscribers/{id}/restore-backup") {
+ // Creates a *new* customer with nexus-internal identifier "id"
+ // and imports the backup into it.
+ // This endpoint *fails* if a subscriber with the same
nexus-internal id
+ // already exists.
+ }
+
get("/ebics/subscribers/{id}/sendHtd") {
val id = expectId(call.parameters["id"])
val subscriberData = transaction {
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: template for new restore-backup API endpoint,
gnunet <=