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
1 input RecommendationsContext { 4 2 # The 'app_window_height' field sent in pageview events. 3 : Int 7 5 # The 'app_window_width' field sent in pageview events. 6 : Int 10 8 # The 'client_app' field sent in pageview events. 9 : String 14 11 # Optional ISO country code, defaults to use the country code from the geoip of 12 # the request. 13 : String 18 15 # The 'location' field sent in pageview events (signifying the location on the 16 # site or app). 17 : String 21 19 # Web, ios, android, etc. 20 : String 24 22 # The 'referrer_domain' field sent in pageview events. 23 : String 27 25 # The 'viewport_height' field sent in pageview events. 26 : Int 30 28 # The 'viewport_width' field sent in pageview events. 29 : Int 31 }
link Required by
- GameOptionsOptional input to filter categories. Add any additional optional fields to this input.
- GameStreamOptionsOptional input to filter game specific streams. add additional optional fields to this input.
- PersonalSectionInputInput to personal section query.
- QueryRoot fields to access the Twitch API.
- Recommendations
- StreamOptionsOptional inputs to filter streams add additional optional fields for filtering streams to the StreamOptions input type.
- UserTwitch user.