34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
Personal Measure API
|
|
====================
|
|
|
|
### Measure
|
|
|
|
☐ 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
|
|
|
|
☐ GET /<measure-slug> Get a list of values for a measure.
|
|
☐ POST /<measure-slug> Add a new value for a measure.
|
|
☐ GET /<measure-slug>/<id> Get the details for a specific value by id.
|
|
☐ PUT /<measure-slug>/<id> Update a value by id.
|
|
☐ DELETE /<measure-slug> Delete a value by id.
|
|
|
|
### 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.
|
|
☐ 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
|
|
------
|
|
|
|
☐ TODO
|
|
☑ Done
|
|
☒ Will not do
|
|
|