Closed grindarius closed 5 months ago
Does it still match the description after this change?
/**
* @swagger
*
* /streams/{streamId}/detections/{start}/review:
* post:
* summary: Review a detection
* description: Creates or updates reviews for any detections matching stream and start
Does it still match the description after this change?
/** * @swagger * * /streams/{streamId}/detections/{start}/review: * post: * summary: Review a detection * description: Creates or updates reviews for any detections matching stream and start
I will change the description to "Creates or updates a review for a detection matching stream, start, classification value, classifier, and classifier job" because the where
clause to find the detections are using start
, stream_id
, classification_value
, classifier_id
, and classifier_job_id
,
✅ DoD
(use na when API docs (Release notes, etc) do not need to be updated)
📝 Summary
update
of detection dao acceptdetectionId
as one of the where clause parameters to update to uniquely update the detection status. We have a problem wherestreamId
andstart
is not unique enough in some cases where one stream segment can have multiple classifications on it.📸 Examples
Put screenshots or response/request examples here!
🛑 Problems
💡 More ideas
Write any more ideas you have