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 : 25 22 # Content type for the file. 23 # Default is "video/mp4" 24 String : 28 26 # The file location or URI. 27 String : 30 29 UploadedFile : 33 31 # Deprecated - use scheduledJobId 32 ID : 36 34 # The scheduled job ID. 35 ID : 41 37 # True if the new TDO should be made public. If true, security.global 38 # will be set to true and users from other organizations will be able to 39 # view, but not modify, the TDO's metadata and assets. 40 Boolean : 47 42 # An optional parent folder ID for the new TemporalDataObject. 43 # The folder can be filed in additional folders later using 44 # `fileTemporalDataObject`, 45 # or un-filed from this one. 46 ID : 51 48 # Asset type. Default is "media". 49 # See https://support.veritone.com/s/article/000003943 for supported values. 50 String : 60 52 # Optionally, set source data for this TDO. Source data identifies 53 # that task that generated this TDO. If the TDO was not generated as part 54 # of engine or adapter execution, this field should not be set. 55 # However, it is _strongly_ recommended that engines that create TDOs 56 # set this field. Doing so ensures that later tasks in the same job 57 # have appropriate access to the new TDO. 58 # This source data will be set on both the TDO and the asset. 59 SetTDOSourceData : 62 61 JSONData : 67 63 # Optionally, specify one or more structured data objects to apply as 64 # content templates to the TDO. They will be stored as assets of type 65 # content-template and will contain an immutable copy of the original data. 66 CreateTDOContentTemplateWithTDO!] : [ 72 68 # Optionally, add the new data to the search index. If the data is not 69 # indexed on creation, it can be indexed later by using `updateTDO` or 70 # creating a suitable job. 71 Boolean : 75 73 # An optional thumbnail URL for the TDO 74 String : 78 76 # An optional preview asset URL for the TDO 77 String : 81 79 # An optional image representing the TDO source 80 String : 85 82 # Optionally, looks up and launch the scheduleJob that associates with 83 # media source if it is active 84 Boolean : 86 }