Back to menu
v4.0.0
Find Lifestyle trend information from Spatial AI for a given area.
API Responses
The responses documented here assume a successful response. In the case of an error, a HTTP status code will be provided that best matches the type of error. Common HTTP error status codes are:
- 400 Bad Request: The server could not understand the request due to invalid syntax.
- 401 Unauthorized: The client must authenticate itself to get the requested response.
- 403 Forbidden: The client does not have access rights to the content.
- 404 Not Found: The server can not find the requested resource.
- 500 Internal Server Error: The server has encountered a situation it doesn't know how to handle.
- 504 Gateway Timeout: The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
An unsuccessful response will also contain JSON data detailing the error. This response follows this model:
{
"success": false,
"error": "text detail of the error"
}
- GET /v3/lifestyles
- GET /v4/lifestyles