Closed stsievert closed 6 years ago
@sumeetsk and I ran into this today. He wanted this endpoint to verify (target_id, filename) pairs were consistent across experiments after 9e82f9b151818f16cb1597cfbf49be77af6549f4 when using a ZIP file.
I ran into this again today with a psych person using NEXT. She wanted to verification that NEXT was using the intended targets; there may have been some human error here.
Looks like https://github.com/nextml/NEXT/pull/210#issuecomment-344013130 caused a practical issue; she didn't upload the correct number of targets. We resolved this with f6cbea9bf44fc567d7f9a443a1dcdecc4514daab
The target order is unknown when uploading a zip file of images. This PR resolves that problem by adding a
/api/experiment/{exp_uid}/targets
endpoint.This PR is a minimal solution to get results (as in #189).