Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/traits call uses a "observationVariableDbId" filter which is not in the returned properties #597

Open
guignonv opened this issue Apr 15, 2024 · 1 comment
Labels
BrAPI-Phenotyping Related to BrAPI-Phenotyping Modify Data Model Change an existing data model

Comments

@guignonv
Copy link
Member

The "observationVariableDbId" property, as it can be used as filter, should appear in the returned properties.

@BrapiCoordinatorSelby BrapiCoordinatorSelby added Modify Data Model Change an existing data model BrAPI-Phenotyping Related to BrAPI-Phenotyping labels Apr 15, 2024
@daveneti
Copy link

daveneti commented Apr 19, 2024

The relationship between observation variable and trait is many to one. A trait can have multiple observation variables associated with it. So it would not be appropreate to return all the observartion variables for a trait in the response. It is better to use the observationVariables endpoint with the trailDbId/traitName/traitPUI filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BrAPI-Phenotyping Related to BrAPI-Phenotyping Modify Data Model Change an existing data model
Projects
None yet
Development

No branches or pull requests

3 participants