Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
Hi,
I would like to know whether the moderation API is enabled on KalturaCE or not.
On the case, it would be enabled. How can an entry be updated to moderate via the API?
We would like some videos must be moderate "on the moderation section" before they can be listed on any video search.
Many thanks in advance.
With API v3 you can use the media.flag service to create a moderation_flag assigned to an entry, but this service don't change the entry status. I suppose it should be changed from state 2 to state 5, but it doesn't work
ERROR -1 An error occured importing or converting the entry
IMPORT 0 The entry is in status imported
PRECONVERT 1 The entry is waiting for convertion
READY 2 The entry is ready to be played
DELETED 3 The entry is deleted
PENDING 4 Deprecated
MODERATE 5 The entry is waiting for moderation
BLOCKED 6 The entry is moderated and set to blocked
Moderation_Status are {pending, allow, block, delete, review}.
It seems moderation works well with api_v2. Each function shown below seem to work well.
- moderation.report entry
- moderation.handle_moderation
- moderation.list_moderation
- moderation.add_moderation
Api_v3 cannot set the moderation_status to "Flagged For Review".
- base.Entry flag: set the flag status "ej: sexual_content, commercial_content....", but it does not modify the moderation status property to "Flagged For Review".
However, i could not find out which function set up the moderation status flag.
I guess that base.Entry aprove and base.Entry reject would change the moderation status field, but it cannot be probe without setting up the status to "Flagged For Review".
Is there a bug on this version of Kaltura API v3 or i forgot anything?