Extending API definition

This commit is contained in:
Nico Schottelius 2018-10-26 19:34:17 +02:00
parent eca92b40d2
commit 350a327053
1 changed files with 6 additions and 2 deletions

View File

@ -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"
}