Browse Source

Update README.md

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

10
README.md

@ -37,6 +37,12 @@ Returns current user.
## API ## API
### User
**PUT** `/api/user/{user._id}`
Updates a user matching the given _id.
### Athletes ### Athletes
**GET** `/api/athletes` **GET** `/api/athletes`
@ -47,9 +53,9 @@ Returns an array of athletes objects.
Returns an athlete object for a given _id. 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}` **DELETE** `/api/athlete/{user._id}`

Loading…
Cancel
Save