- Introduction
- Authorization
- Advisories
- Briefing
- LAANC SDSP
- Overview
- ASL Operations
- LAANC Operations
- LAANC Authorizations
- Operation v2POST
- Create Ephemeral OperationsPOST
- Risk
- Aviation
- Surface
- Route
- Check
- Elevation - NEW
- Map Vector Tiles - NEW
Get Hazard Ground Risk
Sandbox
Sandbox
POST
/v2/groundRisk
Last modified:2024-05-17 17:25:12
hazar:read
Request
Header Params
Content-Type
enum<string>
required
Allowed value:
application/json;charset=UTF-8
Example:
application/json;charset=UTF-8
Authorization
string
required
accessToken
generated in Authorization stepExample:
{{access-token}}
Body Params application/json
controlledGroundArea
boolean
required
coordinates
array [array]
required
type
string
required
resolution
integer
required
uavDimensionImperial
boolean
required
uavMaxDimensionSize
number
required
uavMaxSpeed
integer
required
uavWeight
number
required
Example
{
"controlledGroundArea": false,
"geometry": {
"coordinates": [
[
[
-83.097153,
42.310006
],
[
-83.097153,
42.343955
],
[
-83.031235,
42.343955
],
[
-83.031235,
42.310006
],
[
-83.097153,
42.310006
]
]
],
"type": "Polygon"
},
"resolution": 9,
"uavDimensionImperial": true,
"uavMaxDimensionSize": 10.4,
"uavMaxSpeed": 100
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://airhub-api-sandbox.airspacelink.com/v2/groundRisk' \
--header 'Authorization: ' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"controlledGroundArea": false,
"geometry": {
"coordinates": [
[
[
-83.097153,
42.310006
],
[
-83.097153,
42.343955
],
[
-83.031235,
42.343955
],
[
-83.031235,
42.310006
],
[
-83.097153,
42.310006
]
]
],
"type": "Polygon"
},
"resolution": 9,
"uavDimensionImperial": true,
"uavMaxDimensionSize": 10.4,
"uavMaxSpeed": 100
}'
Responses
🟢200success
application/json
Body
data
array [object {3}]
required
geometry
object
required
properties
object
required
type
string
required
message
string
required
statusCode
integer
required
Example
{
"data": [
{
"geometry": {
"coordinates": [
[
[
-83.0475361731786,
42.3166702773875
],
[
-83.0495027960014,
42.315553699439
],
[
-83.0490826901295,
42.3137815286693
],
[
-83.0466961217155,
42.3131259054218
],
[
-83.0447295268648,
42.3142424030989
],
[
-83.0451494724517,
42.3160146042923
],
[
-83.0475361731786,
42.3166702773875
]
]
],
"type": "Polygon"
},
"properties": {
"density": "None",
"popPerSqKm": 0,
"score": 7
},
"type": "Feature"
},
{
"geometry": {
"coordinates": [
[
[
-83.0867122343183,
42.3125155396005
],
[
-83.0886776277423,
42.3113983814916
],
[
-83.0882560799036,
42.3096264851038
],
[
-83.0858692988019,
42.3089717162851
],
[
-83.0839039331106,
42.3100887941108
],
[
-83.0843253207841,
42.311860721036
],
[
-83.0867122343183,
42.3125155396005
]
]
],
"type": "Polygon"
},
"properties": {
"density": "Suburban",
"popPerSqKm": 294.306125839603,
"score": 8
},
"type": "Feature"
},
{
"geometry": {
"coordinates": [
[
[
-83.0615736686261,
42.3288094992409
],
[
-83.0635404311016,
42.3276925198757
],
[
-83.0631196843689,
42.3259201734114
],
[
-83.0607323354932,
42.3252647758383
],
[
-83.0587656009204,
42.3263816749123
],
[
-83.0591861873164,
42.3281540518482
],
[
-83.0615736686261,
42.3288094992409
]
]
],
"type": "Polygon"
},
"properties": {
"density": "Urban",
"popPerSqKm": 3218.37989224598,
"score": 9
},
"type": "Feature"
},
{
"geometry": {
"coordinates": [
[
[
-83.0534357406362,
42.313320494788
],
[
-83.0554020624543,
42.3122038680975
],
[
-83.0549817641796,
42.3104317933705
],
[
-83.0525953043307,
42.3097763148922
],
[
-83.0506290104454,
42.3108928613125
],
[
-83.051049148472,
42.3126649664789
],
[
-83.0534357406362,
42.313320494788
]
]
],
"type": "Polygon"
},
"properties": {
"density": "None",
"popPerSqKm": 0,
"score": 7
},
"type": "Feature"
},
{
"geometry": {
"coordinates": [
[
[
-83.0379646863298,
42.3422119818712
],
[
-83.0399326538863,
42.3410951979837
],
[
-83.0395126774702,
42.3393224674647
],
[
-83.037124893978,
42.3386664904221
],
[
-83.035156954482,
42.339783194013
],
[
-83.0355767704135,
42.3415559549407
],
[
-83.0379646863298,
42.3422119818712
]
]
],
"type": "Polygon"
},
"properties": {
"density": "Suburban",
"popPerSqKm": 2316.47402273752,
"score": 8
},
"type": "Feature"
}
],
"message": "success",
"statusCode": 200
}
🟠400Your request was invalid JSON or is using invalid types
🟠408Your request timed out; try reducing the size of the request
🟠422Part of your request had invalid values
🔴500Database error
Modified at 2024-05-17 17:25:12