Live DAOPS suppression & groundcheck edge API route (/api/daops) #62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
What to build
Build the Next.js edge route
/api/daopsto sync active firefighting operations and field groundcheck missions from KLHK SiPongi+ endpoints (/daops/pemadamanand/daops/groundcheck) with Stale-While-Revalidate caching.Technical specifications
src/app/api/daops/route.ts: Edge route handler with error handling and fallback cache.src/lib/services/daops.ts: Upstream fetching and status classification service.src/types/daops.ts: Schema for DAOPS field reports.DILAPORKAN_PADAM(Extinguished/Controlled)SEDANG_PEMADAMAN(Active suppression in progress)GROUNDCHECK_LAPANGAN(Ground verification underway)Acceptance criteria
s-maxage=600, stale-while-revalidate=120).Authoritative Specifications & Reference Documentation
docs/ARCHITECTURE.mdIssue 49: [Backend] Live DAOPS suppression & groundcheck edge API route (to [Backend] Live DAOPS suppression & groundcheck edge API route (/api/daops)/api/daops)[Backend] Live DAOPS suppression & groundcheck edge API route (to Live DAOPS suppression & groundcheck edge API route (/api/daops)/api/daops)