SCODEMeetup / cbus-biking-LOC

Building a realt time indicator of bike inicdents and level of comfort
0 stars 2 forks source link

database and API to support the new modal design #7

Closed PhilNorman2 closed 3 years ago

PhilNorman2 commented 3 years ago

Added two new endpoints, incident_types and incident_severities. Added incident_datetime, incident_text, incident_type_id, and incident_severity_id to the report resource. Removed reason from the report resource. Added modular exception handling. Added model validations for the report, incident_types and incident_severities endpoints. Updated the README.md file accordingly.