Julian Simioni
435104842d
Fix failing Ciao tests
...
They were expecting certain parts of the response to not be there when
an error is returned, but that's overspecifying the result in my
opinion.
9 years ago
Diana Shkolnikov
500835a4c1
Update addressit module to not strip 0s from zipcodes
9 years ago
Peter Johnson
c609ae3ccf
http friendly status codes. resolves #321
9 years ago
Peter Johnson
51858781a9
fix ciao tests
9 years ago
Julian Simioni
ab006054f8
Fix low hanging fruit in ciao tests
...
Quite a few of our tests simply had old error messages as expectations,
or expected output in an array that was correct but in the wrong order.
Those are all fixed.
9 years ago
Peter Johnson
a209024143
remove cache control headers
9 years ago
Julian Simioni
fef92bd34b
Remove the geoname _type from all layers except venue
...
We can't distinguish between geonames of different layers due to an
ambiguity in our Elasticsearch schema that we unfortunately won't be
able to fix for a few weeks.
So, while it's technically true that there are countries, cities, etc
contained in the geonames dataset, it's still better for now to remove
geonames from these layers. We have good coverage of most coarse layers
from quattroshapes alone, so the impact isn't too bad.
9 years ago
Julian Simioni
2811569bcd
Switch to source:layer:id ids format in /place
9 years ago
Stephen Hess
a21a4476d1
added ciao tests
9 years ago
Peter Johnson
348d2e70e2
more conformance
9 years ago
Julian Simioni
16450087ee
Use simpler, clearer error on invalid ids length
9 years ago
Julian Simioni
1b6c61c92e
Leave clean.ids undefined on error
9 years ago
Julian Simioni
c687102374
Rename /place id parameter to ids
9 years ago
Peter Johnson
82ab899ecc
progress commit
9 years ago
Peter Johnson
bfb63ec912
update ciao tests, update ciao itself
9 years ago
Peter Johnson
719b32b304
fix ciao tests
9 years ago
Julian Simioni
cb2f1172e3
Use text parameter in ciao tests
9 years ago
Julian Simioni
63d0447b25
Update ciao tests for /v1
9 years ago
Julian Simioni
167547a6c1
Rename doc endpoint to place
9 years ago
Julian Simioni
2fce64f75a
Move files
9 years ago
Julian Simioni
4e74e9b681
Whitespace
9 years ago
Peter Johnson
21d6585314
update sanitizer middleware
10 years ago
Harish Krishna
a91cb23ea4
adding a new file DOCS.md (same as https://github.com/pelias/api/wiki/API-Endpoints ), modifying controller/index.js to return text/html instead of application/json by default. Using markdown module to convert MD to HTML. Fixing tests (removed test/jsonp.coffee)
10 years ago
Harish Krishna
49a63f1861
Documentation and some ciao tests
10 years ago
Peter Johnson
88aa48ec01
formatting
10 years ago
Peter Johnson
6ddbe86ac5
perform mget during suggest. requires suggester output to be a gid
10 years ago
Harish Krishna
81b3668b30
get to doc
10 years ago
Harish Krishna
ca10661457
adding a mget ciao test
10 years ago
Harish Krishna
a2ce1b2c8f
ciao
10 years ago
Peter Johnson
17134105d5
geojsonify /search and /reverse FTW
10 years ago
Peter Johnson
42ac5f05eb
geojsonify suggest API
10 years ago
Harish Krishna
a6747d645a
updating test: changed query, lat, lon values to verify (visually! not programatically for now) location aware search results
10 years ago
Harish Krishna
554bbc62d3
adding search api endpoint and test (lat/lon in the query pending)
10 years ago
Harish Krishna
1e406c88c0
+-1000 +-1000 = +-2000
...
increasing the interval
10 years ago
Peter Johnson
a25946cbb6
vanity headers
10 years ago
Peter Johnson
4323b0030b
progress commit
10 years ago
Peter Johnson
19e7be7422
add functional test suite
10 years ago