Suburb - Shapes
Easement geometries
GET
/v1/suburbs/{suburb_name}/shapes/easements15¢ per callRegistered easement geometries intersecting the suburb (GeoJSON FeatureCollection).
Price: 15¢ per call.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredQuery parameters
None — this endpoint accepts no query parameters. Call the path above with your bearer token and nothing else.
Responses
Successful Response
application/json
SuburbEasementsfields returned to you
area_namestringalways returnedCanonical ABS SAL name.
area_levelstringalways returnedAlways 'suburb'.
countintegeralways returnedNumber of easement features returned.
geojsonobjectalways returnedGeoJSON FeatureCollection — easement geometries intersecting the suburb. Properties: `category`, `name`.
GET
/v1/suburbs/{suburb_name}/shapes/easementscURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/shapes/easements' \
--header 'Authorization: Bearer test'Example Responses
{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"count": 8,
"geojson": {
"features": [
{
"geometry": {
"coordinates": [
[
[
151.66,
-32.99
],
[
151.67,
-32.99
],
[
151.67,
-33
],
[
151.66,
-32.99
]
]
],
"type": "Polygon"
},
"properties": {
"category": "drainage"
},
"type": "Feature"
}
],
"type": "FeatureCollection"
}
}
}Successful Response200
application/json
