Open danwagnerco opened 9 years ago
Hey @danwagnerco, thanks for reporting this.
Unfortunately, We removed the elasticsearch plugin to the site (it was costly and there wasn't anybody using until this moment), so the search endpoint has been disabled for sometime now.The /stars/search returns a 200 OK because of how we have written our routes but there is nothing available at that end point either.
(What is really happening is you are searching for a star with ID: search which obviously doesn't exist)
Can you share what is your exact use case so that I can see if I can do something for you?
Cheers, -Suren
Hey HacktheUniverse team -- very cool project!
I am getting an interesting response when attempting to use the
search
endpoint. The documentation, for example, is returning:$ curl http://star-api.herokuapp.com/api/v1/search?q=%22Sun%22
{"status":"500","error":"Internal Server Error"}
On the other hand, when I try a different search, like the star "HIP1 HD224700 Gli", a
null
response comes back:$ curl http://star-api.herokuapp.com/api/v1/stars/search?q=%22HIP1%20HD224700%20Gli%22
null
Am I incorrectly forming the URL?