Loris icon indicating copy to clipboard operation
Loris copied to clipboard

[API] PUT request not updating image's QC values

Open AlexandraLivadas opened this issue 4 years ago • 1 comments

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

  1. Go to the API documentation module and scroll down to the specified request section
  2. 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.
  3. Fill in the request body section with updated QC values for the image.
  4. Click on "Execute" and see error
  5. Go to the corresponding GET /candidates/{candid}/{visit}/images/{filename}/qc section 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.

AlexandraLivadas avatar Dec 14 '21 15:12 AlexandraLivadas

@xlecours @cmadjar seems important?

driusan avatar Dec 20 '22 17:12 driusan