Closed nsteinme closed 4 years ago
Yep https://github.com/cortex-lab/alyx/pull/667 reviewing it now
After update, this will get the surgeries through the endpoint using ONE:
from oneibl.one import ONE
one = ONE()
surgeries = one.alyx.rest('surgeries', 'list')
subjects = one.alyx.rest('subjects', 'list')
There's currently no way to query the rest api for surgeries - could we have an endpoint for that?