GetObjectHistory2
Gets document history (in ascending order).
Syntax
// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectOperations.GetObjectHistory2({
obj_id: {
type: 0,
item_id: {
internal_id: 0,
external_repository_id: {
connection: "<connection>",
item: "<item>",
},
},
},
});
Message
| Name | Description | Type |
|---|---|---|
obj_id | The object ID as JSON. (represented by MF_ObjID struct.) | ObjID |
Return type
| Name | Description | Type |
|---|---|---|
results | Results in ascending order as JSON array. | ObjectVersionEx[] |
Example
{
"results": [] /* Array of ObjectVersionEx */
}