/workspace/templates/layer_extent

The layer extent query method returns a bounding box that describes the extent of a range of geometries.

A body with ids can be supplied optionally to limit the geometries considered. The ids are substituted as a query param, not written into the SQL string.