INPUT_OBJECT
CreateScheduledJobContentTemplateWithScheduledJob
link GraphQL Schema definition
1 input CreateScheduledJobContentTemplateWithScheduledJob { 5 2 # Supply the ID of the data registry that contains the schema 3 # for the content template. 4 ID! : 9 6 # To associate an existing structured data object (SDO) to the 7 # source, provide the SDO ID. Either this field or data must be supplied. 8 ID : 14 10 # To create a new structured data object, supply this field with 11 # JSON to save in the SDO. The JSON must comply with the schema 12 # defined in data registry. 13 JSONData : 15 }
link Required by
- CreateScheduledJobExample to create a scheduleJob: mutation createScheduleJob { createScheduledJob(input: { name: "every5Min" runMode:Recurring recurringScheduleParts: [ { repeatIntervalUnit: Minutes repeatInterval: 5 }] jobTemplates:[ { #clusterId: "rt-242c1beb-653a-4299-bb33-2d8fb105d70b" clusterId: "YOUR OWN CLUSTER ID" taskTemplates : [ { engineId: "9e611ad7-2d3b-48f6-a51b-0a1ba40fe255" webstream adapter payload: { url:"https://s3.amazonaws.com/src-veritone-tests/stage/20190505/0_40_Eric%20Knox%20BWC%20Video_40secs.mp4" } }, { engineId: "352556c7-de07-4d55-b33f-74b1cf237f25" playback }, { engineId: "8bdb0e3b-ff28-4f6e-a3ba-887bd06e6440" chunk audio payload:{ ffmpegTemplate: "audio" chunkOverlap: 15 customFFMPEGProperties:{ chunkSizeInSeconds: "30" } } }, { #engine to run engineId: "c0e55cde-340b-44d7-bb42-2e0d65e98255" } ] } ] } ) { id } }
- UpdateScheduledJob