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