mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Update grocy.openapi.json
Add general usage/developing hint at the top. Add hint about adding note-only shoppinglist entries.
This commit is contained in:
parent
5a2600209f
commit
9f4b8286aa
|
|
@ -2,7 +2,7 @@
|
|||
"openapi": "3.1.0",
|
||||
"info": {
|
||||
"title": "Grocy REST API",
|
||||
"description": "Authentication is done via API keys (header *GROCY-API-KEY* or same named query parameter), which you can manage [here](PlaceHolderManageApiKeysUrl).<br>Additionally requests from within the frontend are also valid (via session cookie).",
|
||||
"description": "Authentication is done via API keys (header *GROCY-API-KEY* or same named query parameter), which you can manage [here](PlaceHolderManageApiKeysUrl).<br>Additionally requests from within the frontend are also valid (via session cookie).<br>Hint: To find the right request and request body, use the browser web developer tools while using the Grocy Frontend.",
|
||||
"version": "xxx",
|
||||
"license": {
|
||||
"name": "grocy.info",
|
||||
|
|
@ -3042,7 +3042,7 @@
|
|||
"/stock/shoppinglist/add-product": {
|
||||
"post": {
|
||||
"summary": "Adds the given amount of the given product to the given shopping list",
|
||||
"description": "If the product is already on the shopping list, the given amount will increase the amount of the already existing item, otherwise a new item will be added",
|
||||
"description": "If the product is already on the shopping list, the given amount will increase the amount of the already existing item, otherwise a new item will be added. If you want to add only a note to a shopping list, you need to use the /objects/shoppinglist request.",
|
||||
"tags": [
|
||||
"Stock"
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user