taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 32bdd815af700b2307314509e7eead41b1192d75
parent e8d07b784fcb81eea077264ab52e0d92013edc26
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date:   Fri, 19 Mar 2021 01:00:06 -0400

add ‘image’ and ‘_forgettable’ to product ‘p001’

Diffstat:
Mtaler-mcig.rst | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/taler-mcig.rst b/taler-mcig.rst @@ -319,16 +319,17 @@ M: :http:post:`/instances/default/private/products` "product_id": "p001", "description": "piano", "unit": "unit", + "image": "data:image/png;base64;AAA=", "price": "KUDOS:20000.0", "taxes": [], "total_stock": 3, - "next_restock": "2021-04-22" + "next_restock": "2021-04-22", + "_forgettable": ["image"] } // (backend returns 204 No content) - // FIXME: also add product preview image, and - // maybe use that as a good example for a - // forgettable detail +Note that the ``image`` field is marked as "forgettable". +This will come into play later (see below). M: :http:post:`/instances/default/private/products`