MuscleMate / BackEnd

API for MuscleMate app
3 stars 0 forks source link

Add PUT tournament request #10

Closed VEXI19 closed 6 months ago

VEXI19 commented 6 months ago

Create PUT request resonsible for updating a tournament. Remember to check if the person trying to update the tournament is the owner of the tournament or an admin (is on an admin list).

Example request

PUT API_URL/tournaments/fj8190j8sa0jf802

Body

Required:

Path parameter

Response

Response should contain tournamentID.