Batch Creation of Geofence
Changed onRequest
- Base URLhttps://api.nextbillion.io
- AuthAPI key in query parameter key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
A key is a unique identifier that is required to authenticate a request to the API.
Request body
Example request
{
"geofences": [
{
"type": "\"type\":\"circle\"",
"name": "\"name\":\"Los Angeles Downtown\"",
"tags": [
"\"tags\":[\"tags_1\", \"O69Am2Y4KL8q5Y5JuD-Fy-tdtEpkTRQo_ZYIK7\"]"
],
"isochrone": {
"coordinates": "\"coordinates\": \"13.25805884,77.91083661\"",
"mode": "\"mode\":\"car\""
}
}
]
}Response
Changes
- breaking
removed the enum value
carof the request property/// - breaking
removed the enum value
circleof the request property// - breaking
removed the enum value
isochroneof the request property// - breaking
removed the enum value
polygonof the request property// - breaking
removed the enum value
truckof the request property/// - info
the
request property default value changed fromcartocar - info
added the new
carenum value to the request property/// - info
added the new
circleenum value to the request property// - info
added the new
isochroneenum value to the request property// - info
added the new
polygonenum value to the request property// - info
added the new
truckenum value to the request property///
- breaking
- breaking
removed the enum value
carof the request property/// - breaking
removed the enum value
circleof the request property// - breaking
removed the enum value
isochroneof the request property// - breaking
removed the enum value
polygonof the request property// - breaking
removed the enum value
truckof the request property/// - info
the
request property default value changed fromcartocar - info
added the new
carenum value to the request property/// - info
added the new
circleenum value to the request property// - info
added the new
isochroneenum value to the request property// - info
added the new
polygonenum value to the request property// - info
added the new
truckenum value to the request property///
- breaking