Update map geo shapes
POST/geo
Update map geo shapes. Requires admin permissions. The body replaces the stored FeatureCollection and is returned as saved.
Feature properties are stored as sent, so properties.facilityId passes through
unchanged. Two properties are checked: when properties.capacity is present it must be a
positive integer (otherwise 400), and a feature that has a capacity and no properties.id
is given one.
Request
Responses
- 200
- 400
- 401
successful operation, return GeoJSON
Invalid GeoJSON Data
Unauthorized