UW-Macrostrat / macrostrat-api

The API for SCIENCE
3 stars 1 forks source link

Querying by concept_id does not work for /fossil route #186

Closed aazaff closed 7 years ago

aazaff commented 7 years ago

https://dev.macrostrat.org/api/fossils?concept_id=9394 does not work, but https://dev.macrostrat.org/api/fossils?strat_name_concept_id=9394 does.

Either the documentation needs to be changed to indicate the latter, or the route should be changed to match the documentation.

cambro commented 7 years ago

fixed with https://github.com/UW-Macrostrat/macrostrat-api/commit/f5a8ab6107fce8b113537d2d6c250c292b0401af