Skip to main content

ObjFileSource

Struct for object file source data in a add object with files call.

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

Example

{
"type": 3 /* Enum: ObjFileSourceType */,
"data": {
"blank_template": {
"name": "<!< Blank template file name.>"
},
"user_defined_template": {
"obj_id": {
"type": 0,
"item_id": {
"internal_id": 0,
"external_repository_id": {
"connection": "<!< The external repository connection identifier.>",
"item": "<item>"
}
}
}
},
"uploaded_file": {
"upload_id": 0,
"title": "<!< The title of the file.>",
"extension": "<extension>",
"size": 0
}
}
}