INPUT_OBJECT

RecommendationsContext

RecommendationsContext define parameters which can control recommendations logic. Clients should strive to fill in as many fields as possible for the highest quality recommendaitons. Many of these fields should be identical to what is sent in pageview events: https://blueprint.di.xarth.tv/#/schema/pageview.

link GraphQL Schema definition

1input RecommendationsContext {
4
2# The 'app_window_height' field sent in pageview events.
3appWindowHeight: Int
7
5# The 'app_window_width' field sent in pageview events.
6appWindowWidth: Int
10
8# The 'client_app' field sent in pageview events.
9clientApp: String
14
11# Optional ISO country code, defaults to use the country code from the geoip of
12# the request.
13country: String
18
15# The 'location' field sent in pageview events (signifying the location on the
16# site or app).
17location: String
21
19# Web, ios, android, etc.
20platform: String
24
22# The 'referrer_domain' field sent in pageview events.
23referrerDomain: String
27
25# The 'viewport_height' field sent in pageview events.
26viewportHeight: Int
30
28# The 'viewport_width' field sent in pageview events.
29viewportWidth: Int
31}