Skip to content

Conversation

@kfc35
Copy link

@kfc35 kfc35 commented Oct 22, 2025

If this pull is accepted, one can now search for the desired male flowers or dead larvae.

The API portion of this change is definitely up for discussion. I did not want to make a new query parameter that might conflict with the existing term_id and term_value_id parameters, so I made a new parameter to just change how we interpret them for this new mode of filtering… but I would suggest, if v2 API’s are still a thing, that the GET observations endpoint be designed to enable more complex querying (with AND’s / OR’s) compared to the v1 counterpart. I understand it might not be possible to overhaul how querying for annotations is designed for the v1 endpoint without a lot of coordination by many parties.

If #542 gets merged first and if desired, I can change the tests to not use fixtures.

Closes #237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support multiple values for term_id and term_value_id in observations search API

1 participant