UW-Macrostrat / macrostrat-api

The API for SCIENCE
3 stars 1 forks source link

multiple parameter combination behavior #213

Open cambro opened 5 years ago

cambro commented 5 years ago

It appears that "AND" is implemented in a call like this: https://macrostrat.org/api/units?lith_att=siliceous&lith=chert

In some (most, many?) cases it will be desirable to have this be an "OR" option. In principle, this could be specified by a parameter ("logic=or", defaulting to "and" or some such thing).