sgn
sgn copied to clipboard
implement brapi 2.1 /seedlots endpoint
Expected Behavior
I want to be able to query the availability of seedlots that are associated with particular crosses. This would be easiest to accomplish using brapi 2.1 specification for seedlots:
ex2: .../brapi/v2/seedlots?crossName={crossName}&page=0&pageSize=1000 ex2: .../brapi/v2/seedlots?crossDbID={crossDbID}&page=0&pageSize=1000
As a temporary workaround, similar to: [https://github.com/solgenomics/sgn/issues/4109], could add a radio button to /breeders/seedlots/ to allow download of all seedlot information
(According to /serverinfo call, only /seedlots/{seedlotDbId}/transactions endpoint is implemented for my instance .