update readme

This commit is contained in:
Bevan Hunt 2021-04-30 17:58:29 -07:00
parent 791c1b6d6b
commit 268b3acf9f
1 changed files with 3 additions and 2 deletions

View File

@ -154,6 +154,7 @@ will return: `200` or `500` or `401`
"token": [122,133,229,196,134,20,240,80,159,158,154,20,57,35,198,7,156,160,193,224,174,209,51,150,27,86,75,122,172,24,114,121],
"expiry": 1618352841,
"username": "bob",
"scopes": ["news:get", "news:post"]
}
```
@ -196,7 +197,7 @@ POST /list_users
- public endpoint
```json
{
"admin_token": "letmein",
"admin_token": "letmein"
}
```
@ -324,7 +325,7 @@ POST /create_totp
```json
{
"admin_token": "letmein",
"username": "bob",
"username": "bob"
}
```
will return: `200` or `500` or `400` or `401`