-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
218 lines (218 loc) · 9.75 KB
/
openapi.yaml
File metadata and controls
218 lines (218 loc) · 9.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
openapi: 3.0.4
info:
title: Exercises
description: >-
Exercises is a simple tool for getting exercise information. It returns
information on various exercises.
termsOfService: https://apiverve.com/terms/
contact:
name: APIVerve Support
email: hello@apiverve.com
url: https://apiverve.com/contact
version: 1.0.0
externalDocs:
description: Learn more about APIVerve
url: https://docs.apiverve.com?utm_source=openapi
servers:
- url: https://api.apiverve.com/
paths:
/v1/exercises:
get:
summary: Get Exercise Information
description: >-
Exercises is a simple tool for getting exercise information. It returns
information on various exercises.
operationId: exercises
parameters:
- name: muscle
in: query
schema:
type: string
required: false
description: The muscle group to get exercises for
example: chest
- name: name
in: query
schema:
type: string
required: false
description: The name of the exercise to get information about
example: barbell
- name: equipment
in: query
schema:
type: string
required: false
description: The equipment used for the exercise
example: barbell
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
properties:
status:
type: string
description: status
error:
type: string
description: error
data:
type: object
description: data
example:
status: ok
error: null
data:
count: 5
filteredOn:
- name
- muscle
exercises:
- name: Barbell Ab Rollout
force: pull
level: intermediate
mechanic: compound
equipment: barbell
instructions:
- >-
For this exercise you will need to get into a pushup
position, but instead of having your hands of the
floor, you will be grabbing on to an Olympic barbell
(loaded with 5-10 lbs on each side) instead. This will
be your starting position.
- >-
While keeping a slight arch on your back, lift your
hips and roll the barbell towards your feet as you
exhale. Tip: As you perform the movement, your glutes
should be coming up, you should be keeping the abs
tight and should maintain your back posture at all
times. Also your arms should be staying perpendicular
to the floor throughout the movement. If you don't,
you will work out your shoulders and back more than
the abs.
- >-
After a second contraction at the top, start to roll
the barbell back forward to the starting position
slowly as you inhale.
- Repeat for the recommended amount of repetitions.
muscle: biceps
- name: Barbell Ab Rollout - On Knees
force: pull
level: expert
mechanic: compound
equipment: barbell
instructions:
- >-
Hold an Olympic barbell loaded with 5-10lbs on each
side and kneel on the floor.
- >-
Now place the barbell on the floor in front of you so
that you are on all your hands and knees (as in a
kneeling push up position). This will be your starting
position.
- >-
Slowly roll the barbell straight forward, stretching
your body into a straight position. Tip: Go down as
far as you can without touching the floor with your
body. Breathe in during this portion of the movement.
- >-
After a second pause at the stretched position, start
pulling yourself back to the starting position as you
breathe out. Tip: Go slowly and keep your abs tight at
all times.
muscle: biceps
- name: Barbell Bench Press - Medium Grip
force: push
level: beginner
mechanic: compound
equipment: barbell
instructions:
- >-
Lie back on a flat bench. Using a medium width grip (a
grip that creates a 90-degree angle in the middle of
the movement between the forearms and the upper arms),
lift the bar from the rack and hold it straight over
you with your arms locked. This will be your starting
position.
- >-
From the starting position, breathe in and begin
coming down slowly until the bar touches your middle
chest.
- >-
After a brief pause, push the bar back to the starting
position as you breathe out. Focus on pushing the bar
using your chest muscles. Lock your arms and squeeze
your chest in the contracted position at the top of
the motion, hold for a second and then start coming
down slowly again. Tip: Ideally, lowering the weight
should take about twice as long as raising it.
- >-
Repeat the movement for the prescribed amount of
repetitions.
- When you are done, place the bar back in the rack.
muscle: biceps
- name: Barbell Curl
force: pull
level: beginner
mechanic: isolation
equipment: barbell
instructions:
- >-
Stand up with your torso upright while holding a
barbell at a shoulder-width grip. The palm of your
hands should be facing forward and the elbows should
be close to the torso. This will be your starting
position.
- >-
While holding the upper arms stationary, curl the
weights forward while contracting the biceps as you
breathe out. Tip: Only the forearms should move.
- >-
Continue the movement until your biceps are fully
contracted and the bar is at shoulder level. Hold the
contracted position for a second and squeeze the
biceps hard.
- >-
Slowly begin to bring the bar back to starting
position as your breathe in.
- Repeat for the recommended amount of repetitions.
muscle: biceps
- name: Barbell Curls Lying Against An Incline
force: pull
level: beginner
mechanic: isolation
equipment: barbell
instructions:
- >-
Lie against an incline bench, with your arms holding a
barbell and hanging down in a horizontal line. This
will be your starting position.
- >-
While keeping the upper arms stationary, curl the
weight up as high as you can while squeezing the
biceps. Breathe out as you perform this portion of the
movement. Tip: Only the forearms should move. Do not
swing the arms.
- >-
After a second contraction, slowly go back to the
starting position as you inhale. Tip: Make sure that
you go all of the way down.
- Repeat for the recommended amount of repetitions.
muscle: biceps
'401':
description: Your request was not authorized, or your API Key was invalid
'404':
description: Requested resource was not found
'500':
description: A server error has occurred, try again later
components:
securitySchemes:
api_key:
type: apiKey
name: x-api-key
in: header
security:
- api_key: []