libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 64b39297300932d181988aa00fc533c808b78208
parent 4695b221dbfd4b35ff97b70dc9dd5821269ea08e
Author: Marcello Stanisci <ms@taler.net>
Date:   Fri,  8 May 2020 15:45:06 +0200

new API mere endpoints definition

Diffstat:
Mnexus/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 @@ -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)