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
workoutID
Response
Response should contain all data connected to the tournament.
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
Response
Response should contain all data connected to the tournament.