changed method flag to be a boolean

This commit is contained in:
Jonas Seiler 2025-04-03 10:48:10 +02:00
parent 1577465024
commit dc122ec2d9

View File

@ -31,6 +31,8 @@ The following functions are supported:
} }
``` ```
Note that `geometry` must contain at least two points.
- DELETE `/api/streets/<streetname>`: Delete a street - DELETE `/api/streets/<streetname>`: Delete a street
Deletes the street with the given name. Deletes the street with the given name.
@ -63,6 +65,6 @@ The following functions are supported:
"x": int, "x": int,
"y": int "y": int
}, },
"method": "Backend" | "Database" | "PostGIS" // Optional, default is "Backend" "usePostGIS": bool // Optional, default is 'false'
} }
``` ```