queries for RTS Play Search

get

queries for RTS Play Search

queries for RTS Play Search, beta version

https://api.srgssr.ch/v2/rtslab /search_catalog

Name Values Description
query
(required)

search term that the user looks for

topic_ids

categories to be filtered on, example [1081,1095]. Categories and their ids are the following: {1081: u"Info", 1095: u"Sport", 1353: u"Séries", 54537: u"Tataki", 45703: u"Webcréation",47040: u"Autres", 2743: u"Kids", 623: u"Documentaires", 2451: u"Prime Time",11253:"Couleur 3", 21253:"La première" , 31253:"Option Musique", 41253:"Espace 2" }

show_ids

progams to filter on, example [105932,548307] to filter on shows "19h30" and "12h45"

published_date_from

only programs that are published starting from this date are considered

published_date_to

only programs that are published until this date are considered

start

page result number

page_size

number of items

media_type

media type (audio or video)

context

full or standard

publication_state

published or draft or other (default is published)

duration_from

minimum program duration

duration_to

maximum program duration

nbViews

filter media with minimum number of views above given threshold

download_available

is download of the item available (true or false)

playable_abroad

can we play the item outside Switzerland (true or false)

include_aggregations

include aggregations on shows, topics and many other properties (true or false)

include_suggestions

include suggestions (true or false)

enable_fuzzy_search

enable fuzzy search to retrieve words that are close to the query (true or false)

sort_by

sort by criteria (publicationDate or relevance)

HTTP Basic

OAuth 2.0

API Key

Reset

Working...

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security

Category

Search