API Scheme
timkendall opened this issue · comments
Tim Kendall commented
API should follow the following scheme:
HTTP Verb | CRUD | Path | Action | Used To |
---|---|---|---|---|
GET | Retrieve | /users | index | Display a list of all users, or all users filtered by querystring |
GET | Retrieve | /users/:id | show | Display a specific user, found by params or querystring |
POST | Create | /users | create | Create a user |
PUT | Update | /users/:id | update | Update a specific user |
DELETE | Destroy | /users/:id | destroy | Delete a specific user |