More status

This commit is contained in:
Nico Schottelius 2018-10-26 19:51:33 +02:00
parent c64b2120b0
commit b97105ff40

View file

@ -127,6 +127,7 @@ Request JSON object:
Response JSON object: Response JSON object:
```
{ {
status: "OK", status: "OK",
apps: [ apps: [
@ -140,6 +141,7 @@ Response JSON object:
} }
] ]
} }
```
### GET /app/UUID ### GET /app/UUID
@ -147,18 +149,22 @@ Get seed for APP to be used as a token
Request JSON object: Request JSON object:
```
{ {
version: "1", version: "1",
appid: "your-app-uuid", appid: "your-app-uuid",
token: "current time based token" token: "current time based token"
} }
```
Response JSON object: Response JSON object:
```
{ {
status: "OK",
seed: "seed of your app" seed: "seed of your app"
} }
```
## Usage: OTP ## Usage: OTP