Admin Backfill Opus

Walk every done render and produce the .opus sibling in R2 for any key that doesn't have one. Returns immediately after spawning the background task — poll /v1/admin/articles/backfill-opus/status for progress.

Earlier revisions enqueued through audio_normalize_queue (an in-process asyncio.Queue). That worked for new renders because the render worker and normalize worker share a process, but not for this admin endpoint — the API and worker are separate Fly machines, so keys queued on the API never reach the worker's consumer. We now do the work directly on whichever machine receives the call (Docker image is identical so ffmpeg is there too).

post/v1/admin/articles/backfill-opus

Request

  • Base URL: https://api.storyflo.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.storyflo.com/v1/admin/articles/backfill-opus
  • Auth: none declared

Query parameters

dry_runboolean
limitinteger
sleep_betweennumber

Headers

x-storyflo-email-tokenstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.