commit aac32217084215621a374f737dec5796838e1133
parent 23200d98ed768d59c8c8272994242ba144e0a2b2
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 6 Jan 2023 22:50:36 +0100
fix some syntax issues
Diffstat:
2 files changed, 13 insertions(+), 25 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -3097,34 +3097,27 @@ Inspecting template
:http:statuscode:`404 Not found`:
The backend has does not know about the instance.
-
.. ts:def:: TemplateSummaryResponse
interface TemplateSummaryResponse {
- // List of templates that are present in our backend.
- templates_list: TemplateEntry[];
- }
-
-
+ // List of templates that are present in our backend.
+ templates_list: TemplateEntry[];
+ }
The `TemplatesEntry` object describes a template. It has the following structure:
-
-
.. ts:def:: TemplateEntry
interface TemplateEntry {
- // Template identifier, as found in the template.
- template_id: string;
-
- // Human-readable description for the template.
- template_description: string;
-
- }
+ // Template identifier, as found in the template.
+ template_id: string;
+ // Human-readable description for the template.
+ template_description: string;
+ }
.. http:get:: [/instances/$INSTANCE]/private/templates/$TEMPLATE_ID
@@ -3206,21 +3199,15 @@ Using template
// The amount entered by the customer.
amount?: Amount;
- }
-
+ }
.. ts:def:: UsingTemplateResponse
interface UsingTemplateResponse {
- // After enter the request. The user will be pay with a taler URL.
- taler_url: string;
- }
-
-
-
-
-
+ // After enter the request. The user will be pay with a taler URL.
+ taler_url: string;
+ }
--------
diff --git a/design-documents/index.rst b/design-documents/index.rst
@@ -41,4 +41,5 @@ and protocol.
030-offline-payments
031-invoicing
032-brandt-vickrey-auctions
+ 033-database
999-template