SEARCH Videos in Feed
Many times you need to retrieve the content keys, titles, descriptions, etc for videos from a search query. This API call will retrieve the videos associated with an organization and a bunch of metadata about those videos from a search query in a given feed
Retrieve videos from a search query
This GET request retrieves the videos from your search query. The feed is located in feeds.
GET
https://search-prod.parone.app/search_video_feed?feed=KEY&searchString=XXX
Call Parameters
Parameter | Value | Comments |
---|---|---|
feed | The feed you want to search | |
searchString | the search string, URL encoded | Must be three characters or more long. |
Return Value
This call will return a JSON object that has a list of videos for your organization.
Structure of the Returned Results
The content_key and feed_code are used to parameterize the <parone-video-block>
.
Field | Value | Comments |
---|---|---|
content_key | The content key for this video | Used across the ParOne API to identify a piece of content. |
created_date | The date the video was created | in UTC |
description | The video description | |
duration | The video’s duration, in seconds | |
parone_categories | The ParOne categories associated with this video | ParOne categories are used for syndication |
syndications | A list of syndications (see below). Each syndication has a start_time, stop_time, a name, and geo field that controls when a video is shown. | Customers may have content that’s active in one geo during one date range and another during another date range, due to broadcast rights agreements. Dates are in UTC |
removed | Has this video been removed from syndication | If it’s removed it won’t be visible anywhere. This is the equivalent of a deleted video |
thumbnail | The video’s thumbnail | |
title | The video’s title |
Syndications
Field | Value | Comments |
---|---|---|
name | The name of the syndication | |
start_time | When the syndication starts | In UTC |
stop_time | When the syndication stops | In UTC |
geos | The geographies for the syndication | Country codes are three-letter country codes |