You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint /rest/trait/{trait_id} should return a EFOTrait_OntologyChild element as per the schema. This object type should include a child_traits element at the top level.
Thank you for spotting this issue.
This was a due to commented code pushed during a big commit. I reverted it and deployed the fix, so it should work now.
The endpoint
/rest/trait/{trait_id}
should return aEFOTrait_OntologyChild
element as per the schema. This object type should include achild_traits
element at the top level.I have just played with the examples here: https://www.pgscatalog.org/rest/#/Trait%20endpoints/getTrait but it seems that the element
child_traits
is never included in the response object, resembling the response of typeEFOTrait_Ontology
.BTW: Would you consider making both endpoints return objects of type
EFOTrait_OntologyChild
?The text was updated successfully, but these errors were encountered: