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
Note that we don't need to return the join table ids, e.g. /sites?associations_mode=ids returns ids for the experiment_sites table, but these aren’t terribly useful since we can't query join tables like this (or sites_cultivars).
The text was updated successfully, but these errors were encountered:
It sounds like I should add experiments_sites to the list of tables that are ignored when listing associations. It is probably not in the list because it was a somewhat later addition.
I was hoping to get a list of cultivars associated with each site, or a list of sites associated with each cultivar, but have been unable to do so
e.g. https://terraref.ncsa.illinois.edu/bety/api/v1/cultivars?associations_mode=ids&limit=1 doesn’t return associated sites and https://terraref.ncsa.illinois.edu/bety/api/v1/sites?associations_mode=ids&limit=1 doesn’t return any cultivars
Note that we don't need to return the join table ids, e.g. /sites?associations_mode=ids returns ids for the experiment_sites table, but these aren’t terribly useful since we can't query join tables like this (or sites_cultivars).
The text was updated successfully, but these errors were encountered: