Skip to main content

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

NameDescriptionType
requestThe automatic metadata extraction request.AutomaticMetadataRequest

Return type

NameDescriptionType
responseReceives the automatic metadata.AutomaticMetadataResult

Example

{
"response": {
"property_value_suggestions": [] /* Array of PropertyValueSuggestion */
}
}