PetaBencana
English
English
  • Introduction
  • General
    • Authentication
    • Versioning
    • Rate Limits
    • CORS
    • HTTPS
    • Coordinates
    • Error Codes
    • Content Types
    • Examples
    • Supported Area
    • Supported Hazards
  • Open API
    • Cards
    • Feeds
    • Flood Gauges
    • Flooded Area
    • Flooded Area/Archive
    • Flooded Area/Timeseries
    • Infrastructure
    • Crowdsourced Reports
    • Crowdsourced Reports/Archive
    • Crowdsourced Reports/Timeseries
    • Stats
      • Stats - Reports Summary
      • Stats - Flooded RWs Summary
      • Stats - Flooded Regions Summary
  • Authenticated API
    • Cards
    • Feeds
Powered by GitBook
On this page
  • Request Format
  • GET /stats/floodedRegionsSummary

Was this helpful?

  1. Open API
  2. Stats

Stats - Flooded Regions Summary

List of all regions with currently flooded RWs.

Request Format

Query Parameter

Description

Format

Required

city

Which city do we wish to return infrastructure for? (one of bdg, jbd, sby)

String

No

GET /stats/floodedRegionsSummary

curl "https://data.petabencana.id/stats/floodedRegionsSummary?city=jbd"

Results are as follows:

{
  "total number of regions with flooded RWs": 4,
  "regions with flooded RWs": [
    "KAPUK",
    "RAWA TERATE",
    "CIPINANG MELAYU",
    "CENGKARENG BARAT"
  ]
}
PreviousStats - Flooded RWs SummaryNextAuthenticated API

Last updated 4 years ago

Was this helpful?