commit 84b4aea0f1906742f4810964f551465acc93276b parent 9c2673a675599c1d5b84f26b4ce2dee13aa5640a Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Wed, 3 May 2017 22:16:49 +0200 /history response encapsulated into a JSON object Diffstat:
| M | api/api-bank.rst | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/api/api-bank.rst b/api/api-bank.rst @@ -115,10 +115,13 @@ the number of results. .. http:post:: /history - **Request** JSON of type `HistoryRequest`_. + **Request** JSON object whose field `data` is an array of `HistoryRequest`_ elements. +.. + NOTE: According to the last research, Django has no way of + returning a straight array. - **Response** JSON array of type `BankTransaction`_. + **Response** JSON object of type `BankTransaction`_. .. _HistoryRequest: