Closed mudar closed 8 years ago
testing ant's notifications
The /lots
endpoint now supports the nearest
parameter (int). If specified and an int >= 1; it will return the nearest X lots to the lat/long IF there are no lots found within the radius.
Based on slack discussion:
We could add extra params to
GET /v1/lots
to return the nearest lot if the current radius returns an empty array. That would probably be a second call by the clients.radius
limit
param?) results sorted by distance.Also subscribing @antonino-u