aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJocelyn Delalande <jocelyn@crapouillou.net>2016-08-18 18:06:12 +0200
committerJocelyn Delalande <jocelyn@crapouillou.net>2016-08-18 18:06:12 +0200
commit74b087fe6a467c94649253515aba80be6b4a9c2a (patch)
tree02b4be79bed7d1df6da5162956b0b3d6775fce57 /docs
parent6bcf5e3aa234b7796cc5b9ec652acd4c71a56724 (diff)
downloadihatemoney-mirror-74b087fe6a467c94649253515aba80be6b4a9c2a.zip
ihatemoney-mirror-74b087fe6a467c94649253515aba80be6b4a9c2a.tar.gz
ihatemoney-mirror-74b087fe6a467c94649253515aba80be6b4a9c2a.tar.bz2
Mentions in API doc that the date is optional.
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index ce5df71..56a4773 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/<id>/bills` ::
Add a bill with a `POST` query on `/api/projects/<id>/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