MuscleMate / BackEnd

API for MuscleMate app
3 stars 0 forks source link

Add GET single workout request #4

Closed VEXI19 closed 7 months ago

VEXI19 commented 8 months ago

Create GET request responsible for retrieving single workout data. Remember to check if user trying to get the data is an owner of the workout, was part of workout (is on a company list) or was granted an access (is on an access list). U can get userID from body (field user)

Example request

GET API_URL/workouts/2h8fh9h43932?userID=fja8f1j23fj9

Path parameter