WIP Implementing API tokens.

This commit is contained in:
2019-02-19 13:26:35 -06:00
parent 706713f57a
commit c98497526e
10 changed files with 119 additions and 44 deletions

View File

@@ -20,9 +20,9 @@ Personal Measure API
☑ GET /auth-token Given a valid username/password combo, get an auth token.
☑ GET /user Given a valid auth token, return the user details.
GET /api-tokens List api tokens.
DELETE /api-tokens/<id> Delete a specific api token.
POST /api-tokens With a valid session, create a new api token.
GET /api-tokens List api tokens.
DELETE /api-tokens/<id> Delete a specific api token.
POST /api-tokens With a valid session, create a new api token.
Legend
------