diff --git a/README.md b/README.md index 255349d..f9c08a1 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,12 @@ Returns current user. ## API +### User + +**PUT** `/api/user/{user._id}` + +Updates a user matching the given _id. + ### Athletes **GET** `/api/athletes` @@ -47,9 +53,9 @@ Returns an array of athletes objects. Returns an athlete object for a given _id. -**GET** || **PUT** `/api/athlete/{user._id}/edit` +**PUT** `/api/athlete/{user._id}` -Edits an athlete matching the given _id. +Updates an athlete matching the given _id. **DELETE** `/api/athlete/{user._id}`