From f8f82a24c62358f045841c5eeef5e825fd814d1b Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Mon, 22 Feb 2021 15:28:39 +0100 Subject: [PATCH] add community server api md, update community server --- community_server | 2 +- docu/community-server.api.md | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/community_server b/community_server index 3bbd8d0b7..0a30e2992 160000 --- a/community_server +++ b/community_server @@ -1 +1 @@ -Subproject commit 3bbd8d0b7cc5ba2f03a1d7e8c95f0f9290ae265a +Subproject commit 0a30e29924c1cc4e6f8b696aa562362c88182028 diff --git a/docu/community-server.api.md b/docu/community-server.api.md index a6d77e83f..4b70fc9c4 100644 --- a/docu/community-server.api.md +++ b/docu/community-server.api.md @@ -1 +1,14 @@ # community server api + +In this examples I assume that you use gradido with or docker-compose build on your local maschine + +## Konto Overview +return current account balance +Ajax: +GET http://localhost/state-balances/ajaxGetBalance/-127182 + +If session is valid, return: +{"state":"success","balance":174500} + +- balance: Gradido Cent, 4 Nachkommastellen (2 Reserve), 174500 = 17,45 GDD +