Retrieve the uuid of the area and the area to which the user is restricted
GET {{baseUrl}}/geojson
This endpoint returns the uuid of the GeoJSON object and the GeoJSON object itself. The object is used to restrict the area of road safety hotspots data for the user. The response does not incorporate any geolocation filters.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-tracking-id | string | the request tracking ID | |
Accept | string |
RESPONSES
status: OK
{"id":"\u003cuuid\u003e","geoJson":{"type":"Polygon","coordinates":[[["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"]],[["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"],["\u003cnumber\u003e","\u003cnumber\u003e"]]],"bbox":["\u003cnumber\u003e","\u003cnumber\u003e","\u003cnumber\u003e","\u003cnumber\u003e"]}}