summaryrefslogtreecommitdiff
path: root/libeufin
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-05-14 12:09:41 +0200
committerMS <ms@taler.net>2021-05-14 12:09:41 +0200
commit3616296242138e6be03ae44bb9fa221af36f9063 (patch)
tree4216ecd9ade1a6c33070082533bb93e6b5720226 /libeufin
parent7af5e5f6193fb41bb5ecbc0ec32458ab261250de (diff)
downloaddocs-3616296242138e6be03ae44bb9fa221af36f9063.tar.gz
docs-3616296242138e6be03ae44bb9fa221af36f9063.tar.bz2
docs-3616296242138e6be03ae44bb9fa221af36f9063.zip
fix Nexus API
Diffstat (limited to 'libeufin')
-rw-r--r--libeufin/api-nexus.rst19
1 files changed, 18 insertions, 1 deletions
diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst
index d7dfc488..57135d72 100644
--- a/libeufin/api-nexus.rst
+++ b/libeufin/api-nexus.rst
@@ -505,7 +505,24 @@ Scheduling API
**Response**
- In case of success, it responds with one `NexusTask` object.
+ .. code-block:: ts
+
+ interface TaskCollection {
+
+ // This field can contain *multiple* objects of the type sampled below.
+ schedule: {
+
+ 'task-name': {
+ cronspec: string;
+ type: string; // fetch | submit
+
+ // Depends on the type. Submit has it empty, whereas
+ // the fetch type includes the time range and the report
+ // level.
+ params: any;
+ }
+ }
+ }
.. http:delete:: {nexusBase}/bank-accounts/{acctid}/schedule/{taskId}