INPUT_OBJECT
CreateTDOWithAsset
link GraphQL Schema definition
1 input CreateTDOWithAsset { 4 2 # TDO status, such as "recorded" (the default) 3 : String 7 5 # A name for the TDO object, such as the name of the primary media file. 6 : String 10 8 # Start date and time for the file 9 : DateTime! 15 11 # Stop date and time. If not passed, the server 12 # will apply a value based on the default 13 # chunk size of 15 minutes. 14 : DateTime 18 16 # determine stopDateTime based on the length of the media asset 17 : Boolean 21 19 # The ingestion source ID for this file 20 : ID 26 22 # Content type for the file. 23 # Optional - if not provided, the content type will be auto-detected 24 # from the uploaded file or inferred from the URI file extension. 25 : String 29 27 # The file location or URI. 28 : String 31 30 : UploadedFile 34 32 # Deprecated - use scheduledJobId 33 : ID 37 35 # The scheduled job ID. 36 : ID 42 38 # True if the new TDO should be made public. If true, security.global 39 # will be set to true and users from other organizations will be able to 40 # view, but not modify, the TDO's metadata and assets. 41 : Boolean 48 43 # An optional parent folder ID for the new TemporalDataObject. 44 # The folder can be filed in additional folders later using 45 # `fileTemporalDataObject`, 46 # or un-filed from this one. 47 : ID 52 49 # Asset type. Default is "media". 50 # See https://support.veritone.com/s/article/000003943 for supported values. 51 : String 61 53 # Optionally, set source data for this TDO. Source data identifies 54 # that task that generated this TDO. If the TDO was not generated as part 55 # of engine or adapter execution, this field should not be set. 56 # However, it is _strongly_ recommended that engines that create TDOs 57 # set this field. Doing so ensures that later tasks in the same job 58 # have appropriate access to the new TDO. 59 # This source data will be set on both the TDO and the asset. 60 : SetTDOSourceData 63 62 : JSONData 68 64 # Optionally, specify one or more structured data objects to apply as 65 # content templates to the TDO. They will be stored as assets of type 66 # content-template and will contain an immutable copy of the original data. 67 : [CreateTDOContentTemplateWithTDO!] 73 69 # Optionally, add the new data to the search index. If the data is not 70 # indexed on creation, it can be indexed later by using `updateTDO` or 71 # creating a suitable job. 72 : Boolean 76 74 # An optional thumbnail URL for the TDO 75 : String 79 77 # An optional preview asset URL for the TDO 78 : String 82 80 # An optional image representing the TDO source 81 : String 86 83 # Optionally, looks up and launch the scheduleJob that associates with 84 # media source if it is active 85 : Boolean 87 }