[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: Update
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: Update |
Date: |
Tue, 15 Nov 2022 11:56:22 +0100 |
This is an automated email from the git hooks/post-receive script.
priscilla-huang pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new de0077b Update
de0077b is described below
commit de0077b0a28c931e6ed23d1ea99a156996e5a0fd
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Tue Nov 15 05:56:07 2022 -0500
Update
---
core/api-merchant.rst | 84 +++++++++++++++++++++++----------------------------
1 file changed, 38 insertions(+), 46 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 8214fde..726e4c2 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -3075,29 +3075,38 @@ Adding templates
interface TemplateAddDetail {
// Template ID to use.
- tenplate_id: string;
-
- // Name of the store.
- name_store: string;
-
- // Human-readable summary for the template.
- summary: string;
+ template_id: string;
// The price is imposed by the merchant and cannot be changed by the
customer.
// This parametrer is optional.
price_imposed?: Amount;
// A base64-encoded image selected by the merchant.
- image: ImageDataUrl;
-
- // Identifies where the store is.
- address_store: Location;
+ // This parameter is optional.
+ // We are not sure about it.
+ image?: ImageDataUrl;
// Minimum age buyer must have (in years). Default is 0.
minimum_age: Integer;
+ // Another template that complete the main one.
+ template_details: TemplateSeparateDetail[];
+
}
-
+
+
+ .. ts:def:: TemplateSeparateDetail
+
+ interface TemplateSeparateDetail {
+
+ // Identifies where the store is.
+ address_store: Location;
+
+ // Human-readable summary for the template.
+ template_descripton: string;
+
+ }
+
Editing templates
-----------------
@@ -3128,28 +3137,21 @@ Editing templates
interface TemplatePatchDetail {
- // Template ID to use.
- tenplate_id: string;
-
- // Name of the store.
- name_store: string;
-
- // Human-readable summary for the template.
- summary: string;
-
// The price is imposed by the merchant and cannot be changed by the
customer.
// This parametrer is optional.
price_imposed?: Amount;
// A base64-encoded image selected by the merchant.
- image: ImageDataUrl;
-
- // Identifies where the store is.
- address_store: Location;
+ // This parameter is optional.
+ // We are not sure about it.
+ image?: ImageDataUrl;
// Minimum age buyer must have (in years). Default is 0.
minimum_age: Integer;
+ // Another template that complete the main one.
+ template_details: TemplateSeparateDetail[];
+
}
@@ -3175,9 +3177,8 @@ Inspecting template
interface TemplateSummaryResponse {
- // List of templates that are present in our backend.
- templates: TemplateEntry[];
-
+ // List of templates that are present in our backend.
+ templates_list: TemplateEntry[];
}
@@ -3190,6 +3191,8 @@ Inspecting template
// Template identifier, as found in the template.
template_id: string;
+ }
+
.. http:get:: [/instances/$INSTANCE]/private/templates/$TEMPLATE_ID
@@ -3205,38 +3208,27 @@ Inspecting template
:http:statuscode:`404 Not found`:
The template(ID) is unknown to the backend.
-
+
.. ts:def:: TemplateDetail
interface TemplateDetail {
- // Template ID to use.
- tenplate_id: string;
-
- // Name of the store.
- name_store: string;
-
- // Name of the owner.
- name_owner: string;
-
- // Human-readable summary for the template.
- summary: string;
-
// The price is imposed by the merchant and cannot be changed by the
customer.
// This parametrer is optional.
price_imposed: Amount;
// A base64-encoded image selected by the merchant.
- image: ImageDataUrl;
-
- // Identifies where the store is.
- address_store: Location;
+ // This parameter is optional.
+ // We are not sure about it.
+ image?: ImageDataUrl;
// Minimum age buyer must have (in years). Default is 0.
minimum_age: Integer;
- }
+ // Another template that complete the main one.
+ template_details: TemplateSeparateDetail[];
+ }
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-docs] branch master updated: update, gnunet, 2022/11/14
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update,
gnunet <=
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15