Zone Set Management
Create a zone set
Changed onCreates a new zone set. Validated and written as a single whole artifact.
post/v1/vehicles/{vehicleId}/zone-sets/{name}
Request
- Base URLhttps://api.polymathrobotics.dev
- URLhttps://api.polymathrobotics.dev/v1/vehicles/{vehicleId}/zone-sets/{name}
- AuthHTTP bearer
Path parameters
vehicleIdstring required
Vehicle ID issued by Polymath
namestring required
Request body
Example request
{
"zones": [
{
"name": "slowdown_zone",
"type": "speed_limit",
"enabled": true,
"coordinate_system": 0,
"wgs84_polygon": [
{
"latitude": 37.828258,
"longitude": -122.425726
},
{
"latitude": 37.828385,
"longitude": -122.420642
},
{
"latitude": 37.825124,
"longitude": -122.420416
},
{
"latitude": 37.825183,
"longitude": -122.425443
}
],
"condition": {
"type": 0,
"params": []
},
"params": [
{
"key": "speed_limit_m_s",
"value": 5
}
]
}
]
}Response
Successful Response
Changes
- info
added the new
flag_zoneenum value to the request property///
- info
- info
added the new
stop_zoneenum value to the request property///
- info