15 Commits (e7c9878bd9699dbd326eef4b6d1f0e450f615ee0)

Author SHA1 Message Date
Peter Johnson 1451e9038e
change all log labels to 'api' 8 years ago
Julian Simioni 2557c68368
Use index name from config in controllers 8 years ago
Vesa Meskanen a2e96987fc Remove expensive JSON.stringify from api debug logging calls 9 years ago
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Vesa Meskanen 269dff9dd1 Add query/response logging in debug mode to place controller, too 9 years ago
Julian Simioni 0e8f4253c0 Return multiple results in place when osm node and way share an id 9 years ago
Peter Johnson c609ae3ccf http friendly status codes. resolves #321 9 years ago
Stephen Hess cb7d22df91 switched ES lookup field from "type" -> "_type", fixes issue with /place lookup on Eiffel Tower gid 9 years ago
Julian Simioni a2cc31f142 Leave a note for future us 9 years ago
Julian Simioni 2505e92a62 Expect an array of types from _ids sanitiser 9 years ago
Peter Johnson 348d2e70e2 more conformance 9 years ago
Peter Johnson 7c46aed4a7 expose error messages in geojson 9 years ago
Peter Johnson 6ab81ffca5 set response data/meta on instead of 9 years ago
Diana Shkolnikov db0e063d8c Refactor controllers to be simple midddleware 9 years ago
Julian Simioni 2fce64f75a Move files 9 years ago
Julian Simioni 4e74e9b681 Whitespace 9 years ago
Harish Krishna 14c718bf1c passing in an object (req.clean) instead of a boolean. Plus updated test 10 years ago
Harish Krishna c99c5f712a adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests 10 years ago
Peter Johnson 2ee32f1892 mget service 10 years ago
Harish Krishna 81b3668b30 get to doc 10 years ago
Harish Krishna b828a05b01 simplifying things, DRY - one endpoint 'GET' handles single/multiple requests. plus test coverage 10 years ago
Harish Krishna fb6947e3fe /get endpoint - controller and sanitizer 10 years ago
Harish Krishna 0a58bc9fea adding type only if clean.layers are not undefined 10 years ago
Harish Krishna ef95f5b67d adding type 10 years ago
Peter Johnson 17134105d5 geojsonify /search and /reverse FTW 10 years ago
Peter Johnson d6ae185cc1 validity check 10 years ago
Harish Krishna 15c63e405c adding a naive reverse api endpoint (also, shares most of the search controller). updated search query to include a filter and a sort (calculating a bounding box, given a lat/lon) 10 years ago
Harish Krishna 554bbc62d3 adding search api endpoint and test (lat/lon in the query pending) 10 years ago
Peter Johnson 4323b0030b progress commit 10 years ago
Peter Johnson f48239a7d4 current dev branch 10 years ago