Beginning implementation of the planned API endpoints.
This commit is contained in:
16
api/api.txt
16
api/api.txt
@@ -3,10 +3,10 @@ Personal Measure API
|
||||
|
||||
### Measure
|
||||
|
||||
☐ GET /measure Get a list of all defined measures for this user.
|
||||
☐ POST /measure Create a new measure (post the definition).
|
||||
☐ GET /measure/<measure-slug> Get the definition for a specific measure.
|
||||
☐ DELETE /measure/<measure-slug> Delete a measure (and all values associated with it).
|
||||
☐ GET /measures Get a list of all defined measures for this user.
|
||||
☐ POST /measures Create a new measure (post the definition).
|
||||
☐ GET /measures/<measure-slug> Get the definition for a specific measure.
|
||||
☐ DELETE /measures/<measure-slug> Delete a measure (and all values associated with it).
|
||||
|
||||
### Values
|
||||
|
||||
@@ -18,9 +18,11 @@ Personal Measure API
|
||||
|
||||
### Auth
|
||||
|
||||
☐ GET /auth-token Given a valid username/password combo, get an auth token.
|
||||
☐ GET /user Given a valid auth token, return the user details.
|
||||
☐ PSOT /app-token With a valid session, create a new app token.
|
||||
☑ 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.
|
||||
|
||||
Legend
|
||||
------
|
||||
|
||||
Reference in New Issue
Block a user