gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: change GET /tips to GET /private/tip


From: gnunet
Subject: [taler-docs] branch master updated: change GET /tips to GET /private/tips
Date: Sat, 06 Jun 2020 02:31:47 +0200

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

jonathan-buchanan pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new a8a4774  change GET /tips to GET /private/tips
a8a4774 is described below

commit a8a4774c1abec363cc7f178804ac56c558b069f0
Author: Jonathan Buchanan <jonathan.russ.buchanan@gmail.com>
AuthorDate: Fri Jun 5 20:31:41 2020 -0400

    change GET /tips to GET /private/tips
---
 core/api-merchant.rst | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 3bde039..03aefed 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1957,14 +1957,17 @@ Giving Customer Tips
 
 
 
-.. http:get:: /tips
+.. http:get:: /private/tips
 
   Return the list of all tips.
 
   **Request:**
 
-  :query expired: *Optional*. If set to "yes", the response also includes
-    tips that have expired. Otherwise only unexpired tips are returned.
+  :query include_expired: *Optional*. If set to "yes", the result includes 
expired tips also. Otherwise, only active tips are returned.
+
+  :query limit: *Optional*. At most return the given number of results. 
Negative for descending in database row id, positive for ascending in database 
row id.
+
+  :query offset: *Optional*. Starting row_id for an iteration.
 
   **Response:**
 
@@ -1984,17 +1987,14 @@ Giving Customer Tips
 
     interface Tip {
 
+      // id of the tip in the backend database
+      row_id: number;
+
       // Unique identifier for the tip.
       tip_id: HashCode;
 
-      // Exchange from which the tip will be withdrawn.
-      exchange_url: string;
-
       // (remaining) amount of the tip (including fees).
       tip_amount: Amount;
-
-      // Timestamp indicating when the tip is set to expire (may be in the 
past).
-      expiration: Timestamp;
     }
 
 

-- 
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]