From 86aff5a8f24ec884bbc94509b456d87c52a7ada0 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 31 Mar 2017 00:38:42 +0200 Subject: finishing bank's /history --- api/api-bank.rst | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'api') diff --git a/api/api-bank.rst b/api/api-bank.rst index bfc4f44c..231be383 100644 --- a/api/api-bank.rst +++ b/api/api-bank.rst @@ -100,12 +100,32 @@ the number of results. .. http:post:: /history -**Request** +**Request:** The body of this request must have the format of a `HistoryRequest`_. TBD **Response** TBD +.. _HistoryRequest: +.. code-block:: tsref + + interface HistoryRequest { + + // The username of the user calling this API. + username: string; + + // Password of the user calling this API. + password: string; + + // Row number identifier in the bank's database + // such that only rows with GREATER (meaning younger + // records) row number will be returned. + start: number; + + // How many rows we want returned, at most. + delta: number; + } + -------- Util API -------- -- cgit v1.2.3