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
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.
25contentType: String
29
27# The file location or URI.
28uri: String
31
30file: UploadedFile
34
32# Deprecated - use scheduledJobId
33scheduleId: ID
37
35# The scheduled job ID.
36scheduledJobId: 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.
41isPublic: 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.
47parentFolderId: ID
52
49# Asset type. Default is "media".
50# See https://support.veritone.com/s/article/000003943 for supported values.
51assetType: 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.
60sourceData: SetTDOSourceData
63
62details: 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.
67contentTemplates: [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.
72addToIndex: Boolean
76
74# An optional thumbnail URL for the TDO
75thumbnailUrl: String
79
77# An optional preview asset URL for the TDO
78previewUrl: String
82
80# An optional image representing the TDO source
81sourceImageUrl: String
86
83# Optionally, looks up and launch the scheduleJob that associates with
84# media source if it is active
85launchProgram: Boolean
87}