gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: fix Nexus API


From: gnunet
Subject: [taler-docs] branch master updated: fix Nexus API
Date: Fri, 14 May 2021 12:12:18 +0200

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 f2781e1  fix Nexus API
f2781e1 is described below

commit f2781e14caa3b8bac7ee387cd47a0da00906c0af
Author: MS <ms@taler.net>
AuthorDate: Fri May 14 12:12:15 2021 +0200

    fix Nexus API
---
 libeufin/api-nexus.rst | 58 ++++++++++++++++++++++----------------------------
 1 file changed, 26 insertions(+), 32 deletions(-)

diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst
index 57135d7..910fe45 100644
--- a/libeufin/api-nexus.rst
+++ b/libeufin/api-nexus.rst
@@ -500,8 +500,32 @@ Scheduling API
 
 .. http:get:: {nexusBase}/bank-accounts/{acctid}/schedule/{taskId}
   
-  This call returns the information related to the task associated
-  to ``taskId``.
+  **Response**
+
+  .. ts:def:: NexusTask
+
+     // This object is a mere reflection of
+     // what the Nexus database keeps to implement
+     // the scheduling feature.
+
+     interface NexusTask {
+       // FIXME: document all. 
+       resourceType: string;
+       resourceId: string;
+       taskName: string;
+       taskType: string;
+       taskCronSpec: string;
+       taskParams: string;
+       nextScheduledExecutionSec: number;
+       prevScheduledExecutionSec: number;
+     }
+
+
+.. http:delete:: {nexusBase}/bank-accounts/{acctid}/schedule/{taskId}
+  
+  This call deletes the task associated to ``taskId``.
+
+.. http:get:: {nexusBase}/bank-accounts/{acctid}/schedule
 
   **Response**
 
@@ -525,36 +549,6 @@ Scheduling API
     }
 
 
-.. http:delete:: {nexusBase}/bank-accounts/{acctid}/schedule/{taskId}
-  
-  This call deletes the task associated to ``taskId``.
-
-.. http:get:: {nexusBase}/bank-accounts/{acctid}/schedule
-
-  This call returns a list of all the scheduled tasks, under one bank account.
-  The list is wrapped into a ``tasks`` object, and contains elements of 
`NexusTask`.
-
-  **Response**
-  
-  .. ts:def:: NexusTask
-
-     // This object is a mere reflection of
-     // what the Nexus database keeps to implement
-     // the scheduling feature.
-
-     interface NexusTask {
-       // FIXME: document all. 
-       resourceType: string;
-       resourceId: string;
-       taskName: string;
-       taskType: string;
-       taskCronSpec: string;
-       taskParams: string;
-       nextScheduledExecutionSec: number;
-       prevScheduledExecutionSec: number;
-     }
-
-
 Bank Connections
 ----------------
 

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