Extending API definition
This commit is contained in:
parent
eca92b40d2
commit
350a327053
1 changed files with 6 additions and 2 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue