Locations
Create a Location
post/v1/locations/
Request
- Base URLhttps://api.bouncie.dev
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring
User access token
Content-Type'application/json'
Request body
Example request
{
"location": {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-96.7980123,
32.7760432
],
[
-96.7960123,
32.7760432
],
[
-96.7960123,
32.7750432
],
[
-96.7980123,
32.7750432
],
[
-96.7980123,
32.7760432
]
]
]
}
},
"name": "Home"
}Response
Returns the created location
Example response
{
"location": {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-96.7980123,
32.7760432
],
[
-96.7960123,
32.7760432
],
[
-96.7960123,
32.7750432
],
[
-96.7980123,
32.7750432
],
[
-96.7980123,
32.7760432
]
]
]
}
},
"name": "Home",
"id": "65f8a2b4c9d7e1234567890e"
}Changes
No recorded changes to this operation across all 1 revision of this API.