Add some new API point that produce some CSV #50
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If the latest issue #49 is not feasible/ not satisfactory, we could add some API endpoint that produce some CSV. We can export CSV from the admin, but the problem is that sites and visits are split into 2 different tables.
The idea is thus to "change the format of the API endpoint to json to csv". It can be easy or quite complicated.
Ex, the https://biomap.champs-libres.be/api/sites/programs/1 API point is from https://github.com/Champs-Libres/GeoNature-citizen/blob/27d392c06a0d9c6248c142c04e54c7a0e6b7c130/backend/gncitizen/core/sites/routes.py#L233
OK. See https://github.com/Champs-Libres/GeoNature-citizen/commit/194368f6f79bba0c698bd23b69d734dd5c7c0532