If I call media.delete (entryID), I believe this would only mark those entries as “deleted” and won’t show on KMC. Is there an API command I can run to restore them?
Also, I can’t seem to get those deleted entries via media.list, am I missing something? I thought I should be able to as they would have a deleted status or something.
I’m using python library if that matters.
Found the answer for this in When do Deleted entries actually get Deleted?.
The restore action in KAC → Batch Process Control → Entry investigation does not seem to be using the API to restore an entry.
It seems to be using the admin console plugin found here:
The admin console plugin in turn, is using entry admin services in Admin console:
So, no. I do not believe you can do this via the public API.
Hi @nwi18 ,
To fetch the deleted entries, call
media.list() and pass a filter object, like so:
filter = KalturaMediaEntryFilter()
filter.statusEqual = KalturaEntryStatus.DELETED
pager = KalturaFilterPager()
result = client.media.list(filter, pager)
As to restoring entries, there is no public API for that. If you’re using CE/OP (self hosted), you can use one of these scripts (depending on your need) to change the status and re-index:
If you’re a SaaS customer, you will need to approach your account manager.
I see. Thanks @pnts-se and @jess