Here's the changes we applied:
- Provide an address for the search center in /discover/here
- Improve the HTML Json rendeing
- Finland address format and Romania address formatting has been fixed
- The Size parameter against /explore influences just the number of places in the response
The search center for /discover/search /discover/explore and /discover/here has been modified, we wanted to have a future proof structure for the search center, so it would be easier for users of the api to implement against other endpoints and have consistency across all the discover endpoints.
In the old structure we had:
{
search: {}
location: {}}
position: [lat, lon]
bbox: [w, s, e, n] //optional
title: "name of place" //optional name of the place
address: "address" //optional the neighbourhood of the location used for the search
href: "uri" //optional for moved search result shows the point form where the search started
moved: true //optional if present shows the search result is "moved"
The new response has the location inside the context and the title, href and moved are inside the context instead.
{
search: {}
context:{
title: "name of place" //optional name of the place
typelace //optional present only if the href link is present
href: "uri" //optional for moved search result shows the point form where the search started
moved: true //optional if present shows the search result is "moved"
location: {
position: [lat, lon]}
bbox: [w, s, e, n] //optional
address: "address" //optional the neighbourhood of the location used for the search
}
}

lace //optional present only if the href link is present
Reply With Quote




