hazar:read
DEPRECATED
{
"geometry": {
"coordinates": [
[
[
-83.3381652832031,
42.2015642571405
],
[
-83.2059860229492,
42.2015642571405
],
[
-83.2059860229492,
42.274514451885
],
[
-83.3381652832031,
42.274514451885
],
[
-83.3381652832031,
42.2015642571405
]
]
],
"type": "Polygon"
}
}
curl --location --request POST 'https://airhub-api-sandbox.airspacelink.com/v1/hazard' \
--header 'Authorization: ' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"geometry": {
"coordinates": [
[
[
-83.3381652832031,
42.2015642571405
],
[
-83.2059860229492,
42.2015642571405
],
[
-83.2059860229492,
42.274514451885
],
[
-83.3381652832031,
42.274514451885
],
[
-83.3381652832031,
42.2015642571405
]
]
],
"type": "Polygon"
}
}'
{
"data": [
{
"geometry": {
"coordinates": [
[
[
-83.2320785522461,
42.3341843859394
],
[
-83.2262420654297,
42.3341843859394
],
[
-83.2262420654297,
42.3364684929947
],
[
-83.2320785522461,
42.3364684929947
],
[
-83.2320785522461,
42.3341843859394
]
]
],
"type": "Polygon"
},
"properties": {
"Category": "Critical Infrastructure",
"CategoryType": "Child Care Center",
"Name": "RIVERSIDE ACADEMY EARLY CHILDHOOD CENTER",
"Risk": 1
},
"type": "Feature"
}
],
"message": "success",
"statusCode": 200
}