From 74b087fe6a467c94649253515aba80be6b4a9c2a Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Thu, 18 Aug 2016 18:06:12 +0200 Subject: [PATCH] Mentions in API doc that the date is optional. --- docs/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index ce5df716..56a47739 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -135,7 +135,7 @@ You can get the list of bills by doing a `GET` on `/api/projects//bills` :: Add a bill with a `POST` query on `/api/projects//bills`. you need the following params: -* `date`: the date of the bill. (yy-mm-dd) +* `date`: the date of the bill; defaults to current date if not provided. (yy-mm-dd) * `what`: what have been payed * `payer`: by who ? (id) * `payed_for`: list of ids