Skip to content

Latest commit

 

History

History
 
 

create-export-request

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

Creating Export Requests

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.

Format-Specific Options

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 maxCharacterPerLine
withSpeakerData
timeGapToSeparateParagraphMs
ttml maxCharacterPerLine
newLineOnPunctuation
withSpeakerData
vtt maxCharacterPerLine
newLineOnPunctuation
withSpeakerData
linesPerScreen
srt maxCharacterPerLine
newLineOnPunctuation
withSpeakerData
linesPerScreen