Export requests can be made to export data out of aiWARE in specific formats.
They are requested via the createExportRequest mutation.
An example mutation might look like this:
mutation createExportRequest {
createExportRequest(input: {
includeMedia: true
tdoData: [{tdoId: "96972470"}, {tdoId: "77041379"}]
outputConfigurations:[
{
engineId:"<engine ID>"
categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182"
formats:[
{
extension:"ttml"
options: {
maxCharacterPerLine:32
newLineOnPunctuation: true
}
}
]
}
]
}) {
id
status
organizationId
createdDateTime
modifiedDateTime
requestorId
assetUri
}
}See the API reference for full documentation on all the available parameters.
The options block under formats is (by definition) optional.
When it is used, please note that different options apply to different formats.
| Format | Available Options |
|---|---|
txt |
maxCharacterPerLinewithSpeakerDatatimeGapToSeparateParagraphMs |
ttml |
maxCharacterPerLinenewLineOnPunctuationwithSpeakerData |
vtt |
maxCharacterPerLinenewLineOnPunctuationwithSpeakerDatalinesPerScreen |
srt |
maxCharacterPerLinenewLineOnPunctuationwithSpeakerDatalinesPerScreen |