- 
                Notifications
    You must be signed in to change notification settings 
- Fork 7
Closed
Description
Currently, the emergency API end-point, when returned as CSV, generates separate columns for every field report attached to the emergency. This is creating an inordinate and unmanageable amount of columns.
We should simplify the CSV output for the Emergency API so that it only returns summarized information for the field reports - perhaps just two fields:
- Has Field Reports - simple yesorno
- Field Report IDs - comma separated list of field report IDs
These changes should only happen on the CSV output, and we should leave the JSON output the same (we do this similarly to how we handle the Field Report serializer conditionally based on the output format).
@nanometrenat please let me know if this ticket is duplicated somewhere, could not find an existing ticket.
cc @GregoryHorvath is this something you might be able to take on?