INPUT_OBJECT
CreateAssetInTDO
link GraphQL Schema definition
1 input CreateAssetInTDO { 4 2 # A valid MIME type 3 : String 7 5 # An optional description for the asset 6 : String 11 8 # Asset type 9 # See https://support.veritone.com/s/article/000003943 for supported values. 10 : String! 14 12 # URI to the asset data. 13 : String! 17 15 # Optionally, set attributes about the file 16 : SetAssetFileData 20 18 # Optionally, set attributes about the source engine and task 19 : SetAssetSourceData 23 21 # Application- or type-specific metadata 22 : JSONData 26 24 # File or other name 25 : String 31 27 # If true, sets the new asset to be the primary asset of its type. 28 # Only certain asset types, such as "media" and "transcript", 29 # can have primary assets. 30 : Boolean 36 32 # Set to true if the input asset uri is to be treated as a reference 33 # (owned by third-party). If set to true the source file at uri will 34 # not be deleted when deleting asset. 35 : Boolean 37 }