rfcx / rfcx-api

Core, Media/Assets and MQTT APIs
https://api.rfcx.org/docs/
Apache License 2.0
0 stars 0 forks source link

Fix review detection can update review status to multiple detections of same project #618

Closed grindarius closed 5 months ago

grindarius commented 5 months ago

✅ DoD

(use na when API docs (Release notes, etc) do not need to be updated)

📝 Summary

📸 Examples

Put screenshots or response/request examples here!

🛑 Problems

💡 More ideas

Write any more ideas you have

antonyharfield commented 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
grindarius commented 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

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,