Fetch a specific app layouts

GET {{baseUrl}}/layouts?screen=training

This endpoint returns the specific layouts.

Request Params

KeyDatatypeRequiredDescription
screenstringrequired

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringA valid JWT token

RESPONSES

status: OK

{"screen":"training","title":"","inherited":false,"modules":[{"render_type":"static","uid":"setup","type":"","api":"","data":[{"title":"","sub_title":"Learn how to setup","video":"https://files.teamsportz.app/videolibrary/Setup.mp4","image":"https://files.teamsportz.app/assets/app/Setup.png"}]},{"render_type":"static","uid":"title","type":"","api":"","data":[{"title":"","sub_title":"Favourites"}]},{"render_type":"dynamic","uid":"favourites","type":"scrollable","api":"/v1/exercises/favourites","screen":"favouriteExerciseScreen","method":"get","filter":"","tap_request":"/v1/exercises/favourites?team_id=\u0026status=1","data":[]},{"render_type":"static","uid":"title","type":"","api":"","data":[{"title":"","sub_title":"Muscle groups"}]},{"render_type":"static","uid":"muscle_group","type":"","api":"","screen":"","method":"","filter":"","tap_request":"","data":[{"upper_body":[{"copy":"Upper body","method":"get","tap_request":"/v1/exercises?muscle_group=upper body\u0026team_id=\u0026no_pagination=1\u0026sort_name=name\u0026limit=100\u0026status=1","image":"https://files.teamsportz.app/assets/app/upper_body_m_02.png","screen":"muscleListScreen","filter":"category","description":""}],"core":[{"copy":"Core","method":"get","tap_request":"/v1/exercises?muscle_group=core\u0026team_id=\u0026no_pagination=1\u0026sort_name=name\u0026limit=100\u0026status=1","image":"https://files.teamsportz.app/assets/app/core_m_02.png","screen":"muscleListScreen","filter":"category","description":""}],"lower_body":[{"copy":"Lower body","method":"get","tap_request":"/v1/exercises?muscle_group=lower body\u0026team_id=\u0026no_pagination=1\u0026sort_name=name\u0026limit=100\u0026status=1","image":"https://files.teamsportz.app/assets/app/lower_body_m_02.png","screen":"muscleListScreen","filter":"category","description":""}]}]},{"render_type":"static","uid":"title","type":"","api":"","data":[{"title":"","sub_title":"Increase strength"}]},{"render_type":"static","uid":"increase_strength","type":"","api":"","screen":"categoryListScreen","method":"get","filter":"muscle","tap_request":"/v1/exercises?category=holding\u0026no_pagination=1\u0026sort_name=name\u0026limit=100\u0026status=1","data":[{"number_of_exercises":"4","sub_title":"Holding exercises","image":"https://files.teamsportz.app/assets/app/increase_m_strength_02.png","description":""}]},{"render_type":"static","uid":"title","type":"","api":"","data":[{"title":"","sub_title":"New exercises"}]},{"render_type":"dynamic","uid":"exercise","type":"scrollable","api":"/v1/exercises?limit=3\u0026no_pagination=1\u0026status=1","screen":"exerciseScreen","method":"get","filter":"","tap_request":"/v1/exercises/{{exercise_id}}","data":[]},{"render_type":"static","uid":"title","type":"","api":"","data":[{"title":"","sub_title":"Basketball drills"}]},{"render_type":"static","uid":"sport_drills","type":"listing","api":"","image":"https://files.teamsportz.app/assets/app/basketball_skills_01.png","screen":"","method":"get","filter":"","tap_request":"/v1/exercises?category=reaction\u0026sport=Basketball\u0026team_id=\u0026status=1","data":[{"number_of_exercises":"3","sub_title":"Reaction \u0026 ball skills","image":"https://files.teamsportz.app/assets/app/basketball_skills_01.png","description":"Train yourself to be mentally flexible so you can make on-the-spot decisions that can benefit the team. Training your reaction time and ball handling gives you the time you need to develop your game IQ"}]},{"render_type":"static","uid":"feedback","type":"","api":"","screen":"","method":"","filter":"","tap_request":"","data":[{"method":"get","copy":"Do you have feedback?","screen":"surveys","tap_request":"https://teamsportz.typeform.com/to/kRkjTr8C","hidden":[{"user_id":"{{user_id}}","user_email":"{{user_email}}","user_sport":"{{profile_sport}}","user_name":"{{profile_first_name}}"}]}]}]}