dthonon / Client_API_VN

Export from VisioNature (Biolovision) web site to local postgresql database
GNU General Public License v3.0
3 stars 1 forks source link

Date de saisie ou date d'observation #133

Closed dthonon closed 2 years ago

dthonon commented 3 years ago

In GitLab by @fred.lpo07 on Oct 28, 2020, 15:11

Par défaut, les dates utilisées par l'API sont les dates d'observations. Si on veut utiliser les dates de saisies, alors il faut ajouter la query string entry_date=1 à la requête d'API. Cela peut avoir des incidences sur les données importées.

dthonon commented 3 years ago

Je propose d'ajouter un indicateur au filtre par date pour choisir. Le paramètre YAML serait :

Optional("type_date", default="sighting"): Enum(["sighting", "entry"])

OK ?

dthonon commented 3 years ago

In GitLab by @fred.lpo07 on Oct 28, 2020, 17:04

Oui, ok

dthonon commented 3 years ago

mentioned in commit 7840152119639f3ca897f3205710f076c876bf0d

dthonon commented 3 years ago

mentioned in commit 48216dd027bcfc907f4d7cee18cd85d3d3fe9881

dthonon commented 3 years ago

mentioned in commit 02fcd032e648899c47ec8b2af764e5c588925afc

dthonon commented 3 years ago

Done in 02fcd032e648899c47ec8b2af764e5c588925afc