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/floodedRWsSummary

Was this helpful?

  1. Open API
  2. Stats

Stats - Flooded RWs Summary

Count of all RWs by flood height range.

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/floodedRWsSummary

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

Results are as follows:

{
  "# hati-hati RWs": 0,
  "# 10-70cm RWs": 9,
  "# 71-150cm RWs": 0,
  "# 151cm+ RWs": 0
}
PreviousStats - Reports SummaryNextStats - Flooded Regions Summary

Last updated 4 years ago

Was this helpful?