Favourite an exercise or drill

POST {{baseUrl}}/{{version}}/exercises/favourites/{{drill_id}}

The player has the possibility to mark a particular exercise as favourite.

This endpoint will allow you to add an exercise to favourite list by exercise Unique Identification (UID) exercise_id

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringA valid JWT token

RESPONSES

status: OK

{"error":false,"code":200,"message":"Exercise has been added to the list.","result":[{"drill_id":49,"workout_id":6,"drill_name":"Squats","drill_description":"Facing the camera, make sure your feet are hip-width apart. and they should keep their weight in their heels. Lower into a squat by bending your knees and hips. Lower your hips until your thighs are parallel to the ground. Make sure your weight is in your heels. Then stand back up, pushing through your heels to return to the starting position. Repeat motion.","drill_level":"high","drill_reps":"5","drill_duration":null,"drill_media":"https://www.youtube.com/watch?v=F-OUokiujyyyY","drill_configuration":"{\"orientation\":\"landscape\",\"positions\":[{\"sequence_name\":\"facing forward\",\"sequence_count_label\":\"Reps\",\"positions\":[[{\"angle\":-20,\"margin\":20,\"connection\":\"leftUpperLeg\"},{\"angle\":-157,\"margin\":20,\"connection\":\"rightUpperLeg\"}],[{\"angle\":-81,\"margin\":20,\"connection\":\"leftUpperLeg\"},{\"angle\":-98,\"margin\":20,\"connection\":\"rightUpperLeg\"}]]},{\"sequence_name\":\"left side\",\"sequence_count_label\":\"Reps\",\"positions\":[[{\"angle\":-173,\"margin\":20,\"connection\":\"leftUpperLeg\"},{\"angle\":-171,\"margin\":20,\"connection\":\"rightUpperLeg\"}],[{\"angle\":-98,\"margin\":20,\"connection\":\"leftUpperLeg\"},{\"angle\":-97,\"margin\":20,\"connection\":\"rightUpperLeg\"}]]},{\"sequence_name\":\"right side\",\"sequence_count_label\":\"Reps\",\"positions\":[[{\"angle\":-13,\"margin\":20,\"connection\":\"leftUpperLeg\"},{\"angle\":-11,\"margin\":20,\"connection\":\"rightUpperLeg\"}],[{\"angle\":-87,\"margin\":20,\"connection\":\"leftUpperLeg\"},{\"angle\":-88,\"margin\":20,\"connection\":\"rightUpperLeg\"}]]}]}","created_at":"2021-09-27T09:34:11.000000Z","updated_at":"2022-11-23T16:00:17.000000Z","drill_image1":"https://files.teamsportz.app/drills/49_16500004876.png","drill_image2":"https://files.teamsportz.app/drills/49_10000012.png","deleted_at":null,"drill_category":"endurance","drill_s3media":"https://videos.teamsportz.pro/videolibrary/team_43/video/exercise/1_Qo-999957.mp4","drill_is_live":1,"drill_configuration2":null,"drill_category_workout":null,"drill_category_type":"active","drill_muscle_group":"lower body","sport_id":null,"org_id":null,"team_id":null,"workout_name":"Conditioning"},{"drill_id":8,"workout_id":6,"drill_name":"Holding squat","drill_description":"Facing the camera, stand with your feet shoulder-width apart. Lower your body into a squat position, making sure to keep your knees behind your toes, weight in your heels, and hold the position for the desired amount of time.","drill_level":"medium","drill_reps":"","drill_duration":"60","drill_media":"https://www.youtube.com/watch?v=9000000A","drill_configuration":"{\"positions\":[{\"sequence_name\":\"Facing forward (normal)\",\"sequence_label_count\":\"Reps\",\"positions\":[[{\"connection\":\"leftUpperLeg\",\"angle\":\"-16\",\"margin\":\"20\"},{\"connection\":\"leftLowerLeg\",\"angle\":\"-92\",\"margin\":\"15\"},{\"connection\":\"rightUpperLeg\",\"angle\":\"-166\",\"margin\":\"20\"},{\"connection\":\"rightLowerLeg\",\"angle\":\"-91\",\"margin\":\"15\"}]],\"sequence_count_label\":\"Reps\"},{\"sequence_name\":\"Facing forward (deep)\",\"sequence_count_label\":\"Reps\",\"positions\":[[{\"connection\":\"leftUpperLeg\",\"angle\":\"2\",\"margin\":10},{\"connection\":\"leftLowerLeg\",\"angle\":\"-91\",\"margin\":10},{\"connection\":\"rightUpperLeg\",\"angle\":\"176\",\"margin\":10},{\"connection\":\"rightLowerLeg\",\"angle\":\"-88\",\"margin\":10}]]}],\"orientation\":\"lanscape\"}","created_at":"2022-05-02T18:17:26.000000Z","updated_at":"2022-08-08T18:46:11.000000Z","drill_image1":"https://files.teamsportz.app/drills/68_16999994369.png","drill_image2":"https://files.teamsportz.app/drills/68_19999984370.png","deleted_at":null,"drill_category":"performance","drill_s3media":"https://videos.teamsportz.pro/videolibrary/team_43/video/exercise/1_yjhCo9996.mp4","drill_is_live":1,"drill_configuration2":null,"drill_category_workout":null,"drill_category_type":"holding","drill_muscle_group":"lower body","sport_id":null,"org_id":null,"team_id":null,"workout_name":"Conditioning"}]}