Support worker_run_id on CreateElementTranscriptions
Depends #1025 (closed)
Depends #1022 (closed)
Once we have WorkerRun linked on both Element & Transcription, we can also add a field on the API endpoint CreateElementTranscriptions
Rules for endpoints:
- we only support
worker_version_idXORworker_run_id, raise a 400 if both are supplied - the endpoint must load the
WorkerRunfrom its ID to check its existence - and use the related
WorkerVersionasworker_version_idon the resulting elements & transcriptions (so we end up with both worker_version & worker_run being set on the Element & Transcription)