Skip to content

Fix/amendements

Asone requested to merge Asone/tricoteuses-api-assemblee:fix/amendements into master

This PR moves the old "amendements" field to "textesetamendements" field an builds up a new "amendements" field that searches through all amendments without their text context ( which is now textesetamendements ).

I added optional filters : since and until, which allows user to filter amendments on their "dateDepot" field in order to allow temporal searches.

I unfortunately couldn't find how to implement description of the arguments in order to describe the format expected for those.

Arguments should be in "YYYY-MM-DD" format.

filters transforms the provided arguments in unix timestamp and the dateDepot in unix timestamp also in order to be able to compare int values.

Edited by Asone

Merge request reports