Quantcast
Channel: Kaltura - Latest topics
Viewing all articles
Browse latest Browse all 2994

Kaltura API - List videos in channels associated with a specific category

$
0
0

I need to get a list of all the videos in a given category, including all videos that are in channels that are associated with that category (even if those videos are not explicitly added to that category).

Currently I’m using the /api_v3/service/media/action/list API, with the following json:

{
    "ks": kaltura_session_id,
    "filter": {
        "objectType": "KalturaMediaEntryFilter",
        "statusEqual": KalturaEntryStatus.READY,
        "mediaTypeEqual": KalturaMediaType.VIDEO,
        "createdAtGreaterThanOrEqual": from_date,
        "categoryAncestorIdIn": category
    },
    "pager": {"pageIndex": page_index, "pageSize": page_size},
}

However, this only returns the videos that explicitly are added to that category or sub-categories. Is there another API or another type of filter I can use to fetch all of these videos, including those in channels associated with the specified category?

If not, are there APIs that will return a list of all channels associated with a category, and return a list of videos in a channel or list of channels?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 2994

Trending Articles