metadata_metadata:update | |||||
---|---|---|---|---|---|
Description: | |||||
Update an existing metadata object with new XML content |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
id | int | V | |||
xmlData | string | XML metadata | |||
version | int | Enable update only if the metadata object version did not change by other process | |||
Output Type | |||||
KalturaMetadata | |||||
Errors | |||||
METADATA_NOT_FOUND;ID;metadata not found, id [@ID@] | |||||
INVALID_METADATA_DATA;ERR_MSG;invalid metadata data: @ERR_MSG@ | |||||
INVALID_METADATA_VERSION;VERSION;invalid metadata version [@VERSION@] | |||||
XSLT_VALIDATION_ERROR;ERR_MSG;XSLT validation error [@ERR_MSG@] | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=metadata_metadata&action=update POST fields: id xmlData version |