Kaltura API DocumentationbaseEntry.listFlags

List all pending flags for the entry.

Try it out
post https://www.kaltura.com/api_v3/service/baseentry/action/listFlags

Request Parameters

body:object
object
entryId*:string
pager:object:KalturaFilterPager

The KalturaFilterPager object enables paging management to be applied upon service list actions.

KalturaFilterPager must also match all of:
object:KalturaPager

Response

Success

object:KalturaModerationFlagListResponse
objects:array[object:KalturaModerationFlag]
object:KalturaModerationFlag
comments:string

The comment that was added to the flag

createdAt:integer

readOnly

flagType:integer
Enum: SEXUAL_CONTENT [1], VIOLENT_REPULSIVE [2], HARMFUL_DANGEROUS [3], SPAM_COMMERCIALS [4], COPYRIGHT [5], TERMS_OF_USE_VIOLATION [6]

Enum Type: KalturaModerationFlagType

flaggedEntryId:string

If moderation flag is set for entry, this is the flagged entry id

flaggedUserId:string

If moderation flag is set for user, this is the flagged user id

id:integer

readOnly

Moderation flag id

moderationObjectType:string
Enum: ENTRY [2], USER [3]

readOnly

Enum Type: KalturaModerationObjectType

The type of the moderation flag (entry or user)

partnerId:integer

readOnly

status:string
Enum: PENDING [1], MODERATED [2]

readOnly

Enum Type: KalturaModerationFlagStatus

The moderation flag status

updatedAt:integer

readOnly

userId:string

readOnly

The user id that added the moderation flag

KalturaModerationFlagListResponse must also match all of:
object:KalturaListResponse