Describe new API function

This commit is contained in:
Bernd Bestel 2018-07-15 13:57:27 +02:00
parent dc05c56440
commit 1eabd29105
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -721,6 +721,37 @@
}
}
},
"/recipes/add-not-fulfilled-products-to-shopping-list/{recipeId}": {
"get": {
"description": "Adds all missing products for the given recipe to the shopping list",
"tags": [
"Recipes"
],
"parameters": [
{
"in": "path",
"name": "recipeId",
"required": true,
"description": "A valid recipe id",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "A VoidApiActionResponse object",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VoidApiActionResponse"
}
}
}
}
}
}
},
"/habits/track-habit-execution/{habitId}": {
"get": {
"description": "Tracks an execution of the given habit",