Improve documentation

This commit is contained in:
Corder Guy 2018-04-17 14:37:05 -05:00
parent db1b48ee02
commit 1df6899472

View file

@ -3,8 +3,9 @@
Base url = `https://corder.tech`
| Endpoint | Return |
| ------------------------ | ------------------------------ |
| `/mocha/users/{user_id}` | row with the given user |
| `/mocha/users/*` | all rows |
| `/mocha/top/{n}` | user with the n highest scores |
| Endpoint | Return | Implemented? |
| ---------------------------------- | ------------------------------ | ------------ |
| `/mocha/users/{user_id}` | row with the given user | Yes |
| `/mocha/users/*` | all rows | Yes |
| `/mocha/top/{n}` | user with the n highest scores | No |
| `/mocha/set/{user_id}/{num_steps}` | 200 OK if successful | No |