Ditto Audio Pre Render API
Distributed render offload — nodes, jobs, assignments & live presence
Operations 25
PUT
/v1/pre-render/jobs/{jobId}/excluded
Leave devices out of this render (or include them again), then re-allocate
#
GET
/v1/pre-render/jobs/{jobId}/assignments
List a job's chunk assignments (optionally for one node)
#
POST
/v1/pre-render/assignments/{assignmentId}/claim
Claim a chunk for your node + get presigned mp3 upload URLs
#
POST
/v1/pre-render/assignments/{assignmentId}/chunk-upload-url
Ask-before-upload for the assignment's canonical WAV chunk (coords derived…
#
POST
/v1/pre-render/assignments/{assignmentId}/chunk-confirm
Register the uploaded chunk blob + grant this account its pointer
#
POST
/v1/pre-render/assignments/{assignmentId}/confirm
Close a rendered assignment (blob confirm: no paragraphs; legacy: per-paragraph…
#
POST
/v1/pre-render/assignments/{assignmentId}/release
Hand back a claimed chunk you could not deliver (one attempt; re-placed at once)
#
POST
/v1/pre-render/presence
Report what this device is streaming/receiving right now (?map=1 answers with…
#
DELETE
/v1/pre-render/presence/{deviceId}
A device leaving (a closing tab): drop its live entry and reader claims at once
#
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-claim-assignment-dto-schema.json
JSONSchema
https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-cloud-chunk-confirm-dto-schema.json
JSONSchema
https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-cloud-chunk-upload-url-dto-schema.json
JSONSchema
https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-confirm-assignment-dto-schema.json
JSONSchema
https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-create-job-dto-schema.json
JSONSchema
https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-heartbeat-node-dto-schema.json