diff options
author | MS <ms@taler.net> | 2021-05-14 12:09:41 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2021-05-14 12:09:41 +0200 |
commit | 3616296242138e6be03ae44bb9fa221af36f9063 (patch) | |
tree | 4216ecd9ade1a6c33070082533bb93e6b5720226 /libeufin | |
parent | 7af5e5f6193fb41bb5ecbc0ec32458ab261250de (diff) | |
download | docs-3616296242138e6be03ae44bb9fa221af36f9063.tar.gz docs-3616296242138e6be03ae44bb9fa221af36f9063.tar.bz2 docs-3616296242138e6be03ae44bb9fa221af36f9063.zip |
fix Nexus API
Diffstat (limited to 'libeufin')
-rw-r--r-- | libeufin/api-nexus.rst | 19 |
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} |