ObjFileSource
Specifies the source data for a file being added when creating a new object with files.
| Name | Description | Type |
|---|---|---|
type | The type of the object file source. | ObjFileSourceType |
data | Object 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*/
}
}
}