-
Notifications
You must be signed in to change notification settings - Fork 8
Document Lizardboard API(Closes #42) #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Moniarchy
commented
Nov 18, 2016
- Documented API and removed mongoose migrate from README
* Documented API and removed mongoose migrate from README
jrobcodes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Moniarchy Changes requested inline
| - Ensure `mongo` is running | ||
| - yarn install | ||
|
|
||
| ## HTTP API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just API should be fine here
| ## HTTP API | ||
| description | CRUD | verb | path | | ||
| -------------------------------------------- | ------ | ------ | ---------------------------------------- | | ||
| Show all users | read | get | /api/v1/users | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kind of nitpicky, but the column title says CRUD, but then entries are listed in RC order here. Can you please order entries in this table consistently (in order CRUD)?
| Update user by ID | update | put | /api/v1/users/:id | | ||
| Delete user by ID | delete | delete | /api/v1/users/:id | | ||
| Show all dashboards | read | get | /api/v1/dashboards | | ||
| Create a dashboard | create | post | /api/v1/dashboards | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the Create and Update endpoints, we need to somehow list the expected data and data types, so that users of the API know what they are expected to post/put/etc.