From 3616296242138e6be03ae44bb9fa221af36f9063 Mon Sep 17 00:00:00 2001 From: MS Date: Fri, 14 May 2021 12:09:41 +0200 Subject: fix Nexus API --- libeufin/api-nexus.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3