1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Mentions in API doc that the date is optional.

This commit is contained in:
Jocelyn Delalande 2016-08-18 18:06:12 +02:00
parent 6bcf5e3aa2
commit 74b087fe6a

View file

@ -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