List training goals for a team
GET {{baseUrl}}/{{version}}/traininggoals?team_id=100&status=1&limit=50
This endpoint allow you to get the list of training goals of a team by team Unique Identification (UID) team_id
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
team_id | number | required | |
status | number | nullable | |
limit | number | nullable | |
user_id | number | nullable |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"List of exercises","result":[{"drill_id":41,"workout_id":6,"drill_name":"Sit-ups","drill_description":"Face directly to the side in relation to your camera. Lay down on your back with your knees bent, feet flat on the ground, and then engage your core to raise your torso up and towards your knees. Then, return to your laying position, ensuring your core is engaged the way back down. Repeat movement.","drill_level":"medium","drill_reps":"5","drill_duration":"","drill_media":"https://www.youtube.com/watch?v=HYZmxRTUFdU","drill_configuration":"{\"positions\":[{\"sequence_name\":\"Situps (left side)\",\"positions\":[[{\"connection\":\"leftTrunk\",\"angle\":\"-170\",\"margin\":\"20\"}],[{\"connection\":\"leftTrunk\",\"angle\":\"-93\",\"margin\":\"20\"}]],\"sequence_count_label\":\"Reps\"},{\"sequence_name\":\"Situps (right side)\",\"sequence_count_label\":\"Reps\",\"positions\":[[{\"connection\":\"rightTrunk\",\"angle\":\"-3\",\"margin\":\"20\"}],[{\"connection\":\"rightTrunk\",\"angle\":\"-90\",\"margin\":\"20\"}]]}],\"orientation\":\"lanscape\"}","created_at":"2021-07-07T20:25:27.000000Z","updated_at":"2022-08-08T13:15:40.000000Z","drill_image1":"https://files.teamsportz.app/drills/41_1659964539.png","drill_image2":"https://files.teamsportz.app/drills/41_1659964540.png","deleted_at":null,"drill_category":"endurance","drill_s3media":"https://files.teamsportz.app/videolibrary/team_43/video/exercise/Situps.mp4","drill_is_live":1,"drill_configuration2":null,"drill_category_workout":null,"drill_category_type":"active","drill_muscle_group":"core","sport_id":null,"org_id":null,"team_id":null,"workout_name":"Conditioning"}]}