[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 14:09:43 +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 dd2d6f9 Update
dd2d6f9 is described below
commit dd2d6f96d1296ec1eeca3ebf58f9cd4932f7e13c
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Tue Nov 15 08:09:26 2022 -0500
Update
---
core/api-merchant.rst | 47 ++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 42 insertions(+), 5 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 85b241f..58c20fb 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -3058,7 +3058,7 @@ Adding templates
**Request:**
- The request must be a `TemplateAddDetail`.
+ The request must be a `TemplateAddDetails`.
**Response:**
@@ -3103,6 +3103,9 @@ Adding templates
// Minimum age buyer must have (in years). Default is 0.
minimum_age: Integer;
+ // The time that indicates the duration of the created order before it
is deleted
+ pay_duration: TimeLimit;
+
}
@@ -3116,7 +3119,7 @@ Editing templates
**Request:**
- The request must be a `TemplatePatchDetail`.
+ The request must be a `TemplatePatchDetails`.
**Response:**
@@ -3201,14 +3204,14 @@ The `TemplatesEntry` object describes a template. It
has the following structure
:http:statuscode:`200 OK`:
The backend has successfully returned the detailed information about a
specific template.
- Returns a `TemplateDetail`.
+ Returns a `TemplateDetails`.
:http:statuscode:`404 Not found`:
The template(ID) is unknown to the backend.
- .. ts:def:: TemplateDetail
+ .. ts:def:: TemplateDetails
- interface TemplateDetail {
+ interface TemplateDetails {
// Human-readable description for the template.
template_description: string;
@@ -3240,6 +3243,40 @@ Removing template
+Adding public template
+----------------------
+
+.. http:post:: [/instances/$INSTANCES]/templates/$TEMPLATE_ID
+
+ This is used to adding public template. This public template can be
modified by everyone.
+
+
+ **Request:**
+
+ The request must be a `PublicTemplateDetails`.
+
+
+ **Response:**
+
+ :http:statuscode:`204 No content`:
+ The creation of the public template is successful.
+ :http:statuscode:`404 Not found`:
+ The merchant instance is unknown or it is not in our data.
+
+
+ .. ts:def:: PublicTemplateDetails
+
+ interface PublicTemplateDetails {
+
+ // Subject of the template
+ subject: string;
+
+ // The amount entered by the customer
+ amount: Amount;
+
+ }
+
+
------------------
The Contract Terms
------------------
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-docs] branch master updated: Update, (continued)
- [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
- [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/25
- [taler-docs] branch master updated: update, gnunet, 2022/11/25
- [taler-docs] branch master updated: update, gnunet, 2022/11/25
- [taler-docs] branch master updated: update, gnunet, 2022/11/25