Spideo API Doc

Spideo API Doc (3.0.0)

Download OpenAPI specification:Download

Spideo's API offers a collection of endpoints that will allow you to integrate our services into your applications. The APIs are ready to deliver recommendations for Live TV, VoD, and Catch-up along with time-based features.

Authentication

APIKeyQueryParam

Security Scheme Type API Key
Query parameter name: apikey

BUSINESS RULES

Configure the ideal configuration for your recommendation engine.

BUSINESS RULES LISTING

Global view of the business rules set up on your environment.

RULES DISPLAY

Displays all business rules available to be used.

Authorizations:

Responses

PERSONALIZED RECOMMENDATION

Configurations of interactions and profile based suggestions behavior.

TIME BASED RECOMMENDATION

Set up of time-based configuration for profile based recommendation features. The time based setting can influence the reco algorithm by identifying a consumption pattern based on the interactions performed the previous week at each moment of each day.

Authorizations:
path Parameters
useTimeBasedRecommendation
required
boolean
Enum: true false

Default value; true Allowed value; true or false

Responses

PROFILE BASED RECOMMENDATION FALLBACK

Allow the ability to activate the display of a list of the most watched titles as a fallback when a user has no history or if there is not enough personalized recommended content to display.

Authorizations:
path Parameters
fallbackPopular
required
boolean
Enum: true false

Default value; true Allowed value; true or false

Responses

MINIMUM NUMBER OF TITLES NEEDED TO ALLOW A PROFILE BASED THEMATIC PAIR

Define the minimum number of content each thematic category must contain to be selected for recommendation. We call “categories”, the Semantic personalized recommendations displayed in thematic playlists. Each playlist combines two of the user’s favorite themes.

Authorizations:
path Parameters
minimumElementsByPlaylistForCategories
required
integer

Default value : 5

Responses

MINIMUM RATINGS VALUE

Define how positive, neutral and negative ratings can be performed. Set up the scale of the rating by defining the minimum value allowed for a user’s rating. The default value is -1.

Authorizations:
path Parameters
ratingMin
required
integer

"Only integers values are allowed. Example: If ratingMin= -1 and" "ratingMax=1, the user will have 3 rating stages : -1; 0; 1"

Responses

MAXIMUM RATINGS VALUE

Define how positive, neutral and negative ratings can be performed. Set up the scale of the rating by defining the maximum value allowed for a user’s rating. The default value is 1.

Authorizations:
path Parameters
ratingMax
required
integer

"Only integers values are allowed. Example: If ratingMin= -1 and" "ratingMax=1, the user will have 3 rating stages : -1; 0; 1"

Responses

DEPTH OF USER'S HISTORY TAKEN INTO ACCOUNT

Define the number of days of interactions to take into account in the calculation of personalized recommendations. By default, the number of days taken into account is the maximum available, 90 days.

Authorizations:
path Parameters
value
required
integer

Define the number of days of interactions to take into account in the calculation of personalized recommendations

Responses

WATCHINGS TRANSFORMATION LEVEL

Watchings events (video in progression) can become Watches (video completed) when the video player get past a percentage viewed threshold. This business rules allows to modify this value to define which percentage should be reached to consider a video as watched. By default, 85 % is defined as the threshold of transformation from watchings to watches event.

Authorizations:
path Parameters
value
required
integer

Default value 85%

Responses

INTERACTED TITLES APPEARING IN PROFILE BASED RECO RESULTS

Define if titles on which an interaction has been performed should be returned in recommandation.

Authorizations:
path Parameters
interactionType
required
string
Enum: "alert" "ban" "dislike" "like" "playlist" "record" "view" "watch" "watching"

Select the interaction type

activated
required
boolean
Enum: true false

Default value; true Allowed value; true or false

Responses

CONTENT TO CONTENT RULES

Management of content to content recommendations rules

CONTENT TO CONTENT RECOMMENDATION FALLBACK

Allow the ability to activate the display of a playlist of content as a fallback when the referenced title has been defined as not eligible to semantic recommendation.

Authorizations:
path Parameters
boolean
required
boolean
Enum: true false

Default value; true Allowed value; true or false.

Responses

CONTENT TO CONTENT PAIRS

Define the minimum number of content each thematic pair must contain to be eligible for recommendation. We call “pairs”, the Semantic content to content suggestions displayed in thematic playlists. Each playlist is created by the combination of two of the content main themes or one theme and one mood.

Authorizations:
path Parameters
minimumElementsByPlaylistForPairs
required
integer

Default value : 5

Responses

TV LIVE

Configuration of specific rules by universe of content distribution.

CURRENTLY AIRING PROGRAMS

Define in Live universes if you want to recommend titles that have already begun. There are 3 allowed values to define which titles are eligible for recommendation in Live universes: 0: we don’t recommend content that is currently airing. 1: we recommend all content that is currently already airing. 0.5: we only recommend content that has recently started (less than half of the time has passed).

Authorizations:
path Parameters
value
required
integer
Enum: 1 0.5 0

"Default value : 1 Allowed values: 0 : we don’t recommend the" "content that is currently airing 1 : we recommend all the content" "that is currently airing" "0.5 : we only recommend content that has" "been partially watched (less than half)"

Responses

SOON BROADCASTED PROGRAMS SCOPE

Define the limit of the universe Now in minutes. The results of the recommendations in the Live universe Now will includes content that is airing at the moment and content that will air in the next X minutes.

Authorizations:
path Parameters
value
required
integer

"Default value : 15"

Responses

FILTER RECOMMENDATIONS ON A GROUP OF CHANNELS

Define if you want to recommend titles only between some channels or group of channels. TV channels can belong to specific groups or networks. Example: the Showtime network gathers several TV channels like Showtime, Showtime 2, Showtime Extreme, etc. If a TV content is broadcasted on a channel that belongs to a group, the algorithm can filter the results of the recommendation to display only content belonging to that group.

Authorizations:
path Parameters
networkRestrictions
required
boolean
Enum: true false

Default value; true Allowed value; true or false

Responses

SERIES & SAGA

Management of recommendation rules for content types series and saga

SAGA SIMILAR STRATEGY

Define if the content's saga should be displayed in the content's similar. There are 3 allowed values to define it. NEXT_EXCLUDE_REF: No contents saga will display in the response NEXT: Display only the next episode from saga ALL: Display all the episode from saga in the response

Authorizations:
path Parameters
similarSagaStrategy
required
string

Default value : NEXT

Responses

EPISODE LEVEL RECOMMENDATION

Define if you want to recommend episodes or a series in its globality. Metadata, availability rights and a series ids unifying all episodes would need to be provided on each episode in order to activate this business rules.

Authorizations:
path Parameters
recommendEpisodes
required
boolean
Enum: false true

"Default value : false" "Example:" "*recommendEpisodes=false =>" "Recommendation; # Breaking Bad" "*recommendEpisodes=true =>" "Recommendation; # Breaking Bad +Season 1 *Episode 1- Chute Libre"

Responses

SEASONS RECOMMENDATION RULES

If series are recommended at episode level, define if, for a series never seen by a user, personalized recommendations should be done on the first episode of the first season or on the first episode of the latest season available.

Authorizations:
path Parameters
recommendedSeason
required
string
Enum: "FIRST_SEASON" "LAST_SEASON"

Default value : FIRST_SEASON Allowed value : FIRST_SEASON, LAST_SEASON

Responses

DISCOVERY

Management of discovery features rules

SET NUMBER OF ITEMS NEEDED IN SURPRISE PLAYLISTS

Define the minimum number of content each thematic playlist must contain to be eligible for Surprise . Each playlist is created by the combination of two themes and one mood and one theme available on the platform.

Authorizations:
path Parameters
minimumElementsByPlaylistForSurprise
required
integer

Default value : 5.

Responses

RECENCY

Reorder the results provided by the recommendations features from the most recent to the oldest.

PUBLICATION RECENCY

Take into account the publication date on your platform to reorder recommendations results from the most recent published title to the oldest.

Authorizations:
path Parameters
publicationDateRecency
required
boolean
Enum: true false

Default value; true Allowed value; true or false

Responses

PRODUCTION RECENCY

Take into account the publication date on your platform to reorder recommendations results from the most recent published title to the oldest.

Authorizations:
path Parameters
recencyFactor
required
boolean
Enum: true false

Default value; true Allowed value; true or false

Responses

USER PROFILE

Configuration of each interaction's impact on the calculation of the User Semantic Fingerprint

DEFINE WHICH INTERACTION SHOULD COUNT IN USER PROFILE COMPUTATION

Define if an interaction type should be taken into account in the creation of the user's taste profile.

Authorizations:
path Parameters
interactionType
required
string
Enum: "alert" "ban" "dislike" "like" "playlist" "record" "view" "watch" "watching"

Select the interaction type

activated
required
boolean
Enum: true false

Default value; true Allowed value; true or false

Responses

WEIGHT INTERACTION FOR USER PROFILE COMPUTATION

Define the coefficient of relevancy for each interaction type in the calculation of the user's taste profile.

Authorizations:
path Parameters
interactionType
required
string
Enum: "alert" "ban" "dislike" "like" "playlist" "record" "view" "watch" "watching"

Select the interaction type

coefficient
required
integer

value (or weight) to be attributed to an interaction type in the calculation of a USF

Responses

BOOSTLIST VOD

Set up a list of titles that should appear in the first results of recommendations

ADD TITLES TO BOOSTLIST VOD

Create a list of content that should be boosted in the recommendations services results. When the content present in the list is eligible to recommendations it will appear in the first position.

Authorizations:
query Parameters
contentsIds
required
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

DISPLAY THE LIST OF ALL TITLES TO BOOST IN VOD RECO SERVICES

Get a list of all content featured in the boostlist. The boostlist enables you to boost content and make it available before other recommendations.

Authorizations:

Responses

REMOVE TITLES FROM THE BOOSTLIST VOD

Remove content from the boostlist to let them be recommended with their initial value. The boostlist enables you to boost content and make it available before other recommendations.

Authorizations:
query Parameters
contentsIds
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

BANLIST VOD

Set up a list of titles that should not appear in recommendations

ADD TITLES TO BANLIST VOD

Create a list of content that should be banned from suggestions provided by the recommendations services. Once a piece of content is defined to not be eligible to be recommended, it will disappear from the list of recommendations results.

Authorizations:
query Parameters
contentsIds
required
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

DISPLAY THE LIST OF ALL TITLES TO BAN IN VOD RECO SERVICES

Get a list of all content featured in the banlist. A banlist enables the possibility to remove content from recommendations so that it does not appear to an end user in their recommendations.

Authorizations:

Responses

REMOVE TITLES FROM THE BANLIST VOD

Remove titles from the banlist in order to make them available again for recommendations. Content in banlist is defined to not be eligible to be recommended.

Authorizations:
query Parameters
contentsIds
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

BOOSTLIST CATCHUP

Set up a list of titles that should appear in the first results of recommendations

ADD TITLES TO BOOSTLIST CATCHUP

Create a list of content that should be boosted in the recommendations services results. When the content present in the list is eligible to recommendations it will appear in the first position.

Authorizations:
query Parameters
contentsIds
required
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

DISPLAY THE LIST OF ALL TITLES TO BOOST IN CATCHUP RECO SERVICES

Get a list of all content featured in the boostlist. The boostlist enables you to boost content and make it available before other recommendations.

Authorizations:

Responses

REMOVE TITLES FROM THE BANLIST CATCHUP

Remove titles from the boostlist to let them be recommended with their initial value. The boostlist enables you to boost content and make it available before other recommendations.

Authorizations:
query Parameters
contentsIds
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

BANLIST CATCHUP

Set up a list of titles that should not appear in recommendations

ADD TITLES TO BANLIST CATCHUP

Create a list of content that should be banned from suggestions provided by the recommendations services. Once a piece of content is defined to not be eligible to be recommended, it will disappear from the list of recommendations results.

Authorizations:
query Parameters
contentsIds
required
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

DISPLAY THE LIST OF ALL TITLES TO BAN IN CATCHUP RECO SERVICES

Get a list of all content featured in the banlist. A banlist enables the possibility to remove content from recommendations so that it does not appear to an end user in their recommendations.

Authorizations:

Responses

REMOVE TITLES FROM THE BANLIST VOD

Remove titles from the banlist in order to make them available again for recommendations. Content in banlist is defined to not be eligible to be recommended.

Authorizations:
query Parameters
contentsIds
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

BOOSTLIST LIVE

Set up a list of titles that should appear in the first results of recommendations

ADD TITLES TO BOOSTLIST LIVE

Create a list of content that should be boosted in the recommendations services results. When the content present in the list is eligible to recommendations it will appear in the first position.

Authorizations:
query Parameters
contentsIds
required
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

DISPLAY THE LIST OF ALL TITLES TO BOOST IN LIVE RECO SERVICES

Get a list of all content featured in the boostlist. The boostlist enables you to boost content and make it available before other recommendations.

Authorizations:

Responses

REMOVE TITLES FROM THE BOOSTLIST LIVE

Remove titles from the boostlist to let them be recommended with their initial value. The boostlist enables you to boost content and make it available before other recommendations.

Authorizations:
query Parameters
contentsIds
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

BANLIST LIVE

Set up a list of titles that should not appear in recommendations

ADD TITLES TO BANLIST LIVE

Create a list of content that should be banned from suggestions provided by the recommendations services. Once a piece of content is defined to not be eligible to be recommended, it will disappear from the list of recommendations results.

Authorizations:
query Parameters
contentsIds
required
string

Provide the internal ID or 3rd party metadata provider ID.

Responses

DISPLAY THE LIST OF ALL TITLES TO BAN IN LIVE RECO SERVICES

Get a list of all content featured in the banlist. A banlist enables the possibility to remove content from recommendations so that it does not appear to an end user in their recommendations.

Authorizations:

Responses

REMOVE TITLES FROM THE BOOSTLIST LIVE

Remove specific titles from the banlist in order to make them available again for recommendations. Content in banlist is defined to not be eligible to be recommended.

Authorizations:
query Parameters
contentsIds
string

Provide the internal ID or 3rd party metadata provider ID.

Responses