Beit-Hatfutsot / dbs-back

The MoJP RESTfull API server
GNU Affero General Public License v3.0
1 stars 4 forks source link

DBS API probably has been changed and broke spotlight.bh.org.il/czech #216

Closed nirgoldberg closed 7 years ago

nirgoldberg commented 7 years ago

DBS API URL as configured in spotlight project is: http://api.dbs.bh.org.il/v1/collection/{location} It seems it has been changed in a way that broke the spotlight project.

In order to verify that, I've read the dbs data from a pre-stored file, rather than the API itself and it all looks fine.

OriHoch commented 7 years ago

I'm not familiar with this url and not sure what it's supposed to return

It seems to work correctly, not sure what you mean by broken if you could provide example of a specific url and the expected vs. actual outcome it would help

regarding the change we did - we just enforced https, but it does redirect when you access from http, so it should still work, even if you access the old url. You could try to change to https and see if that solves the problem.

nirgoldberg commented 7 years ago

I migrated spotlight to https (as part of my plan any way). The API is just fine, the problem was related to another internal issue. Thanks.