-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
BrAPI-GermplasmRelated to BrAPI-GermplasmRelated to BrAPI-GermplasmNew ParameterAdding a new search/filter parameterAdding a new search/filter parameter
Description
We have a use-case where we'd like to be able to search germplasm by the acquisitionDate property. Ideally, we'd like to be able to find germplasm that were acquired after a certain date or between specific dates.
Our idea is that we could use the GET /germplasm or POST /search/germplasm endpoints to filter germplasm by acquisition date. However, a simple equality parameter would not be enough to find matches for a range of dates. Our idea is to add these parameters:
acquisitionDate- include germplasm that match an exact date in YYYYMMDD formatminAcquisitionDate- include germplasm that have an acquisition date >= the parameter valuemaxAcquisitionDate- include germplasm that have an acquisition date <= the parameter value
The minAcquisitionDate and maxAcquisitionDate parameters could be combined to filter germplasm by a range of dates.
Any thoughts on this idea?
Metadata
Metadata
Assignees
Labels
BrAPI-GermplasmRelated to BrAPI-GermplasmRelated to BrAPI-GermplasmNew ParameterAdding a new search/filter parameterAdding a new search/filter parameter
Type
Projects
Status
No status