metadata_metadata:addfromfile | |||||
---|---|---|---|---|---|
Description: | |||||
Allows you to add a metadata object and metadata file associated with Kaltura object |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
metadataProfileId | int | V | |||
objectType | KalturaMetadataObjectType | V | KalturaMetadataObjectType:: | ||
objectId | string | V | |||
xmlFile | file | XML metadata | V | ||
Output Type | |||||
KalturaMetadata | |||||
Errors | |||||
METADATA_ALREADY_EXISTS;ID;Metadata already exists id [@ID@] | |||||
METADATA_FILE_NOT_FOUND;FILE_NAME;Metadata file not found [@FILE_NAME@] | |||||
INVALID_METADATA_DATA;ERR_MSG;invalid metadata data: @ERR_MSG@ | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=metadata_metadata&action=addfromfile POST fields: metadataProfileId objectId xmlFile |