From 350a327053340749e1c1d8249b2f1f8118cb57f2 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 26 Oct 2018 19:34:17 +0200 Subject: [PATCH] Extending API definition --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c7c3cf..bca6616 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,11 @@ Register a new app. Returns an app ID. Request JSON object: { + version: "1", appid: "your-app-uuid", - token: "current time based token" - name: "name of your web app" + token: "current time based token", + username: "user this app belongs to", + appname: "name of your web app" } Response JSON object: @@ -46,6 +48,7 @@ List all registered apps for the current user. Request JSON object: { + version: "1", appid: "your-app-uuid", token: "current time based token" } @@ -71,6 +74,7 @@ Get seed for APP to be used as a token Request JSON object: { + version: "1", appid: "your-app-uuid", token: "current time based token" }