Extending API definition

This commit is contained in:
Nico Schottelius 2018-10-26 19:34:17 +02:00
parent eca92b40d2
commit 350a327053

View file

@ -27,9 +27,11 @@ Register a new app. Returns an app ID.
Request JSON object: Request JSON object:
{ {
version: "1",
appid: "your-app-uuid", appid: "your-app-uuid",
token: "current time based token" token: "current time based token",
name: "name of your web app" username: "user this app belongs to",
appname: "name of your web app"
} }
Response JSON object: Response JSON object:
@ -46,6 +48,7 @@ List all registered apps for the current user.
Request JSON object: Request JSON object:
{ {
version: "1",
appid: "your-app-uuid", appid: "your-app-uuid",
token: "current time based token" token: "current time based token"
} }
@ -71,6 +74,7 @@ Get seed for APP to be used as a token
Request JSON object: Request JSON object:
{ {
version: "1",
appid: "your-app-uuid", appid: "your-app-uuid",
token: "current time based token" token: "current time based token"
} }