gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: circuit API


From: gnunet
Subject: [taler-docs] branch master updated: circuit API
Date: Thu, 09 Feb 2023 15:59:17 +0100

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

ms pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new be6eb54  circuit API
be6eb54 is described below

commit be6eb544fdedc716cfe5d0643932499191d38b19
Author: MS <ms@taler.net>
AuthorDate: Thu Feb 9 15:57:35 2023 +0100

    circuit API
    
    allow to filter on usernames when
    asking the list of cash-out operations.
---
 libeufin/api-sandbox.rst | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/libeufin/api-sandbox.rst b/libeufin/api-sandbox.rst
index c9b9561..3b1a39c 100644
--- a/libeufin/api-sandbox.rst
+++ b/libeufin/api-sandbox.rst
@@ -442,6 +442,15 @@ Cashouts
 .. http:get:: /cashouts
 
   Returns the list of all the (pending and confirmed) cash-out operations.
+  Ordinary users can only use this endpoint to learn their *own* cash-out
+  operations.
+
+  **Request:**
+  
+  :query account: *Optional.*
+    Filters the request to only get the cash-out operations related to
+    the account specified in this parameter.  Ordinary users must use
+    this option and pass their own username as the value.
 
   **Response:**
 
@@ -452,12 +461,16 @@ Cashouts
       cashouts: string[]; 
     }
 
-  :http:statuscode:`204 No Content`:
-    No cash-out operations were found at the bank
-
   :http:statuscode:`200 OK`:
     At least one cash-out operation was found.
 
+  :http:statuscode:`204 No Content`:
+    No cash-out operations were found at the bank
+
+  :http:statuscode:`403 Forbidden`:
+    A ordinary user invoked this call either without
+    the ``account`` parameter or by passing to it someone
+    else's username.
 
 .. http:get:: /cashouts/$cashoutId
 

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