Skip to main content

ObjFileSource

Specifies the source data for a file being added when creating a new object with files.

NameDescriptionType
typeThe type of the object file source.ObjFileSourceType
dataObject file source type - specific data as a union.ObjFileSourceUnion

Example​

{
"type": 6 /* Enum: ObjFileSourceType */,
"data": {
"file_content": {
"title": "<title>",
"extension": "<extension>",
"file_data": 0 /*Uint8Array*/
}
}
}