Loris
Loris copied to clipboard
[API] PUT request not updating image's QC values
Describe the bug
The PUT request /candidates/{candid}/{visit}/images/{filename}/qc is returning an error and not updating the corresponding image's qc values
To Reproduce
- Go to the API documentation module and scroll down to the specified request section
- Click on "Try it out" and enter a CandID, visit label, and filename. You can use the GET requests above this section to get the visit labels and filenames for a given candidate.
- Fill in the request body section with updated QC values for the image.
- Click on "Execute" and see error
- Go to the corresponding GET
/candidates/{candid}/{visit}/images/{filename}/qcsection right above the PUT request and enter the same CandID, visit label, and filename. See that the QC values are not updated.
What did you expect to happen? The QC values should be updated and there should be no error.
@xlecours @cmadjar seems important?