rfcx / arbimon-uploader

Desktop application for ingesting audio to RFCx platform
Apache License 2.0
0 stars 0 forks source link

PI-598 Handle duplicated files when requesting for upload url #102

Closed naluinui closed 3 years ago

naluinui commented 3 years ago

✅ DoD

📝 Summary

When request the upload URL, if the API returns Error Description Result show to the user 👁
400 Duplicated. same sha1 + same filename The app will flag that file as 'Completed'
400 Invalid. same sha1 + different filename The app will flag that file as 'Duplicate' with the error message 'Duplicate file. Matching sha1 signature already ingested.'
Screen Shot 2564-02-26 at 13 10 36