[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: Nexus API for scheduling.
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: Nexus API for scheduling. |
Date: |
Tue, 15 Dec 2020 18:54:14 +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 5626699 Nexus API for scheduling.
5626699 is described below
commit 56266998b6bd4f066b9d7f8d2a2fe85ac73ad2c4
Author: MS <ms@taler.net>
AuthorDate: Tue Dec 15 18:53:32 2020 +0100
Nexus API for scheduling.
Document how to submit a new task.
---
libeufin/api-nexus.rst | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst
index 9bca39b..ce93f8b 100644
--- a/libeufin/api-nexus.rst
+++ b/libeufin/api-nexus.rst
@@ -371,6 +371,34 @@ manages payment initiations of the account and tracks the
initiations of payment
}
+.. http:post:: {nexusBase}/bank-accounts/{acctid}/schedule
+
+ This endpoint allows the caller to define a recurrent
+ execution of a task.
+
+ **Request**
+
+ .. ts:def:: ScheduleTask
+
+ interface ScheduleTask {
+ name: string;
+
+ // a Unix-compatible cron pattern representing
+ // the frequency of execution of this task.
+ cronspec: string;
+
+ // Can take values "fetch" (to download the history
+ // of the requester's bank account) or "submit" (to submit
+ // any initiated payment associated to the requester's
+ // bank account).
+ type: string;
+
+ // Currently only used for "fetch" operations
+ params: { level: "REPORT" | "STATEMENT" | "ALL"};
+ }
+
+
+
.. http:get:: {nexusBase}/bank-accounts/{acctid}/schedule/{taskId}
This call returns the information related to the task associated
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: Nexus API for scheduling.,
gnunet <=