Browse Source

Update README.md

main
Haris Razis 3 years ago
parent
commit
5312bdf01e
  1. 10
      README.md

10
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}`

Loading…
Cancel
Save