Add media to an existing track of a bundle. This can only be called on a track that currently has no media set or has parts pending.
Once all media parts have been added to a track it is immutable, meaning it cannot be modified. If you wish to modify a track, simply add a new one and delete the existing one.
media_url must be a publicly accessible url to a media file. It will be fetched asynchronously after the REST call returns. The audio can be mono or stereo.
audio_channel is used to specify audio channels if the media is a stereo file. A value of left or right signifies that only the specified channel will be used. If no value or an empty string is specified for audio_channel, all channels will be used in a single track. If your stereo channels were recorded separately with each channel containing distinct content (for example if 2 legs of a phone call were recorded separately and combined into a single stereo file), for best speech recognition, create two tracks with audio_channel to be left and right. If your stereo file is simply a recording made with a stereo microphone, audio_channel should be set to an empty string (or not be specified.)
audio_language can be used to specify the language of the audio media. This is an optional parameter and if not specified or an empty string, the language of the track will be automatically detected. If specified, it must be a language code as described in RFC5646 (see ). Supported languages: en-US, en-UK, es, fr.
start_time a time in seconds that the media starts, relative to start time of the bundle. This allows you to specify sequential parts of media. If not specified, the default is 0.
parts_pending a boolean flag specifying if more media parts will subsequently be added to the track. If true, a subsequent API call must be made to signify that the track is complete. If not specified, the default is false.
If version specified, the track will only be added if the current version matches this parameter value. If the version doesn't match, a 409 Conflict error will be returned. If version not specified, the track will always be updated.
643 matches
21 actions
api.clarify.io
21 actions
- Add a track for a bundlePOSTv1.0.0
- Add media to a trackPUTv1.0.0
- Create a bundlePOSTv1.0.0
- Delete a bundleDELETEv1.0.0
- Delete a bundle trackDELETEv1.0.0
- Delete bundle metadataDELETEv1.0.0
- Delete bundle tracksDELETEv1.0.0
- Generate Group Report <span class="label">beta</span>GETv1.0.0
- Generate Trends Report <span class="label">beta</span>GETv1.0.0
- Get a bundleGETv1.0.0
- Get bundle insightGETv1.0.0
- Get bundle insightsGETv1.0.0
- Get bundle metadataGETv1.0.0
- Get bundle trackGETv1.0.0
- Get bundle tracksGETv1.0.0
- List bundlesGETv1.0.0
- Request an insight to be runPOSTv1.0.0
- Search bundlesGETv1.0.0
- Update a bundlePUTv1.0.0
- Update a tracks for a bundlePUTv1.0.0
- Update bundle metadataPUTv1.0.0
Other/api.clarify.io
Add media to a track
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
{
"type": "object",
"properties": {
"bundle_id": {
"type": "string"
},
"track_id": {
"type": "string"
}
},
"required": [
"bundle_id",
"track_id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
{
"type": "object",
"additionalProperties": true
}