gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: new API mere endpoints definition


From: gnunet
Subject: [libeufin] branch master updated: new API mere endpoints definition
Date: Fri, 08 May 2020 15:45:32 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 64b3929  new API mere endpoints definition
64b3929 is described below

commit 64b39297300932d181988aa00fc533c808b78208
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri May 8 15:45:06 2020 +0200

    new API mere endpoints definition
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Main2.kt | 35 +++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main2.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main2.kt
index ac39b37..e5d6cfe 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main2.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main2.kt
@@ -138,9 +138,42 @@ fun main() {
             /** GENERAL / DEBUG ENDPOINTS */
 
             get("/") {
-                call.respondText("Hello by Nexus!\n")
+                call.respondText("Hello by nexus!\n")
                 return@get
             }
+            get("/user") {
+                return@get
+            }
+            post("/users") {
+                return@post
+            }
+            get("/bank-accounts") {
+                return@get
+            }
+            post("/bank-accounts/{accountid}/prepared-payments/submit") {
+                return@post
+            }
+            get("/bank-accounts/{accountid}/prepared-payments/{uuid}") {
+                return@get
+            }
+            post("/bank-accounts/{accountid}/prepared-payments") {
+                return@post
+            }
+            post("/bank-accounts/{accountid}/collected-transactions") {
+                return@post
+            }
+            get("/bank-accounts/{accountid}/collected-transactions") {
+                return@post
+            }
+            post("/bank-transports") {
+                return@post
+            }
+            post("/bank-transports/{transportName}/send{MSG}") {
+                return@post
+            }
+            post("/bank-transports/{transportName}/sync{MSG}") {
+                return@post
+            }
         }
         logger.info("Up and running")
         server.start(wait = true)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]