Skip to content

DEP: Add emergency api endpoint#2723

Merged
susilnem merged 4 commits into
project/dref-emergency-pagesfrom
feat/add-emergency-api-endpoint
May 12, 2026
Merged

DEP: Add emergency api endpoint#2723
susilnem merged 4 commits into
project/dref-emergency-pagesfrom
feat/add-emergency-api-endpoint

Conversation

@sudip-khanal

Copy link
Copy Markdown
Contributor

Changes

  • Add source Enum field in place of auto generated source field on event model.
  • Migrate existing event records to enum type.
  • Update related serializer and tests.
  • Add new emergency api endpoint.
  • Attach latest field report to emergency api endpoint.

Checklist

Things that should succeed before merging.

  • Updated/ran unit tests
  • Updated CHANGELOG.md

Release

If there is a version update, make sure to tag the repository with the latest version.

@sudip-khanal sudip-khanal requested a review from susilnem April 24, 2026 10:36
Comment thread api/models.py Outdated
Comment thread api/models.py Outdated
Comment thread api/serializers.py Outdated
Comment thread api/drf_views.py Outdated
Comment thread api/drf_views.py Outdated
Comment thread api/drf_views.py
Comment thread api/drf_views.py
Comment thread api/models.py Outdated
Comment thread api/models.py Outdated
Comment thread api/serializers.py
@sudip-khanal sudip-khanal force-pushed the feat/add-emergency-api-endpoint branch from fd14a97 to efb86d8 Compare May 4, 2026 08:21
Comment thread api/management/commands/ingest_who.py Outdated
Comment thread api/management/commands/migrate_event_source.py Outdated
- Add Enum for event sources.
- Add source field in place of auto generated source field on event model.
- Migrate existing event records to enum type.
- Update related serializers and tests.
- Add new emergency api for.
- Attach latest field report.
- Add test case for emergency endpoint.
@sudip-khanal sudip-khanal force-pushed the feat/add-emergency-api-endpoint branch from efb86d8 to fc79caf Compare May 12, 2026 05:35
@susilnem susilnem marked this pull request as ready for review May 12, 2026 07:06
@susilnem susilnem merged commit 378167e into project/dref-emergency-pages May 12, 2026
3 checks passed
@susilnem susilnem deleted the feat/add-emergency-api-endpoint branch May 12, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants