Kaltura has a rich system for integrating with many social networks. The Kaltura API is also capable of extracting data from or editing the distribution system.
As an example, if one of your entries entryId
is already distributed to Youtube and you want to retrieve the id of the content on the Youtube, the following example illustrates how:
First query distributionProfile.list to find the id
of the Youtube distribution profile. Provide this id
to the distributionProfileIdEqual
and filter as well by entryIdEqual
. The result will look like this:
"objects": [
{
"id": 100417113,
"createdAt": 1625373489,
"updatedAt": 1625374788,
"submittedAt": 1625374788,
"entryId": "1_3w9gfolz",
"partnerId": 3465853,
"distributionProfileId": 2917543,
"status": 2,
"sunStatus": 2,
"thumbAssetIds": "",
"flavorAssetIds": "1_uneafeix",
"assetIds": "",
"sunrise": 1623029234,
"remoteId": "XEwe-9kODZM",
"validationErrors": [],
"hasSubmitResultsLog": false,
"hasSubmitSentDataLog": false,
"hasUpdateResultsLog": false,
"hasUpdateSentDataLog": false,
"hasDeleteResultsLog": false,
"hasDeleteSentDataLog": false,
"objectType": "KalturaEntryDistribution"
},
The remoteId
field will be the Youtube id of the video that has been distributed. Using the youtube convention
https://www.youtube.com/watch?v=<entryId>
you can subsitute the remoteId
and the video will be playable.
There are many ways to access the distribution api. Refer to these resources for a complete list:
https://developer.kaltura.com/console/service/entryDistribution
- entryDistribution.add
- entryDistribution.delete
- entryDistribution.get
- entryDistribution.list
- entryDistribution.retrySubmit
- entryDistribution.serveReturnedData
- entryDistribution.serveSentData
- entryDistribution.submitAdd
- entryDistribution.submitDelete
- entryDistribution.submitFetchReport
- entryDistribution.submitUpdate
- entryDistribution.update
- entryDistribution.validate
https://developer.kaltura.com/console/service/distributionProfile
- distributionProfile.add
- distributionProfile.delete
- distributionProfile.get
- distributionProfile.list
- distributionProfile.listByPartner
- distributionProfile.update
- distributionProfile.updateStatus
https://developer.kaltura.com/console/service/distributionProvider