GetAutomaticMetadata
Fetches automatic metadata.
Syntax
// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectOperations.GetAutomaticMetadata({
request: {
upload_ids: [] /* Array of number */,
object_type_id: 0,
obj_ver: {
obj_id: {
type: 0,
item_id: {
internal_id: 0,
external_repository_id: {
connection: "<!< The external repository connection identifier.>",
item: "<item>",
},
},
},
version: {
type: 7 /* Enum: ObjVerVersionType */,
internal_version: 0,
external_repository_version: "<external_repository_version>",
external_repository_sort_key: 0,
},
},
properties: [] /* Array of PropertyValue */,
services: [] /* Array of string */,
custom_data: "<!< The custom data for metadata providers.>",
},
});
Message
Name | Description | Type |
---|---|---|
request | The automatic metadata extraction request. | AutomaticMetadataRequest |
Return type
Name | Description | Type |
---|---|---|
response | Receives the automatic metadata. | AutomaticMetadataResult |
Example
{
"response": {
"property_value_suggestions": [] /* Array of PropertyValueSuggestion */
}
}