Recipes available via URL
Audio Snippets
Used to extract snippets from audio files
Extensions supported:
aac
aiff
dts
flac
m4a
mp2
mp3
oga
ogg
opus
ra
wav
wma
Recipe Options
format
[string]
start
timestamp to start snippet [string]
end
timestamp to end snippet [string]
Timestamp in seconds, you may use dot notation to target in milliseconds.
Example: { format:"mp3", start:"0.305", end:"20.571" }
Usage
Usage of the audio snippet generation endpoint:
Full Request Example
GET /api/v1/eas/download/{fileId}/{hash}/{version}&access_token={access_token}&recipe=audioconverter:snippet&recipe_params={params}
/inspect/files/{fileID}lists the required fieldsfor
versionuse a named rendition, likeoriginal.mp3alternatively, download the record in the frontend and copy the according download URL in the browsers dev tools
use
&recipe=audioconverter:snippetto use the recipeand pass the
recipe_paramsas URL encoded JSON (depending on request context this might not be required)
Last updated