INPUT_OBJECT

CreateTDOWithAsset

link GraphQL Schema definition

1input CreateTDOWithAsset {
4
2# TDO status, such as "recorded" (the default)
3status: String
7
5# A name for the TDO object, such as the name of the primary media file.
6name: String
10
8# Start date and time for the file
9startDateTime: 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.
14stopDateTime: DateTime
18
16# determine stopDateTime based on the length of the media asset
17updateStopDateTimeFromAsset: Boolean
21
19# The ingestion source ID for this file
20sourceId: ID
25
22# Content type for the file.
23# Default is "video/mp4"
24contentType: String
28
26# The file location or URI.
27uri: String
30
29file: UploadedFile
33
31# Deprecated - use scheduledJobId
32scheduleId: ID
36
34# The scheduled job ID.
35scheduledJobId: 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.
40isPublic: 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.
46parentFolderId: ID
51
48# Asset type. Default is "media".
49# See https://support.veritone.com/s/article/000003943 for supported values.
50assetType: 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.
59sourceData: SetTDOSourceData
62
61details: 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.
66contentTemplates: [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.
71addToIndex: Boolean
75
73# An optional thumbnail URL for the TDO
74thumbnailUrl: String
78
76# An optional preview asset URL for the TDO
77previewUrl: String
81
79# An optional image representing the TDO source
80sourceImageUrl: String
85
82# Optionally, looks up and launch the scheduleJob that associates with
83# media source if it is active
84launchProgram: Boolean
86}