MuscleMate / BackEnd

API for MuscleMate app
3 stars 0 forks source link

Add GET single tournament request #9

Closed VEXI19 closed 5 months ago

VEXI19 commented 6 months ago

Create GET request responsible for retrieving single tournament data. Remember to check if user trying to get the data is an owner of the tournament or is a contestant in the tournament (is on a contestants list). [user field with user id sending the request will be automatically added to the request body]

Example request

GET API_URL/tournaments/2h8fh9h43932

Path parameter