gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: add ‘image’ and ‘_forgettable’ to pr


From: gnunet
Subject: [taler-docs] branch master updated: add ‘image’ and ‘_forgettable’ to product ‘p001’
Date: Fri, 19 Mar 2021 06:00:50 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 32bdd81  add ‘image’ and ‘_forgettable’ to product ‘p001’
32bdd81 is described below

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

    add ‘image’ and ‘_forgettable’ to product ‘p001’
---
 taler-mcig.rst | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/taler-mcig.rst b/taler-mcig.rst
index 8fa8c5f..1324b03 100644
--- 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`
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]