Follow these steps to use Kaltura API to find entries based on custom metadata.
- Generate a KS
Open the API console at https://developer.kaltura.com/console/ (Sign In) or http://www.kaltura.com/api_v3/testme.
In case Testme Console is used, first, you will need to generate a KS session as demonstrated on How to Start a Kaltura Session using the TestMe Console. - Session Service:
baseEntry - action:
list - filter:objectType:
KalturaMediaEntryFilter - filter:advancedSearch:objectType:
KalturaMetadataSearchItem - filter:advancedSearch:type:
2 - filter:advancedSearch:metadataProfileId:
[schema_profile_id] (Place here your ID number for example 21664102) - filter:advancedSearch:items:item0:objectType:
KalturaSearchCondition - filter:advancedSearch:items:item0:field:
/*[local-name()='metadata']/*[local-name()='Field_Label']
(Place here your field label for example /*[local-name()='metadata']/*[local-name()='MediaSource'] ) - filter:advancedSearch:items:item0:value:
[custom_metadata_field_value] (Place here your field value for example Keshet 12 News)