Skip to content

Conversation

@Moniarchy
Copy link
Contributor

  • Documented API and removed mongoose migrate from README

* Documented API and removed mongoose migrate from README
Copy link
Contributor

@jrobcodes jrobcodes left a 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
Copy link
Contributor

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 |
Copy link
Contributor

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 |
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants