Skip to main content

searchVideos

Searches videos for a given search term.

searchVideos(
country: CountryCode
filters: FilterVideoInput
search: String!
stationId: UUID
): [NormalizedVideo!]!

Arguments

searchVideos.country ● CountryCode scalar references

Country to use for results normalization.

searchVideos.filters ● FilterVideoInput input references

searchVideos.search ● String! non-null scalar references

Search term.

searchVideos.stationId ● UUID scalar references

ID of station to use for results normalization.

Type

NormalizedVideo object references

Station-normalized data for a video.

The Local Streaming data model has three types repsenting a video:

  • PbsVideo: Base type, read-only and synced from PBS Media Manager,
  • Video: Global video metadata overriding PbsVideo metadata for all stations, and
  • StationVideo: Station video metadata overriding Video and PbsVideo metadata for individual stations.

The NormalizedVideo is a combination of all three types for a specific station and country.