mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Describe new API function
This commit is contained in:
parent
dc05c56440
commit
1eabd29105
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user