Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Update API documentation with new exercise endpoint

Roland Geider3d143c5f626d
diff --git a/wger/software/templates/api.html b/wger/software/templates/api.html
index e90554eaf..9ca3b1ea8 100644
--- a/wger/software/templates/api.html
+++ b/wger/software/templates/api.html
@@ -215,6 +215,17 @@ it in the header, see the link on the sidebar for details.</p>
</div>
+<div style="margin-top: 1em;">
+ <code>api/v2/exerciseiinfo/&lt;id&gt;/</code>
+</div>
+<div class="row">
+ <div class="col-md-offset-1 col-md-10">
+ A convenience function that returns all the information about an exercise,
+ including, muscles, equipment, etc. This can be used to avoid having to call
+ the other endpoints individually.
+ </div>
+</div>
+
<div style="margin-top: 1em;">
<code>api/v2/nutritionplan/&lt;id&gt;/nutritional_values/</code><br>
<code>api/v2/meal/&lt;id&gt;/nutritional_values/</code><br>